1 line
88 KiB
JavaScript
1 line
88 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-nongKe-cloud_entrepot-index","pages-gather-gather~pages-nongKe-cloud_entrepot-indexa~pages-product-basicSet~pages-store-settledApp~0a622559"],{"033a":function(t,e,n){"use strict";var i=n("e030"),o=n.n(i);o.a},"05aa":function(t,e,n){"use strict";n.r(e);var i=n("4e62"),o=n("e9b1");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("033a");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"44254ce5",null,!1,i["a"],void 0);e["default"]=s.exports},"0745":function(t,e,n){"use strict";var i=n("a9de"),o=n.n(i);o.a},"104c":function(t,e,n){"use strict";n.r(e);var i=n("1b25"),o=n("5bfe");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("0745");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"42119758",null,!1,i["a"],void 0);e["default"]=s.exports},"1b25":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[t.isWeixin?n("v-uni-text",{staticClass:"title"},[t._v(t._s(t.isPay?"付款提醒":"授权提醒"))]):n("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?n("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.isPay?t.payInfo:"请授权头像等信息,以便为您提供更好的服务!"))]):n("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),n("v-uni-view",{staticClass:"bottom flex"},[t.isPay?n("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t._v("取消")]):n("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),n("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?n("v-uni-text",{staticClass:"text"},[t._v(t._s(t.isPay?"去支付":"去授权"))]):n("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},o=[]},"22c7":function(t,e,n){"use strict";n.r(e);var i=n("d4e3"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},2591:function(t,e,n){var i=n("374a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("51cf9610",i,!0,{sourceMap:!1,shadowMode:!1})},"25c0":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("v-uni-view",{staticClass:"u-toolbar",on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.noop.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-toolbar__cancel__wrapper",attrs:{"hover-class":"u-hover-class"}},[n("v-uni-text",{staticClass:"u-toolbar__wrapper__cancel",style:{color:t.cancelColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}},[t._v(t._s(t.cancelText))])],1),t.title?n("v-uni-text",{staticClass:"u-toolbar__title u-line-1"},[t._v(t._s(t.title))]):t._e(),n("v-uni-view",{staticClass:"u-toolbar__confirm__wrapper",attrs:{"hover-class":"u-hover-class"}},[n("v-uni-text",{staticClass:"u-toolbar__wrapper__confirm",style:{color:t.confirmColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v(t._s(t.confirmText))])],1)],1):t._e()},o=[]},"2bda":function(t,e,n){"use strict";var i=n("fb9b"),o=n.n(i);o.a},"374a":function(t,e,n){var i=n("24fb");e=i(!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-a1c9e37c], uni-scroll-view[data-v-a1c9e37c], uni-swiper-item[data-v-a1c9e37c]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-picker[data-v-a1c9e37c]{position:relative}.u-picker__view__column[data-v-a1c9e37c]{display:flex;flex-direction:row;flex:1;justify-content:center}.u-picker__view__column__item[data-v-a1c9e37c]{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:16px;text-align:center;display:block;color:#303133}.u-picker__view__column__item--disabled[data-v-a1c9e37c]{cursor:not-allowed;opacity:.35}.u-picker--loading[data-v-a1c9e37c]{position:absolute;top:0;right:0;left:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:hsla(0,0%,100%,.87);z-index:1000}',""]),t.exports=e},"3f17":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{show:{type:Boolean,default:uni.$u.props.toolbar.show},cancelText:{type:String,default:uni.$u.props.toolbar.cancelText},confirmText:{type:String,default:uni.$u.props.toolbar.confirmText},cancelColor:{type:String,default:uni.$u.props.toolbar.cancelColor},confirmColor:{type:String,default:uni.$u.props.toolbar.confirmColor},title:{type:String,default:uni.$u.props.toolbar.title}}};e.default=i},"41af":function(t,e,n){"use strict";var i=n("9bdd9"),o=n.n(i);o.a},"41c1":function(t,e,n){var i=n("85eb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("0117f36c",i,!0,{sourceMap:!1,shadowMode:!1})},"46ae":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uPopup:n("45c0").default,uToolbar:n("6473").default,uLoadingIcon:n("685b").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-popup",{attrs:{show:t.show},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closeHandler.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-picker"},[t.showToolbar?n("u-toolbar",{attrs:{cancelColor:t.cancelColor,confirmColor:t.confirmColor,cancelText:t.cancelText,confirmText:t.confirmText,title:t.title},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}}):t._e(),n("v-uni-picker-view",{staticClass:"u-picker__view",style:{height:""+t.$u.addUnit(t.visibleItemCount*t.itemHeight)},attrs:{indicatorStyle:"height: "+t.$u.addUnit(t.itemHeight),value:t.innerIndex,immediateChange:t.immediateChange},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeHandler.apply(void 0,arguments)}}},t._l(t.innerColumns,(function(e,i){return n("v-uni-picker-view-column",{key:i,staticClass:"u-picker__view__column"},t._l(e,(function(o,a){return t.$u.test.array(e)?n("v-uni-text",{key:a,staticClass:"u-picker__view__column__item u-line-1",style:{height:t.$u.addUnit(t.itemHeight),lineHeight:t.$u.addUnit(t.itemHeight),fontWeight:a===t.innerIndex[i]?"bold":"normal"}},[t._v(t._s(t.getItemText(o)))]):t._e()})),1)})),1),t.loading?n("v-uni-view",{staticClass:"u-picker--loading"},[n("u-loading-icon",{attrs:{mode:"circle"}})],1):t._e()],1)],1)},a=[]},4913: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("c7eb")),a=i(n("1da1"));n("ac1f"),n("00b4"),n("d81d"),n("a434"),n("cb29");var r=i(n("7b21")),s={name:"u-picker",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{lastIndex:[],innerIndex:[],innerColumns:[],columnIndex:0}},watch:{defaultIndex:{immediate:!0,handler:function(t){this.setIndexs(t,!0)}},columns:{immediate:!0,handler:function(t){this.setColumns(t)}}},methods:{getItemText:function(t){return uni.$u.test.object(t)?t[this.keyName]:t},closeHandler:function(){this.closeOnClickOverlay&&this.$emit("close")},cancel:function(){this.$emit("cancel")},confirm:function(){var t=this;this.$emit("confirm",{indexs:this.innerIndex,value:this.innerColumns.map((function(e,n){return e[t.innerIndex[n]]})),values:this.innerColumns})},changeHandler:function(t){for(var e=t.detail.value,n=0,i=0,o=0;o<e.length;o++){var a=e[o];if(a!==(this.lastIndex[o]||0)){i=o,n=a;break}}this.columnIndex=i;var r=this.innerColumns;this.setLastIndex(e),this.setIndexs(e),this.$emit("change",{picker:this,value:this.innerColumns.map((function(t,n){return t[e[n]]})),index:n,indexs:e,values:r,columnIndex:i})},setIndexs:function(t,e){this.innerIndex=uni.$u.deepClone(t),e&&this.setLastIndex(t)},setLastIndex:function(t){this.lastIndex=uni.$u.deepClone(t)},setColumnValues:function(t,e){this.innerColumns.splice(t,1,e);for(var n=uni.$u.deepClone(this.innerIndex),i=0;i<this.innerColumns.length;i++)i>this.columnIndex&&(n[i]=0);this.setIndexs(n)},getColumnValues:function(t){return(0,a.default)((0,o.default)().mark((function t(){return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,uni.$u.sleep();case 2:case"end":return t.stop()}}),t)})))(),this.innerColumns[t]},setColumns:function(t){this.innerColumns=uni.$u.deepClone(t),0===this.innerIndex.length&&(this.innerIndex=new Array(t.length).fill(0))},getIndexs:function(){return this.innerIndex},getValues:function(){var t=this;return(0,a.default)((0,o.default)().mark((function t(){return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,uni.$u.sleep();case 2:case"end":return t.stop()}}),t)})))(),this.innerColumns.map((function(e,n){return e[t.innerIndex[n]]}))}}};e.default=s},"4e62":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uIcon:n("f8c8").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-number-box"},[t.showMinus&&t.$slots.minus?n("v-uni-view",{staticClass:"u-number-box__slot",on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("minus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("minus")}}},[t._t("minus")],2):t.showMinus?n("v-uni-view",{staticClass:"u-number-box__minus",class:{"u-number-box__minus--disabled":t.isDisabled("minus")},style:[t.buttonStyle("minus")],attrs:{"hover-class":"u-number-box__minus--hover","hover-stay-time":"150"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("minus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("minus")}}},[n("u-icon",{attrs:{name:"minus",color:t.isDisabled("minus")?"#c8c9cc":"#323233",size:"15",bold:!0,customStyle:t.iconStyle}})],1):t._e(),t._t("input",[n("v-uni-input",{staticClass:"u-number-box__input",class:{"u-number-box__input--disabled":t.disabled||t.disabledInput},style:[t.inputStyle],attrs:{disabled:t.disabledInput||t.disabled,"cursor-spacing":t.getCursorSpacing,type:"number"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.onBlur.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.onInput.apply(void 0,arguments)}},model:{value:t.currentValue,callback:function(e){t.currentValue=e},expression:"currentValue"}})]),t.showPlus&&t.$slots.plus?n("v-uni-view",{staticClass:"u-number-box__slot",on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("plus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("plus")}}},[t._t("plus")],2):t.showPlus?n("v-uni-view",{staticClass:"u-number-box__plus",class:{"u-number-box__minus--disabled":t.isDisabled("plus")},style:[t.buttonStyle("plus")],attrs:{"hover-class":"u-number-box__plus--hover","hover-stay-time":"150"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("plus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("plus")}}},[n("u-icon",{attrs:{name:"plus",color:t.isDisabled("plus")?"#c8c9cc":"#323233",size:"15",bold:!0,customStyle:t.iconStyle}})],1):t._e()],2)},a=[]},"4e70":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uvImage",{attrs:{src:t.src,mode:t.mode,width:t.width,height:t.height,shape:t.shape,radius:t.radius,lazyLoad:t.lazyLoad,showMenuByLongpress:t.showMenuByLongpress,loadingIcon:t.loadingIcon,errorIcon:t.errorIcon,showLoading:t.showLoading,showError:t.showError,fade:t.fade,webp:t.webp,duration:t.duration,bgColor:t.bgColor,customStyle:t.customStyle},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("click")},error:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("error")},load:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("load")}},scopedSlots:t._u([{key:"loading",fn:function(){return[t._t("loading")]},proxy:!0},{key:"error",fn:function(){return[t._t("error")]},proxy:!0}],null,!0)})},o=[]},"5ad0":function(t,e,n){"use strict";n.r(e);var i=n("4913"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"5bfe":function(t,e,n){"use strict";n.r(e);var i=n("e40c"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},6014:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d3b7"),n("c975");var o=n("3093"),a=n("5eb1"),r=n("f89e"),s=i(n("e9c8"));function u(){s.default.commit("LOGOUT"),uni.showToast({title:"请登录",icon:"none",duration:1e3})}var c={};["options","get","post","put","head","delete","trace","connect"].forEach((function(t){c[t]=function(e,n,i){return function(t,e,n,i){var c=i.noAuth,l=void 0!==c&&c,d=i.noVerify,f=void 0!==d&&d,p=o.HTTP_REQUEST_URL_TWO,h=o.HEADER;return l||s.default.state.app.token||(0,a.checkLogin)()?(s.default.state.app.token&&(h[o.TOKENNAME]="Bearer "+s.default.state.app.token),new Promise((function(i,o){uni.request({url:p+"/api"+t,method:e||"GET",header:h,data:n||{},success:function(t){f?i(t.data):200==t.data.status?i(t.data,t):1==t.data.code?i(t.data):0==t.data.code?i(t.data,t):-1!==[41e4,410001,410002,4e4].indexOf(t.data.status)?(u(),o(t.data)):501==t.data.status?(uni.reLaunch({url:"/pages/error/index"}),o(t.data)):500===t.statusCode?(0,r.Toast)("请检查网络"):o(t.data.message||"请检查网络")},fail:function(t){o("请求失败")}})}))):(u(),Promise.reject({msg:"未登录"}))}(e,t,n,i||{})}}));var l=c;e.default=l},6473:function(t,e,n){"use strict";n.r(e);var i=n("25c0"),o=n("b924");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("8045");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"8c7a2b80",null,!1,i["a"],void 0);e["default"]=s.exports},"65c2":function(t,e,n){var i=n("24fb");e=i(!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-1428a719], uni-scroll-view[data-v-1428a719], uni-swiper-item[data-v-1428a719]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-image[data-v-1428a719]{position:relative;transition:opacity .5s ease-in-out}.u-image__image[data-v-1428a719]{width:100%;height:100%}.u-image__loading[data-v-1428a719], .u-image__error[data-v-1428a719]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909193;font-size:%?46?%}',""]),t.exports=e},"712d":function(t,e,n){"use strict";n.r(e);var i=n("84e5"),o=n("22c7");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("2bda");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"1428a719",null,!1,i["a"],void 0);e["default"]=s.exports},"7a69":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.replyLstApi=e.replyCreateApi=e.postIndexArticleEdit=e.postIndexArticleDetails=e.postComplaintAPI=e.postBindingAPI=e.postArticleComment=e.oneCAlickAuditAPI=e.getfriendsList=e.getbrigadeAPI=e.getWorkArticleCount=e.getVillage=e.getTravelWebStrategyAPI=e.getTravelPunchcardAPI=e.getTravelHotPartyAPI=e.getStreet=e.getSlideAPI=e.getNoticeListAPI=e.getNoticeInfoAPI=e.getMyIndexArticleList=e.getMyIndexArticleDetails=e.getIndexArticleList=e.getIndexArticleEdit=e.getIndexArticleDetails=e.getHomeListAPI=e.getFriendcirclelist=e.getCulturalArticleAPI=e.getCommentListAPI=e.getCategoryListAPI=e.getCategory=e.getArticleListAPI=e.getArticleCommentOneAPI=e.getArticleComment=e.getArea_new=e.getArea=e.delCommentAPI=e.createPlantApi=e.PlantApi=void 0;var o=i(n("6860")),a=i(n("6014"));e.getCulturalArticleAPI=function(t){return a.default.get("/cultural/article",t,{noAuth:!0})};e.getTravelPunchcardAPI=function(t){return o.default.get("/cultural/punchcard",t,{noAuth:!0})};e.getTravelWebStrategyAPI=function(t){return o.default.get("/cultural/WebStrategy",t,{noAuth:!0})};e.getTravelHotPartyAPI=function(t){return o.default.get("/cultural/hotparty",t,{noAuth:!0})};e.getSlideAPI=function(t){return o.default.get("/Slide/get_slide",t,{noAuth:!0})};e.getIndexArticleList=function(t){return a.default.get("/article/indexs",t,{noAuth:!0})};e.getIndexArticleDetails=function(t){return o.default.get("/article/details",t,{noAuth:!0})};e.postIndexArticleDetails=function(t){return o.default.post("/article/post",t)};e.getIndexArticleEdit=function(t){return o.default.get("/article/edit",t)};e.postIndexArticleEdit=function(t,e){return o.default.post("/article/put",t,{params:e})};e.postComplaintAPI=function(t){return o.default.post("/index/complaint",t)};e.getArticleComment=function(t){return o.default.get("/article_comment/index",t)};e.getArticleCommentOneAPI=function(t){return o.default.get("/article_comment/one_list",t)};e.postArticleComment=function(t){return o.default.post("/article_comment/post",t,{noVerify:!0})};e.getCommentListAPI=function(t){return o.default.get("/Personal/getCommentList",t)};e.oneCAlickAuditAPI=function(t){return o.default.get("/Personal/oneCAlickAudit",t)};e.delCommentAPI=function(t){return o.default.get("/Personal/delComment",t)};e.getCategory=function(t){return o.default.get("/common/category",t,{noAuth:!0})};e.getMyIndexArticleList=function(t){return o.default.get("/my_article/index",t)};e.getMyIndexArticleDetails=function(t){return o.default.get("/my_article/details",t)};e.getWorkArticleCount=function(t){return o.default.get("/getWorkArticleCount",t)};e.getArticleListAPI=function(t){return a.default.get("/getArticleList",t)};e.getHomeListAPI=function(t){return a.default.get("/article/hot_list",t)};e.getFriendcirclelist=function(t){return o.default.get("/Personal/getlist",t,{noVerify:!0})};e.createPlantApi=function(t){return o.default.post("/Personal/addOrEditNews",t)};e.PlantApi=function(t){return o.default.get("/Personal/getdetails",t)};e.replyLstApi=function(t){return o.default.get("/Personal/getpinglun",t,{noAuth:!0})};e.replyCreateApi=function(t){return o.default.post("/Personal/newsComment",t)};e.getfriendsList=function(t){return o.default.get("/Personal/getalllist")};e.getCategoryListAPI=function(t){return o.default.get("/common/category",t,{noAuth:!0})};e.getNoticeListAPI=function(t){return o.default.get("/Notice/list")};e.getNoticeInfoAPI=function(t){return o.default.get("/Notice/info",t)};e.getArea=function(t){return o.default.get("city/get_area",t,{noAuth:!0})};e.getArea_new=function(t){return o.default.get("city/get_city",t,{noAuth:!0})};e.getStreet=function(t){return o.default.get("city/get_street",t,{noAuth:!0})};e.getVillage=function(t){return o.default.get("city/get_village",t,{noAuth:!0})};e.getbrigadeAPI=function(t){return o.default.get("common/get_brigade",t,{noAuth:!0})};e.postBindingAPI=function(t){return o.default.post("Userinfo/Binding",t,{noAuth:!0,noVerify:!0})}},"7b21":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var i={props:{show:{type:Boolean,default:uni.$u.props.picker.show},showToolbar:{type:Boolean,default:uni.$u.props.picker.showToolbar},title:{type:String,default:uni.$u.props.picker.title},columns:{type:Array,default:uni.$u.props.picker.columns},loading:{type:Boolean,default:uni.$u.props.picker.loading},itemHeight:{type:[String,Number],default:uni.$u.props.picker.itemHeight},cancelText:{type:String,default:uni.$u.props.picker.cancelText},confirmText:{type:String,default:uni.$u.props.picker.confirmText},cancelColor:{type:String,default:uni.$u.props.picker.cancelColor},confirmColor:{type:String,default:uni.$u.props.picker.confirmColor},visibleItemCount:{type:[String,Number],default:uni.$u.props.picker.visibleItemCount},keyName:{type:String,default:uni.$u.props.picker.keyName},closeOnClickOverlay:{type:Boolean,default:uni.$u.props.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:uni.$u.props.picker.defaultIndex},immediateChange:{type:Boolean,default:uni.$u.props.picker.immediateChange}}};e.default=i},"7bad":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var i={props:{name:{type:[String,Number],default:uni.$u.props.numberBox.name},value:{type:[String,Number],default:uni.$u.props.numberBox.value},min:{type:[String,Number],default:uni.$u.props.numberBox.min},max:{type:[String,Number],default:uni.$u.props.numberBox.max},step:{type:[String,Number],default:uni.$u.props.numberBox.step},integer:{type:Boolean,default:uni.$u.props.numberBox.integer},disabled:{type:Boolean,default:uni.$u.props.numberBox.disabled},disabledInput:{type:Boolean,default:uni.$u.props.numberBox.disabledInput},asyncChange:{type:Boolean,default:uni.$u.props.numberBox.asyncChange},inputWidth:{type:[String,Number],default:uni.$u.props.numberBox.inputWidth},showMinus:{type:Boolean,default:uni.$u.props.numberBox.showMinus},showPlus:{type:Boolean,default:uni.$u.props.numberBox.showPlus},decimalLength:{type:[String,Number,null],default:uni.$u.props.numberBox.decimalLength},longPress:{type:Boolean,default:uni.$u.props.numberBox.longPress},color:{type:String,default:uni.$u.props.numberBox.color},buttonSize:{type:[String,Number],default:uni.$u.props.numberBox.buttonSize},bgColor:{type:String,default:uni.$u.props.numberBox.bgColor},cursorSpacing:{type:[String,Number],default:uni.$u.props.numberBox.cursorSpacing},disablePlus:{type:Boolean,default:uni.$u.props.numberBox.disablePlus},disableMinus:{type:Boolean,default:uni.$u.props.numberBox.disableMinus},iconStyle:{type:[Object,String],default:uni.$u.props.numberBox.iconStyle}}};e.default=i},8045:function(t,e,n){"use strict";var i=n("41c1"),o=n.n(i);o.a},"84e5":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uTransition:n("1488").default,uIcon:n("f8c8").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-transition",{attrs:{mode:"fade",show:t.show,duration:t.fade?1e3:0}},[n("v-uni-view",{staticClass:"u-image",style:[t.wrapStyle,t.backgroundStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.isError?t._e():n("v-uni-image",{staticClass:"u-image__image",style:{borderRadius:"circle"==t.shape?"10000px":t.$u.addUnit(t.radius),width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)},attrs:{src:t.src,mode:t.mode,"show-menu-by-longpress":t.showMenuByLongpress,"lazy-load":t.lazyLoad},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrorHandler.apply(void 0,arguments)},load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadHandler.apply(void 0,arguments)}}}),t.showLoading&&t.loading?n("v-uni-view",{staticClass:"u-image__loading",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.radius),backgroundColor:this.bgColor,width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)}},[t._t("loading",[n("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})])],2):t._e(),t.showError&&t.isError&&!t.loading?n("v-uni-view",{staticClass:"u-image__error",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.radius),width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)}},[t._t("error",[n("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})])],2):t._e()],1)],1)},a=[]},"85eb":function(t,e,n){var i=n("24fb");e=i(!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-8c7a2b80], uni-scroll-view[data-v-8c7a2b80], uni-swiper-item[data-v-8c7a2b80]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-toolbar[data-v-8c7a2b80]{height:42px;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.u-toolbar__wrapper__cancel[data-v-8c7a2b80]{color:#909193;font-size:15px;padding:0 15px}.u-toolbar__title[data-v-8c7a2b80]{color:#303133;padding:0 %?60?%;font-size:16px;flex:1;text-align:center}.u-toolbar__wrapper__confirm[data-v-8c7a2b80]{color:#3c9cff;font-size:15px;padding:0 15px}',""]),t.exports=e},"95ca":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return o.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(){return o.default.get("store/product/assist/count",{},{noAuth:!0})},e.chooseConsumption=function(t){return o.default.post("storeActivity/choose",t)},e.consumption=function(t){return o.default.get("storeActivity/consumption",t,{noAuth:!0})},e.getActivitycategory=function(t){return o.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t){return o.default.get("store/product/assist/detail/"+t)},e.getAssistList=function(t){return o.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return o.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return o.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return o.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return o.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return o.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return o.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return o.default.post("combination/poster",t)},e.getCombinationUser=function(t){return o.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return o.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return o.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return o.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return o.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return o.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return o.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return o.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return o.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return o.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return o.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return o.default.post("store/product/assist/create/"+t)},e.mer_services_agree=function(){return o.default.get("agreement/mer_services_agree")},e.merchantRecord=function(t){return o.default.get("merchantRecord",t)},e.postAssistHelp=function(t){return o.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return o.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return o.default.get("store/product/presell/agree")},e.qrcode=function(t){return o.default.get("qrcode",t)},e.scombinationCode=function(t){return o.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return o.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return o.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.storeActivityDistrict=function(t){return o.default.get("storeActivity/district",t)},e.storeActivityProduct=function(t){return o.default.get("storeActivity/product",t,{noAuth:!0})},e.storeActivityReceive=function(t){return o.default.post("storeActivity/receive",t)},e.storeActivityRecord=function(t){return o.default.get("storeActivity/record",t)},e.storeActivityStatus=function(t){return o.default.get("storeActivity/status",t)},e.storeActivityTotal=function(t){return o.default.get("storeActivity/total",t)};var o=i(n("6860"))},"9bdd9":function(t,e,n){var i=n("e519");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("e440264c",i,!0,{sourceMap:!1,shadowMode:!1})},"9db9":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("712d")),a=i(n("f4d6")),r={name:"u--image",mixins:[uni.$u.mpMixin,a.default,uni.$u.mixin],components:{uvImage:o.default}};e.default=r},a9de:function(t,e,n){var i=n("ee9e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("0802872c",i,!0,{sourceMap:!1,shadowMode:!1})},b08c: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("3f17")),a={name:"u-toolbar",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],methods:{cancel:function(){this.$emit("cancel")},confirm:function(){this.$emit("confirm")}}};e.default=a},b8a1:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.cloudWarehouse=function(t){return o.default.get("store/product/cloudWarehouse",t)},e.getCartCounts=function(t){return o.default.get("user/cart/count",t)},e.getCartList=function(t){return o.default.get("user/cart/lst",t)},e.getCategoryListLevel=function(t){return o.default.get("category/list_level",t)},e.getCityCloundShop=function(t){return o.default.get("city/get_cloud_shop",t)},e.supMenuApi=function(t){return o.default.get("intention/v2/cate",t)},e.townCloud=function(t){return o.default.get("store/product/town_cloud",t)};var o=i(n("df89"))},b924:function(t,e,n){"use strict";n.r(e);var i=n("b08c"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},ba83:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("ac1f"),n("99af"),n("d3b7"),n("ddb0"),n("4e82"),n("b64b"),n("d81d"),n("159b"),n("14d9");var o=i(n("c7eb")),a=i(n("1da1")),r=i(n("5530")),s=n("b8a1"),u=(n("f89e"),n("95ca"),n("bb20"),n("a126")),c=i(n("104c")),l=n("7a69"),d=(n("ece0"),n("26cb")),f=(i(n("a040")),{components:{authorize:c.default},data:function(){return{skuform:{},location:null,source:null,defaInd:[0,0],showPicker:!1,columnData:[],skusize:0,skuNumber:1,showcartpop:!1,trnList:[],act_cart:!1,appInfo:{},pocls:"",type:"",act_swiper:"",current:3,goodsNum:0,goodsList:[],isEmpty:!1,winHeight:0,cloudList:[],street:"",street_code:"",totalMoney:0,town:"",list:[1,1,1,1,1],showSelect:!1,showPop:!1,keyword:"",showLoading:!1,tot_price:1,showtit:!0,cartList:[],activeClass:"activeClass",headtop:0,page_num:1,act_img:"",cartTagInfo:{},isAuto:!1,actList:[{tit:"综合",act:"",screen:""},{tit:"销量",act:"",screen:"sales"},{tit:"价格",act:"",screen:"price_asc",price:!0}],status:"loadmore",flag:!1,isShowAuth:!1}},computed:(0,r.default)({},(0,d.mapGetters)(["isLogin","viewColor","uid"])),onLoad:function(t){var e=this;this.location=t.location,this.source=t.source,this.appInfo=this.$appInfo.safeAreaInsets,this.winHeight=this.$appInfo.windowHeight,this.street_code=t.street,this.town=t.town,this.getCloundShop(),this.street=t.town,this.Area();var n=this;setTimeout((function(){uni.createSelectorQuery().in(e).select(".flags").boundingClientRect((function(t){e.headtop=t.top})).exec(),uni.createSelectorQuery().in(e).select(".cart").boundingClientRect((function(t){n.cartTagInfo=t})).exec()}),500)},onShow:function(){this.cartFn(),this.showSelect=!1},onReachBottom:function(){var t,e=this;!this.flag&&this.goodsList.length&&(this.status="loading",this.page_num+=1,(0,s.cloudWarehouse)({street_code:this.street_code,category_id:(null===(t=this.cloudList[this.current])||void 0===t?void 0:t.category_id)||"",order:this.type,keyword:this.keyword,page:this.page_num,location:this.location}).then((function(t){if(0==t.data.list.length)return e.status="nomore",void(e.flag=!0);t.data.list[0].product_id==e.goodsList[0].product_id?(e.status="nomore",e.flag=!0):e.goodsList=e.goodsList.concat(t.data.list)})))},onPageScroll:function(t){var e=this,n=this;this.showtit=!Boolean(t.scrollTop),uni.createSelectorQuery().in(this).select(".content").boundingClientRect((function(t){t.top<=e.headtop?(e.pocls="fixed",e.act_swiper="act_swiper",e.act_img="act_img"):(e.pocls="",e.act_swiper="",e.act_img="")})).exec(),uni.createSelectorQuery().in(this).select(".cart").boundingClientRect((function(t){n.cartTagInfo=t})).exec()},onPullDownRefresh:function(){this.getCloundShop(),this.getList(),this.cartFn(),uni.stopPullDownRefresh()},methods:{showpick:function(){this.showPicker=!this.showPicker},swiperClick:function(t){var e=t.info[1].value;uni.navigateTo({url:e})},selectLocation:function(){this.isSelectPlace&&(this.showPicker=!0)},confirm:function(t){var e=this;this.showPicker=!1,this.$emit("selectPlce",t),this.$emit("change",t),this.street=t.value[1].name,this.$nextTick((function(){e.$bus.$emit("value-updated",t.value[1].name+","+t.value[1].code)})),this.street_code=t.value[1].code,this.getCloundShop(),this.town=t.value[1].name},changeHandler:function(t){var e=t.columnIndex,n=t.value,i=(t.values,t.index,t.picker),o=void 0===i?this.$refs.uPicker:i;0===e&&(0,l.getStreet)({area_code:n[0]["code"]}).then((function(t){o.setColumnValues(1,t.data)}))},Area:function(){var t=this;(0,l.getArea)({city_code:510500}).then((function(e){t.$refs.uPicker.setColumnValues(0,e.data),t.Street(e.data[0]["code"])}))},Street:function(t){var e=this;(0,l.getStreet)({area_code:t}).then((function(t){e.$refs.uPicker.setColumnValues(1,t.data)}))},swiperChange:function(t){var e=t.detail,n=(e.current,e.source);"autoplay"!==n&&"touch"!==n||(this.bgColor=this.swiper.url[t.detail.current]["img"],this.$emit("kkchange",this.bgColor))},objToArr:function(t){var e=Object.keys(t).sort(),n=e.map((function(e){return t[e]}));return n},skusizechange:function(t){this.skusize=t},skuaddcart:function(){var t=this;this.showcartpop=!1;(0,u.postCartAdd)({cart_num:this.skuNumber,is_new:0,product_attr_unique:this.skuform.sku[this.skusize].unique,product_id:this.skuform.product_id,product_type:this.skuform.product_type,spread_id:"",source:this.source}).then((function(e,n){t.cartFn(),uni.showToast({title:"加入成功",duration:1e3})})).catch((function(t){uni.showToast({title:t,icon:"none",duration:1e3})}))},valChange:function(t){this.skuNumber=t.value},closecartpop:function(){this.showcartpop=!1},opencartpop:function(){this.showcartpop=!0},authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.isShowAuth=!1},clickSwiperFn:function(t){this.current=t},cartFn:function(){var t=this;(0,s.getCartList)().then((function(e){t.totalMoney=0,t.cartList=e.data.list,t.cartList.forEach((function(e){e.list.forEach((function(e){t.totalMoney+=e.cart_num*e.productAttr.price}))})),t.totalMoney=t.totalMoney.toFixed(2)})),(0,s.getCartCounts)({product_type:98}).then((function(e){t.goodsNum=e.data[0].count}))},goodDetail:function(t){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)})},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,2==e&&(this.actList[e].price=!this.actList[e].price,this.type=this.actList[e].price?"price_asc":""),this.getList()},navgo:function(t){uni.redirectTo({url:t})},getList:function(){var t,e=this;this.showLoading=!0,this.status="loading",this.page_num=1,(0,s.cloudWarehouse)({street_code:this.street_code,category_id:(null===(t=this.cloudList[this.current])||void 0===t?void 0:t.category_id)||"",order:this.type,keyword:this.keyword,page:this.page_num,location:this.location}).then((function(t){e.goodsList=t.data.list,e.showLoading=!1,t.data.list.length<10?e.status="nomore":e.status="loadmore",e.goodsList.forEach((function(t){e.trnList.push({left:0,bottom:0})}))}))},addcart:function(t,e){var n=this;if(!this.isLogin)return this.isAuto=!0,void(this.isShowAuth=!0);if(t.sku[""]){var i={cart_num:1,is_new:0,product_attr_unique:t.sku[""].unique,product_id:t.product_id,product_type:t.product_type,spread_id:"",source:this.source},o=this;uni.createSelectorQuery().in(this).select(".act_class".concat(e)).boundingClientRect((function(t){var n,i;o.trnList[e].left=(null===(n=o.cartTagInfo)||void 0===n?void 0:n.left)-t.left,o.trnList[e].bottom=(null===(i=o.cartTagInfo)||void 0===i?void 0:i.top)-t.top;setTimeout((function(){o.trnList[e].left=0,o.trnList[e].bottom=0,o.act_cart=!0,setTimeout((function(){o.act_cart=!1}),500)}),1e3)})).exec();(0,u.postCartAdd)((0,r.default)({},i)).then((function(t,e){n.cartFn(),uni.showToast({title:"加入成功",duration:1e3})})).catch((function(t){uni.showToast({title:t,icon:"none",duration:1e3})}));setTimeout((function(){o.act_cart=!1}),500)}else{this.skuform=t,this.showcartpop=!0;var a=Object.keys(t.sku);a[0];this.skusize=a[0]}},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,o.default)().mark((function e(){var n,i;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getCityCloundShop)({street_code:t.street_code});case 2:n=e.sent,i=n.data,t.cloudList=i,(0,s.cloudWarehouse)({street_code:t.street_code,category_id:t.cloudList[t.current].category_id,location:t.location}).then((function(e){t.trnList=[],t.goodsList=e.data.list,t.goodsList.forEach((function(e){t.trnList.push({left:0,bottom:0})}))}));case 6:case"end":return e.stop()}}),e)})))()}}});e.default=f},bb20: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")},c095:function(t,e,n){var i=n("24fb");e=i(!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-44254ce5], uni-scroll-view[data-v-44254ce5], uni-swiper-item[data-v-44254ce5]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-number-box[data-v-44254ce5]{display:flex;flex-direction:row;align-items:center}.u-number-box__slot[data-v-44254ce5]{touch-action:none}.u-number-box__plus[data-v-44254ce5], .u-number-box__minus[data-v-44254ce5]{width:35px;display:flex;flex-direction:row;justify-content:center;align-items:center;touch-action:none}.u-number-box__plus--hover[data-v-44254ce5], .u-number-box__minus--hover[data-v-44254ce5]{background-color:#e6e6e6!important}.u-number-box__plus--disabled[data-v-44254ce5], .u-number-box__minus--disabled[data-v-44254ce5]{color:#c8c9cc;background-color:#f7f8fa}.u-number-box__plus[data-v-44254ce5]{border-top-right-radius:4px;border-bottom-right-radius:4px}.u-number-box__minus[data-v-44254ce5]{border-top-left-radius:4px;border-bottom-left-radius:4px}.u-number-box__input[data-v-44254ce5]{position:relative;text-align:center;font-size:15px;padding:0;margin:0 2px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-number-box__input--disabled[data-v-44254ce5]{color:#c8c9cc;background-color:#f2f3f5}',""]),t.exports=e},c3a7:function(t,e,n){"use strict";var i=n("2591"),o=n.n(i);o.a},cea2:function(t,e,n){"use strict";n.r(e);var i=n("4e70"),o=n("d344");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},d344:function(t,e,n){"use strict";n.r(e);var i=n("9db9"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},d4e3: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("f4d6")),a={name:"u-image",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler:function(t){t?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"10000px":uni.$u.addUnit(this.radius),t.overflow=this.borderRadius>0?"hidden":"visible",uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}},mounted:function(){this.show=!0},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(t){this.loading=!1,this.isError=!1,this.$emit("load",t),this.removeBgColor()},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};e.default=a},d719:function(t,e,n){"use strict";n.r(e);var i=n("46ae"),o=n("5ad0");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("c3a7");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"a1c9e37c",null,!1,i["a"],void 0);e["default"]=s.exports},d9c4:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={"u-Image":n("cea2").default,uSearch:n("c280").default,uIcon:n("f8c8").default,uLoadingIcon:n("685b").default,uLoadmore:n("39c7").default,uPopup:n("45c0").default,uPicker:n("d719").default,uNumberBox:n("05aa").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{},[n("v-uni-view",{},[n("v-uni-view",{},[t.showtit?n("v-uni-view",[n("v-uni-view",{class:{head:!0,show:t.showtit},staticStyle:{"padding-top":"var(--status-bar-height)"}},[n("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[(t.cloudList.length,n("i",{staticClass:"iconfont icon-xiangzuo",staticStyle:{"font-size":"40rpx","text-align":"left"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}})),t.cloudList.length?n("v-uni-view",{staticClass:"head_tit",staticStyle:{"font-size":"40rpx",transform:"skewX(-10deg)","font-weight":"bold"},style:{color:t.cloudList.length>0?"":"black"}},[t._v(t._s(t.town)+"里海云仓")]):t._e()],1),n("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[t.cloudList.length>0?n("v-uni-view",{staticClass:"head_r",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[t.cloudList.length>0?n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/QB.png",width:"50.82rpx",height:"50.82rpx"}}):n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/QB1.png",width:"50.82rpx",height:"50.82rpx"}})],1):t._e()],1)],1)],1):t._e(),n("v-uni-view",{class:{heads:!0,show:!t.showtit},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("i",{staticClass:"iconfont icon-xiangzuo",staticStyle:{"font-size":"40rpx","text-align":"left"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}})]),t.cloudList.length?n("v-uni-view",{staticClass:"head_tit",staticStyle:{"font-size":"40rpx",transform:"skewX(-10deg)","font-weight":"bold"},style:{color:t.cloudList.length>0?"":"black"}},[t._v(t._s(t.town)+"里海云仓")]):t._e()],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("v-uni-view",{staticClass:"serchbtn img_cls",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.serch.apply(void 0,arguments)}}},[t._v("搜索")])],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",{staticStyle:{height:"5px"}}),n("v-uni-view",{staticClass:"flags"})],1)],1)],1),t.cloudList.length>0?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,i){return n("v-uni-swiper-item",[n("u--image",{class:t.act_img,attrs:{showLoading:!0,src:e.cover,width:"750rpx",height:"718.46rpx"}})],1)})),1)],1),t.act_swiper?n("v-uni-view",{staticStyle:{height:"718.46rpx"}}):t._e(),t.showtit?n("v-uni-view",{staticClass:"menu",staticStyle:{transition:"1s"}},[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,i){return n("v-uni-swiper-item",{key:i,on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickSwiperFn(i)}}},[n("v-uni-view",{staticClass:"swiper_item",class:{swiper_item_act:i==t.current,swiper_item_act2:i==t.current-1||i==t.current+1}},[n("u--image",{staticClass:"swiper_b",attrs:{showLoading:!0,src:e.background,width:"140.19rpx",height:"140.19rpx"}})],1)],1)})),1)],1):t._e(),n("v-uni-view",{staticClass:"content"},[t.showtit?t._e():n("v-uni-view",{staticClass:"content_sift",style:{position:t.pocls,top:t.headtop+"px"}},t._l(t.actList,(function(e,i){return n("v-uni-view",{key:i,class:{act:e.act,price_sift:!0},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.screenGoods(e.screen,i)}}},[t._v(t._s(e.tit)),2==i?n("v-uni-view",{staticStyle:{"margin-left":"10rpx"}},[n("u-icon",{attrs:{name:"arrow-up",color:e.price&&e.act?"#FF6D20":"black",size:"10"}}),n("u-icon",{attrs:{name:"arrow-down",color:!e.price&&e.act?"#FF6D20":"black",size:"10"}})],1):t._e()],1)})),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,i){return n("v-uni-view",{staticClass:"goods",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goodDetail(e)}}},[n("v-uni-view",{staticClass:"left"},[n("v-uni-image",{staticStyle:{height:"192.76rpx",width:"192.76rpx"},attrs:{"lazy-load":!0,src:e.image}})],1),n("v-uni-view",{staticClass:"right"},[n("v-uni-view",{staticClass:"tit"},[t._v(t._s(e.store_name||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)+"评论")]),e.merchant.distance?n("v-uni-text",{staticStyle:{"margin-left":"10rpx"}},[t._v(t._s(e.merchant.distance))]):t._e()],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)],1),n("v-uni-view",{staticClass:"good_price_r"},[n("v-uni-view",{class:{x_tra:t.trnList[i]?t.trnList[i].bottom:0},style:"transform:translateY("+(t.trnList[i]?t.trnList[i].bottom:0)+"px);transition:"+(t.trnList[i]?t.trnList[i].bottom:0)+"s cubic-bezier(0.4, -0.9, 0.75, 1);",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.addcart(e,i)}}},[n("u--image",{class:"act_class"+i,style:"transform:translateX("+(t.trnList[i]?t.trnList[i].left:0)+"px);transition:"+(t.trnList[i]?t.trnList[i].bottom: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:"180rpx"}},[n("u-loadmore",{attrs:{status:t.status}})],1)],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"}}),n("v-uni-view",{staticStyle:{"text-align":"center",color:"#999"}},[t._v("暂无商品")])],1)],1)],1),n("v-uni-view",{staticClass:"card",style:"bottom:"+(t.appInfo.bottom+10)+"px",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navgo("/pages/order_addcart/order_addcart?product_type=98&source="+t.source)}}},[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):t._e()],1),t.showPop?n("v-uni-view",{},[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),t.cloudList.length?n("v-uni-view",{staticClass:"pop_content"},t._l(t.cloudList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"pop_li",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.all(i)}}},[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):n("v-uni-view",[n("v-uni-view",{staticClass:"yuncangempty"},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/noCart.png",width:"400.09rpx",height:"400.09rpx"}}),n("v-uni-view",{staticStyle:{"text-align":"center",color:"#999"}},[t._v("当前区域暂无云仓")])],1)],1)],1)],1)],1):t._e()],1),t.cloudList.length<=0?n("v-uni-view",{staticClass:"empty"},[n("v-uni-view",{staticStyle:{height:"var(--status-bar-height)"}}),n("v-uni-view",{staticStyle:{padding:"10rpx"}},[n("v-uni-view",{staticClass:"info"},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/noCart.png",width:"400.09rpx",height:"400.09rpx"}}),n("v-uni-view",{staticStyle:{"text-align":"center",color:"#999"}},[t._v("当前区域暂无云仓")])],1)],1),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}}),n("v-uni-view",{style:"height:"+(t.appInfo.bottom+10)+"px;"})],1):t._e(),n("v-uni-view",{},[n("u-picker",{ref:"uPicker",attrs:{defaultIndex:t.defaInd,show:t.showPicker,columns:t.columnData,keyName:"name"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showPicker=!1},change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeHandler.apply(void 0,arguments)}}})],1),t.showcartpop?n("v-uni-view",{},[n("u-popup",{attrs:{show:t.showcartpop},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closecartpop.apply(void 0,arguments)},open:function(e){arguments[0]=e=t.$handleEvent(e),t.opencartpop.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"sku"},[n("v-uni-view",{staticClass:"sku_head"},[n("v-uni-view",{staticClass:"sku_head_l"},[n("u--image",{attrs:{showLoading:!0,src:t.skuform.image,width:"200.09rpx",height:"200.09rpx"}})],1),n("v-uni-view",{staticClass:"sku_head_r"},[n("v-uni-view",{staticClass:"sku_goods_tit"},[t._v(t._s(t.skuform.store_info))]),n("v-uni-view",{},[n("v-uni-view",{staticClass:"sku_goods_price"},[t._v("¥ "+t._s(t.skuform.price))]),this.skusize?n("v-uni-view",{staticClass:"sku_goods_num"},[t._v("库存:"+t._s(t.skuform.sku[this.skusize].stock))]):t._e()],1)],1)],1),n("v-uni-view",{staticClass:"sku_size"},[n("v-uni-view",{staticStyle:{"margin-bottom":"10rpx"}},[t._v("尺码")]),n("v-uni-view",{},t._l(t.skuform.sku,(function(e,i){return n("v-uni-text",{staticClass:"size_li",class:{act_size_li:e.sku==t.skusize},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.skusizechange(e.sku)}}},[t._v(t._s(e.sku))])})),1)],1),n("v-uni-view",{staticClass:"sku_num"},[n("v-uni-view",{},[t._v("数量")]),n("v-uni-view",{},[n("u-number-box",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.valChange.apply(void 0,arguments)}},model:{value:t.skuNumber,callback:function(e){t.skuNumber=e},expression:"skuNumber"}})],1)],1),n("v-uni-view",{staticClass:"skuaddcart",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.skuaddcart.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1):t._e()],1)},a=[]},df89:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d3b7"),n("c975");var o=n("3093"),a=(n("5eb1"),i(n("e9c8")));var r={};["options","get","post","put","head","delete","trace","connect"].forEach((function(t){r[t]=function(e,n,i){return function(t,e,n,i){i.noAuth;var r=i.noVerify,s=void 0!==r&&r,u=o.HTTP_REQUEST_URL,c=o.HEADER;return a.default.state.app.token&&(c[o.TOKENNAME]="Bearer "+a.default.state.app.token),new Promise((function(i,o){uni.request({url:u+"/api/"+t,method:e||"GET",header:c,data:n||{},success:function(t){s||200==t.data.status?i(t.data,t):-1!==[41e4,410001,410002,4e4].indexOf(t.data.status)?o(t.data):501==t.data.status?(uni.reLaunch({url:"/pages/error/index"}),o(t.data)):o(t.data.message||"系统错误")},fail:function(t){o("请求失败")}})}))}(e,t,n,i||{})}}));var s=r;e.default=s},e030:function(t,e,n){var i=n("c095");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("090bca8f",i,!0,{sourceMap:!1,shadowMode:!1})},e40c: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("5530")),a=(i(n("a040")),n("cc48"),n("8a31"),n("26cb")),r=(i(n("8afb")),n("5315")),s=(i(n("1ba1")),n("5eb1")),u=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1},isPay:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),payInfo:"",canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,o.default)((0,o.default)({},(0,a.mapGetters)(["isLogin","userInfo","viewColor"])),(0,r.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setPayInfo:function(t){this.payInfo=t},setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,s.toLogin)(!0)},getUserProfile:function(){(0,s.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=u},e519:function(t,e,n){var i=n("24fb");e=i(!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 addcart-data-v-2d79ab78{from{opacity:1}to{opacity:0}}@keyframes addcart-data-v-2d79ab78{from{opacity:1}to{opacity:0}}.serchbtn[data-v-2d79ab78]{width:%?100?%;height:%?50?%;border-radius:%?30?%;text-align:center;line-height:%?50?%;background:linear-gradient(90deg,#f84221,#ff6d20)}.selected-list[data-v-2d79ab78]{padding:%?24?% %?14?%;border-radius:%?10.51?% %?10.51?% %?10.51?% %?10.51?%;background-color:#fff;position:absolute;left:%?100?%;font-size:%?29.79?%;z-index:9999;opacity:0;transition:.5s}.selected-list .triangle-up[data-v-2d79ab78]{width:0;height:0;border-left:%?10?% solid transparent;border-right:%?10?% solid transparent;border-bottom:%?10?% solid #fff;position:absolute;top:%?-10?%}.selected-list .selected-li[data-v-2d79ab78]{margin-top:%?35?%;color:#f84221;display:flex;align-items:center}.sku[data-v-2d79ab78]{padding:%?20?%}.sku .sku_head[data-v-2d79ab78]{display:flex}.sku .sku_head .sku_head_r[data-v-2d79ab78]{margin-left:%?20?%;display:flex;justify-content:space-between;flex-direction:column}.sku .sku_head .sku_head_r .sku_goods_tit[data-v-2d79ab78]{font-size:%?30?%;width:60vw;\r\n /* 容器的宽度 */overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sku .sku_head .sku_head_r .sku_goods_price[data-v-2d79ab78]{color:red;font-size:%?30?%;font-weight:700}.sku .sku_size[data-v-2d79ab78]{margin:%?40?% 0}.sku .sku_size .size_li[data-v-2d79ab78]{display:inline-block;padding:%?5?% %?20?%;margin-right:%?20?%;text-align:center;color:#000;border:1px solid #ebecee}.sku .sku_size .act_size_li[data-v-2d79ab78]{background-color:#ff5c2d;color:#fff;border:#ff5c2d 1px solid}.sku .sku_num[data-v-2d79ab78]{display:flex;justify-content:space-between}.sku .skuaddcart[data-v-2d79ab78]{width:50vw;background-color:#feab00;margin:%?20?% auto;height:%?80?%;line-height:%?80?%;text-align:center;color:#fff;border-radius:%?80?%}.flags[data-v-2d79ab78]{background-color:red;z-index:99999999}.swiper_item[data-v-2d79ab78]{display:flex;justify-content:space-around;transition:.5s;padding:%?40?%}.swiper_item_act[data-v-2d79ab78]{-webkit-transform:scale(1.2);transform:scale(1.2)}.swiper_item_act2[data-v-2d79ab78]{-webkit-transform:scale(1.1);transform:scale(1.1)}.swiper_b[data-v-2d79ab78]{transition:1s}.act_cart[data-v-2d79ab78]{transition:.5s;-webkit-transform:scale(1.1);transform:scale(1.1)}.box[data-v-2d79ab78]{position:relative}.box .content[data-v-2d79ab78]{width:100vw;border-radius:%?50?% %?50?% 0 0;z-index:9999;background-color:#fff}.box .active_swiper[data-v-2d79ab78]{-webkit-transform:scale(1.3);transform:scale(1.3)}.box .pictrue[data-v-2d79ab78]{position:relative;width:100%;height:%?345?%}.box .act[data-v-2d79ab78]{color:#ff6d20}.box .act_content[data-v-2d79ab78]{width:100vw;z-index:99;background-color:#f4f4f4;padding:0 %?10?%;padding-top:%?200?%}.box .act_class[data-v-2d79ab78]{transition:.5s}.box .act_class[data-v-2d79ab78]:active{-webkit-transform:scale(2);transform:scale(2)}.box .content_act[data-v-2d79ab78]{width:100vw;position:absolute;top:%?165?%;z-index:99;background-color:#f4f4f4;padding:0 %?10?%}.fade-enter-active[data-v-2d79ab78],\r\n.fade-leave-active[data-v-2d79ab78]{transition:opacity .5s}.fade-enter[data-v-2d79ab78],\r\n.fade-leave-to[data-v-2d79ab78]{opacity:0}.head_tits[data-v-2d79ab78]{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:0 %?20?%;color:#fff}.img_cls[data-v-2d79ab78]{position:absolute;top:50%;right:%?5?%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pop[data-v-2d79ab78]{width:%?615.07?%;padding:%?30?% %?28?%}.pop .pop_content[data-v-2d79ab78]{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-2d79ab78]{display:flex;margin-bottom:%?52?%}.head_tit[data-v-2d79ab78]{margin-left:%?20?%;font-size:%?40?%;width:40vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.act[data-v-2d79ab78]{color:red}.head[data-v-2d79ab78]{position:fixed;z-index:999;color:#fff;display:flex;justify-content:space-between;width:100%;padding:0 %?20?%;align-items:center;transition:.5s}.heads[data-v-2d79ab78]{position:fixed;z-index:100;color:#fff;width:100%;padding:0 %?20?%;transition:1s;opacity:0}.show[data-v-2d79ab78]{opacity:1}.menu[data-v-2d79ab78]{position:absolute;top:%?490?%;width:%?750?%;height:%?250?%}.town_name[data-v-2d79ab78]{margin-right:%?50?%;max-width:15vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goods_list[data-v-2d79ab78]{min-height:95vh;padding:0 %?10?%}.goods_list .goods[data-v-2d79ab78]{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-2d79ab78]{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-2d79ab78]{display:flex;justify-content:space-between;flex-direction:column}.goods_list .goods .right .tit[data-v-2d79ab78]{font-size:%?29.79?%;color:#000;font-weight:700}.goods_list .goods .right .good_score[data-v-2d79ab78]{font-size:%?26?%;color:#b3b3b3;margin-bottom:%?15?%}.goods_list .goods .right .good_price[data-v-2d79ab78]{display:flex;justify-content:space-between;align-items:center;width:60vw}.goods_list .goods .right .good_price .good_price_r[data-v-2d79ab78]{z-index:9}.goods_list .goods .right .good_price .good_price_l[data-v-2d79ab78]{display:flex}.goods_list .goods .right .good_price .good_price_l .old_price[data-v-2d79ab78]{color:#b3b3b3;text-decoration:line-through;font-size:%?26.29?%;margin-left:%?15?%}.activeClass[data-v-2d79ab78]{width:%?400?%;height:%?400?%}.act_swiper[data-v-2d79ab78]{height:%?200?%;position:fixed;z-index:99;overflow:hidden}.act_img[data-v-2d79ab78]{-webkit-transform:translateY(%?-580?%);transform:translateY(%?-580?%)}.content_sift[data-v-2d79ab78]{width:%?750?%;padding:%?22?% 0;background-color:#fff;display:flex;justify-content:space-around;z-index:99;box-sizing:border-box;margin-bottom:%?20?%}.swipers[data-v-2d79ab78]{width:%?750?%;height:%?718.46?%}.card[data-v-2d79ab78]{width:%?720?%;z-index:99;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-2d79ab78]{display:flex;align-items:center;padding:%?10?% %?35?%}.card .left .tot_price[data-v-2d79ab78]{display:flex;margin-left:%?42?%;flex-direction:column;justify-content:space-between}.card .right[data-v-2d79ab78]{font-size:%?33.29?%;line-height:50px;background:linear-gradient(90deg,#f84221,#ff6d20);width:%?140.19?%;text-align:center}.badge[data-v-2d79ab78]{position:absolute;top:0;right:0;background-color:#f84221;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);border-radius:%?35?%;text-align:center;width:%?35?%;line-height:%?35?%;height:%?35?%}.empty[data-v-2d79ab78]{position:relative;height:100vh}.empty .info[data-v-2d79ab78]{position:absolute;top:20%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.head_r[data-v-2d79ab78]{display:flex;flex-direction:column;align-items:center}.cart[data-v-2d79ab78]{z-index:999}.x_tra[data-v-2d79ab78]{z-index:999999;-webkit-animation-name:addcatr;animation-name:addcatr;-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 */}.price_sift[data-v-2d79ab78]{display:flex;align-items:center}.sl[data-v-2d79ab78]{margin-left:%?20?%;-webkit-transform:rotate(180deg);transform:rotate(180deg);transition:.5s}.actsl[data-v-2d79ab78]{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.actSel[data-v-2d79ab78]{opacity:1}.yuncangempty[data-v-2d79ab78]{margin:20vh 0;display:flex;flex-direction:column;align-items:center}',""]),t.exports=e},e9b1:function(t,e,n){"use strict";n.r(e);var i=n("f447"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},ece0:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return o.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return o.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return o.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return o.default.post("user/binding",t)},e.brigade=function(t){return o.default.get("v2/system/brigade",t,{noAuth:!0})},e.cloudWarehouse=function(t){return o.default.get("store/product/cloudWarehouse",t,{noAuth:!0})},e.getAjcaptcha=function(t){return o.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return o.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return o.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return o.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleCategoryLists=function(){return o.default.get("article/category/lst?is_home=1",{},{noAuth:!0})},e.getArticleDetails=function(t){return o.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return o.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return o.default.get("article/lst/"+t,e,{noAuth:!0})},e.getCity=function(){return o.default.get("system/city/lst",{},{noAuth:!0})},e.getCityCloundShop=function(t){return o.default.get("city/get_cloud_shop",t)},e.getCityList=function(t){return o.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return o.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCoupons=function(t){return o.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return o.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return o.default.get("common/home",{},{noAuth:!0})},e.getLiveList=function(t,e){return o.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return o.default.get("wechat/get_logo",{},{noAuth:!0})},e.getPageDiy=function(t){return o.default.get("micro",t,{noAuth:!0})},e.getProductSpuAPI=function(t,e){return o.default.get("product/spu/cloud_merchant/".concat(t),e,{noAuth:!0})},e.getShopCoupons=function(t){return o.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return o.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return o.default.get("coupon/list",t)},e.get_cloud_shop=function(t){return o.default.get("city/get_cloud_shop?street_code=".concat(t),{},{noAuth:!0})},e.loginMobile=function(t){return o.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return o.default.get("logout")},e.marginlist=function(t){return o.default.get("user/margin/list",t)},e.merchant=function(t){return o.default.get("store/merchant/margin",t)},e.modifyPassword=function(t){return o.default.post("user/change/password",t)},e.modifyPhone=function(t){return o.default.post("user/change/phone",t)},e.paymerchant=function(){return o.default.post("user/margin",{})},e.phoneLogin=function(t){return o.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return o.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return o.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return o.default.get("pink",{},{noAuth:!0})},e.post_product_import=function(t){return o.default.post("micro/product_import",{id:t},{noAuth:!0})},e.registerVerify=function(t,e,n,i){return o.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:n,code:i},{noAuth:!0})},e.seachBarCodeAPI=function(t){return o.default.get("micro/seach_bar_code",t)},e.setCouponReceive=function(t){return o.default.post("coupon/receive/"+t)},e.setFormId=function(t){return o.default.post("wechat/set_form_id",{formId:t})},e.spuRecommend=function(t){return o.default.get("product/spu/recommend",t,{noAuth:!0})},e.switchH5Login=function(t){return o.default.post("user/switch",t)},e.verifyCode=function(){return o.default.get("verify_code",{},{noAuth:!0})},e.village=function(t){return o.default.get("v2/system/geo/lst",t,{noAuth:!0})},e.wechatAppAuth=function(t){return o.default.post("auth/app",t,{noAuth:!0})};var o=i(n("6860"))},ee9e:function(t,e,n){var i=n("24fb");e=i(!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/* 文章场景相关 */.Popup[data-v-42119758]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-42119758]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-42119758]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-42119758]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-42119758]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-42119758]{flex:1;width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-42119758]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-42119758]{width:%?500?%}.flex[data-v-42119758]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-42119758]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-42119758]{font-size:%?28?%;color:#fff}.mask[data-v-42119758]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},f447: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("5530"));n("4de4"),n("d3b7"),n("ac1f"),n("5319"),n("c975"),n("99af"),n("fb6a"),n("d401"),n("25f0");var a=i(n("7bad")),r={name:"u-number-box",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{currentValue:"",longPressTimer:null}},watch:{watchChange:function(t){this.check()},value:function(t){t!==this.currentValue&&(this.currentValue=this.format(this.value))}},computed:{getCursorSpacing:function(){return uni.$u.getPx(this.cursorSpacing)},buttonStyle:function(){var t=this;return function(e){var n={backgroundColor:t.bgColor,height:uni.$u.addUnit(t.buttonSize),color:t.color};return t.isDisabled(e)&&(n.backgroundColor="#f7f8fa"),n}},inputStyle:function(){this.disabled||this.disabledInput;var t={color:this.color,backgroundColor:this.bgColor,height:uni.$u.addUnit(this.buttonSize),width:uni.$u.addUnit(this.inputWidth)};return t},watchChange:function(){return[this.integer,this.decimalLength,this.min,this.max]},isDisabled:function(){var t=this;return function(e){return"plus"===e?t.disabled||t.disablePlus||t.currentValue>=t.max:t.disabled||t.disableMinus||t.currentValue<=t.min}}},mounted:function(){this.init()},methods:{init:function(){this.currentValue=this.format(this.value)},format:function(t){return t=this.filter(t),t=""===t?0:+t,t=Math.max(Math.min(this.max,t),this.min),null!==this.decimalLength&&(t=t.toFixed(this.decimalLength)),t},filter:function(t){return t=String(t).replace(/[^0-9.-]/g,""),this.integer&&-1!==t.indexOf(".")&&(t=t.split(".")[0]),t},check:function(){var t=this.format(this.currentValue);t!==this.currentValue&&(this.currentValue=t)},onFocus:function(t){this.$emit("focus",(0,o.default)((0,o.default)({},t.detail),{},{name:this.name}))},onBlur:function(t){this.format(t.detail.value);this.$emit("blur",(0,o.default)((0,o.default)({},t.detail),{},{name:this.name}))},onInput:function(t){var e=t.detail||{},n=e.value,i=void 0===n?"":n;if(""!==i){var o=this.filter(i);if(null!==this.decimalLength&&-1!==o.indexOf(".")){var a=o.split(".");o="".concat(a[0],".").concat(a[1].slice(0,this.decimalLength))}o=this.format(o),this.emitChange(o)}},emitChange:function(t){var e=this;this.asyncChange||this.$nextTick((function(){e.$emit("input",t),e.currentValue=t,e.$forceUpdate()})),this.$emit("change",{value:t,name:this.name})},onChange:function(){var t=this.type;if(this.isDisabled(t))return this.$emit("overlimit",t);var e="minus"===t?-this.step:+this.step,n=this.format(this.add(+this.currentValue,e));this.emitChange(n),this.$emit(t)},add:function(t,e){var n=Math.pow(10,10);return Math.round((t+e)*n)/n},clickHandler:function(t){this.type=t,this.onChange()},longPressStep:function(){var t=this;this.clearTimeout(),this.longPressTimer=setTimeout((function(){t.onChange(),t.longPressStep()}),250)},onTouchStart:function(t){var e=this;this.longPress&&(this.clearTimeout(),this.type=t,this.longPressTimer=setTimeout((function(){e.onChange(),e.longPressStep()}),600))},onTouchEnd:function(){this.longPress&&this.clearTimeout()},clearTimeout:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearTimeout(this.longPressTimer),this.longPressTimer=null}))}};e.default=r},f4d6:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var i={props:{src:{type:String,default:uni.$u.props.image.src},mode:{type:String,default:uni.$u.props.image.mode},width:{type:[String,Number],default:uni.$u.props.image.width},height:{type:[String,Number],default:uni.$u.props.image.height},shape:{type:String,default:uni.$u.props.image.shape},radius:{type:[String,Number],default:uni.$u.props.image.radius},lazyLoad:{type:Boolean,default:uni.$u.props.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:uni.$u.props.image.showMenuByLongpress},loadingIcon:{type:String,default:uni.$u.props.image.loadingIcon},errorIcon:{type:String,default:uni.$u.props.image.errorIcon},showLoading:{type:Boolean,default:uni.$u.props.image.showLoading},showError:{type:Boolean,default:uni.$u.props.image.showError},fade:{type:Boolean,default:uni.$u.props.image.fade},webp:{type:Boolean,default:uni.$u.props.image.webp},duration:{type:[String,Number],default:uni.$u.props.image.duration},bgColor:{type:String,default:uni.$u.props.image.bgColor}}};e.default=i},f89e:function(t,e,n){"use strict";n("7a82");var i=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,i){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){n(t.tapIndex)},fail:function(t){i(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]:"这是一个模态弹窗!",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{showCancel:!0,cancelText:"取消",confirmText:"确定"};return new Promise((function(i,o){uni.showModal((0,a.default)((0,a.default)({},n),{},{title:t,content:e,success:function(t){t.confirm&&i(),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]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,o=(0,a.default)({title:t,duration:i,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(o)},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(l,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 i=e,o="navigateTo";switch(i=n?i+"?"+r(n):i,t){case 1:o="navigateTo";break;case 2:o="redirectTo";break;case 3:o="reLaunch";break;case 4:o="switchTab";break;default:o="navigateTo";break}uni[o]({url:i,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,o.default)(window))&&"document"in window){if("function"===typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="blob",i.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)}},i.onerror=n,void i.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,o.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,o.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 i=new plus.io.FileReader;i.onload=function(t){e(t.target.result)},i.onerror=function(t){n(t)},i.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,i;e=e||200;return function(){for(var o=this,a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];n=r,i||(i=setTimeout((function(){i=null,t.apply(o,n)}),e))}},e.unique=function(t){t=t||[];for(var e={},n=0;n<t.length;n++){var i=JSON.stringify(t[n]);"undefined"==typeof i&&(e[i]=1)}for(var n in t.length=0,e)t[t.length]=n;return t};var o=i(n("53ca")),a=i(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(),l=u.getYear();l+=l<2e3?1900:0},f8c3:function(t,e,n){"use strict";n.r(e);var i=n("d9c4"),o=n("ff3d");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("41af");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"2d79ab78",null,!1,i["a"],void 0);e["default"]=s.exports},fb9b:function(t,e,n){var i=n("65c2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("19348162",i,!0,{sourceMap:!1,shadowMode:!1})},ff3d:function(t,e,n){"use strict";n.r(e);var i=n("ba83"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a}}]); |