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
12 KiB
1 line
12 KiB
3 months ago
|
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/match_pay/index","components/productWindow/index"],{"00b7":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,i=(t._self._c,t.isDelivery?t.attr.deliveryType.includes("1"):null),r=t.isDelivery?t.attr.deliveryType.includes("3")&&t.storeList.length:null,s=2==t.flag&&t.isDelivery?t.attr.deliveryType.includes("1"):null;t.$mp.data=Object.assign({},{$root:{g0:i,g1:r,g2:s}})},s=[]},"00bc":function(t,e,i){"use strict";var r=i("5f63"),s=i.n(r);s.a},"1c75":function(t,e,i){"use strict";i.r(e);var r=i("c581"),s=i("c71c");for(var n in s)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(n);i("00bc");var a=i("828b"),o=Object(a["a"])(s["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=o.exports},"2bda":function(t,e,i){"use strict";i.r(e);var r=i("3612"),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(n);e["default"]=s.a},3612:function(t,e,i){"use strict";(function(t){var r=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=r(i("7ca3")),n=i("77d7"),a=i("ce7e"),o=i("8f59");function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){(0,s.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var d=2*(t.getSystemInfoSync().windowHeight*(3/4)-238),l={computed:c(c(c({},(0,o.mapState)({nearbyStore:function(t){return t.app.nearbyStore}})),(0,o.mapGetters)(["isLogin"])),{},{selfPickup:function(){var t=this.attr.deliveryType.includes("2")&&this.selfStoreList.length;return t},deliveryType:function(){var t="";return t=this.attr.deliveryType.includes("1")&&this.selfPickup?"on2":!this.attr.deliveryType.includes("1")&&this.selfPickup||this.attr.deliveryType.includes("1")&&!this.selfPickup?"on3":"on1",t}}),components:{addressWindow:function(){Promise.all([i.e("common/vendor"),i.e("components/addressWindow/index")]).then(function(){return resolve(i("472e"))}.bind(null,i)).catch(i.oe)}},props:{isStoreBuy:{type:Number,value:0},productId:{type:Number|String,value:0},attr:{type:Object,default:function(){}},storeInfo:{type:Object,default:function(){}},limitNum:{type:Number,value:0},isShow:{type:Number,value:0},iSbnt:{type:Number,value:0},iSplus:{type:Number,value:0},iScart:{type:Number,value:0},is_vip:{type:Number,value:0},type:{type:[Number,String],default:0},fangda:{type:Boolean,default:!0},isExtends:{type:Boolean,default:!1},storeId:{type:Number|String,value:0}},data:function(){return{flag:1,nameInfo:"",addressInfo:"",deliveryName:"",distance:"",deliveryAddress:"",address:{address:!1},pagesUrl:"",user_latitude:0,user_longitude:0,isDelivery:!1,storeList:[],deliveryStoreList:[],selfStoreList:[],active:0,isStore:!1,windowHeight:d,isAddress:!1}},watch:{"attr.deliveryType":function(t,e){if(JSON.stringify(t)!=JSON.stringify(e)&&t.length){this.active<1&&this.getList();var i=1;i=1==t[0]&&this.isStoreBuy?t[1]:t[0],this.flag=i,this.$emit("deliveryFun",i)}},storeId:function(){this.defaultStore(),this.$emit("onstoreId",this.storeList[this.active],this.flag)}},mounted:function(){var e=this;try{this.user_latitude=t.getStorageSync("user_latitude"),this.user_longitude=t.getStorageSync("user_longitude")}catch(i){}t.$off("activeAddress"),t.$on("activeAddress",(function(t){e.getAddressDefault()}))},methods:{closeStore:function(){this.isStore=!1},openStore:function(){1!=this.attr.isType&&(this.isStore=!0)},tapStore:function(t,e){this.active=t,this.deliveryName=e.name,this.
|