Browse Source

更改重复购买

谢杰标 2 years ago
parent
commit
58df1e72df
1 changed files with 7 additions and 1 deletions
  1. 7 1
      pages2/order/confirm_pay.vue

+ 7 - 1
pages2/order/confirm_pay.vue

@@ -324,7 +324,7 @@ export default {
               ? "继续选课"
               : type == 2
               ? "继续选题"
-              : type == 3
+              : type == 3 || type == 8
               ? "继续选购"
               : "";
         }
@@ -400,6 +400,12 @@ export default {
             url: "/pages4/shopping/shoppingCart",
           });
         } else {
+          if (this.shoppingCartList[0].goodsType == 8) {
+            uni.reLaunch({
+              url: "/pages/information/index",
+            });
+            return;
+          }
           uni.switchTab({
             url: "/pages/course/index",
           });