Files
code-bang/frontend/miniapp/pages/demand/detail/index.wxss
T
2026-09-30 14:56:56 +08:00

153 lines
2.3 KiB
Plaintext

/* pages/demand/detail.wxss */
page {
box-sizing: border-box;
padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx);
}
.page-container {
padding: 0 24rpx;
}
/* 步骤条:给顶部蓝点留出呼吸空间 */
.block {
padding: 32rpx 0 24rpx;
}
/* 附件文件列表 */
.file-list {
display: flex;
flex-direction: column;
}
.file-item {
display: flex;
align-items: center;
padding: 10rpx 0;
}
.file-item__name {
flex: 1;
min-width: 0;
margin-right: 16rpx;
}
.file-item__ops {
display: flex;
align-items: center;
flex-shrink: 0;
}
.mini-btn {
box-sizing: border-box;
min-width: 112rpx;
height: 56rpx;
line-height: 56rpx;
margin: 0;
padding: 0 24rpx;
font-size: 24rpx;
text-align: center;
border-radius: var(--radius-round);
}
.mini-btn + .mini-btn {
margin-left: 16rpx;
}
.mini-btn--primary {
background-color: var(--brand);
color: #ffffff;
}
.mini-btn--primary::after {
border: none;
}
.file-empty {
padding: 24rpx 0;
font-size: 26rpx;
color: var(--text-tertiary);
}
/* 交付内容 */
.delivery-section {
padding-bottom: 8rpx;
}
.delivery-title {
margin: 16rpx 0 12rpx;
font-size: 26rpx;
font-weight: 500;
color: var(--text-primary);
}
.delivery-images {
display: flex;
flex-wrap: wrap;
margin-right: -16rpx;
}
.delivery-image {
width: 160rpx;
height: 160rpx;
margin: 0 16rpx 16rpx 0;
border-radius: var(--radius-md, 12rpx);
background: var(--bg-grey);
}
.delivery-remark {
font-size: 26rpx;
line-height: 40rpx;
color: var(--text-tertiary);
white-space: pre-wrap;
word-break: break-all;
}
.button-submit {
margin: 32rpx;
}
.t-button--danger {
background-color: var(--brand-hover) !important;
border-color: var(--brand-hover) !important;
}
.custom-label {
display: inline-flex;
}
.custom-label::after {
content: '*';
color: var(--error);
font-size: 32rpx;
margin-left: 4rpx;
}
.button-layout-flex {
display: flex;
justify-content: space-between;
align-items: center;
}
.button-layout-flex .t-button {
flex: 1;
}
.button-layout-flex .t-button:first-child {
margin-right: 20rpx;
}
.button-layout-flex .t-button:last-child {
margin-left: 0;
}
.qrcode-row {
display: flex;
padding: 0 40rpx;
justify-content: flex-end;
align-items: center;
}
.qrcode-img {
width: 200rpx;
height: 200rpx;
}