|
@@ -38,8 +38,8 @@
|
|
|
<view class="content-text">{{item2.intro}}</view>
|
|
|
<!-- 未付款数据对一下 是否有课程包明细 wgy-->
|
|
|
<view class="content-money-box">
|
|
|
- <view class="order-kcb-btn" v-if="item.cardList.length>0"
|
|
|
- @click="detailBtn">课程包明细<icon></icon>
|
|
|
+ <view class="order-kcb-btn" v-if="item2.type ==1"
|
|
|
+ @click="detailBtn(item2,index2)">课程包明细<icon></icon>
|
|
|
</view>
|
|
|
<text class="content-yuanjia">¥{{item2.xianjia}}</text>
|
|
|
</view>
|
|
@@ -112,8 +112,8 @@
|
|
|
<view class="content-text">{{item2.intro}}</view>
|
|
|
<!-- 未付款数据对一下 是否有课程包明细 wgy-->
|
|
|
<view class="content-money-box">
|
|
|
- <view class="order-kcb-btn" v-if="item.cardList.length>0"
|
|
|
- @click="detailBtn">课程包明细<icon></icon>
|
|
|
+ <view class="order-kcb-btn" v-if="item2.type ==1"
|
|
|
+ @click="detailBtn(item2,index2)">课程包明细<icon></icon>
|
|
|
</view>
|
|
|
<text class="content-yuanjia">¥{{item2.xianjia}}</text>
|
|
|
</view>
|
|
@@ -186,8 +186,8 @@
|
|
|
<view class="content-text">{{item2.intro}}</view>
|
|
|
<!-- 未付款数据对一下 是否有课程包明细 wgy-->
|
|
|
<view class="content-money-box">
|
|
|
- <view class="order-kcb-btn" v-if="item.cardList.length>0"
|
|
|
- @click="detailBtn">课程包明细<icon></icon>
|
|
|
+ <view class="order-kcb-btn" v-if="item2.type ==1"
|
|
|
+ @click="detailBtn(item2,index2)">课程包明细<icon></icon>
|
|
|
</view>
|
|
|
<text class="content-yuanjia">¥{{item2.xianjia}}</text>
|
|
|
</view>
|
|
@@ -233,7 +233,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- <product-dialog ref="mallProductPopup" @payBtn="payBtn"></product-dialog> -->
|
|
|
+ <product-dialog ref="mallProductPopup"></product-dialog>
|
|
|
<CustomTabBar></CustomTabBar>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -245,6 +245,7 @@
|
|
|
} from "vue";
|
|
|
import {
|
|
|
getOrderList,
|
|
|
+ orderInfo,
|
|
|
orderAdd
|
|
|
} from "@/api/order";
|
|
|
import {
|
|
@@ -258,7 +259,7 @@
|
|
|
import cacheManager from '@/utils/cacheManager.js';
|
|
|
import CustomTabBar from '@/components/custom-tabbar/custom-tabbar.vue';
|
|
|
import payComponents from '@/components/payComponents/index.vue';
|
|
|
- import productDialog from '../mall/productDialog.vue'
|
|
|
+ import productDialog from './productDialog.vue'
|
|
|
const mallProductPopup = ref(null);
|
|
|
const payComponentsRef = ref(null);
|
|
|
const showPayWay = ref(true)
|
|
@@ -275,8 +276,8 @@
|
|
|
payType.value = payType.value == 'weixin' ? 'zhifubao' : 'weixin'
|
|
|
}
|
|
|
|
|
|
- function detailBtn() {
|
|
|
- mallProductPopup.value.detailShow();
|
|
|
+ function detailBtn(data, index) {
|
|
|
+ mallProductPopup.value.detailShow(data.levelList);
|
|
|
}
|
|
|
const dingdanData = reactive({
|
|
|
items: ['全部', '待付款', '已付款'],
|