|
|
@@ -54,7 +54,7 @@
|
|
54
|
54
|
<view class="detail-image-section">
|
|
55
|
55
|
<view class="detail-image-header">
|
|
56
|
56
|
<text class="detail-image-title">高清实物图(拖拽排序)</text>
|
|
57
|
|
- <u-button type="primary" v-if="displayImages.length > 0" shape="circle" plain text="核价" size="small" @click="handlePricing"></u-button>
|
|
|
57
|
+ <u-button type="primary" shape="circle" plain text="核价" size="small" class="pricing-btn" @click="handlePricing"></u-button>
|
|
58
|
58
|
</view>
|
|
59
|
59
|
<view class="detail-image-content">
|
|
60
|
60
|
<view class="detail-image-list">
|
|
|
@@ -83,7 +83,12 @@
|
|
83
|
83
|
<view class="payment-section">
|
|
84
|
84
|
<view class="payment-total-container">
|
|
85
|
85
|
<text class="payment-label">支付总额</text>
|
|
86
|
|
- <u-input v-model="paymentAmount" class="payment-amount" type="number" decimal="2" prefix="¥" />
|
|
|
86
|
+ <view class="payment-amount-wrap">
|
|
|
87
|
+ <u-input v-model="paymentAmount" class="payment-amount" type="number" decimal="2" prefix="¥" />
|
|
|
88
|
+ </view>
|
|
|
89
|
+ <view class="pay-now-btn-wrap">
|
|
|
90
|
+ <u-button type="primary" shape="circle" plain text="立即支付" size="small" @click="handlePayNowClick"></u-button>
|
|
|
91
|
+ </view>
|
|
87
|
92
|
</view>
|
|
88
|
93
|
<view class="payment-buttons-row">
|
|
89
|
94
|
<view class="payment-button" @click="handleUnpaidClick">
|
|
|
@@ -95,9 +100,6 @@
|
|
95
|
100
|
<text class="button-text">待跟进</text>
|
|
96
|
101
|
</view>
|
|
97
|
102
|
</view>
|
|
98
|
|
- <view class="pay-now-button" @click="handlePayNowClick">
|
|
99
|
|
- <text class="button-text">立即支付</text>
|
|
100
|
|
- </view>
|
|
101
|
103
|
</view>
|
|
102
|
104
|
</view>
|
|
103
|
105
|
|
|
|
@@ -839,6 +841,7 @@ export default {
|
|
839
|
841
|
grid-template-columns: 1fr auto;
|
|
840
|
842
|
margin-bottom: 20rpx;
|
|
841
|
843
|
padding-bottom: 20rpx;
|
|
|
844
|
+ padding-right: 100rpx; /* 右侧留空,避免被固定页面导航遮挡,使整行(含核价按钮)左移 */
|
|
842
|
845
|
border-bottom: 1rpx solid map-get($colors, border);
|
|
843
|
846
|
}
|
|
844
|
847
|
|
|
|
@@ -945,16 +948,43 @@ export default {
|
|
945
|
948
|
font-size: 36rpx;
|
|
946
|
949
|
font-weight: 700;
|
|
947
|
950
|
min-width: 140rpx;
|
|
|
951
|
+ flex-shrink: 0;
|
|
|
952
|
+}
|
|
|
953
|
+
|
|
|
954
|
+.payment-amount-wrap {
|
|
|
955
|
+ flex: 1;
|
|
|
956
|
+ display: flex;
|
|
|
957
|
+ justify-content: center;
|
|
|
958
|
+ align-items: center;
|
|
|
959
|
+ min-width: 0;
|
|
948
|
960
|
}
|
|
949
|
961
|
|
|
950
|
|
-.payment-amount {
|
|
|
962
|
+.payment-amount-wrap .payment-amount {
|
|
951
|
963
|
font-size: 48rpx;
|
|
952
|
964
|
font-weight: 600;
|
|
953
|
965
|
color: #f53f3f;
|
|
954
|
|
- width: auto;
|
|
955
|
|
- min-width: 150rpx;
|
|
|
966
|
+ width: 100%;
|
|
|
967
|
+ max-width: 240rpx;
|
|
956
|
968
|
border: none;
|
|
957
|
|
- text-align: right !important;
|
|
|
969
|
+ text-align: center;
|
|
|
970
|
+}
|
|
|
971
|
+
|
|
|
972
|
+/* 让 u-input 内部输入框文字居中 */
|
|
|
973
|
+.payment-amount-wrap :deep(.u-input__content__field-wrapper__field),
|
|
|
974
|
+.payment-amount-wrap :deep(input) {
|
|
|
975
|
+ text-align: center !important;
|
|
|
976
|
+}
|
|
|
977
|
+
|
|
|
978
|
+.pay-now-btn-wrap {
|
|
|
979
|
+ flex-shrink: 0;
|
|
|
980
|
+ display: inline-flex;
|
|
|
981
|
+}
|
|
|
982
|
+
|
|
|
983
|
+.payment-total-container .pay-now-btn-wrap .u-button,
|
|
|
984
|
+.payment-total-container .pay-now-btn-wrap .u-btn {
|
|
|
985
|
+ width: auto !important;
|
|
|
986
|
+ min-width: 0 !important;
|
|
|
987
|
+ flex: none !important;
|
|
958
|
988
|
}
|
|
959
|
989
|
|
|
960
|
990
|
.payment-buttons-row {
|
|
|
@@ -977,20 +1007,6 @@ export default {
|
|
977
|
1007
|
gap: 12rpx;
|
|
978
|
1008
|
}
|
|
979
|
1009
|
|
|
980
|
|
-.pay-now-button {
|
|
981
|
|
- width: 100%;
|
|
982
|
|
- border-radius: 12rpx;
|
|
983
|
|
- padding: 32rpx 0;
|
|
984
|
|
- display: flex;
|
|
985
|
|
- flex-direction: column;
|
|
986
|
|
- align-items: center;
|
|
987
|
|
- justify-content: center;
|
|
988
|
|
- background-color: #108cff;
|
|
989
|
|
- color: #fff;
|
|
990
|
|
- cursor: pointer;
|
|
991
|
|
- box-shadow: 0 4rpx 12rpx rgba(16, 140, 255, 0.2);
|
|
992
|
|
-}
|
|
993
|
|
-
|
|
994
|
1010
|
.button-text {
|
|
995
|
1011
|
font-size: 28rpx;
|
|
996
|
1012
|
font-weight: 500;
|