You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
20 KiB
1 line
20 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-cart-cart"],{"0d23":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page-total"},[i("v-uni-view",{staticClass:"tab-list"},t._l(t.TabBarList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onTabBar(e,a)}}},[i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:t.tabBarShow===a,expression:"tabBarShow === index"}],attrs:{src:e.acImg,mode:"widthFix"}}),i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:t.tabBarShow!=a,expression:"tabBarShow != index"}],attrs:{src:e.img,mode:"widthFix"}}),i("v-uni-text",{class:{action:t.tabBarShow===a}},[t._v(t._s(e.name))])],1)})),1)],1)},n=[]},"35dc":function(t,e,i){"use strict";var a=i("70c2"),n=i.n(a);n.a},"39d2":function(t,e,i){var a=i("c497");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("198108e4",a,!0,{sourceMap:!1,shadowMode:!1})},"49f8":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={TabBar:i("e7c7").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"head"},[a("v-uni-view",{staticClass:"edit",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isEdit=!t.isEdit}}},[a("v-uni-text",[t._v(t._s(t.isEdit?"完成":"编辑"))])],1)],1),a("v-uni-view",{staticClass:"empty"},[a("v-uni-image",{attrs:{src:i("fe0f"),mode:""}}),a("v-uni-view",{staticClass:"btnGroup"},[a("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSkip("home")}}},[t._v("去逛逛")]),a("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSkip("collect")}}},[t._v("看看收藏")])],1)],1),a("v-uni-view",{staticClass:"close-account"},[a("v-uni-view",{staticClass:"check-total"},[a("v-uni-view",{staticClass:"check"},[a("v-uni-text",{staticClass:"iconfont icon-check"}),a("v-uni-text",{staticClass:"all"},[t._v("全选")])],1),a("v-uni-view",{staticClass:"total"},[a("v-uni-text",[t._v("合计:")]),a("v-uni-text",{staticClass:"price"},[t._v("¥0.00")])],1)],1),a("v-uni-view",{staticClass:"account"},[t.isEdit?a("v-uni-view",{staticClass:"btn-del"},[a("v-uni-text",{staticClass:"del"},[t._v("删除")])],1):a("v-uni-view",{staticClass:"btn-calculate"},[a("v-uni-text",[t._v("去结算(0)")])],1)],1)],1),a("TabBar",{attrs:{tabBarShow:2}})],1)},o=[]},"70c2":function(t,e,i){var a=i("e81b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("0e6fe43a",a,!0,{sourceMap:!1,shadowMode:!1})},9630:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("ac1f"),i("841c");var a={data:function(){return{TabBarList:[{index:0,name:"首页",img:"/static/tabBar/tab_01.png",acImg:"/static/tabBar/tab_02.png"},{index:1,name:"抢购",img:"/static/tabBar/tab_03.png",acImg:"/static/tabBar/tab_04.png"},{index:2,name:"购物车",img:"/static/tabBar/tab_07.png",acImg:"/static/tabBar/tab_08.png"},{index:3,name:"我的",img:"/static/tabBar/tab_09.png",acImg:"/static/tabBar/tab_10.png"}],codeheight:0,isOverall:0,phoneModel:""}},props:{tabBarShow:{type:Number,default:0}},mounted:function(){try{uni.getSystemInfoSync();var t=this;uni.getSystemInfo({success:function(e){console.log(e.brand),console.log(e.model),console.log(e.screenWidth),console.log(e.screenHeight),t.codeheight=Math.round(e.screenHeight),t.phoneModel=e.model,e.model.search("iPhone")?t.isOverall=0:Math.round(e.screenHeight)>740&&(t.isOverall=1),console.log(t.isOverall)}})}catch(e){}},methods:{onTabBar:function(t,e){switch(e){case 0:uni.switchTab({url:"/pages/home/home"});break;case 1:uni.switchTab({url:"/pag
|