Files
xingque/pages/merchant-regular-dispatch/merchant-regular-dispatch.wxss
2026-07-09 00:17:03 +08:00

344 lines
5.0 KiB
Plaintext

@import '../../styles/shangjia-xym-form.wxss';
page {
background: #f5f5f5;
}
.balance-row {
display: flex;
align-items: baseline;
justify-content: center;
margin: 12rpx 0 8rpx;
}
.balance-value {
font-size: 52rpx;
font-weight: 700;
line-height: 1;
}
.balance-unit {
font-size: 26rpx;
margin-left: 6rpx;
font-weight: 500;
}
.balance-tip {
font-size: 20rpx;
display: block;
}
.card-header {
display: flex;
align-items: center;
margin-bottom: 20rpx;
}
.card-dot {
width: 8rpx;
height: 8rpx;
border-radius: 4rpx;
margin-right: 12rpx;
flex-shrink: 0;
}
.type-scroll {
white-space: nowrap;
display: flex;
padding: 8rpx 0;
}
.field {
margin-bottom: 24rpx;
}
.field:last-child {
margin-bottom: 0;
}
.field-head {
display: flex;
align-items: center;
margin-bottom: 10rpx;
}
.field-label {
font-size: 26rpx;
font-weight: 600;
color: #333;
}
.field-required {
font-size: 26rpx;
color: #e04040;
margin-left: 4rpx;
}
.field-optional {
font-size: 20rpx;
color: #bbb;
margin-left: 8rpx;
}
.field-count {
font-size: 20rpx;
color: #ccc;
margin-left: auto;
}
.field-input {
width: 100%;
height: 76rpx;
background: #f7f7f7;
border-radius: 12rpx;
padding: 0 20rpx;
font-size: 26rpx;
color: #333;
border: 1rpx solid #eee;
box-sizing: border-box;
}
.field-readonly {
background: #fafafa;
color: #666;
}
.field-picker {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 76rpx;
background: #f7f7f7;
border-radius: 12rpx;
padding: 16rpx 20rpx;
border: 1rpx solid #eee;
font-size: 26rpx;
color: #333;
}
.field-picker-ph {
color: #bbb;
}
.field-picker-arrow {
font-size: 24rpx;
color: #ccc;
flex-shrink: 0;
margin-left: 12rpx;
}
.price-display {
display: flex;
align-items: baseline;
height: 76rpx;
background: #fafafa;
border-radius: 12rpx;
padding: 0 20rpx;
border: 1rpx solid #eee;
}
.price-prefix {
font-size: 28rpx;
font-weight: 700;
color: #e04040;
margin-right: 8rpx;
}
.price-value {
font-size: 32rpx;
font-weight: 700;
color: #e04040;
}
.template-meta {
margin-top: 12rpx;
display: flex;
flex-wrap: wrap;
gap: 12rpx;
align-items: center;
}
.template-meta-label {
font-size: 22rpx;
color: #999;
}
.bottom-space {
height: 20rpx;
}
.submit-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #fff;
padding: 16rpx 24rpx;
padding-bottom: calc(16rpx + env(safe-area-inset-bottom));
border-top: 1rpx solid #f0f0f0;
z-index: 9999;
}
.submit-btn {
height: 88rpx;
background: #e04040;
border-radius: 12rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx;
font-weight: 700;
color: #fff;
letter-spacing: 2rpx;
}
.submit-btn--hover {
opacity: 0.85;
}
.submit-btn--disabled {
opacity: 0.5;
pointer-events: none;
}
.loading-mask {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(255,255,255,0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
}
.loading-box {
background: #fff;
padding: 48rpx 64rpx;
border-radius: 16rpx;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
}
.loading-spinner {
width: 44rpx;
height: 44rpx;
border: 4rpx solid #eee;
border-top-color: #333;
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin-bottom: 16rpx;
}
.loading-text {
font-size: 24rpx;
color: #666;
}
/* 模板选择底部弹层 */
.sheet-mask {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.45);
z-index: 10001;
}
.sheet-panel {
position: fixed;
left: 0;
right: 0;
bottom: 0;
max-height: 75vh;
background: #fff;
border-radius: 24rpx 24rpx 0 0;
z-index: 10002;
display: flex;
flex-direction: column;
}
.sheet-hd {
display: flex;
align-items: center;
justify-content: space-between;
padding: 28rpx 24rpx 16rpx;
border-bottom: 1rpx solid #f0f0f0;
}
.sheet-title {
font-size: 30rpx;
font-weight: 700;
color: #333;
}
.sheet-close {
font-size: 40rpx;
color: #999;
line-height: 1;
padding: 0 8rpx;
}
.sheet-search {
display: flex;
align-items: center;
margin: 16rpx 24rpx;
background: #f5f5f5;
border-radius: 12rpx;
padding: 0 16rpx;
height: 72rpx;
}
.sheet-search-input {
flex: 1;
font-size: 26rpx;
height: 72rpx;
}
.sheet-search-btn {
font-size: 26rpx;
color: #e04040;
font-weight: 600;
padding-left: 16rpx;
}
.sheet-list {
flex: 1;
min-height: 200rpx;
max-height: 50vh;
}
.sheet-item {
padding: 24rpx;
border-bottom: 1rpx solid #f5f5f5;
}
.sheet-item:active {
background: #fafafa;
}
.sheet-item-intro {
font-size: 28rpx;
font-weight: 600;
color: #333;
margin-bottom: 8rpx;
}
.sheet-item-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.sheet-item-price {
font-size: 26rpx;
color: #e04040;
font-weight: 700;
}
.sheet-empty {
text-align: center;
padding: 60rpx 24rpx;
font-size: 26rpx;
color: #999;
}