wangguoyu 4 months ago
parent
commit
5137dbf385
2 changed files with 12 additions and 12 deletions
  1. 11 10
      pages/mall/detailDialog.vue
  2. 1 2
      pages/mall/mallPage.vue

+ 11 - 10
pages/mall/detailDialog.vue

@@ -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'&&currentPlatform =='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();
 	}

+ 1 - 2
pages/mall/mallPage.vue

@@ -75,8 +75,7 @@
 		</view>
 		<detail-dialog ref="mallDetailPopup" :selected-list="getSelectedProducts"></detail-dialog>
 
-		<!-- 
-		<product-dialog ref="mallProductPopup" @payBtn="payBtn"></product-dialog> -->
+		<product-dialog ref="mallProductPopup" @payBtn="payBtn"></product-dialog>
 	</view>
 </template>