From 1afb0ce5f877c848eb0918b486b74710506b4f88 Mon Sep 17 00:00:00 2001 From: Gao xiaosong <704041637@qq.com> Date: Sun, 13 Sep 2020 22:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83,=E8=B4=AD=E7=89=A9=E8=BD=A6=E7=A9=BA=E7=99=BD?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- pages/home/index.vue | 3 - pages/shop/ShoppingCart/index.vue | 735 +++++++++++++++--------------- pages/user/User/index.vue | 4 +- 剩余问题.js | 6 +- 5 files changed, 362 insertions(+), 388 deletions(-) diff --git a/config/index.js b/config/index.js index d55cb76..b46828a 100644 --- a/config/index.js +++ b/config/index.js @@ -2,6 +2,6 @@ // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'; // export const VUE_APP_API_URL = 'http://192.168.31.223:8008/api'; -export const VUE_APP_API_URL = 'http://h5api.xinxintuan.co/api'; +export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; export const VUE_APP_RESOURCES_URL = 'https://wx.yixiang.co/static'; diff --git a/pages/home/index.vue b/pages/home/index.vue index 73f4567..5956cd8 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -21,9 +21,6 @@ - - - {{ count }} - {{ footerswitch ? '取消' : '管理' }} + + {{ footerswitch ? '取消' : '管理' }} - + @@ -46,31 +40,19 @@ {{ item.productInfo.storeName }} - 属性:{{ item.productInfo.attrInfo.sku }} + 属性:{{ item.productInfo.attrInfo.sku }} ¥{{ item.truePrice }} - - + - {{ item.cartNum }} - + - + + + + @click.prevent="plus(cartListValidIndex)">+ @@ -78,25 +60,15 @@ - 失效商品 + 失效商品 清空 - - + + 失效 @@ -104,10 +76,8 @@ {{ item.productInfo.storeName }} - 属性:{{ item.productInfo.attrInfo.sku }} + 属性:{{ item.productInfo.attrInfo.sku }} + 该商品已下架 @@ -160,77 +130,96 @@ - + diff --git a/pages/user/User/index.vue b/pages/user/User/index.vue index 013c7cf..32402eb 100644 --- a/pages/user/User/index.vue +++ b/pages/user/User/index.vue @@ -133,7 +133,7 @@ :login_type="userInfo.login_type" >--> - +