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.
shop-app/unpackage/dist/build/h5/static/js/pages-index-index.02c22eeb.js

1 line
45 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"014f":function(t,e,i){"use strict";i.r(e);var a=i("bdb9"),n=i("3f7d");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("7739");var s,o=i("f0c5"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"fac48ea0",null,!1,a["a"],s);e["default"]=c.exports},"02bb":function(t,e,i){var a=i("b19c");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("46c84404",a,!0,{sourceMap:!1,shadowMode:!1})},"067a":function(t,e,i){"use strict";i("99af"),i("e25e"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{data:{type:Object,default:function(){return{activityTimeVO:{timeName:"xx"}}}}},data:function(){return{timerStr:"00:00:00",secondNum:0}},computed:{activityTimeVO:function(){return this.data.activityTimeVO||{}}},watch:{data:function(t){var e=t.isStartActivity,i=t.activityTimeVO,a=i.startTime,n=i.endTime,r=t.currentTime;if(n){var s=new Date("2022/01/01 ".concat(r)).getTime(),o=0;o=e?new Date("2022/01/01 ".concat(n)).getTime():new Date("2022/01/01 ".concat(a)).getTime();var c=Math.floor((o-s)/1e3);this.secondNum=c>0?c:0,this.timer()}}},methods:{timer:function(){var t=this;if(0!=this.secondNum){this.secondNum--;var e=parseInt(this.secondNum/3600),i=parseInt((this.secondNum-3600*e)/60),a=parseInt(this.secondNum%60);e=e>9?e:"0".concat(e),i=i>9?i:"0".concat(i),a=a>9?a:"0".concat(a),this.timerStr="".concat(e,":").concat(i,":").concat(a),setTimeout((function(){return t.timer()}),1e3)}else this.timerStr=this.data.isStartActivity?"已结束":"已开始"}}};e.default=a},"0db9":function(t,e,i){var a=i("2835");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("63161fb4",a,!0,{sourceMap:!1,shadowMode:!1})},"0f57":function(t,e,i){"use strict";i.r(e);var a=i("97bd"),n=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},1109:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"header"},[a("v-uni-view",{staticClass:"logo",class:{logo__min:t.scrollTop>35}}),t.scrollTop>35?a("v-uni-view",{staticClass:"search search__min",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push("/search")}}},[a("v-uni-text",{staticClass:"search--input"},[t._v("请输入您想搜索的商品名称")])],1):t._e(),a("v-uni-view",{staticClass:"msg"},[a("v-uni-image",{staticClass:"msg--icon",attrs:{src:i("b0a4")}})],1)],1),a("v-uni-view",{staticClass:"search",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push("/search")}}},[a("v-uni-text",{staticClass:"search--input"},[t._v("请输入您想搜索的商品名称")])],1),a("Banner",{attrs:{data:t.bannerList}}),a("v-uni-view",{staticClass:"category"},t._l(t.categoryList,(function(e){return a("v-uni-view",{key:e.id,staticClass:"category--item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$Router.push("/goodsList?categoryId="+e.id)}}},[a("v-uni-view",{staticClass:"category--image-box"},[a("v-uni-image",{staticClass:"category--image",attrs:{src:e.picture}})],1),a("v-uni-text",{staticClass:"category--title"},[t._v(t._s(e.name))])],1)})),1),a("Seckill",{attrs:{data:t.seckillData}}),a("v-uni-view",{staticClass:"title"},[t._v("甄选推荐")]),a("Pick",{attrs:{data:t.recommendedGoodsList}}),a("v-uni-view",{staticClass:"title"},[t._v("为您推荐")]),a("BsChoiceGoods",{ref:"goodsGroup"})],1)},r=[]},"11a3":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过<E9809A><E8BF87>