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
23 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/index/oneGoodsShare"],{"0598":function(t,e,i){"use strict";i.r(e);var s=i("e81e"),r=i("2156");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("5e9f");var a=i("828b"),n=Object(a["a"])(r["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],void 0);e["default"]=n.exports},2156:function(t,e,i){"use strict";i.r(e);var s=i("7bed"),r=i.n(s);for(var o in s)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(o);e["default"]=r.a},"572e":function(t,e,i){},5742:function(t,e,i){"use strict";(function(t,e){var s=i("47a9");i("7859");s(i("3240"));var r=s(i("0598"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(r.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"5e9f":function(t,e,i){"use strict";var s=i("572e"),r=i.n(s);r.a},"7bed":function(t,e,i){"use strict";(function(t){var s=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(i("7eb4")),o=s(i("ee10")),a=i("072a"),n={components:{cmdNavBar:function(){i.e("components/cmd-nav-bar/cmd-nav-bar").then(function(){return resolve(i("3d8f"))}.bind(null,i)).catch(i.oe)}},data:function(){return{mini_program_openid:"",unionid:"",official_account_openid:"",userId:"",isSelfOrder:!1,enDayShow:!1,textArr:["您还未关注快衣店服务号,暂无法接收充值及上新提醒,点击关注"],FWHPic:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/f2ba2080aaa54c618c2e47df4f220087.png",indexList:[],pages:1,totalPages:0,swiperDotIndex:0,current:0,shopList:[],info:0,bigImg:[],categoryId:"",searchName:"",shopId:"",checkbox:[],temporaryNum:0,priceType:"",yanseList:new Map,chimaList:new Map,goodsDetail:[],attrNameList:[],temporaryList:[],oldTemList:[],carList:[],columns:[],keyList:[],specsList:[],pecsList:[],productNum:0,evalue:[],userList:[],shareType:"1",productId:"",goodsList:[],allChangeNum:0,shopName:"",attributeList:[],zNum:0,pageZongPrice:0,newTemList:[],customId:"",catagoryUserId:"",addressObj:{},zPrice:0,carType:0,carNum:0,pageOldTemList:[],dataObj:new Map,formData:{consigneeMobile:"",consigneeName:"",address1:"",address:"",province:"",city:"",area:"",id:"",userId:""},status:"loadmore",rules:{consigneeName:{rules:[{required:!0,errorMessage:"请输入姓名"}]}}}},filters:{sliceMsg:function(t){var e="";if("string"==typeof t){var i=JSON.parse(t);for(var s in i)e+=i[s]+" | "}return e}},onShow:function(){t.getStorageSync("officialAccountOpenid")||t.getStorageSync("shopId")||!t.getStorageSync("miniProgramOpenid")||this.getUserInfo()},onLoad:function(e){var i=this;if(e.shareType&&(this.shareType=e.shareType),e.khid)this.khid=e.khid,this.userId=e.userId,this.customId=e.customId,this.customId&&(this.formData.userId=this.customId),this.mini_program_openid=e.mini_program_openid,this.unionid=e.unionid,this.official_account_openid=e.official_account_openid;else if(e.scene){var s=decodeURIComponent(e.scene);this.khid=s}!t.getStorageSync("id")||t.getStorageSync("miniProgramOpenid")||t.getStorageSync("shopId")||this.getOpenId(this.customId,t.getStorageSync("id")?t.getStorageSync("id"):this.userId),this.tui.request("/app/productShare/getShareList","POST",{searchStr:"",categoryId:"",id:e.khid.replace(/-/g,""),pageNum:1,pageSize:"10"},!1,!0).then((function(e){if(200==e.code){if(null!=e.result.share.scene&&(i.catagoryUserId=JSON.parse(e.result.share.scene).id,i.customName=JSON.parse(e.result.share.scene).name,i.formData.userId=JSON.parse(e.result.share.scene).customId,i.userId=JSON.parse(e.result.share.scene).userId,i.mini_program_openid=JSON.parse(e.result.share.scene).mini_program_openid,i.official_account_openid=JSON.parse(e.result.share.scene).official_account_openid,i.unionid=JSON.parse(e.result.share.scene).unionid),i.shopId=e.result.share.shopId,t.setNavigationBarTitle({title:e.result.share.shopName}),i.priceType=e.result.share.priceType,i.shopName=e.result.share.shopName,i.shopList=e.result.shareList.records[0],1==e.result.share.priceType)i.shopList.discountAmount=i.shopList.wholesalePrice;else if(0==e.result.share.priceType)i.