|
@@ -47,7 +47,7 @@
|
|
|
<view class="video_t1">{{ detail.courseName }}</view>
|
|
|
</u-col>
|
|
|
<u-col span="2" >
|
|
|
- <div class="notice_wrap" v-if="noticeShow">
|
|
|
+ <div class="notice_wrap" v-if="goodsData.buyNote">
|
|
|
<view class="video_t1_t" @click="studyNotice">
|
|
|
学员须知
|
|
|
</view>
|
|
@@ -246,6 +246,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ orderGoodsId:0,
|
|
|
noticeShow:false,
|
|
|
navShow:true,
|
|
|
enableAutoRotation:true,
|
|
@@ -332,6 +333,7 @@ export default {
|
|
|
onLoad(option) {
|
|
|
this.courseId = Number(option.id);
|
|
|
this.goodsId = Number(option.goodsId);
|
|
|
+ this.orderGoodsId = Number(option.orderGoodsId)
|
|
|
this.courseDetail();
|
|
|
this.getGoodsDetail();
|
|
|
this.getAnswerList();
|
|
@@ -378,7 +380,8 @@ export default {
|
|
|
success: function(resultst) {
|
|
|
if (resultst.confirm) {
|
|
|
self.$navTo.togo('/pages2/verify/input', {
|
|
|
- id: self.goodsId
|
|
|
+ id: self.goodsId,
|
|
|
+ orderGoodsId:self.orderGoodsId
|
|
|
});
|
|
|
}
|
|
|
if (resultst.cancel) {
|
|
@@ -394,7 +397,8 @@ export default {
|
|
|
success: function(resultst) {
|
|
|
if (resultst.confirm) {
|
|
|
self.$navTo.togo('/pages2/verify/input', {
|
|
|
- id: self.goodsId
|
|
|
+ id: self.goodsId,
|
|
|
+ orderGoodsId:self.orderGoodsId
|
|
|
});
|
|
|
}
|
|
|
if (resultst.cancel) {
|
|
@@ -416,7 +420,8 @@ export default {
|
|
|
success: function(resultst) {
|
|
|
if (resultst.confirm) {
|
|
|
self.$navTo.togo('/pages2/verify/input2', {
|
|
|
- id: self.goodsId
|
|
|
+ id: self.goodsId,
|
|
|
+ orderGoodsId:self.orderGoodsId
|
|
|
});
|
|
|
}
|
|
|
if (resultst.cancel) {
|
|
@@ -432,7 +437,8 @@ export default {
|
|
|
success: function(resultst) {
|
|
|
if (resultst.confirm) {
|
|
|
self.$navTo.togo('/pages2/verify/input2', {
|
|
|
- id: self.goodsId
|
|
|
+ id: self.goodsId,
|
|
|
+ orderGoodsId:self.orderGoodsId
|
|
|
});
|
|
|
}
|
|
|
if (resultst.cancel) {
|