Browse Source

feature_20250910_建议订单跳转购物车

zhujindu 2 months ago
parent
commit
7411b9923e
1 changed files with 17 additions and 14 deletions
  1. 17 14
      src/views/deviceOutside/productItem.vue

+ 17 - 14
src/views/deviceOutside/productItem.vue

@@ -172,20 +172,23 @@ export default {
         message: '加载中...',
         forbidClick: true,
       });
-      getOrderUrlByStoreId({
-        storeId: this.$route.query.id,
-        from: this.$route.query.from || '',
-      }).then((res) => {
-        loading1.clear();
-        if (res.code == 200 && res.data) {
-          window.location.href = res.data;
-        } else {
-          this.Toast({
-            message: res.msg,
-            duration: 5000,
-          });
-        }
-      });
+      let cartUrl =
+        'https://np-dorder-we.vip-test.tech/?userid=0190108574&token=9D6ADDD376D3463B8D0BF3842A7A04D3&state=#/tab/cart';
+      window.location.href = cartUrl;
+      // getOrderUrlByStoreId({
+      //   storeId: this.$route.query.id,
+      //   from: this.$route.query.from || '',
+      // }).then((res) => {
+      //   loading1.clear();
+      //   if (res.code == 200 && res.data) {
+      //     window.location.href = res.data;
+      //   } else {
+      //     this.Toast({
+      //       message: res.msg,
+      //       duration: 5000,
+      //     });
+      //   }
+      // });
     },
     onClickLeft() {
       this.$router.go(-1);