From 93e6a26508abe0226b9c435225e0e6bae99b4e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=BB=E9=B9=8F?= <1242402566@qq.com> Date: Fri, 29 May 2020 21:21:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=87=92=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/EasyLoadimage/EasyLoadimage.vue | 170 +++++++++++++++++++++++++ src/pages/cart/cart.vue | 52 ++++---- src/static/easy-loadimage/loadfail.png | Bin 0 -> 3500 bytes src/static/easy-loadimage/loading.gif | Bin 0 -> 17340 bytes src/store/modules/index.js | 6 +- src/store/modules/userRecommand.js | 3 +- 6 files changed, 201 insertions(+), 30 deletions(-) create mode 100644 src/components/EasyLoadimage/EasyLoadimage.vue create mode 100644 src/static/easy-loadimage/loadfail.png create mode 100644 src/static/easy-loadimage/loading.gif diff --git a/src/components/EasyLoadimage/EasyLoadimage.vue b/src/components/EasyLoadimage/EasyLoadimage.vue new file mode 100644 index 0000000..a14d1d8 --- /dev/null +++ b/src/components/EasyLoadimage/EasyLoadimage.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/pages/cart/cart.vue b/src/pages/cart/cart.vue index 0a8e6ca..e501169 100644 --- a/src/pages/cart/cart.vue +++ b/src/pages/cart/cart.vue @@ -8,7 +8,7 @@ @@ -21,12 +21,12 @@ @@ -47,11 +47,10 @@ @tap="toGoods(item.pid,item.sk_id)" >{{item.p_name}} - + + :title="item.tag.prod_tag_fun[0].label&&item.tag.prod_tag_fun[1].label?item.tag.prod_tag_fun[0].label+'/'+item.tag.prod_tag_fun[1].label+'...':'暂无数据'"> cart_id',cart_id) // console.log('cartlist====>delcart',this.$store.state.cart.cartList) // console.log('delcart======>index',index) - const uid = this.$store.state.user.userInfo.uid - const openid = this.$store.state.user.userInfo.openid - uni.showModal({ - title: '是否删除该商品', - // content: '是否删除该商品', - success: function (res) { - if (res.confirm) { - // this.$store.state.cart.cartList.splice(index,1) - store.dispatch('cart/delCart', { - uid: uid, - openid: openid, - cart_id: cart_id, // 要修改的购物车id - arg: index, // 由于action 传参是能接收两参数,因此将index放入对象 - }) - console.log('用户点击确定') - } - }, - }) + uni.showModal({ + title: '是否删除该商品', + // content: '是否删除该商品', + success: function (res) { + if (res.confirm) { + if (this.childIsOpen[index]) { + this.totalPrice = this.totalPrice - (this.$store.state.cart.cartList[index].nowPrice*this.$store.state.cart.cartList[index].num) + } + console.log('index===>',index) + store.dispatch('cart/delCart', { + uid: this.$store.state.user.userInfo.uid, + openid: this.$store.state.user.userInfo.openid, + cart_id: cart_id, // 要修改的购物车id + arg: index, // 由于action 传参是能接收两参数,因此将index放入对象 + }) + } + }.bind(this), + }) }, }, } @@ -308,14 +308,14 @@ export default { border-radius: 22px; border: 1px solid #cfcfcf; background-color: #ffffff; - margin: 6px; + margin: 24rpx 12rpx 24rpx 24rpx; } .partentChecked { width: 18px; height: 18px; border-radius: 22px; background-color: #ff6b4a; - margin: 6px; + margin: 24rpx 12rpx 24rpx 24rpx; .correct { display: inline-block; position: relative; diff --git a/src/static/easy-loadimage/loadfail.png b/src/static/easy-loadimage/loadfail.png new file mode 100644 index 0000000000000000000000000000000000000000..f8e221ba6d670906dfeb01b7460ac1250352e8c5 GIT binary patch literal 3500 zcmbtXXH?V6xBVpq2?&}P@$Z!$X%VFuq+Fy32}qC@xFVq`Xe3k-slp{v^aqOENGPGV zsFVP~Bq$w05C|Z>DWW1pKv1fP__*(__w{{wALh(jbJpy0X78C>+y6(+Ie` zP4iQTJfh)c8f?0dU^{J6*#sB#Vo((b;`&y*WGph_x#|-zZ0jJgYe76X3Ihca{vXUJ4#d~ zqYk95=+~)g- zpYSPRo0~9#L4*wCEQIjTsN>%9@&5%2!~?8#WLx^XXxY(thET1b1?IB>{sGgqLZ;tS z^N9EdZ%G*>)-V=KvcULvjGHP#Jz0W)a}VF_y6Pd~TpAHoxEv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Sfy&*pX05i!QaW!AUD5x^G08g4nPl!09uQwm*$l-G*$d5NHcJpxp6f(q0#69LM9P&|f23M87YZ$Ns`hKA(U1~o53G~R zIgHJ3FU)65*bb7GD7(pA3&^H_-=f!4lptxW_By95%XSnM{3=8ZsSypw&W{V^?*Cro zgQRtjR9BZguQSa$|Agz>!Ds7bN?Gn5&d;c|P-`HzM$ic^koq0~eG-T`>X;FVI!OcWXebBs#bE9#!RcaXr^?R)fW-un1l(@ZRGT@3|bXw?EKH* z!{KcRIY&R=6*A{rr;kQN8+w{Mk%w6aZxa;zM?2( zQLK>fqivGqr`&;+qxdehB@@47akf9r4|#F14>ZzdziG7b=1-B$-`hy7i##1!cqWl} zH+yGPz72XOFer#cKkaby{9*ilBzq;Mm>=Im?FaOq9bf*s>W$ytMhN~vEfS<&F~ z@^c5HgxhiVo0^8&t(kPQ=f`|Y47W)ZL78Sb!IC~pQYP#WooW@R&RW#7;_~#<*E*Z+ zo>*~H&R{#{BI`r6Rru*00s9lrLRc zS4`qS)*0{AdOPjp!;V|Jc0wYWCnO-!+HL&az`+s{%TEe+N8fKKp7Nzp+{sVbLs`%W!6!q#tcVY zH1M+|g2wF)5_u}_(e){rk!wR>P9_F*_A3kjw#1V=Y1~$6mf#KreZ9lS~ zL+Ub%*y%jN^=8egKeH_U^5?l$p*RFv$h1wO5)1L-W@xsJs#s{1s;_p^XtXfw^_~b- z?-uWo@@!p7e~}X7g?4F@6>op^<%>)r8!vBn9}6kFjvf!zd~dkkZu&(!vEr!4YTa3< z+QMIcBoFQDG82@Bx{8YB#rc6J6Bf*Dc@)I7`K`OAp`QbpcYVl-2S$UdB05~}1>~(n z_0{{}R;32{TF$XphVYv+=TjqObN>If*a=|X!h3^2!A;mVCKNBTUV} literal 0 HcmV?d00001 diff --git a/src/static/easy-loadimage/loading.gif b/src/static/easy-loadimage/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..5e1f8fab0db94581ed7928cb89a275349987b664 GIT binary patch literal 17340 zcmajm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/src/store/modules/index.js @@ -9,7 +9,7 @@ const state = { categoryList: [], - list: [], + list: [] }; const mutations = { @@ -18,7 +18,7 @@ const mutations = { }, CATEGORY: (state, categoryList) => { state.categoryList = categoryList; - }, + } }; const actions = { @@ -84,7 +84,7 @@ const actions = { console.log("complete status === > ", res); }, }) - } + }, }; export default { diff --git a/src/store/modules/userRecommand.js b/src/store/modules/userRecommand.js index d2199da..c44e8f5 100644 --- a/src/store/modules/userRecommand.js +++ b/src/store/modules/userRecommand.js @@ -23,7 +23,8 @@ const actions = { url: recommandList, data: param, success: (res) => { - console.log(res.data.data) + console.log('ReccomandList请求结果',res.data) + // console.log(res.data.data) // const Res={...res.data.data.list,...data.data.list} const data = res.data.data for (let index = 0; index < data.length; index++) { -- 2.0.0