app-diy-page.js 15 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/index/app-diy-page"],{b5c0:function(n,e,i){"use strict";var o;i.d(e,"b",(function(){return t})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var t=function(){var n=this,e=n.$createElement,i=(n._self._c,n.__map(n.newData.navs,(function(e,i){var o=n.__get_orig(e),t=i===n.nav_active?n.__map(e.template.data,(function(i,o){var t=n.__get_orig(i),a="background"===i.id?n.transLabelBackgroundPosition(i.data.position):null,d="background"===i.id?n.transLabelBackgroundRepeat(i.data.mode):null,r="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"===i.id?n.transLabelBackgroundPosition(i.data.position):null,p="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"===i.id?n.transLabelBackgroundRepeat(i.data.mode):null,c="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"===i.id?n.__map(i.data.hotspot,(function(e,i){var o=n.__get_orig(e),t=n.rubikHotspot(e);return{$orig:o,m4:t}})):null,u="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"===i.id&&"top"===i.data.catPosition?n.transLabelBackgroundPosition(i.data.position):null,l="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"===i.id&&"top"===i.data.catPosition?n.transLabelBackgroundRepeat(i.data.mode):null,s="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"===i.id&&"top"!==i.data.catPosition?n.transLabelBackgroundPosition(i.data.position):null,m="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"===i.id&&"top"!==i.data.catPosition?n.transLabelBackgroundRepeat(i.data.mode):null,f="search"===i.id||"banner"===i.id||"notice"===i.id||"nav"===i.id||"video"===i.id||"link"===i.id||"topic"===i.id||"rubik"===i.id||"store"===i.id||"copyright"===i.id||"user-info"===i.id||"user-order"===i.id||"goods"===i.id||"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id?null:n.transLabelBackgroundPosition(i.data.position),g="search"===i.id||"banner"===i.id||"notice"===i.id||"nav"===i.id||"video"===i.id||"link"===i.id||"topic"===i.id||"rubik"===i.id||"store"===i.id||"copyright"===i.id||"user-info"===i.id||"user-order"===i.id||"goods"===i.id||"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id?null:n.transLabelBackgroundRepeat(i.data.mode),h="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"===i.id?n.transLabelBackgroundPosition(i.data.position):null,b="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"===i.id?n.transLabelBackgroundRepeat(i.data.mode):null,v="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"!==i.id&&"empty"!==i.id&&"ad"===i.id?n._f("getObje")(e,i):null,k="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"!==i.id&&"empty"!==i.id&&"ad"!==i.id&&"modal"!==i.id&&"quick-nav"!==i.id&&"mp-link"!==i.id&&"map"!==i.id&&"check-in"!==i.id&&"image-text"!==i.id&&"form"===i.id?n.transLabelPosition(i.data.style):null,y="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"!==i.id&&"empty"!==i.id&&"ad"!==i.id&&"modal"!==i.id&&"quick-nav"!==i.id&&"mp-link"!==i.id&&"map"!==i.id&&"check-in"!==i.id&&"image-text"!==i.id&&"form"===i.id?n.transLabelBackgroundPosition(i.data.position):null,_="search"!==i.id&&"banner"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"rubik"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"!==i.id&&"empty"!==i.id&&"ad"!==i.id&&"modal"!==i.id&&"quick-nav"!==i.id&&"mp-link"!==i.id&&"map"!==i.id&&"check-in"!==i.id&&"image-text"!==i.id&&"form"===i.id?n.transLabelBackgroundRepeat(i.data.mode):null;return{$orig:t,m0:a,m1:d,m2:r,m3:p,l0:c,m5:u,m6:l,m7:s,m8:m,m9:f,m10:g,m11:h,m12:b,f0:v,m13:k,m14:y,m15:_}})):null;return{$orig:o,l1:t}})));n.$mp.data=Object.assign({},{$root:{l2:i}})},a=[]},b78c:function(n,e,i){"use strict";i.r(e);var o=i("b5c0"),t=i("d277");for(var a in t)"default"!==a&&function(n){i.d(e,n,(function(){return t[n]}))}(a);i("c4c7");var d,r=i("f0c5"),p=Object(r["a"])(t["default"],o["b"],o["c"],!1,null,"5340a9da",null,!1,o["a"],d);e["default"]=p.exports},c4c7:function(n,e,i){"use strict";var o=i("db9e"),t=i.n(o);t.a},d277:function(n,e,i){"use strict";i.r(e);var o=i("df8c"),t=i.n(o);for(var a in o)"default"!==a&&function(n){i.d(e,n,(function(){return o[n]}))}(a);e["default"]=t.a},db9e:function(n,e,i){},df8c:function(n,e,i){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("2f62");function t(n,e){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.push.apply(i,o)}return i}function a(n){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?t(Object(i),!0).forEach((function(e){d(n,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}))}return n}function d(n,e,i){return e in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n}var r=function(){i.e("components/page-component/app-search-for/app-search-for").then(function(){return resolve(i("83e7"))}.bind(null,i)).catch(i.oe)},p=function(){Promise.all([i.e("common/vendor"),i.e("components/page-component/app-swiper/swiper")]).then(function(){return resolve(i("c40d"))}.bind(null,i)).catch(i.oe)},c=function(){i.e("components/page-component/app-announcement/app-announcement").then(function(){return resolve(i("e41f"))}.bind(null,i)).catch(i.oe)},u=function(){i.e("components/page-component/app-navigation-icon/app-navigation-icon").then(function(){return resolve(i("6a49"))}.bind(null,i)).catch(i.oe)},l=function(){Promise.all([i.e("common/vendor"),i.e("components/page-component/app-video/app-video")]).then(function(){return resolve(i("f331"))}.bind(null,i)).catch(i.oe)},s=function(){i.e("components/page-component/app-associated-link/app-associated-link").then(function(){return resolve(i("daeb"))}.bind(null,i)).catch(i.oe)},m=function(){i.e("components/page-component/app-special-topic/app-special-topic-normal").then(function(){return resolve(i("3fc2"))}.bind(null,i)).catch(i.oe)},f=function(){i.e("components/page-component/app-special-topic/app-special-topic-list").then(function(){return resolve(i("cf52"))}.bind(null,i)).catch(i.oe)},g=function(){i.e("components/page-component/app-image-ad/app-image-ad").then(function(){return resolve(i("411a"))}.bind(null,i)).catch(i.oe)},h=function(){i.e("components/basic-component/app-hotspot/app-hotspot").then(function(){return resolve(i("6465"))}.bind(null,i)).catch(i.oe)},b=function(){i.e("components/page-component/app-shop/app-shop").then(function(){return resolve(i("cb8f"))}.bind(null,i)).catch(i.oe)},v=function(){i.e("components/page-component/app-copyright/app-copyright").then(function(){return resolve(i("67ff"))}.bind(null,i)).catch(i.oe)},k=function(){i.e("components/page-component/app-user-center-top/app-user-center-top").then(function(){return resolve(i("8508"))}.bind(null,i)).catch(i.oe)},y=function(){i.e("components/page-component/app-my-order/app-my-order").then(function(){return resolve(i("c532"))}.bind(null,i)).catch(i.oe)},_=function(){i.e("components/page-component/app-recommended-product/app-recommended-product").then(function(){return resolve(i("fced"))}.bind(null,i)).catch(i.oe)},P=function(){i.e("components/page-component/app-recommended-product/app-recommended-product-list").then(function(){return resolve(i("f168"))}.bind(null,i)).catch(i.oe)},O=function(){i.e("components/page-component/app-exclusive-coupon/app-exclusive-coupon").then(function(){return resolve(i("b31d"))}.bind(null,i)).catch(i.oe)},L=function(){i.e("components/page-component/app-diy-timer/app-diy-timer").then(function(){return resolve(i("a2ad"))}.bind(null,i)).catch(i.oe)},B=function(){i.e("components/page-component/app-good-shop-recommendation/app-good-shop-recommendation").then(function(){return resolve(i("8635"))}.bind(null,i)).catch(i.oe)},j=function(){i.e("components/page-component/app-group-goods/app-group-goods").then(function(){return resolve(i("ccd5"))}.bind(null,i)).catch(i.oe)},w=function(){i.e("components/basic-component/app-empty/app-empty").then(function(){return resolve(i("62bb"))}.bind(null,i)).catch(i.oe)},x=function(){i.e("components/page-component/app-popup-ad/app-popup-ad").then(function(){return resolve(i("078e"))}.bind(null,i)).catch(i.oe)},R=function(){Promise.all([i.e("common/vendor"),i.e("components/page-component/app-quick-navigation/app-quick-navigation")]).then(function(){return resolve(i("e726"))}.bind(null,i)).catch(i.oe)},$=function(){Promise.all([i.e("common/vendor"),i.e("components/page-component/app-check-in/app-check-in")]).then(function(){return resolve(i("b55e"))}.bind(null,i)).catch(i.oe)},q=function(){Promise.all([i.e("common/vendor"),i.e("components/basic-component/app-rich/parse")]).then(function(){return resolve(i("ef35"))}.bind(null,i)).catch(i.oe)},D=function(){i.e("components/page-component/app-reservation/app-reservation").then(function(){return resolve(i("9363"))}.bind(null,i)).catch(i.oe)},E=function(){i.e("components/page-component/app-spike/app-spike").then(function(){return resolve(i("ee49"))}.bind(null,i)).catch(i.oe)},S=function(){i.e("components/page-component/app-diy-goods-list/app-diy-goods-list").then(function(){return resolve(i("530f"))}.bind(null,i)).catch(i.oe)},H=function(){i.e("components/page-component/app-diy-form/app-diy-form").then(function(){return resolve(i("9b1f"))}.bind(null,i)).catch(i.oe)},N=function(){i.e("components/page-component/app-map/app-map").then(function(){return resolve(i("be1a"))}.bind(null,i)).catch(i.oe)},T=function(){i.e("components/page-component/app-vip-card/app-vip-card").then(function(){return resolve(i("3592"))}.bind(null,i)).catch(i.oe)},C=function(){i.e("components/page-component/app-ad/app-ad").then(function(){return resolve(i("c0fc"))}.bind(null,i)).catch(i.oe)},J=function(){i.e("components/page-component/app-live/app-live").then(function(){return resolve(i("d6cc"))}.bind(null,i)).catch(i.oe)},M={name:"app-diy-page",components:{"app-search-for":r,"app-swiper":p,"app-announcement":c,"app-navigation-icon":u,"app-video":l,"app-associated-link":s,"app-special-topic":m,"app-special-topic-list":f,"app-image-ad":g,"app-hotspot":h,"app-shop":b,"app-copyright":v,"app-user-center":k,"app-my-order":y,"app-recommended-product":_,"app-recommended-product-list":P,"app-exclusive-coupon":O,"app-diy-timer":L,"app-goods-shop":B,"app-group-goods":j,"app-empty":w,"app-popup-ad":x,"app-quick-navigation":R,"app-check-in":$,"app-rich":q,"app-reservation":D,"app-spike":E,"app-diy-goods-list":S,"app-diy-form":H,"app-vip-card":T,appMap:N,appAd:C,appLive:J},props:{homePages:{type:Object,default:function(){return{}}},scrollTop:{type:Number,default:function(){return 0}},is_storage:Boolean,pageHide:Boolean},computed:a(a({newData:function(){n.setNavigationBarTitle({title:this.homePages.title}),console.log(this.homePages);for(var e=0;e<this.homePages.navs.length;e++)for(var i=this.homePages.navs[e],o=0;o<i.length;o++);return this.homePages}},(0,o.mapState)({userCenter:function(n){return n.mallConfig.user_center}})),{},{diyFormSubmitUrl:function(){return this.$api.diy.page_store}}),data:function(){return{nav_active:0,mp_link_top:!1,coupon_url:this.$api.diy.receive,coupon_params:{}}},filters:{getObje:function(n,e){return{template_id:n.template_id}}},methods:{changeNav:function(n){this.nav_active=n,this.mp_link_top=!1},rubikHotspot:function(n){return n&&n.link&&(n.link.url=n.link.value,n.link.openType=n.link.open_type),n},mpLink:function(n){"top"===n&&(this.mp_link_top=!0)},transLabelPosition:function(n){return 3==n?"top":2==n?"inset":"left"},transLabelBackgroundPosition:function(n){return 1==n?"left top":2==n?"center top":3==n?"right top":4==n?"left center":5==n?"center center":6==n?"right center":7==n?"left bottom":8==n?"center bottom":9==n?"right bottom":"center"},transLabelBackgroundRepeat:function(n){return 1==n?"no-repeat":2==n?"repeat-x":3==n?"repeat-y":4==n?"repeat":"no-repeat"},mpLinkError:function(){this.mp_link_top=!1}}};e.default=M}).call(this,i("543d")["default"])}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/page-component/index/app-diy-page-create-component',
  4. {
  5. 'components/page-component/index/app-diy-page-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("b78c"))
  7. })
  8. },
  9. [['components/page-component/index/app-diy-page-create-component']]
  10. ]);