页面显示优化

This commit is contained in:
Dev
2026-09-22 11:16:56 +08:00
parent b9c5d3fdcb
commit 229c361e9a
21 changed files with 120 additions and 93 deletions
@@ -56,8 +56,6 @@ export const resp = {
rightsStatusName: '已完成',
rightsType: 20,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -239,8 +237,6 @@ export const resp = {
rightsStatusName: '已审核',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -360,8 +356,6 @@ export const resp = {
rightsStatusName: '已关闭',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -479,8 +473,6 @@ export const resp = {
rightsStatusName: '已完成',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName:
'大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店',
@@ -594,8 +586,6 @@ export const resp = {
rightsStatusName: '已审核',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -709,8 +699,6 @@ export const resp = {
rightsStatusName: '待审核',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName:
'大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店-大猫集团旗舰店',
@@ -826,8 +814,6 @@ export const resp = {
rightsStatusName: '已审核',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -941,8 +927,6 @@ export const resp = {
rightsStatusName: '已审核',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -1055,8 +1039,6 @@ export const resp = {
rightsStatusName: '已审核',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -1169,8 +1151,6 @@ export const resp = {
rightsStatusName: '已审核',
rightsType: 10,
saasId: 123,
shippingFee: 99,
shippingFeeBear: 1,
storeId: 123,
storeName: '大猫集团旗舰店',
uid: '123',
@@ -154,10 +154,7 @@ Page({
current: res.data.refundableAmount,
},
'serviceFrom.returnNum': res.data.numOfSku,
amountTip: `最多可申请退款¥ ${priceFormat(res.data.refundableAmount, 2)},含发货运费¥ ${priceFormat(
res.data.shippingFeeIncluded,
2,
)}`,
amountTip: `最多可申请退款¥ ${priceFormat(res.data.refundableAmount, 2)}`,
maxApplyNum: res.data.numOfSkuAvailable,
});
} catch (err) {
@@ -26,16 +26,6 @@
<text>商品总额</text>
<price fill decimalSmaller wr-class="pay-item__right font-bold" price="{{settleDetailData.totalSalePrice || '0'}}" />
</view>
<view class="pay-item">
<text>运费</text>
<view class="pay-item__right font-bold">
<block wx:if="{{settleDetailData.totalDeliveryFee && settleDetailData.totalDeliveryFee != 0}}">
+
<price fill decimalSmaller price="{{settleDetailData.totalDeliveryFee}}" />
</block>
<text wx:else>免运费</text>
</view>
</view>
<view class="pay-item">
<text>活动优惠</text>
<view class="pay-item__right primary font-bold">
@@ -11,16 +11,6 @@
<text>商品总额</text>
<price fill decimalSmaller wr-class="pay-item__right font-bold" price="{{order.totalAmount || '0'}}" />
</view>
<!-- <view class="pay-item">
<text>运费666</text>
<view class="pay-item__right font-bold">
<block wx:if="{{order.freightFee}}">
+
<price fill decimalSmaller price="{{order.freightFee}}" />
</block>
<text wx:else>免运费</text>
</view>
</view> -->
<view class="pay-item">
<text>活动优惠</text>
<view class="pay-item__right primary font-bold">
@@ -115,7 +115,6 @@ Page({
})),
buttons: order.buttonVOs || [],
groupInfoVo: order.groupInfoVo,
freightFee: order.freightFee,
};
});
}
@@ -16,9 +16,6 @@
<view class="price-total">
<text>总价</text>
<price fill price="{{order.totalAmount + ''}}" />
<text>,运费</text>
<price fill price="{{order.freightFee + ''}}" />
<text decode>&nbsp;</text>
<text class="bold-price" decode="{{true}}">实付&nbsp;</text>
<price fill class="real-pay" price="{{order.amount + ''}}" decimalSmaller />
</view>
@@ -81,6 +81,7 @@ wr-order-goods-card:not(:first-child) .wr-goods-card {
}
.price-total .bold-price {
margin-left: 24rpx;
color: var(--text-primary);
font-size: 28rpx;
line-height: 40rpx;