美化了样式
This commit is contained in:
@ -1,176 +1,133 @@
|
||||
.mt-19 {
|
||||
margin-top: 35.63rpx;
|
||||
}
|
||||
.mt-35 {
|
||||
margin-top: 65.63rpx;
|
||||
}
|
||||
/* ===== 页面与滚动 ===== */
|
||||
.page {
|
||||
padding: 70.84rpx 42.19rpx 152.81rpx 44.06rpx;
|
||||
background-color: #fefbf6;
|
||||
box-shadow: 0rpx 3.75rpx 7.5rpx #00000040;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
overflow: auto;
|
||||
height: calc(100vh - 1rpx);
|
||||
background: #fefbf6; /* 与你项目的暖米黄保持一致 */
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.text {
|
||||
color: #e67e22;
|
||||
font-size: 45rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
.page-title { padding: 24rpx 24rpx 0; }
|
||||
.title {
|
||||
color: #e67e22; /* 暖橙主色 */
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
line-height: 43.16rpx;
|
||||
}
|
||||
.section {
|
||||
padding: 0 35.76rpx 47.94rpx 41.12rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 18.75rpx;
|
||||
border: solid 1.88rpx #ffeaa7;
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
padding: 24rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.group {
|
||||
padding: 47.87rpx 0 51.56rpx;
|
||||
.no-scrollbar::-webkit-scrollbar { width: 0; height: 0; display: none; }
|
||||
|
||||
/* ===== 卡片 ===== */
|
||||
.card {
|
||||
background: #ffffff;
|
||||
border-radius: 18rpx;
|
||||
padding: 24rpx;
|
||||
border: 2rpx solid #ffeaa7; /* 浅橙描边,延续你原风格 */
|
||||
box-shadow: 0 8rpx 24rpx rgba(0,0,0,0.05);
|
||||
}
|
||||
.text-wrapper {
|
||||
margin-right: 3.77rpx;
|
||||
margin-top: 14.55rpx;
|
||||
padding: 17.66rpx 0 14.68rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 9.38rpx;
|
||||
border: solid 1.88rpx #ffeaa7;
|
||||
.card + .card { margin-top: 20rpx; }
|
||||
|
||||
/* ===== 表单 ===== */
|
||||
.form-card .field + .field { margin-top: 20rpx; }
|
||||
.field-label {
|
||||
font-size: 28rpx;
|
||||
color: #555555;
|
||||
margin-bottom: 12rpx;
|
||||
display: block;
|
||||
}
|
||||
.text_3 {
|
||||
margin-left: 15.19rpx;
|
||||
width: 500rpx;
|
||||
.input-box {
|
||||
height: 84rpx;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx solid #ffeaa7;
|
||||
background: #ffffff;
|
||||
padding: 0 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.font {
|
||||
.input {
|
||||
flex: 1;
|
||||
font-size: 28rpx;
|
||||
color: #1f1f1f;
|
||||
}
|
||||
.ph { color: #b8b8b8; }
|
||||
|
||||
.btn {
|
||||
height: 88rpx;
|
||||
border-radius: 999rpx;
|
||||
margin-top: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 30rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 28.54rpx;
|
||||
color: #66666b;
|
||||
font-weight: 600;
|
||||
}
|
||||
.text_2 {
|
||||
margin-left: 2.44rpx;
|
||||
line-height: 27.45rpx;
|
||||
}
|
||||
.text_1 {
|
||||
line-height: 27.66rpx;
|
||||
}
|
||||
.text_4 {
|
||||
margin-left: 4.31rpx;
|
||||
margin-top: 36.64rpx;
|
||||
line-height: 27.6rpx;
|
||||
}
|
||||
.group_2 {
|
||||
margin-top: 16.39rpx;
|
||||
}
|
||||
.text-wrapper_2 {
|
||||
padding: 19.13rpx 0 11.68rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 9.38rpx;
|
||||
width: 258.75rpx;
|
||||
height: 63.75rpx;
|
||||
border: solid 1.88rpx #ffeaa7;
|
||||
}
|
||||
.text_5 {
|
||||
margin-left: 17.01rpx;
|
||||
line-height: 29.19rpx;
|
||||
}
|
||||
.text_6 {
|
||||
margin-left: 20.42rpx;
|
||||
margin-bottom: 26.04rpx;
|
||||
color: #000000;
|
||||
font-size: 26.25rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 1.63rpx;
|
||||
}
|
||||
.view {
|
||||
margin-left: 9.58rpx;
|
||||
}
|
||||
.text-wrapper_3 {
|
||||
margin-left: 2.81rpx;
|
||||
margin-right: 15.94rpx;
|
||||
padding: 26.29rpx 0 21.02rpx;
|
||||
background-color: #ffa400;
|
||||
border-radius: 9.38rpx;
|
||||
}
|
||||
.font_2 {
|
||||
font-size: 30rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 28.54rpx;
|
||||
color: #ffa500;
|
||||
}
|
||||
.text_7 {
|
||||
.btn-primary {
|
||||
background: linear-gradient(180deg, #ffa400 0%, #e67e22 100%);
|
||||
color: #ffffff;
|
||||
line-height: 27.69rpx;
|
||||
box-shadow: 0 6rpx 14rpx rgba(230,126,34,0.30);
|
||||
}
|
||||
.list-item {
|
||||
padding: 44.94rpx 7.14rpx 41.46rpx 29.68rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 11.89rpx;
|
||||
border: solid 1.88rpx #ffeaa7;
|
||||
|
||||
/* ===== 列表容器 ===== */
|
||||
.result-wrap { margin-top: 20rpx; }
|
||||
|
||||
/* 顶部行:订单号 + 状态徽标 */
|
||||
.topline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16rpx;
|
||||
margin-bottom: 6rpx;
|
||||
}
|
||||
.list-item:first-child {
|
||||
margin-top: 0;
|
||||
.row-left {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 12rpx;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.text_8 {
|
||||
line-height: 27.66rpx;
|
||||
.label { font-size: 26rpx; color: #666666; }
|
||||
.mono { font-size: 28rpx; color: #1f1f1f; font-family: monospace; letter-spacing: 1rpx; }
|
||||
|
||||
.badge {
|
||||
height: 40rpx;
|
||||
padding: 0 16rpx;
|
||||
border-radius: 999rpx;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.font_3 {
|
||||
font-size: 30rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 22.76rpx;
|
||||
margin-right: 15rpx;
|
||||
color: #444444;
|
||||
.badge-text { font-size: 22rpx; font-weight: 600; }
|
||||
.badge-pending{ background: #fff6e6; color: #ff8d1a; border: 1rpx solid #ffd6b3; }
|
||||
.badge-success{ background: #e9fbef; color: #12b05b; border: 1rpx solid #b9f0cf; }
|
||||
.badge-default{ background: #f0f0f0; color: #666666; border: 1rpx solid #e6e6e6; }
|
||||
|
||||
/* 键值行 */
|
||||
.kv {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 12rpx 0;
|
||||
border-top: 1rpx dashed #f0f0f0;
|
||||
}
|
||||
.text_9 {
|
||||
line-height: 28.24rpx;
|
||||
.kv:first-of-type { border-top: 0; }
|
||||
.kv-key { font-size: 26rpx; color: #666666; }
|
||||
.kv-val {
|
||||
font-size: 28rpx;
|
||||
color: #1f1f1f;
|
||||
text-align: right;
|
||||
max-width: 70%;
|
||||
word-break: break-all;
|
||||
}
|
||||
.font_4 {
|
||||
font-size: 30rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 28.54rpx;
|
||||
color: #444444;
|
||||
.money { color: #e67e22; font-weight: 700; }
|
||||
|
||||
/* 空状态 */
|
||||
.empty {
|
||||
padding: 120rpx 0 40rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
color: #999999;
|
||||
}
|
||||
.text_10 {
|
||||
margin-right: 15rpx;
|
||||
line-height: 27.84rpx;
|
||||
}
|
||||
.text_11 {
|
||||
line-height: 27.81rpx;
|
||||
}
|
||||
.text_12 {
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.text_13 {
|
||||
line-height: 28.29rpx;
|
||||
}
|
||||
.text_24 {
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.text_15 {
|
||||
line-height: 28.01rpx;
|
||||
}
|
||||
.text_16 {
|
||||
margin-right: 15rpx;
|
||||
line-height: 28.09rpx;
|
||||
}
|
||||
.text_17 {
|
||||
line-height: 28.16rpx;
|
||||
}
|
||||
.text_18 {
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.text_19 {
|
||||
line-height: 28.2rpx;
|
||||
}
|
||||
.text_20 {
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.text_21 {
|
||||
line-height: 28.31rpx;
|
||||
}
|
||||
.text_23 {
|
||||
margin-right: 15rpx;
|
||||
margin-bottom: 2.04rpx;
|
||||
line-height: 27.79rpx;
|
||||
}
|
||||
.empty-img { width: 300rpx; height: 300rpx; margin-bottom: 16rpx; }
|
||||
.empty-text { font-size: 26rpx; }
|
||||
|
Reference in New Issue
Block a user