平板端快衣店
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
13 KiB

2 months ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/index/shareStyle"],{"0864":function(e,t,i){},4414:function(e,t,i){"use strict";(function(e,s){var a=i("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(i("7eb4")),n=a(i("af34")),c=a(i("ee10")),r={components:{},data:function(){return{bigImg:[],swiperDotIndex:0,canvasshow:!1,indexList:[],pageNum:1,shopList:[],shopList1:[],info:0,classId:"",gateType:"",goodsList:[],categoryId:"",searchName:"",shopId:"",checkbox:"",id:"",carList:[],zheng:"",fu:"",khName:[],carNum:0,carType:0,type:"",gwcList:[],data:{},height:0,base64:"",shareSuccess:!1,tempFilePath:"",mini_program_openid:"",unionid:"",official_account_openid:"",customerCategoryList:[],screenHeight:0,FWHPic:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/f2ba2080aaa54c618c2e47df4f220087.png"}},created:function(){e.hideHomeButton()},onReachBottom:function(){this.pageNum>=this.pages||(this.pageNum++,"search"==this.gateType?this.getShareList("search"):this.getShareList())},onShareTimeline:function(){return{title:"查看我的推荐",imageUrl:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/70c3d9a274ff4feeb6df0bcb8be0f733.jpg",query:"khid="+this.khid}},onShareAppMessage:function(){return this.shareSuccess=!0,1==this.carList.length&&"2"==this.data.shareType?{title:this.shopName+"的推荐",imageUrl:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/70c3d9a274ff4feeb6df0bcb8be0f733.jpg",path:"/package1/index/oneGoodsShare?khid="+this.khid+"&userId="+this.khName.userId+"&shareType="+this.data.shareType+"&mini_program_openid="+this.mini_program_openid+"&unionid="+this.unionid+"&official_account_openid="+this.official_account_openid+"&customId="+this.khName.id}:{title:this.shopName+"的推荐",imageUrl:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/70c3d9a274ff4feeb6df0bcb8be0f733.jpg",path:"/package1/index/downStearmList?khid="+this.khid+"&userId="+this.khName.userId+"&shareType="+this.data.shareType+"&mini_program_openid="+this.mini_program_openid+"&unionid="+this.unionid+"&official_account_openid="+this.official_account_openid+"&customId="+this.khName.id}},onShow:function(){var t=this,i=e.getSystemInfoSync();this.screenHeight=i.windowHeight,console.log("设备像素比:",i.pixelRatio),this.shareSuccess&&(""==this.khName||null!=this.khName.officialAccountOpenid&&""!=this.khName.officialAccountOpenid&&"null"!=this.khName.officialAccountOpenid&&void 0!=this.khName.officialAccountOpenid||e.showModal({title:"提示",content:"该客户没有关注公众号,无法接收消息通知,是否邀请用户关注?",success:function(i){i.confirm&&e.previewImage({urls:[t.FWHPic]})}}),this.shareSuccess=!1)},onLoad:function(t){this.height=s.getSystemInfoSync().windowHeight,void 0!=t.khid?e.redirectTo({url:"/package1/index/downStearmList?khid="+t.khid}):(this.type=e.getStorageSync("type"),this.getGategoryList()),this.shopName=t.shopName?t.shopName:e.getStorageSync("shopName"),this.getCustomerCategoryList()},methods:{lunbochange:function(e){this.current=e.detail.current},largeImg:function(e){if(null==e.productPicture&&null==e.productPictures||""==e.productPicture&&null==e.productPictures)this.tui.toast("暂无可展示的图片",300);else{if(this.bigImg=[],null!=e.productPicture){var t={productPicture:e.productPicture};this.bigImg.push(t)}if(null!=e.productPictures)for(var i=0;i<e.productPictures.length;i++)this.bigImg.push(e.productPictures[i]);this.$refs.imgPopup.open()}},upNewRemind:function(){this.checkUserClass("4"),this.$refs.upNewPopup.close()},checkUserClass:function(e,t){if("31"==e){for(var i=0;i<this.customerCategoryList.length;i++)this.upNew("3",this.customerCategoryList[i]);this.upNew("5","")}else"3"==e?this.upNew("3",t):"0"==e?this.upNew("0",""):"1"==e?this.upNew("1",""):"4"==e&&this.upNew("3",this.khName)},upNew:function(t,i){var s=this;if(console.log("item",i),this.$refs.upNewPopup.close(),this.data={shareType:"2",shareProductId:this.carList},this.data.priceType="5"==t?"1":"4"==t?""!=this.khName.categoryId&&null!=this.khName.categoryId&&"null"!=this.khName.categoryId?"3":"1":t,"3"==