Commit 16db744c by chenwq

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

1 parent a3546c60
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
padding: var(--fontSize20) var(--fontSize24); padding: var(--fontSize20) var(--fontSize24);
.info-icon { .info-icon {
margin-right: var(--fontSize12); width: var(--fontSize40);
height: var(--fontSize40);
margin-right: var(--fontSize16);
display: flex; display: flex;
} }
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<view class="thirdStep"> <view class="thirdStep">
<view class="box employeeBox"> <view class="box employeeBox">
<view wx:if="{{ item.type == 'title' }}" class="form-group-title"> <view wx:if="{{ item.type == 'title' }}" class="form-group-title">
<view class="blue-bar"></view> <view class="blue-bar">
</view>
<text>{{ item.label }}</text> <text>{{ item.label }}</text>
</view> </view>
<gl-form <gl-form
...@@ -15,7 +16,8 @@ ...@@ -15,7 +16,8 @@
> >
<view slot="priceWarning" class="warning-tip-wrap"> <view slot="priceWarning" class="warning-tip-wrap">
<view class="warning-box"> <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> <text class="warning-text">保留价对买家不可见,低于保留价不成交</text>
</view> </view>
</view> </view>
......
...@@ -68,7 +68,8 @@ ...@@ -68,7 +68,8 @@
<view class="warning-tip-wrap"> <view class="warning-tip-wrap">
<view class="warning-box"> <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> <text class="warning-text">保留价对买家不可见,低于保留价不成交</text>
</view> </view>
</view> </view>
......
...@@ -49,7 +49,8 @@ page { ...@@ -49,7 +49,8 @@ page {
font-weight: 400; font-weight: 400;
} }
.status-1, .status-6 { .status-1,
.status-6 {
background-color: #F3F3F3; background-color: #F3F3F3;
color: #000000E5; color: #000000E5;
} }
...@@ -117,10 +118,12 @@ page { ...@@ -117,10 +118,12 @@ page {
.nothing { .nothing {
text-align: center; text-align: center;
padding-top: 150rpx; /* Adjusted to look good in tab */ padding-top: 150rpx;
/* Adjusted to look good in tab */
color: rgba(0, 0, 0, 0.4); color: rgba(0, 0, 0, 0.4);
font-size: 24rpx; font-size: 24rpx;
} }
.nothing .icon { .nothing .icon {
width: 240rpx; width: 240rpx;
height: 204rpx; height: 204rpx;
...@@ -166,7 +169,7 @@ page { ...@@ -166,7 +169,7 @@ page {
border: 1px solid #185EFE; border: 1px solid #185EFE;
} }
.action-btn + .action-btn { .action-btn+.action-btn {
margin-left: 24rpx; margin-left: 24rpx;
} }
...@@ -174,22 +177,29 @@ page { ...@@ -174,22 +177,29 @@ page {
.warning-tip-wrap { .warning-tip-wrap {
padding: 30rpx 32rpx; padding: 30rpx 32rpx;
} }
.warning-box { .warning-box {
display: flex; display: flex;
align-items: center; align-items: center;
background: rgba(250, 100, 0, 0.08); /* 8% opacity of orange */ background: rgba(250, 100, 0, 0.08);
/* 8% opacity of orange */
border-radius: 8rpx; border-radius: 8rpx;
padding: 20rpx 24rpx; padding: 20rpx 24rpx;
} }
.info-icon { .info-icon {
margin-right: 12rpx; width: var(--fontSize40);
height: var(--fontSize40);
margin-right: var(--fontSize16);
display: flex; display: flex;
} }
.warning-text { .warning-text {
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
line-height: 40rpx; line-height: 40rpx;
} }
.price-value { .price-value {
color: #F53F3F; color: #F53F3F;
} }
...@@ -201,11 +211,14 @@ page { ...@@ -201,11 +211,14 @@ page {
grid-gap: 20rpx; grid-gap: 20rpx;
padding: 0 32rpx; padding: 0 32rpx;
} }
.photo-item { .photo-item {
width: 100%; width: 100%;
height: calc((100vw - 64rpx - 40rpx) / 3); /* 32rpx padding each side, 20rpx gap */ height: calc((100vw - 64rpx - 40rpx) / 3);
/* 32rpx padding each side, 20rpx gap */
max-height: 220rpx; max-height: 220rpx;
} }
.upload-box { .upload-box {
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -218,6 +231,7 @@ page { ...@@ -218,6 +231,7 @@ page {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
} }
.uploaded-img { .uploaded-img {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!