杨总惠通宝
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.
htb_backend/public/static/js/pages-annex-vip_grade-index...

1 line
19 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-annex-vip_grade-index"],{"0e21":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("a394")),a=n("c6c3"),r=n("111c"),u={components:{home:o.default},data:function(){return{info:{},codeList:[{name:"付款码"},{name:"核销码"}],codeIndex:0,config:{qrc:{code:"",size:380,level:3,bgColor:"#FFFFFF",border:{color:["#eee","#eee"],lineWidth:1},color:["#333","#333"]}},user_latitude:0,user_longitude:0,storeList:[]}},onLoad:function(){this.levelInfo(),this.getCode();try{this.user_latitude=uni.getStorageSync("user_latitude"),this.user_longitude=uni.getStorageSync("user_longitude")}catch(t){}},onReady:function(){},onShow:function(){uni.removeStorageSync("form_type_cart")},mounted:function(){this.user_latitude&&this.user_longitude?this.getList():this.selfLocation()},methods:{goMap:function(){uni.navigateTo({url:"/pages/store/map/index"})},selfLocation:function(){var t=this,e=this;e.$wechat.isWeixin()?e.$wechat.location().then((function(n){t.user_latitude=n.latitude,t.user_longitude=n.longitude,uni.setStorageSync("user_latitude",n.latitude),uni.setStorageSync("user_longitude",n.longitude),e.getList()})):uni.getLocation({type:"wgs84",success:function(n){try{t.user_latitude=n.latitude,t.user_longitude=n.longitude,uni.setStorageSync("user_latitude",n.latitude),uni.setStorageSync("user_longitude",n.longitude)}catch(i){}e.getList()},complete:function(){e.getList()}})},getList:function(){var t=this,e={latitude:this.user_latitude||"",longitude:this.user_longitude||"",page:1,limit:1};(0,r.storeListApi)(e).then((function(e){t.storeList=e.data.list.list})).catch((function(e){t.$util.Tips({title:e})}))},getCode:function(){var t=this;(0,a.getRandCode)().then((function(e){var n=e.data.code;t.config.qrc.code=n})).catch((function(e){return t.$util.Tips(e)}))},levelInfo:function(){var t=this;(0,a.getlevelInfo)().then((function(e){t.info=e.data})).catch((function(e){return t.$util.Tips({title:e})}))},tapCode:function(t){if(this.codeIndex=t,0==t)this.getCode();else{var e=this.info.user.bar_code;this.config.qrc.code=e}},hello:function(t){}},onReachBottom:function(){}};e.default=u},"111c":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return a.default.post("store/product/increase_take",t)},e.bagExplain=function(){return a.default.get("store/product/bag/explain")},e.bagRecommend=function(){return a.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return a.default.post("user/relation/create",t)},e.collectAll=function(t){return a.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return a.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return a.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return a.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return a.default.post("intention/create",t)},e.discountsCartAdd=function(t){return a.default.post("user/cart/batchCreate",t)},e.express=function(t){return a.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return a.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return a.default.get("intention/lst",t)},e.getBrandlist=function(t){return a.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return a.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return a.default.get("captcha")},e.getCategoryList=function(){return a.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return a.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return a.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return a.default.get("discounts/lst",t,{noAuth:!0})},e.getG