Commit 16db744c by chenwq

优化订单详情和编辑申请页面,替换图标组件并调整样式

1 parent a3546c60
......@@ -28,8 +28,10 @@
border-radius: var(--fontSize8);
padding: var(--fontSize20) var(--fontSize24);
.info-icon {
margin-right: var(--fontSize12);
.info-icon {
width: var(--fontSize40);
height: var(--fontSize40);
margin-right: var(--fontSize16);
display: flex;
}
......
......@@ -2,7 +2,8 @@
<view class="thirdStep">
<view class="box employeeBox">
<view wx:if="{{ item.type == 'title' }}" class="form-group-title">
<view class="blue-bar"></view>
<view class="blue-bar">
</view>
<text>{{ item.label }}</text>
</view>
<gl-form
......@@ -15,10 +16,11 @@
>
<view slot="priceWarning" class="warning-tip-wrap">
<view class="warning-box">
<van-icon name="info" custom-class="info-icon" color="#FA6400" size="var(--fontSize32)" />
<glsx-image src="/common/icon-tips.png" custom-class="info-icon">
</glsx-image>
<text class="warning-text">保留价对买家不可见,低于保留价不成交</text>
</view>
</view>
</gl-form>
</view>
</view>
\ No newline at end of file
</view>
......@@ -68,7 +68,8 @@
<view class="warning-tip-wrap">
<view class="warning-box">
<van-icon name="info" custom-class="info-icon" color="#FA6400" size="32rpx" />
<glsx-image src="/common/icon-tips.png" custom-class="info-icon">
</glsx-image>
<text class="warning-text">保留价对买家不可见,低于保留价不成交</text>
</view>
</view>
......
/* packageIndex/pages/orderDetail/orderDetail.wxss */
page {
background-color: #f7f8fa;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
background-color: #f7f8fa;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.container {
height: 100vh;
display: flex;
flex-direction: column;
padding-bottom: calc(128rpx + env(safe-area-inset-bottom));
box-sizing: border-box;
height: 100vh;
display: flex;
flex-direction: column;
padding-bottom: calc(128rpx + env(safe-area-inset-bottom));
box-sizing: border-box;
}
.scroll-area {
flex: 1;
overflow: hidden;
flex: 1;
overflow: hidden;
}
.header-card {
flex-shrink: 0;
background-color: #fff;
padding: 32rpx;
position: relative;
flex-shrink: 0;
background-color: #fff;
padding: 32rpx;
position: relative;
}
.header-title {
display: flex;
margin-bottom: 16rpx;
align-items: center;
display: flex;
margin-bottom: 16rpx;
align-items: center;
}
.car-series-name {
flex: 1;
font-size: 36rpx;
font-weight: bold;
color: #333;
flex: 1;
font-size: 36rpx;
font-weight: bold;
color: #333;
}
.status-tag {
font-size: 28rpx;
padding: 6rpx 20rpx;
border-radius: 200rpx;
display: flex;
align-items: center;
font-weight: 400;
font-size: 28rpx;
padding: 6rpx 20rpx;
border-radius: 200rpx;
display: flex;
align-items: center;
font-weight: 400;
}
.status-1, .status-6 {
background-color: #F3F3F3;
color: #000000E5;
.status-1,
.status-6 {
background-color: #F3F3F3;
color: #000000E5;
}
.status-2 {
background-color: #e8f3ff;
color: #185efe;
background-color: #e8f3ff;
color: #185efe;
}
.status-3 {
background-color: #fff7e8;
color: #ff8915;
background-color: #fff7e8;
color: #ff8915;
}
.status-4 {
background-color: #EAF9EF;
color: #00b42a;
background-color: #EAF9EF;
color: #00b42a;
}
.status-5 {
background-color: #ffeeee;
color: #f53f3f;
background-color: #ffeeee;
color: #f53f3f;
}
.p-6 {
......@@ -79,150 +80,163 @@ page {
}
.header-desc {
font-size: 24rpx;
color: #999;
display: flex;
align-items: center;
font-size: 24rpx;
color: #999;
display: flex;
align-items: center;
}
.divider {
margin: 0 16rpx;
color: #e5e5e5;
margin: 0 16rpx;
color: #e5e5e5;
}
.tab-content {
margin-top: 24rpx;
margin-bottom: 24rpx;
margin-top: 24rpx;
margin-bottom: 24rpx;
}
.custom-cell-group {
border-radius: 16rpx;
overflow: hidden;
border-radius: 16rpx;
overflow: hidden;
}
/* Adjust van cell label width to match the design */
.van-cell__title {
color: #00000099 !important;
font-size: 32rpx;
max-width: 200rpx;
color: #00000099 !important;
font-size: 32rpx;
max-width: 200rpx;
}
.van-cell__value {
color: #000000E5 !important;
font-size: 28rpx;
color: #000000E5 !important;
font-size: 28rpx;
font-weight: 600 !important;
text-align: right !important;
flex: 1;
text-align: right !important;
flex: 1;
}
.nothing {
text-align: center;
padding-top: 150rpx; /* Adjusted to look good in tab */
color: rgba(0, 0, 0, 0.4);
font-size: 24rpx;
text-align: center;
padding-top: 150rpx;
/* Adjusted to look good in tab */
color: rgba(0, 0, 0, 0.4);
font-size: 24rpx;
}
.nothing .icon {
width: 240rpx;
height: 204rpx;
margin: 0 auto 20rpx;
width: 240rpx;
height: 204rpx;
margin: 0 auto 20rpx;
}
.action-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: #fff;
display: flex;
padding: 24rpx 32rpx;
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: #fff;
display: flex;
padding: 24rpx 32rpx;
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
}
.action-btn {
flex: 1;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 40rpx;
font-size: 30rpx;
flex: 1;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 40rpx;
font-size: 30rpx;
}
.btn-default {
border: 1px solid #e5e5e5;
color: #333333;
background-color: #fff;
border: 1px solid #e5e5e5;
color: #333333;
background-color: #fff;
}
.btn-primary-border {
border: 1px solid #185EFE;
color: #185EFE;
background-color: #fff;
border: 1px solid #185EFE;
color: #185EFE;
background-color: #fff;
}
.btn-primary {
background-color: #185EFE;
color: #fff;
border: 1px solid #185EFE;
background-color: #185EFE;
color: #fff;
border: 1px solid #185EFE;
}
.action-btn + .action-btn {
margin-left: 24rpx;
.action-btn+.action-btn {
margin-left: 24rpx;
}
/* Price Setting Tab */
.warning-tip-wrap {
padding: 30rpx 32rpx;
padding: 30rpx 32rpx;
}
.warning-box {
display: flex;
align-items: center;
background: rgba(250, 100, 0, 0.08); /* 8% opacity of orange */
border-radius: 8rpx;
padding: 20rpx 24rpx;
display: flex;
align-items: center;
background: rgba(250, 100, 0, 0.08);
/* 8% opacity of orange */
border-radius: 8rpx;
padding: 20rpx 24rpx;
}
.info-icon {
margin-right: 12rpx;
display: flex;
width: var(--fontSize40);
height: var(--fontSize40);
margin-right: var(--fontSize16);
display: flex;
}
.warning-text {
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
}
.price-value {
color: #F53F3F;
color: #F53F3F;
}
/* Photo Tab */
.photo-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20rpx;
padding: 0 32rpx;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20rpx;
padding: 0 32rpx;
}
.photo-item {
width: 100%;
height: calc((100vw - 64rpx - 40rpx) / 3); /* 32rpx padding each side, 20rpx gap */
max-height: 220rpx;
width: 100%;
height: calc((100vw - 64rpx - 40rpx) / 3);
/* 32rpx padding each side, 20rpx gap */
max-height: 220rpx;
}
.upload-box {
width: 100%;
height: 100%;
background-color: #f7f8fa;
border-radius: 12rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
width: 100%;
height: 100%;
background-color: #f7f8fa;
border-radius: 12rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
}
.uploaded-img {
width: 100%;
height: 100%;
border-radius: 12rpx;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 12rpx;
position: absolute;
top: 0;
left: 0;
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!