|
@@ -36,9 +36,10 @@
|
|
|
<view class="mall-left-box">
|
|
|
<view class="price-icon-box">
|
|
|
<text class="red-price fh-text">¥</text>
|
|
|
- <text class="red-price">{{totalPrice}}</text>明细
|
|
|
- <icon :class="mxjtClass"></icon>
|
|
|
+ <text class="red-price">{{totalPrice}}</text>
|
|
|
+
|
|
|
</view>
|
|
|
+ <view>购买即同意虚拟产品不支持退订</view>
|
|
|
</view>
|
|
|
<view class="pay-status-box" v-if="payType =='weixin'&¤tPlatform =='android'"
|
|
|
@click="switchPayWay">
|
|
@@ -93,11 +94,11 @@
|
|
|
// 本地维护的商品列表(独立于父组件)
|
|
|
const localList = ref([]);
|
|
|
const selectedIds = ref([]); // 存储选中项的id
|
|
|
- let orderId = ref('');
|
|
|
- let productId = ref(null)
|
|
|
- let iapChannel = ref(null)
|
|
|
- let quantity = ref(1)
|
|
|
- let channel = ref('')
|
|
|
+ let orderId = ref('');
|
|
|
+ let productId = ref(null)
|
|
|
+ let iapChannel = ref(null)
|
|
|
+ let quantity = ref(1)
|
|
|
+ let channel = ref('')
|
|
|
let appleFlag = ref('')
|
|
|
// 本地选中状态管理
|
|
|
const localSelectedMap = ref({});
|
|
@@ -528,9 +529,9 @@
|
|
|
|
|
|
const detailPopup = ref(null);
|
|
|
|
|
|
- function detailShow(newVal) {
|
|
|
- console.log('getSelectedProducts',newVal);
|
|
|
- localList.value = [...newVal];
|
|
|
+ function detailShow(newVal) {
|
|
|
+ console.log('getSelectedProducts', newVal);
|
|
|
+ localList.value = [...newVal];
|
|
|
selectedIds.value = newVal.map(item => item.id); // 初始全部选中
|
|
|
detailPopup.value.open();
|
|
|
}
|