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"],{1822:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("e967")),o=a(i("e984")),s={mixins:[o.default],components:{TabBar:n.default},data:function(){return{mescroll:null,downOption:{},upOption:{use:!1,toTop:{src:""}},isEdit:!1}},onReady:function(){uni.hideTabBar()},methods:{downCallback:function(){this.mescroll.endSuccess()},upCallback:function(t){var e=this;setTimeout((function(){e.mescroll.endByPage(10,20)}),2e3)},onSkip:function(t){switch(t){case"classify":uni.navigateTo({url:"/pages/SearchGoodsList/SearchGoodsList"});break;case"goods":uni.navigateTo({url:"/pages/GoodsDetails/GoodsDetails",animationType:"zoom-fade-out",animationDuration:200});break;case"home":uni.switchTab({url:"/pages/home/home"});break;case"collect":uni.navigateTo({url:"/pages/SearchGoodsList/SearchGoodsList"});break}}}};e.default=s},"2efd":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=[]},3168:function(t,e,i){"use strict";var a=i("79f4"),n=i.n(a);n.a},"4c10":function(t,e,i){"use strict";i.r(e);var a=i("76d3"),n=i("70fd");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("f0c1");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"026d1270",null,!1,a["a"],void 0);e["default"]=c.exports},"4f4d":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:"/pages/qianggou/qianggou"});break;case 2:uni.switchTab({url:"/pages/cart/cart"});break;case 3:uni.switchTab({url:"/pages/my/my"});break}}}};e.default=a},"70fd":function(t,e,i){"use strict";i.r(e);var a=i("1822"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"76d3":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("e967").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._
|