app-index.js 7.7 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/index/app-index"],{"187d":function(n,e,t){"use strict";var o=t("b81a"),a=t.n(o);a.a},"6cf8":function(n,e,t){"use strict";t.r(e);var o=t("cdb1"),a=t("9f1f");for(var c in a)"default"!==c&&function(n){t.d(e,n,(function(){return a[n]}))}(c);t("187d");var r,p=t("f0c5"),i=Object(p["a"])(a["default"],o["b"],o["c"],!1,null,"9f610a40",null,!1,o["a"],r);e["default"]=i.exports},"9ee6":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t("2f62");function a(n){return i(n)||p(n)||r(n)||c()}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(n,e){if(n){if("string"===typeof n)return u(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(n,e):void 0}}function p(n){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}function i(n){if(Array.isArray(n))return u(n)}function u(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=new Array(e);t<e;t++)o[t]=n[t];return o}function l(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function s(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?l(Object(t),!0).forEach((function(e){m(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function m(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var f=function(){t.e("components/page-component/app-search-for/app-search-for").then(function(){return resolve(t("83e7"))}.bind(null,t)).catch(t.oe)},d=function(){Promise.all([t.e("common/vendor"),t.e("components/page-component/app-swiper/swiper")]).then(function(){return resolve(t("c40d"))}.bind(null,t)).catch(t.oe)},h=function(){t.e("components/page-component/app-navigation-icon/app-navigation-icon").then(function(){return resolve(t("6a49"))}.bind(null,t)).catch(t.oe)},v=function(){t.e("components/page-component/app-announcement/app-announcement").then(function(){return resolve(t("e41f"))}.bind(null,t)).catch(t.oe)},g=function(){Promise.all([t.e("common/vendor"),t.e("components/page-component/app-video/app-video")]).then(function(){return resolve(t("f331"))}.bind(null,t)).catch(t.oe)},b=function(){t.e("components/page-component/app-special-topic/app-special-topic-normal").then(function(){return resolve(t("3fc2"))}.bind(null,t)).catch(t.oe)},y=function(){t.e("components/page-component/app-exclusive-coupon/app-exclusive-coupon").then(function(){return resolve(t("b31d"))}.bind(null,t)).catch(t.oe)},x=function(){t.e("components/page-component/app-image-ad/app-image-ad").then(function(){return resolve(t("411a"))}.bind(null,t)).catch(t.oe)},P=function(){t.e("components/page-component/app-reservation/app-reservation").then(function(){return resolve(t("9363"))}.bind(null,t)).catch(t.oe)},O=function(){Promise.all([t.e("common/vendor"),t.e("components/basic-component/app-jump-button/app-jump-button")]).then(function(){return resolve(t("cf11"))}.bind(null,t)).catch(t.oe)},k=function(){t.e("components/page-component/app-good-shop-recommendation/app-good-shop-recommendation").then(function(){return resolve(t("8635"))}.bind(null,t)).catch(t.oe)},w=function(){t.e("components/basic-component/app-timer/app-timer").then(function(){return resolve(t("c73c"))}.bind(null,t)).catch(t.oe)},j=function(){Promise.all([t.e("common/vendor"),t.e("components/page-component/app-quick-navigation/app-quick-navigation")]).then(function(){return resolve(t("e726"))}.bind(null,t)).catch(t.oe)},_=function(){t.e("components/page-component/app-popup-ad/app-popup-ad").then(function(){return resolve(t("078e"))}.bind(null,t)).catch(t.oe)},S=function(){Promise.all([t.e("common/vendor"),t.e("components/page-component/app-index-miaosha/app-index-miaosha")]).then(function(){return resolve(t("777b"))}.bind(null,t)).catch(t.oe)},I=function(){Promise.all([t.e("common/vendor"),t.e("components/page-component/app-index-pintuan/app-index-pintuan")]).then(function(){return resolve(t("b904"))}.bind(null,t)).catch(t.oe)},A=function(){t.e("components/page-component/app-index-booking/app-index-booking").then(function(){return resolve(t("5250"))}.bind(null,t)).catch(t.oe)},B=function(){Promise.all([t.e("common/vendor"),t.e("components/page-component/app-index-cat/app-index-cat")]).then(function(){return resolve(t("a0ac"))}.bind(null,t)).catch(t.oe)},D=function(){t.e("components/page-component/app-index-advance/app-index-advance").then(function(){return resolve(t("aa56"))}.bind(null,t)).catch(t.oe)},H=function(){t.e("components/page-component/app-index-pick/app-index-pick").then(function(){return resolve(t("283f"))}.bind(null,t)).catch(t.oe)},$={name:"app-index",data:function(){return{newPage:[],time:-1}},props:{homePages:{type:Array,default:function(){return[]}},is_storage:Boolean,pageHide:Boolean},computed:s(s({},(0,o.mapState)("mallConfig",{mall:function(n){return n.mall},theme:function(n){return n.theme}})),{},{newData:function(){n.setNavigationBarTitle({title:this.mall.name})},getStausBarHeight:function(){try{var e=n.getSystemInfoSync();return e.statusBarHeight+"px"}catch(t){console.log(t)}},headerBgHeight:function(){try{var e=n.getSystemInfoSync();return 164+e.statusBarHeight+"px"}catch(t){console.log(t)}}}),watch:{homePages:{handler:function(n){var e=this;this.newPage=[];var t=-1,o=0;clearInterval(this.time),n.length>0&&(this.time=setInterval((function(){var c;t++,o++,(c=e.newPage).push.apply(c,a(n.slice(t,o))),o===n.length&&clearInterval(e.time)}),100))},immediate:!0}},methods:{changeCoupon:function(n,e){this.newPage[e].coupons[n].is_receive="1"}},components:{"app-search-for":f,"app-swiper":d,"app-navigation-icon":h,"app-announcement":v,"app-video":g,"app-topic":b,"app-exclusive-coupon":y,"app-image-ad":x,"app-reservation":P,"app-good-shop-recommendation":k,"app-jump-button":O,"app-timer":w,"app-quick-navigation":j,"app-popup-ad":_,"app-index-miaosha":S,"app-index-pintuan":I,"app-index-booking":A,"app-index-cat":B,"app-index-advance":D,appIndexPick:H}};e.default=$}).call(this,t("543d")["default"])},"9f1f":function(n,e,t){"use strict";t.r(e);var o=t("9ee6"),a=t.n(o);for(var c in o)"default"!==c&&function(n){t.d(e,n,(function(){return o[n]}))}(c);e["default"]=a.a},b81a:function(n,e,t){},cdb1:function(n,e,t){"use strict";var o;t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return o}));var a=function(){var n=this,e=n.$createElement,t=(n._self._c,n.__map(n.newPage,(function(e,t){var o=n.__get_orig(e),a="search"!==e.key&&"banner"!==e.key&&"cat"!==e.key&&"home_nav"===e.key?Number(e.row_num):null,c="search"!==e.key&&"banner"!==e.key&&"cat"!==e.key&&"home_nav"!==e.key&&"notice"!==e.key&&"video"!==e.key&&"topic"===e.key?Number(e.topic_num):null;return{$orig:o,m0:a,m1:c}})));n.$mp.data=Object.assign({},{$root:{l0:t}})},c=[]}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/page-component/index/app-index-create-component',
  4. {
  5. 'components/page-component/index/app-index-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("6cf8"))
  7. })
  8. },
  9. [['components/page-component/index/app-index-create-component']]
  10. ]);