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

2 months ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/inventory/inventory"],{"0cc7":function(t,e,i){"use strict";var s=i("3299"),o=i.n(s);o.a},3299:function(t,e,i){},"3a02":function(t,e,i){"use strict";i.r(e);var s=i("e2ee"),o=i("b15f");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("0cc7");var n=i("828b"),r=Object(n["a"])(o["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],void 0);e["default"]=r.exports},b15f:function(t,e,i){"use strict";i.r(e);var s=i("be91"),o=i.n(s);for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e["default"]=o.a},be91:function(t,e,i){"use strict";(function(t){var s=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=s(i("af34")),a=i("8f59"),n={computed:(0,a.mapState)(["shopIndex","region"]),data:function(){return{canvasshow:!1,size:30,indexList:[],zheng:"0",khName:[],canvasWidth:0,canvasHeight:0,fu:"0",bigImg:[],swiperDotIndex:0,pageNum:1,shopList:[],categoryId:"",shopId:"",type:"",orderSort:"",shareSuccess:!1,sort:"",FWHPic:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/f2ba2080aaa54c618c2e47df4f220087.png",mini_program_openid:"",unionid:"",official_account_openid:"",warnMsg:[],goodsData:[],lableIndex:0,searchName:"",base64:"",categoryIndex:0,windowHeight:0,shopList1:[],picture:"",gateType:"",total:0,customerCategoryList:[],screenWidth:0,screenHeight:0}},onLoad:function(e){var i=t.getSystemInfoSync();this.screenWidth=i.screenWidth,this.screenHeight=i.windowHeight,void 0!=e.khid&&t.redirectTo({url:"/package1/index/oneGoodsShare?khid="+e.khid});var s=this;this.type=t.getStorageSync("type"),t.getSystemInfo({success:function(t){s.windowHeight=t.windowHeight}}),this.getCustomerCategoryList()},onShareAppMessage:function(){return this.shareSuccess=!0,t.setStorageSync("noReload",!0),{title:t.getStorageSync("shopName")+"给您推荐的商品",imageUrl:this.picture,path:"/package1/index/oneGoodsShare?khid="+this.khid+"&userId="+this.khName.userId+"&mini_program_openid="+this.khName.mini_program_openid+"&unionid="+this.khName.unionid+"&official_account_openid="+this.khName.official_account_openid+"&customId="+this.khName.id}},onReachBottom:function(){this.pageNum>=this.pages||(this.pageNum++,"search"==this.gateType?this.getShareList("search"):this.getShareList())},onShow:function(){var e=this;console.log("shopList",this.khName),1==t.getStorageSync("noReload")?(this.searchName="",t.removeStorageSync("noReload")):(this.searchName="",this.getGategoryList()),this.shareSuccess&&(!t.getStorageSync("khName")||null!=this.khName.officialAccountOpenid&&""!=this.khName.officialAccountOpenid&&"null"!=this.khName.officialAccountOpenid&&void 0!=this.khName.officialAccountOpenid||(t.showModal({title:"提示",content:"该客户没有关注公众号,无法接收消息通知,是否邀请用户关注?",success:function(i){i.confirm&&t.previewImage({urls:[e.FWHPic]})}}),t.removeStorageSync("khName")),this.shareSuccess=!1),this.getWarnMsg(),this.getweiruku()},methods:{upNew:function(){var t=this;this.tui.request("/social/wechat/sendWechatTempMessage","post",{tempId:"M45X8AmPi58c16M9YVTMEOhwEVEa9s5md-6i3TwjpRQ",title:"店铺上新",content:JSON.stringify({thing3:"炘钱的店铺上新",time2:"2024-12-25"}),pagePath:"package1/index/downStearmList",upNewType:1,userId:"1739537305905008640",categoryId:""},!1,!1).then((function(e){t.status="nomore",200==e.code||t.tui.toast(e.message)})).catch((function(t){}))},getToken:function(){t.login({provider:"weixin",success:function(t){console.log(t.code),this.getOpenId(t.code)}})},getOpenId:function(t){var e=this;this.tui.request("","post",{appid:"wxa0749c7edd4cc96f",secret:"97e9fd484acc9aa0125815f1fd4397f4",js_code:t,grant_type:"authorization_code",customId:""},!1,!1).then((function(t){e.status="nomore",200==t.code||e.tui.toast(t.message)})).catch((function(t){}))},goPopleList:function(){t.navigateTo({url:"/package1/index/peopleList?popleType=khName"})},getCustomerCategoryList:function(){var e=this;this.tui.request("/app/customerCategory/getCustomerCat