调整微信小程序的报错。
This commit is contained in:
514
unpackage/dist/dev/mp-weixin/pages-subpackage/champion/components/material-tab.wxss
vendored
Normal file
514
unpackage/dist/dev/mp-weixin/pages-subpackage/champion/components/material-tab.wxss
vendored
Normal file
@@ -0,0 +1,514 @@
|
||||
|
||||
/* 内容区域 - 使用绝对定位,从tab页底部开始,到底部导航栏结束 */
|
||||
.tab-content.data-v-b0f1fe5a {
|
||||
position: absolute;
|
||||
top: 160rpx; /* 导航栏(88rpx) + tab页(72rpx) = 160rpx */
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 96rpx; /* 底部导航栏高度 */
|
||||
background-color: #F5F5F5;
|
||||
padding: 24rpx 16rpx 0 16rpx; /* 顶部24rpx间距,底部0 */
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* 素材内容区域使用相同定位 */
|
||||
.material-content.data-v-b0f1fe5a {
|
||||
position: absolute;
|
||||
top: 160rpx; /* 导航栏(88rpx) + tab页(72rpx) = 160rpx */
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 96rpx; /* 底部导航栏高度 */
|
||||
background-color: #F5F5F5;
|
||||
padding: 24rpx 16rpx 0 16rpx; /* 顶部24rpx间距(与列表项间距一致),底部0 */
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.service-status-toolbar.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
gap: 8rpx; /* 增加间距,避免元素被挤压 */
|
||||
padding: 12rpx 8rpx; /* 增加内边距,给搜索框更多空间 */
|
||||
margin-bottom: 24rpx; /* 与列表项间距保持一致(24rpx) */
|
||||
background-color: #F8F8FA;
|
||||
border-radius: 8rpx;
|
||||
border: 1px solid #EFEFF2;
|
||||
overflow-x: auto;
|
||||
min-height: 64rpx; /* 设置最小高度,确保搜索区域不被挤压 */
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.toolbar-total.data-v-b0f1fe5a {
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
margin-right: 8rpx; /* 增加右边距,与搜索框保持距离 */
|
||||
line-height: 1.2;
|
||||
padding: 0 4rpx; /* 增加左右内边距 */
|
||||
}
|
||||
.toolbar-input.data-v-b0f1fe5a {
|
||||
flex: 1;
|
||||
min-width: 120rpx; /* 增加最小宽度,避免被挤压变形 */
|
||||
max-width: 200rpx; /* 设置最大宽度,保持合理比例 */
|
||||
height: 56rpx; /* 稍微增加高度,提升可用性 */
|
||||
line-height: 56rpx;
|
||||
background-color: #F5F6FA;
|
||||
border-radius: 8rpx;
|
||||
padding: 0 12rpx; /* 增加左右内边距 */
|
||||
font-size: 24rpx;
|
||||
border: 1px solid transparent;
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 1; /* 允许适当收缩,但保持最小宽度 */
|
||||
}
|
||||
.toolbar-actions.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: auto;
|
||||
flex-shrink: 0;
|
||||
gap: 8rpx; /* 增加按钮之间的间距 */
|
||||
}
|
||||
.toolbar-btn.data-v-b0f1fe5a {
|
||||
padding: 0 12rpx; /* 增加左右内边距 */
|
||||
height: 56rpx; /* 与输入框高度保持一致 */
|
||||
min-width: 56rpx;
|
||||
color: #2A68FF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4rpx; /* 增加图标和文字之间的间距 */
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.toolbar-btn text.data-v-b0f1fe5a {
|
||||
color: #2A68FF;
|
||||
}
|
||||
.service-card.data-v-b0f1fe5a {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 16rpx;
|
||||
padding: 32rpx;
|
||||
margin-bottom: 24rpx;
|
||||
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
|
||||
overflow: visible;
|
||||
}
|
||||
.material-card-item.data-v-b0f1fe5a {
|
||||
padding-left: 32rpx;
|
||||
padding-right: 32rpx;
|
||||
padding-top: 32rpx;
|
||||
padding-bottom: 32rpx;
|
||||
}
|
||||
.card-header.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 20rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
}
|
||||
.card-menu-trigger.data-v-b0f1fe5a {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
flex-grow: 0;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
.card-menu-trigger.data-v-b0f1fe5a:active {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.context-menu.data-v-b0f1fe5a {
|
||||
position: fixed;
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 8rpx;
|
||||
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.15);
|
||||
z-index: 1001;
|
||||
min-width: 160rpx;
|
||||
padding: 8rpx 0;
|
||||
max-width: 200rpx;
|
||||
}
|
||||
.context-menu-item.data-v-b0f1fe5a {
|
||||
padding: 24rpx 32rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
text-align: left;
|
||||
}
|
||||
.context-menu-item.data-v-b0f1fe5a:active {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.context-menu-item--danger.data-v-b0f1fe5a {
|
||||
color: #FF3B30;
|
||||
}
|
||||
.context-menu-mask.data-v-b0f1fe5a {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1000;
|
||||
background-color: transparent;
|
||||
}
|
||||
.staff-info.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.staff-avatar.data-v-b0f1fe5a {
|
||||
width: 64rpx;
|
||||
height: 64rpx;
|
||||
background-color: #2196F3;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 16rpx;
|
||||
margin-left: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.avatar-text.data-v-b0f1fe5a {
|
||||
font-size: 32rpx;
|
||||
color: #FFFFFF;
|
||||
font-weight: 500;
|
||||
}
|
||||
.staff-name.data-v-b0f1fe5a {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.customer-tags.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 20rpx;
|
||||
gap: 12rpx;
|
||||
box-sizing: border-box;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
.customer-info.data-v-b0f1fe5a {
|
||||
margin-bottom: 16rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8rpx;
|
||||
box-sizing: border-box;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
.customer-name.data-v-b0f1fe5a {
|
||||
font-size: 28rpx;
|
||||
color: #555;
|
||||
}
|
||||
.tag-item.data-v-b0f1fe5a {
|
||||
padding: 8rpx 16rpx;
|
||||
border-radius: 8rpx;
|
||||
box-sizing: border-box;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
}
|
||||
.tag-blue.data-v-b0f1fe5a {
|
||||
background-color: #E3F2FD;
|
||||
}
|
||||
.tag-blue text.data-v-b0f1fe5a {
|
||||
font-size: 24rpx;
|
||||
color: #1976D2;
|
||||
}
|
||||
.tag-orange.data-v-b0f1fe5a {
|
||||
background-color: #FFF3E0;
|
||||
}
|
||||
.tag-orange text.data-v-b0f1fe5a {
|
||||
font-size: 24rpx;
|
||||
color: #F57C00;
|
||||
}
|
||||
.service-status-empty.data-v-b0f1fe5a {
|
||||
padding: 48rpx 0;
|
||||
text-align: center;
|
||||
color: #999;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.service-status-loading-more.data-v-b0f1fe5a {
|
||||
padding: 24rpx 0;
|
||||
text-align: center;
|
||||
color: #999;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
|
||||
/* 添加素材弹出框样式 */
|
||||
.material-popup-mask.data-v-b0f1fe5a {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 999;
|
||||
}
|
||||
.material-popup.data-v-b0f1fe5a {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: calc(100vw - 80rpx);
|
||||
max-width: 90%;
|
||||
box-sizing: border-box;
|
||||
height: 80vh;
|
||||
max-height: 80vh;
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 16rpx;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.2);
|
||||
overflow: hidden;
|
||||
}
|
||||
.popup-header.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 32rpx;
|
||||
border-bottom: 1px solid #E0E0E0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.popup-title.data-v-b0f1fe5a {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.popup-close.data-v-b0f1fe5a {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.popup-content.data-v-b0f1fe5a {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
padding: 20rpx 20rpx 28rpx;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.form-card.data-v-b0f1fe5a {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.form-item.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20rpx;
|
||||
gap: 16rpx;
|
||||
}
|
||||
.form-item__label.data-v-b0f1fe5a {
|
||||
font-size: 32rpx;
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
width: 160rpx;
|
||||
flex-shrink: 0;
|
||||
text-align: left;
|
||||
}
|
||||
.form-item__input.data-v-b0f1fe5a {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 88rpx;
|
||||
background-color: #f9fafb;
|
||||
border-radius: 12rpx;
|
||||
padding: 0 24rpx;
|
||||
font-size: 32rpx;
|
||||
color: #333;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* 只读输入框样式 */
|
||||
.form-item__input[disabled].data-v-b0f1fe5a,
|
||||
.form-item__input[readonly].data-v-b0f1fe5a {
|
||||
background-color: #f3f4f6;
|
||||
color: #6b7280;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.form-item__textarea.data-v-b0f1fe5a {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 200rpx;
|
||||
background-color: #f9fafb;
|
||||
border-radius: 12rpx;
|
||||
padding: 24rpx;
|
||||
font-size: 32rpx;
|
||||
color: #333;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.file-upload-area.data-v-b0f1fe5a {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12rpx;
|
||||
}
|
||||
.file-item.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 16rpx 24rpx;
|
||||
background-color: #f9fafb;
|
||||
border-radius: 12rpx;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
.file-upload-btn.data-v-b0f1fe5a {
|
||||
width: 100%;
|
||||
height: 88rpx;
|
||||
border: 1px dashed #d1d5db;
|
||||
border-radius: 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.file-name.data-v-b0f1fe5a {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.file-delete.data-v-b0f1fe5a {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
.file-upload-btn.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 88rpx;
|
||||
padding: 0;
|
||||
background-color: #f9fafb;
|
||||
border: 2rpx dashed #d1d5db;
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
.popup-actions.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
gap: 24rpx;
|
||||
padding: 24rpx;
|
||||
border-top: 1px solid #E0E0E0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.popup-btn.data-v-b0f1fe5a {
|
||||
flex: 1;
|
||||
height: 88rpx;
|
||||
border-radius: 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.popup-btn--cancel.data-v-b0f1fe5a {
|
||||
background-color: #f3f4f6;
|
||||
}
|
||||
.popup-btn--submit.data-v-b0f1fe5a {
|
||||
/* 对齐取消按钮的风格:浅色背景与边框 */
|
||||
background-color: #f3f4f6;
|
||||
border: 1px solid #d1d5db;
|
||||
}
|
||||
.popup-btn__text.data-v-b0f1fe5a {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.popup-btn__icon.data-v-b0f1fe5a {
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
.popup-btn--cancel .popup-btn__text.data-v-b0f1fe5a {
|
||||
color: #2A68FF;
|
||||
}
|
||||
.popup-btn--submit .popup-btn__text.data-v-b0f1fe5a {
|
||||
color: #2A68FF;
|
||||
}
|
||||
|
||||
/* 内容详情弹出框样式 */
|
||||
.content-popup-mask.data-v-b0f1fe5a {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 999;
|
||||
}
|
||||
.content-popup.data-v-b0f1fe5a {
|
||||
position: fixed;
|
||||
left: 10%;
|
||||
right: 10%;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
box-sizing: border-box;
|
||||
max-height: calc(100vh - 320rpx);
|
||||
height: auto;
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 16rpx;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.2);
|
||||
overflow: hidden;
|
||||
}
|
||||
.content-popup-header.data-v-b0f1fe5a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 32rpx;
|
||||
border-bottom: 1px solid #E0E0E0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.content-popup-title.data-v-b0f1fe5a {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.content-popup-close.data-v-b0f1fe5a {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.content-popup-body.data-v-b0f1fe5a {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
padding: 32rpx;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.content-popup-text.data-v-b0f1fe5a {
|
||||
font-size: 32rpx;
|
||||
color: #333;
|
||||
line-height: 1.8;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
Reference in New Issue
Block a user