소스 검색

更改重复购买

谢杰标 2 년 전
부모
커밋
58df1e72df
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  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",
           });