1 line
46 KiB
JavaScript
1 line
46 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-nongKe-cloud_entrepot-indexa"],{"0222":function(t,e,n){"use strict";var o=n("d590"),i=n.n(o);i.a},"0cc1":function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return i.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(){return i.default.get("store/product/assist/count",{},{noAuth:!0})},e.getActivitycategory=function(t){return i.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t){return i.default.get("store/product/assist/detail/"+t)},e.getAssistList=function(t){return i.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return i.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return i.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return i.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return i.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return i.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return i.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return i.default.post("combination/poster",t)},e.getCombinationUser=function(t){return i.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return i.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return i.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return i.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return i.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return i.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return i.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return i.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return i.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return i.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return i.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return i.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return i.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return i.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return i.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return i.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return i.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return i.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return i.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return i.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var i=o(n("095d"))},"1c32":function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("c7eb")),a=o(n("1da1"));n("ac1f"),n("d3b7"),n("159b"),n("a9e3"),n("14d9");var r=n("7f7e"),s=n("d67f"),u=n("0cc1"),c=n("ea4c"),d=n("c211"),l=(n("94e5"),n("0da6"),{data:function(){return{a:"",trnList:[],act_cart:!1,appInfo:{},pocls:"",type:"",act_swiper:"",current:3,goodsNum:0,goodsList:[],winHeight:0,cloudList:[],street_code:"",totalMoney:0,town:"",list:[1,1,1,1,1],showPop:!1,keyword:"",showLoading:!1,tot_price:1,showtit:!0,cartList:[],activeClass:"activeClass",headtop:0,page_num:1,act_img:"",cartTagInfo:{},actList:[{tit:"综合",act:"",screen:""},{tit:"销量",act:"",screen:"sales"},{tit:"价格",act:"",screen:"price_asc"}],status:"loadmore",flag:!1}},onLoad:function(t){var e=this;this.cartFn(),uni.getSystemInfo({success:function(t){e.winHeight=t.windowHeight,e.appInfo=t.safeAreaInsets}}),this.street_code=t.street,this.town=t.town,this.getCloundShop()},onPageScroll:function(t){var e=this;this.showtit=!Boolean(t.scrollTop),uni.createSelectorQuery().in(this).select(".content").boundingClientRect((function(t){t.top<=e.headtop+16?(e.pocls="fixed",e.act_swiper="act_swiper",e.act_img="act_img"):(e.pocls="",e.act_swiper="",e.act_img="")})).exec(),this.headtop||(uni.createSelectorQuery().in(this).select(".flags").boundingClientRect((function(t){e.headtop=t.top})).exec(),uni.createSelectorQuery().in(this).select(".cart").boundingClientRect((function(t){e.cartTagInfo=t})).exec())},onPullDownRefresh:function(){uni.stopPullDownRefresh(),this.getCloundShop(),this.getList()},methods:{cartFn:function(){var t=this;(0,c.getCartList)().then((function(e){t.cartList=e.data.list,t.cartList[0].list.forEach((function(e){t.totalMoney=t.totalMoney+Number(e.productAttr.price)*e.cart_num}))})),(0,c.getCartCounts)().then((function(e){t.goodsNum=e.data[0].count}))},godDetail:function(t){var e=this;(0,d.goShopDetail)(t,this.uid).then((function(n){e.isLogin?(0,u.initiateAssistApi)(t.activity_id).then((function(t){var e=t.data.product_assist_set_id;uni.hideLoading(),uni.navigateTo({url:"/pages/activity/assist_detail/index?id="+e})})).catch((function(t){uni.showToast({title:t,icon:"none"})})):(e.isAuto=!0,e.isShowAuth=!0)}))},serch:function(){this.getList()},goBack:function(){uni.navigateBack()},screenGoods:function(t,e){this.actList.forEach((function(t){t.act=""})),this.actList[e].act=!0,this.type=t,this.getList()},navgo:function(t){uni.navigateTo({url:t})},getList:function(){var t=this;this.showLoading=!0,(0,r.cloudWarehouse)({street_code:this.street_code,category_id:this.cloudList[this.current].category_id,order:this.type,keyword:this.keyword}).then((function(e){t.goodsList=e.data.list,t.showLoading=!1}))},addcart:function(t){var e=this,n=this;uni.createSelectorQuery().in(this).select(".act_class".concat(t)).boundingClientRect((function(o){n.trnList[t].left=e.cartTagInfo.left-o.left,n.trnList[t].bottom=e.cartTagInfo.top-o.top,timer=setTimeout((function(){n.trnList[t].left=0,n.trnList[t].bottom=0}),1e3)})).exec()},all:function(t){this.showPop=!1,this.current=t,this.getList()},test:function(t){this.current=t.target.current,this.getList()},getCloundShop:function(){var t=this;return(0,a.default)((0,i.default)().mark((function e(){var n,o;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,r.getCityCloundShop)({street_code:t.street_code});case 2:n=e.sent,o=n.data,t.cloudList=o,(0,r.cloudWarehouse)({street_code:t.street_code,category_id:t.cloudList[t.current].category_id}).then((function(e){t.goodsList=e.data.list,t.goodsList.forEach((function(e){t.trnList.push({left:0,bottom:0})}))})),o.length<1&&(0,s.Toast)("暂无云仓");case 8:case"end":return e.stop()}}),e)})))()}}});e.default=l},"22fa7":function(t,e,n){var o=n("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */@-webkit-keyframes addcatr-data-v-7b84a18c{0%{opacity:1}95%{opacity:1}100%{opacity:0}}@keyframes addcatr-data-v-7b84a18c{0%{opacity:1}95%{opacity:1}100%{opacity:0}}.flags[data-v-7b84a18c]{background-color:red;z-index:99999999}.act_cart[data-v-7b84a18c]{transition:.5s;-webkit-transform:scale(1.1);transform:scale(1.1)}.box[data-v-7b84a18c]{position:relative}.box .content[data-v-7b84a18c]{width:100vw;z-index:99;background-color:#f4f4f4}.box .active_swiper[data-v-7b84a18c]{-webkit-transform:scale(1.3);transform:scale(1.3)}.box .pictrue[data-v-7b84a18c]{position:relative;width:100%;height:%?345?%}.box .act[data-v-7b84a18c]{color:#ff6d20}.box .act_content[data-v-7b84a18c]{width:100vw;z-index:99;background-color:#f4f4f4;padding:0 %?10?%;padding-top:%?200?%}.box .content_act[data-v-7b84a18c]{width:100vw;position:absolute;top:%?165?%;z-index:99;background-color:#f4f4f4;padding:0 %?10?%}.fade-enter-active[data-v-7b84a18c],\r\n.fade-leave-active[data-v-7b84a18c]{transition:opacity .5s}.fade-enter[data-v-7b84a18c],\r\n.fade-leave-to[data-v-7b84a18c]{opacity:0}.head_tits[data-v-7b84a18c]{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:0 %?20?%;color:#fff}.img_cls[data-v-7b84a18c]{position:absolute;top:50%;right:%?7?%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pop[data-v-7b84a18c]{width:%?615.07?%;padding:%?30?% %?28?%}.pop .pop_content[data-v-7b84a18c]{width:%?559?%;height:80vh;background-color:#f4f4f4;padding:%?28?%;border-radius:%?21.03?% %?21.03?% %?0?% %?0?%;margin-top:%?47?%}.pop .pop_content .pop_li[data-v-7b84a18c]{display:flex;margin-bottom:%?52?%}.head_tit[data-v-7b84a18c]{margin-left:%?20?%;font-size:%?40?%;-webkit-transform:skewX(-10deg);transform:skewX(-10deg)}.act[data-v-7b84a18c]{color:red}.head[data-v-7b84a18c]{position:absolute;z-index:100;color:#fff;display:flex;justify-content:space-between;width:100%;padding:0 %?20?%;align-items:center}.heads[data-v-7b84a18c]{position:fixed;z-index:100;color:#fff;width:100%;padding:0 %?20?%}.menu[data-v-7b84a18c]{position:absolute;top:%?748?%;width:%?750?%;background-color:hsla(0,0%,100%,.5);box-shadow:0 0 %?100?% %?30?% hsla(0,0%,100%,.9)}.goods_list[data-v-7b84a18c]{min-height:95vh;padding:0 %?10?%}.goods_list .goods[data-v-7b84a18c]{display:flex;padding:%?21?%;background-color:#fff;border-radius:%?21.03?% %?21.03?% %?21.03?% %?21.03?%;margin-bottom:%?20?%}.goods_list .goods .left[data-v-7b84a18c]{width:%?192.76?%;height:%?192.76?%;border-radius:%?10.51?% %?10.51?% %?10.51?% %?10.51?%;margin-right:%?21?%}.goods_list .goods .right[data-v-7b84a18c]{display:flex;justify-content:space-between;flex-direction:column}.goods_list .goods .right .tit[data-v-7b84a18c]{font-size:%?29.79?%;color:#000;font-weight:700}.goods_list .goods .right .good_score[data-v-7b84a18c]{font-size:%?26?%;color:#b3b3b3;margin-bottom:%?15?%}.goods_list .goods .right .good_price[data-v-7b84a18c]{display:flex;justify-content:space-between;align-items:center;width:60vw}.goods_list .goods .right .good_price .good_price_r[data-v-7b84a18c]{z-index:9}.goods_list .goods .right .good_price .good_price_l[data-v-7b84a18c]{display:flex}.goods_list .goods .right .good_price .good_price_l .old_price[data-v-7b84a18c]{color:#b3b3b3;text-decoration:line-through;font-size:%?26.29?%;margin-left:%?15?%}.activeClass[data-v-7b84a18c]{width:%?400?%;height:%?400?%}.act_swiper[data-v-7b84a18c]{height:%?150?%;position:fixed;z-index:99;overflow:hidden}.act_img[data-v-7b84a18c]{-webkit-transform:translateY(%?-848?%);transform:translateY(%?-848?%)}.content_sift[data-v-7b84a18c]{width:%?750?%;padding:%?22?% 0;display:flex;justify-content:space-around;background-color:#fff;z-index:99;box-sizing:border-box;margin-bottom:%?20?%}.swipers[data-v-7b84a18c]{width:%?750?%;height:%?998.83?%}.card[data-v-7b84a18c]{width:%?720?%;z-index:999999;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);position:fixed;background-color:#333;height:%?101.64?%;border-radius:%?50.82?%;overflow:hidden;color:#fff;display:flex;justify-content:space-between;box-sizing:border-box}.card .left[data-v-7b84a18c]{display:flex;align-items:center;padding:%?10?% %?35?%}.card .left .tot_price[data-v-7b84a18c]{display:flex;margin-left:%?42?%;flex-direction:column;justify-content:space-between}.card .right[data-v-7b84a18c]{font-size:%?33.29?%;line-height:50px;background:linear-gradient(90deg,#f84221,#ff6d20);width:%?175.23?%;text-align:center}.x_tra[data-v-7b84a18c]{z-index:999999;-webkit-animation-name:addcatr-data-v-7b84a18c;animation-name:addcatr-data-v-7b84a18c;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards\r\n /* 设置为1 */}.badge[data-v-7b84a18c]{position:absolute;top:0;right:0;background-color:red;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);padding:0 %?10?%;border-radius:%?30?%}.cloud_entrepot[data-v-7b84a18c]{background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/ycbg.png) no-repeat;background-size:cover;padding-bottom:%?92.98?%}.head-wrapper[data-v-7b84a18c]{height:%?485.96?%;width:100%;background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/top.png) no-repeat;background-size:cover;margin-bottom:%?49.12?%}.town-title[data-v-7b84a18c]{margin:0 auto;width:100%;text-align:center;font-size:%?50.88?%;color:#fff;margin-bottom:%?28.07?%}.town-title[data-v-7b84a18c]::after{content:"";display:inline-block;width:%?66.67?%;height:%?31.58?%;background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/you.png) no-repeat;background-size:cover;margin-left:%?24.56?%}.town-title[data-v-7b84a18c]::before{content:"";display:inline-block;width:%?66.67?%;height:%?31.58?%;background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/zuo.png) no-repeat;background-size:cover;margin-right:%?24.56?%}.body-wrapper[data-v-7b84a18c]{width:%?694.74?%;display:flex;justify-content:space-between;flex-wrap:wrap;margin:0 auto}.body-wrapper .item[data-v-7b84a18c]{width:%?336.84?%;height:100%;padding:%?24.56?% %?28.07?%;margin-bottom:%?21.05?%;background-repeat:no-repeat;background-size:100% 100%;box-sizing:border-box}.body-wrapper .item uni-text[data-v-7b84a18c]{display:block;font-size:%?24.56?%;color:#999;margin-bottom:%?14.04?%}.body-wrapper .item .item-title[data-v-7b84a18c]{font-size:%?31.58?%;color:#333}.body-wrapper .item .chakan-btn[data-v-7b84a18c]{width:%?114.04?%;height:%?49.12?%;font-size:%?28.07?%;text-align:center;line-height:%?49.12?%;color:#fff;margin-top:auto;background:linear-gradient(90deg,#fe5300,#f84221);border-radius:50px}.empty[data-v-7b84a18c]{position:relative;height:100vh}.empty .info[data-v-7b84a18c]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.head_r[data-v-7b84a18c]{display:flex;flex-direction:column;align-items:center}.cart[data-v-7b84a18c]{z-index:999}',""]),t.exports=e},"2e9c":function(t,e,n){"use strict";n.r(e);var o=n("1c32"),i=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},"30f9":function(t,e,n){"use strict";var o=n("bccc"),i=n.n(o);i.a},"3f45":function(t,e,n){"use strict";n.r(e);var o=n("ae6d"),i=n("5ab6");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("0222");var r=n("f0c5"),s=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"26861ad0",null,!1,o["a"],void 0);e["default"]=s.exports},"414a":function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a630"),n("3ca3");var i=o(n("9686")),a={name:"u-loading-icon",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}},computed:{otherBorderColor:function(){var t=uni.$u.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:t:"transparent"}},watch:{show:function(t){}},mounted:function(){this.init()},methods:{init:function(){setTimeout((function(){}),20)},addEventListenerToWebview:function(){var t=this,e=getCurrentPages(),n=e[e.length-1],o=n.$getAppWebview();o.addEventListener("hide",(function(){t.webviewHide=!0})),o.addEventListener("show",(function(){t.webviewHide=!1}))}}};e.default=a},5109:function(t,e,n){var o=n("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-26861ad0], uni-scroll-view[data-v-26861ad0], uni-swiper-item[data-v-26861ad0]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-icon[data-v-26861ad0]{flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text[data-v-26861ad0]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner[data-v-26861ad0]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;-webkit-animation:u-rotate-data-v-26861ad0 1s linear infinite;animation:u-rotate-data-v-26861ad0 1s linear infinite}.u-loading-icon__spinner--semicircle[data-v-26861ad0]{border-width:2px;border-color:transparent;border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-style:solid}.u-loading-icon__spinner--circle[data-v-26861ad0]{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical[data-v-26861ad0]{flex-direction:column}[data-v-26861ad0]:host{font-size:0;line-height:1}.u-loading-icon__spinner--spinner[data-v-26861ad0]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.u-loading-icon__text[data-v-26861ad0]:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text[data-v-26861ad0]{margin:6px 0 0;color:#606266}.u-loading-icon__dot[data-v-26861ad0]{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot[data-v-26861ad0]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(1){-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes u-rotate-data-v-26861ad0{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-rotate-data-v-26861ad0{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},"5ab6":function(t,e,n){"use strict";n.r(e);var o=n("414a"),i=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},"7f7e":function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return i.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return i.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return i.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return i.default.post("user/binding",t)},e.brigade=function(t){return i.default.get("v2/system/brigade",t,{noAuth:!0})},e.cloudWarehouse=function(t){return i.default.get("store/product/cloudWarehouse",t)},e.getAjcaptcha=function(t){return i.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return i.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return i.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return i.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleCategoryLists=function(){return i.default.get("article/category/lst?is_home=1",{},{noAuth:!0})},e.getArticleDetails=function(t){return i.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return i.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return i.default.get("article/lst/"+t,e,{noAuth:!0})},e.getCity=function(){return i.default.get("system/city/lst",{},{noAuth:!0})},e.getCityCloundShop=function(t){return i.default.get("city/get_cloud_shop",t)},e.getCityList=function(t){return i.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return i.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCoupons=function(t){return i.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return i.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return i.default.get("common/home",{},{noAuth:!0})},e.getLiveList=function(t,e){return i.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return i.default.get("wechat/get_logo",{},{noAuth:!0})},e.getPageDiy=function(t){return i.default.get("micro",t,{noAuth:!0})},e.getProductSpuAPI=function(t,e){return i.default.get("product/spu/cloud_merchant/".concat(t),e,{noAuth:!0})},e.getShopCoupons=function(t){return i.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return i.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return i.default.get("coupon/list",t)},e.get_cloud_shop=function(t){return i.default.get("city/get_cloud_shop?street_code=".concat(t),{},{noAuth:!0})},e.loginMobile=function(t){return i.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return i.default.get("logout")},e.modifyPassword=function(t){return i.default.post("user/change/password",t)},e.modifyPhone=function(t){return i.default.post("user/change/phone",t)},e.phoneLogin=function(t){return i.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return i.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return i.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return i.default.get("pink",{},{noAuth:!0})},e.post_product_import=function(t){return i.default.post("micro/product_import",{id:t},{noAuth:!0})},e.registerVerify=function(t,e,n,o){return i.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:n,code:o},{noAuth:!0})},e.seachBarCodeAPI=function(t){return i.default.get("micro/seach_bar_code",t)},e.setCouponReceive=function(t){return i.default.post("coupon/receive/"+t)},e.setFormId=function(t){return i.default.post("wechat/set_form_id",{formId:t})},e.switchH5Login=function(t){return i.default.post("user/switch",t)},e.verifyCode=function(){return i.default.get("verify_code",{},{noAuth:!0})},e.village=function(t){return i.default.get("v2/system/geo/lst",t,{noAuth:!0})},e.wechatAppAuth=function(t){return i.default.post("auth/app",t,{noAuth:!0})};var i=o(n("095d"))},9686:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var o={props:{show:{type:Boolean,default:uni.$u.props.loadingIcon.show},color:{type:String,default:uni.$u.props.loadingIcon.color},textColor:{type:String,default:uni.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:uni.$u.props.loadingIcon.vertical},mode:{type:String,default:uni.$u.props.loadingIcon.mode},size:{type:[String,Number],default:uni.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:uni.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:uni.$u.props.loadingIcon.text},timingFunction:{type:String,default:uni.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:uni.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:uni.$u.props.loadingIcon.inactiveColor}}};e.default=o},ae6d:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("v-uni-view",{staticClass:"u-loading-icon",class:[t.vertical&&"u-loading-icon--vertical"],style:[t.$u.addStyle(t.customStyle)]},[t.webviewHide?t._e():n("v-uni-view",{ref:"ani",staticClass:"u-loading-icon__spinner",class:["u-loading-icon__spinner--"+t.mode],style:{color:t.color,width:t.$u.addUnit(t.size),height:t.$u.addUnit(t.size),borderTopColor:t.color,borderBottomColor:t.otherBorderColor,borderLeftColor:t.otherBorderColor,borderRightColor:t.otherBorderColor,"animation-duration":t.duration+"ms","animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""}},["spinner"===t.mode?t._l(t.array12,(function(t,e){return n("v-uni-view",{key:e,staticClass:"u-loading-icon__dot"})})):t._e()],2),t.text?n("v-uni-text",{staticClass:"u-loading-icon__text",style:{fontSize:t.$u.addUnit(t.textSize),color:t.textColor}},[t._v(t._s(t.text))]):t._e()],1):t._e()},i=[]},bccc:function(t,e,n){var o=n("22fa7");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("4f06").default;i("3afbba26",o,!0,{sourceMap:!1,shadowMode:!1})},bf38:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={"u-Image":n("6aa0").default,uSearch:n("813f").default,uLoadingIcon:n("3f45").default,uPopup:n("8de3").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{},[t.cloudList.length>0?n("v-uni-view",{},[n("v-uni-view",{},[n("transition",{attrs:{name:"fade"}},[t.showtit?n("v-uni-view",{staticClass:"head",staticStyle:{"padding-top":"var(--status-bar-height)"}},[n("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/FH.png",width:"50.82rpx",height:"50.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"head_tit"},[t._v(t._s(t.a))])],1),n("v-uni-view",{staticClass:"head_r",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/QB.png",width:"50.82rpx",height:"50.82rpx"}}),n("v-uni-text",[t._v("全部")])],1)],1):t._e()],1),n("transition",{attrs:{name:"fade"}},[t.showtit?t._e():n("v-uni-view",{staticClass:"heads",staticStyle:{"padding-top":"var(--status-bar-height)"}},[n("v-uni-view",{staticStyle:{"align-items":"center",display:"flex","justify-content":"space-between"}},[n("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[n("v-uni-view",{staticClass:"back",staticStyle:{"margin-right":"17rpx"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/FH.png",width:"50.82rpx",height:"50.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticStyle:{"font-size":"40rpx",transform:"skewX(-10deg)"}},[t._v("供销综合云市场")])],1),n("v-uni-view",{staticStyle:{position:"relative",width:"289.14rpx"}},[n("u-search",{staticClass:"serch_cls",attrs:{borderColor:"#FF6D20",bgColor:"white",showAction:!1,placeholder:"请输入..."},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),n("u--image",{staticClass:"img_cls",attrs:{showLoading:!0,src:"/static/images/GXSC/SS.png",width:"115.65rpx",height:"56.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.serch.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"head_r",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/QB.png",width:"50.82rpx",height:"50.82rpx"}}),n("v-uni-text",{},[t._v("全部")]),n("v-uni-view",{staticClass:"flags"})],1)],1)],1)],1),n("v-uni-view",{staticClass:"box"},[n("v-uni-view",{class:t.act_swiper},[n("v-uni-swiper",{staticClass:"swipers",attrs:{autoplay:!1,"active-class":t.activeClass,interval:3e3,circular:!0,"previous-margin":"0rpx","next-margin":"0rpx",current:t.current,"disable-touch":!0}},t._l(t.cloudList,(function(e,o){return n("v-uni-swiper-item",[n("u--image",{class:t.act_img,attrs:{showLoading:!0,src:e.cover,width:"750rpx",height:"998.83rpx"}})],1)})),1)],1),t.act_swiper?n("v-uni-view",{staticStyle:{height:"998.83rpx"}}):t._e(),t.showtit?n("v-uni-view",{staticClass:"menu",staticStyle:{"z-index":"999"}},[n("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:!1,"active-class":t.activeClass,interval:3e3,circular:!0,"previous-margin":"280rpx","next-margin":"280rpx",current:t.current},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.test.apply(void 0,arguments)}}},t._l(t.cloudList,(function(e,o){return n("v-uni-swiper-item",{class:{active_swiper:o==t.current}},[n("u--image",{attrs:{showLoading:!0,src:e.background,width:"175.23rpx",height:"175.23rpx"}})],1)})),1)],1):t._e(),n("transition",{attrs:{name:"fade"}},[n("v-uni-view",{staticClass:"content"},[t.showtit?t._e():n("v-uni-view",{staticClass:"content_sift",style:{position:t.pocls,top:t.headtop+16+"px"}},t._l(t.actList,(function(e,o){return n("v-uni-view",{key:o,class:{act:e.act},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.screenGoods(e.screen,o)}}},[t._v(t._s(e.tit))])})),1),t.goodsList.length>0?n("v-uni-view",{staticClass:"goods_list"},[t.showLoading?n("v-uni-view",{staticClass:"empty"},[t.showLoading?n("u-loading-icon",{attrs:{text:"加载中",textSize:"18"}}):t._e()],1):t._l(t.goodsList,(function(e,o){return n("v-uni-view",{staticClass:"goods",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.godDetail(e)}}},[n("v-uni-view",{staticClass:"left"},[n("u--image",{attrs:{showLoading:!0,src:e.image,width:"192.76rpx",height:"192.76rpx"}})],1),n("v-uni-view",{staticClass:"right"},[n("v-uni-view",{staticClass:"tit"},[t._v(t._s(e.store_info))]),n("v-uni-view",{},[n("v-uni-view",{staticClass:"good_score"},[n("v-uni-text",{staticStyle:{"margin-right":"10rpx",color:"#F84221"}},[t._v(t._s(e.rate))]),n("v-uni-text",[t._v(t._s(e.reply_count)+"评论")])],1),n("v-uni-view",{staticClass:"good_price"},[n("v-uni-view",{staticClass:"good_price_l"},[n("v-uni-view",{staticStyle:{color:"#F84221","font-size":"22.78rpx","font-weight":"bold"}},[t._v("¥"),n("v-uni-text",{staticStyle:{"font-size":"30rpx"}},[t._v(t._s(e.price))])],1),n("v-uni-view",{staticClass:"old_price"},[t._v("¥30.00")])],1),n("v-uni-view",{ref:"container",refInFor:!0,staticClass:"good_price_r"},[n("v-uni-view",{class:{x_tra:t.trnList[o].bottom},style:"transform:translateY("+t.trnList[o].bottom+"px);transition:"+(t.trnList[o].bottom?1:0)+"s cubic-bezier(0.4, -0.9, 0.75, 1);",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.addcart(o)}}},[n("u--image",{class:"act_class"+o,style:"transform:translateX("+t.trnList[o].left+"px);transition:"+(t.trnList[o].bottom?1:0)+"s ",attrs:{src:"/static/images/LHYC/J.png",width:"49.07rpx",height:"49.07rpx"}})],1)],1)],1)],1)],1)],1)})),n("v-uni-view",{staticStyle:{height:"100rpx"}})],2):n("v-uni-view",[n("v-uni-view",{staticClass:"empty"},[n("v-uni-view",{staticClass:"info"},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/noCart.png",width:"400.09rpx",height:"400.09rpx"}})],1)],1)],1),n("v-uni-view",{staticClass:"card",style:"bottom:"+t.appInfo.bottom+"px",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navgo("/pages/order_addcart/order_addcart")}}},[n("v-uni-view",{staticClass:"left"},[n("v-uni-view",{staticClass:"cart",class:{act_cart:t.act_cart},staticStyle:{position:"relative","z-index":"9999999"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/GWC.png",width:"63.09rpx",height:"63.09rpx"}}),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.goodsNum,expression:"goodsNum"}],staticClass:"badge"},[t._v(t._s(t.goodsNum))])],1),n("v-uni-view",{staticClass:"tot_price"},[n("v-uni-view",{},[t._v("¥"+t._s(t.totalMoney))]),n("v-uni-view",{},[t._v("支持配送 售后无忧")])],1)],1),n("v-uni-view",{staticClass:"right"},[t._v("去结算")])],1)],1)],1)],1)],1),n("u-popup",{attrs:{mode:"right",show:t.showPop},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!1},open:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[n("v-uni-view",{staticClass:"pop"},[n("v-uni-view",{staticStyle:{height:"var(--status-bar-height)"}}),n("v-uni-view",{staticClass:"pop_head",staticStyle:{display:"flex"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/PFH.png",width:"50.82rpx",height:"50.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!1}}}),n("v-uni-view",{staticClass:"head_tit"},[t._v("里海云仓")])],1),n("v-uni-view",{staticClass:"pop_content"},t._l(t.cloudList,(function(e,o){return n("v-uni-view",{key:o,staticClass:"pop_li",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.all(o)}}},[n("u--image",{attrs:{showLoading:!0,src:e.background,width:"84.11rpx",height:"84.11rpx"}}),n("v-uni-view",{staticStyle:{"margin-left":"20rpx"}},[n("v-uni-view",{staticStyle:{"font-size":"33.29rpx",color:"black"}},[t._v(t._s(e.category_name)+"云仓服务")]),n("v-uni-view",{staticStyle:{"font-size":"22.78rpx"}},[t._v(t._s(e.description))])],1)],1)})),1)],1)],1)],1):n("v-uni-view",{staticClass:"empty"},[n("v-uni-view",{staticStyle:{height:"var(--status-bar-height)"}}),n("v-uni-view",{staticClass:"info"},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/noCart.png",width:"400.09rpx",height:"400.09rpx"}})],1)],1),n("v-uni-view",{style:"height:"+t.appInfo.bottom+"px;background-color:white"})],1)},a=[]},c211:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.goShopDetail=function(t,e){return new Promise((function(e){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id)}):0===t.product_type||10===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id,"&referer=").concat(t.referer)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id)}):40===t.product_type?uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id)}):e(t)}))},n("d3b7"),n("99af")},cfc1:function(t,e,n){"use strict";n.r(e);var o=n("bf38"),i=n("2e9c");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("30f9");var r=n("f0c5"),s=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"7b84a18c",null,!1,o["a"],void 0);e["default"]=s.exports},d590:function(t,e,n){var o=n("5109");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("4f06").default;i("08d6e073",o,!0,{sourceMap:!1,shadowMode:!1})},d67f:function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000";return new Promise((function(n,o){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){n(t.tapIndex)},fail:function(t){o(t.errMsg)}})}))},e.Authorize=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scope.userInfo";return new Promise((function(e,n){uni.authorize({scope:t,success:function(t){e(t)},fail:function(t){n(t)}})}))},e.GetUserInfo=function(){return new Promise((function(t,e){uni.getUserInfo({success:function(e){t(e)},fail:function(t){e(t)}})}))},e.Loading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};uni.showLoading((0,a.default)({title:t,mask:!0},e))},e.Modal=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"这是一个模态弹窗!";return new Promise((function(n,o){uni.showModal({title:t,content:e,success:function(t){t.confirm&&n(),t.cancel&&o()}})}))},e.ScrollTo=function(t){uni.pageScrollTo({scrollTop:t,duration:300})},e.Toast=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,i=(0,a.default)({title:t,duration:o,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(i)},e.chooseImage=function(t){return new Promise((function(e,n){uni.chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){e(t)},fail:function(t){n(t)}})}))},e.clearStorage=function(){try{uni.clearStorageSync()}catch(t){throw new Error("处理失败")}},e.convertObj=r,e.formatDate=s,e.getQuarterStartDate=function(){var t=new Date(d,function(){var t=0;c<3&&(t=0);2<c&&c<6&&(t=3);5<c&&c<9&&(t=6);c>8&&(t=9);return t}(),1);return s(t,"yyyy-MM-dd")},e.getStorage=function(t){var e=uni.getStorageSync(t);try{"number"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(n){}return e},e.hideLoading=function(){try{uni.hideLoading()}catch(t){throw new Error("处理失败")}},e.navigateBack=function(t){uni.navigateBack({delta:t})},e.navigateTo=function(t,e,n){var o=e,i="navigateTo";switch(o=n?o+"?"+r(n):o,t){case 1:i="navigateTo";break;case 2:i="redirectTo";break;case 3:i="reLaunch";break;case 4:i="switchTab";break;default:i="navigateTo";break}uni[i]({url:o,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,i.default)(window))&&"document"in window){if("function"===typeof FileReader){var o=new XMLHttpRequest;return o.open("GET",t,!0),o.responseType="blob",o.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){e(t.target.result)},t.onerror=n,t.readAsDataURL(this.response)}},o.onerror=n,void o.send()}var a=document.createElement("canvas"),r=a.getContext("2d"),s=new Image;return s.onload=function(){a.width=s.width,a.height=s.height,r.drawImage(s,0,0),e(a.toDataURL()),a.height=a.width=0},s.onerror=n,void(s.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,i.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,i.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){e("data:image/png;base64,"+t.data)},fail:function(t){n(t)}}):n(new Error("not support")):plus.io.resolveLocalFileSystemURL(getLocalFilePath(t),(function(t){t.file((function(t){var o=new plus.io.FileReader;o.onload=function(t){e(t.target.result)},o.onerror=function(t){n(t)},o.readAsDataURL(t)}),(function(t){n(t)}))}),(function(t){n(t)}))}))},e.removeStorage=function(t){t&&uni.removeStorageSync(t)},e.serialize=function(t){if(null!=t&&""!=t)try{return JSON.parse(JSON.stringify(t))}catch(e){return t instanceof Array?[]:{}}return t},e.setStorage=function(t,e){if("string"==typeof e)return uni.setStorageSync(t,e),e;uni.setStorageSync(t,JSON.stringify(e))},e.showMonthFirstDay=function(){var t=(new Date).setDate(1);return s(new Date(t).getTime(),"yyyy-MM-dd")},e.showWeekFirstDay=function(){var t=new Date,e=t.getDay()||7;return t.setDate(t.getDate()-e+1),s(t,"yyyy-MM-dd")},e.throttle=function(t,e){var n,o;e=e||200;return function(){for(var i=this,a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];n=r,o||(o=setTimeout((function(){o=null,t.apply(i,n)}),e))}},e.unique=function(t){t=t||[];for(var e={},n=0;n<t.length;n++){var o=JSON.stringify(t[n]);"undefined"==typeof o&&(e[o]=1)}for(var n in t.length=0,e)t[t.length]=n;return t};var i=o(n("53ca")),a=o(n("5530"));function r(t){var e,n=[];return Object.keys(t).forEach((function(e){n.push("".concat(e,"=").concat(t[e]))})),e=n.join("&"),e}function s(t,e){return t?(e=e||"yyyy-MM-dd hh:mm:ss",new Date(t).format(e)):""}n("e9c4"),n("d9e2"),n("d401"),n("d3b7"),n("159b"),n("b64b"),n("14d9"),n("99af"),n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),Date.prototype.format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,String(this.getFullYear()).substr(4-RegExp.$1.length))),e)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[n]:("00"+e[n]).substr(String(e[n]).length)));return t};var u=new Date,c=u.getMonth(),d=u.getYear();d+=d<2e3?1900:0},ea4c:function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return i.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return i.default.post("user/cart/delete",t)},e.changeCartNum=function(t,e){return i.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return i.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return i.default.get("order/delivery/".concat(t))},e.express=function(t){return i.default.post("order/express/"+t)},e.expressList=function(){return i.default.get("common/express")},e.getCallBackUrlApi=function(t){return i.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(t){return i.default.get("user/cart/count",t)},e.getCartList=function(t){return i.default.get("user/cart/lst",t)},e.getCouponsOrderPrice=function(t,e){return i.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return i.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return i.default.get("order/detail/"+t)},e.getOrderList=function(t){return i.default.get("order/list",t)},e.getPayOrder=function(t){return i.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return i.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t,e){return i.default.get("order/group_order_detail/"+t+"?product_type="+e)},e.groupOrderList=function(t){return i.default.get("order/group_order_list",t,{noAuth:!0})},e.ordeRefundReason=function(){return i.default.get("order/refund/reason")},e.orderAgain=function(t){return i.default.post("user/cart/again",t)},e.orderComment=function(t,e){return i.default.post("reply/"+t,e)},e.orderConfirm=function(t){return i.default.post("order/check",t)},e.orderCreate=function(t){return i.default.post("order/create",t,{noAuth:!0})},e.orderData=function(t){return i.default.get("order/number",t)},e.orderDel=function(t){return i.default.post("order/del/"+t)},e.orderPay=function(t,e){return i.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return i.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return i.default.post("order/refund/verify",t)},e.orderTake=function(t){return i.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return i.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return i.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return i.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return i.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return i.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return i.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return i.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return i.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return i.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return i.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return i.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return i.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return i.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return i.default.get("refund/product/"+t,e,{noAuth:!0})},e.refundlist=function(t){return i.default.get("refund/list",t)},e.unOrderCancel=function(t){return i.default.post("order/cancel/"+t)},e.verifyCode=function(t){return i.default.get("order/verify_code/"+t)},n("99af");var i=o(n("095d"))}}]); |