102 lines
1.7 KiB
Plaintext
102 lines
1.7 KiB
Plaintext
/**app.wxss**/
|
|
.container {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 200rpx 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 全局样式 */
|
|
page {
|
|
background-color: #f5f5f5;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
|
|
'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
/* 通用容器 */
|
|
.content {
|
|
padding: 40rpx;
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn {
|
|
border-radius: 8rpx;
|
|
font-size: 32rpx;
|
|
padding: 24rpx 48rpx;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #07c160;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #fff;
|
|
color: #333;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
/* 卡片样式 */
|
|
.card {
|
|
background-color: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 32rpx;
|
|
margin-bottom: 24rpx;
|
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
/* 输入框样式 */
|
|
.input {
|
|
background-color: #fff;
|
|
padding: 24rpx;
|
|
border-radius: 8rpx;
|
|
border: 1px solid #e0e0e0;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
/* 分割线 */
|
|
.divider {
|
|
height: 1rpx;
|
|
background-color: #f0f0f0;
|
|
margin: 32rpx 0;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 120rpx 40rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.empty-state .icon {
|
|
font-size: 120rpx;
|
|
margin-bottom: 32rpx;
|
|
}
|
|
|
|
.empty-state .text {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 浮动按钮 */
|
|
.fab {
|
|
position: fixed;
|
|
bottom: 120rpx;
|
|
right: 40rpx;
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
border-radius: 50%;
|
|
background-color: #07c160;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 60rpx;
|
|
box-shadow: 0 8rpx 24rpx rgba(7, 193, 96, 0.3);
|
|
z-index: 100;
|
|
}
|
|
|