245 lines
4.5 KiB
Plaintext
245 lines
4.5 KiB
Plaintext
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.content {
|
||
height: 100vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
background-color: #F5F7FA;
|
||
}
|
||
.header {
|
||
background-color: #fff;
|
||
}
|
||
.header .status-bar {
|
||
width: 100%;
|
||
background-color: #fff;
|
||
}
|
||
.header .header-content {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 20rpx 32rpx;
|
||
}
|
||
.header .back-button {
|
||
width: 60rpx;
|
||
height: 60rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
.header .back-icon {
|
||
width: 40rpx;
|
||
height: 40rpx;
|
||
}
|
||
.header .header-title {
|
||
font-size: 34rpx;
|
||
font-weight: 600;
|
||
color: #333;
|
||
flex: 1;
|
||
text-align: center;
|
||
}
|
||
.header .header-placeholder {
|
||
width: 60rpx;
|
||
}
|
||
.tab-container {
|
||
display: flex;
|
||
flex-direction: row;
|
||
padding: 24rpx 32rpx;
|
||
background-color: #fff;
|
||
}
|
||
.tab-item {
|
||
padding: 14rpx 36rpx;
|
||
margin-right: 24rpx;
|
||
border-radius: 36rpx;
|
||
border: 2rpx solid #E0E0E0;
|
||
background-color: #fff;
|
||
}
|
||
.tab-item.active {
|
||
background-color: #E5FBFF;
|
||
border-color: #00A0BC;
|
||
}
|
||
.tab-text {
|
||
font-size: 28rpx;
|
||
color: #666;
|
||
}
|
||
.tab-text.active {
|
||
color: #00A0BC;
|
||
font-weight: 500;
|
||
}
|
||
.appointment-list {
|
||
flex: 1;
|
||
height: 0;
|
||
width: 686rpx;
|
||
margin: 24rpx auto 24rpx;
|
||
}
|
||
.appointment-item {
|
||
background-color: #fff;
|
||
border-radius: 24rpx;
|
||
padding: 32rpx;
|
||
margin-bottom: 24rpx;
|
||
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
|
||
}
|
||
.item-title {
|
||
font-size: 32rpx;
|
||
font-weight: 600;
|
||
color: #333;
|
||
margin-bottom: 24rpx;
|
||
}
|
||
.item-row {
|
||
display: flex;
|
||
align-items: center;
|
||
margin-bottom: 16rpx;
|
||
}
|
||
.item-icon {
|
||
width: 36rpx;
|
||
height: 36rpx;
|
||
margin-right: 20rpx;
|
||
}
|
||
.item-text {
|
||
font-size: 28rpx;
|
||
color: #666;
|
||
}
|
||
.item-footer {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-top: 24rpx;
|
||
padding-top: 24rpx;
|
||
border-top: 1rpx solid #F0F0F0;
|
||
}
|
||
.view-detail {
|
||
font-size: 28rpx;
|
||
color: #00A0BC;
|
||
}
|
||
.status-text {
|
||
font-size: 28rpx;
|
||
font-weight: 500;
|
||
}
|
||
.status-in-progress {
|
||
color: #00A0BC;
|
||
}
|
||
.status-completed {
|
||
color: #FF6B6B;
|
||
}
|
||
.status-cancelled {
|
||
color: #999;
|
||
}
|
||
.loading-more {
|
||
padding: 40rpx;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
.loading-text {
|
||
font-size: 26rpx;
|
||
color: #999;
|
||
}
|
||
.empty-state {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding-top: 200rpx;
|
||
}
|
||
.empty-icon {
|
||
font-size: 120rpx;
|
||
opacity: 0.3;
|
||
margin-bottom: 30rpx;
|
||
}
|
||
.no-data {
|
||
font-size: 28rpx;
|
||
color: #999;
|
||
}
|
||
.detail-mask {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
background-color: rgba(0, 0, 0, 0.5);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 999;
|
||
}
|
||
.detail-popup {
|
||
width: 85%;
|
||
max-height: 70vh;
|
||
background-color: #fff;
|
||
border-radius: 24rpx;
|
||
overflow: hidden;
|
||
}
|
||
.popup-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 36rpx 32rpx;
|
||
border-bottom: 1rpx solid #F0F0F0;
|
||
background-color: #fff;
|
||
position: relative;
|
||
}
|
||
.popup-title {
|
||
font-size: 34rpx;
|
||
font-weight: 600;
|
||
color: #333;
|
||
}
|
||
.popup-close {
|
||
position: absolute;
|
||
right: 32rpx;
|
||
width: 48rpx;
|
||
height: 48rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
.close-icon {
|
||
width: 36rpx;
|
||
height: 36rpx;
|
||
}
|
||
.popup-content {
|
||
max-height: 60vh;
|
||
padding: 0 40rpx 40rpx;
|
||
}
|
||
.detail-item {
|
||
padding: 28rpx 0;
|
||
border-bottom: 1rpx solid #F5F5F5;
|
||
}
|
||
.detail-item:last-child {
|
||
border-bottom: none;
|
||
}
|
||
.detail-label {
|
||
font-size: 30rpx;
|
||
font-weight: 600;
|
||
color: #333;
|
||
display: block;
|
||
margin-bottom: 12rpx;
|
||
}
|
||
.detail-value {
|
||
font-size: 28rpx;
|
||
color: #666;
|
||
display: block;
|
||
line-height: 1.6;
|
||
word-break: break-all;
|
||
white-space: pre-wrap;
|
||
} |