2025-10-23
支付页面
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
{{dataInfo.rongdou_price}}
|
||||
</view>
|
||||
<view class="mall-price">
|
||||
<u-icon name="integral"></u-icon>
|
||||
<image src="/static/icon/jifen.png" class="icon" mode=""></image>
|
||||
{{dataInfo.points_price}}
|
||||
</view>
|
||||
<view v-if="dataInfo.discount" class="discount-info">
|
||||
@@ -67,7 +67,7 @@
|
||||
{{item.price}}
|
||||
</view>
|
||||
<view class="mall-price u-m-l-5 u-m-r-5">
|
||||
<u-icon name="integral"></u-icon>
|
||||
<image src="/static/icon/jifen.png" class="icon" mode=""></image>
|
||||
{{item.points}}
|
||||
</view>
|
||||
</view>
|
||||
@@ -85,7 +85,7 @@
|
||||
{{item.price}}
|
||||
</view>
|
||||
<view class="mall-price u-m-l-5 u-m-r-5">
|
||||
<u-icon name="integral"></u-icon>
|
||||
<image src="/static/icon/jifen.png" class="icon" mode=""></image>
|
||||
{{item.points}}
|
||||
</view>
|
||||
</view>
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
<view class="bottom-view" id="bottomViewId">
|
||||
<view class="icon-btn">
|
||||
<!-- <view class="item">
|
||||
<!-- <view class="item">
|
||||
<u-image width="100%" :fade="false" src="/static/mall/Home.png" mode="widthFix"></u-image>
|
||||
店铺
|
||||
</view> -->
|
||||
@@ -199,7 +199,7 @@
|
||||
mallAPI
|
||||
} from '../../api/mall';
|
||||
import {
|
||||
getImageUrl
|
||||
getImageUrl, arrayContainsAll
|
||||
} from '../../util/common.js';
|
||||
|
||||
const instance = getCurrentInstance();
|
||||
@@ -312,11 +312,6 @@
|
||||
return hasValidCombination;
|
||||
}
|
||||
|
||||
// arr1是否包含arr2
|
||||
const arrayContainsAll = (arr1, arr2) => {
|
||||
return arr2.every(item => arr1.includes(item));
|
||||
}
|
||||
|
||||
// 是否被选中
|
||||
const isChose = (key) => {
|
||||
return choseKeys.value.includes(key)
|
||||
@@ -385,6 +380,7 @@
|
||||
cart_item_ids: [cartItemId]
|
||||
}).then(response => {
|
||||
if (response.success) {
|
||||
showSure.value = false
|
||||
// 进入支付页面
|
||||
uni.navigateTo({
|
||||
url: '/pages/home/pay?preOrderId=' + response.data
|
||||
|
||||
Reference in New Issue
Block a user