谢杰标 преди 2 години
родител
ревизия
312e37f592
променени са 2 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 1 1
      pages/learn/index.vue
  2. 5 1
      pages3/polyv/detail.vue

+ 1 - 1
pages/learn/index.vue

@@ -1018,7 +1018,7 @@ export default {
         if (item.learnStatus > 0) {
           //跳转第三方h5
           uni.navigateTo({
-            url: `/pages3/polyv/detail?goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&isOther=1`,
+            url: `/pages3/polyv/detail?goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}&isOther=1`,
           });
           return;
         } else {

+ 5 - 1
pages3/polyv/detail.vue

@@ -947,6 +947,10 @@ export default {
     this.orderGoodsId = Number(option.orderGoodsId) || "";
     this.gradeId = option.gradeId;
     this.isOther = option.isOther;
+    if (this.isOther) {
+        this.showMark = true;
+        return;
+    }
     this.option = option;
 
     // 公众号模板消息的数据埋点
@@ -1009,6 +1013,7 @@ export default {
           orderGoodsId: this.orderGoodsId,
         })
         .then((res) => {
+
           if (res.data.code == 200) {
             this.courseList.push.apply(this.courseList, res.data.rows);
             // 科目
@@ -1157,7 +1162,6 @@ export default {
 
     // 原来onshow里面的内容
     originOnShow() {
-      console.log("原来onshow里面的originOnShow");
       if (this.isOther) {
         this.showMark = true;
         return;