shop-php/public/static/js/pages-nongKe-cloud_entrepot-index.f6a30bbf.js
2023-09-06 13:25:05 +08:00

1 line
15 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-nongKe-cloud_entrepot-index"],{"20ea":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/* 文章场景相关 */.cloud_entrepot[data-v-dc63435c]{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-dc63435c]{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-dc63435c]{margin:0 auto;width:100%;text-align:center;font-size:%?50.88?%;color:#fff;margin-bottom:%?28.07?%}.town-title[data-v-dc63435c]::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-dc63435c]::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-dc63435c]{width:%?694.74?%;display:flex;justify-content:space-between;flex-wrap:wrap;margin:0 auto}.body-wrapper .item[data-v-dc63435c]{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-dc63435c]{display:block;font-size:%?24.56?%;color:#999;margin-bottom:%?14.04?%}.body-wrapper .item .item-title[data-v-dc63435c]{font-size:%?31.58?%;color:#333}.body-wrapper .item .chakan-btn[data-v-dc63435c]{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}',""]),t.exports=e},"2fc4":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"cloud_entrepot",style:{"min-height":t.winHeight+"px"}},[n("v-uni-view",{staticClass:"head-wrapper"}),n("v-uni-view",{staticClass:"town-title"},[t._v(t._s(t.town)+"里海云仓")]),n("v-uni-view",{staticClass:"body-wrapper"},[t._l(t.cloudList,(function(e,o){return[n("v-uni-navigator",{key:o+"_0",staticClass:"item",style:{"background-image":"url("+e.background+")"},attrs:{url:"/pages/nongKe/goods_list/index?cate_id="+e.category_id+"&street="+t.street_code+"&name="+e.category_name}},[n("v-uni-text",{staticClass:"item-title"},[t._v(t._s(e.category_name)+"云仓服务")]),n("v-uni-text",[t._v(t._s(e.description))]),n("v-uni-view",{staticClass:"chakan-btn"},[t._v("查看")])],1)]}))],2)],1)},r=[]},"3d53":function(t,e,n){"use strict";n.r(e);var o=n("2fc4"),r=n("bebf");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("9fa0");var u=n("f0c5"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"dc63435c",null,!1,o["a"],void 0);e["default"]=a.exports},"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 r.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return r.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return r.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return r.default.post("user/binding",t)},e.brigade=function(t){return r.default.get("v2/system/brigade",t,{noAuth:!0})},e.cloudWarehouse=function(t){return r.default.get("store/product/cloudWarehouse",t)},e.getAjcaptcha=function(t){return r.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return r.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return r.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return r.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleCategoryLists=function(){return r.default.get("article/category/lst?is_home=1",{},{noAuth:!0})},e.getArticleDetails=function(t){return r.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return r.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return r.default.get("article/lst/"+t,e,{noAuth:!0})},e.getCity=function(){return r.default.get("system/city/lst",{},{noAuth:!0})},e.getCityCloundShop=function(t){return r.default.get("city/get_cloud_shop",t)},e.getCityList=function(t){return r.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return r.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCoupons=function(t){return r.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return r.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return r.default.get("common/home",{},{noAuth:!0})},e.getLiveList=function(t,e){return r.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return r.default.get("wechat/get_logo",{},{noAuth:!0})},e.getPageDiy=function(t){return r.default.get("micro",t,{noAuth:!0})},e.getProductSpuAPI=function(t,e){return r.default.get("product/spu/cloud_merchant/".concat(t),e,{noAuth:!0})},e.getShopCoupons=function(t){return r.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return r.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return r.default.get("coupon/list",t)},e.get_cloud_shop=function(t){return r.default.get("city/get_cloud_shop?street_code=".concat(t),{},{noAuth:!0})},e.loginMobile=function(t){return r.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return r.default.get("logout")},e.modifyPassword=function(t){return r.default.post("user/change/password",t)},e.modifyPhone=function(t){return r.default.post("user/change/phone",t)},e.phoneLogin=function(t){return r.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return r.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return r.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return r.default.get("pink",{},{noAuth:!0})},e.post_product_import=function(t){return r.default.post("micro/product_import",{id:t},{noAuth:!0})},e.registerVerify=function(t,e,n,o){return r.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:n,code:o},{noAuth:!0})},e.seachBarCodeAPI=function(t){return r.default.get("micro/seach_bar_code",t)},e.setCouponReceive=function(t){return r.default.post("coupon/receive/"+t)},e.setFormId=function(t){return r.default.post("wechat/set_form_id",{formId:t})},e.switchH5Login=function(t){return r.default.post("user/switch",t)},e.verifyCode=function(){return r.default.get("verify_code",{},{noAuth:!0})},e.village=function(t){return r.default.get("v2/system/geo/lst",t,{noAuth:!0})},e.wechatAppAuth=function(t){return r.default.post("auth/app",t,{noAuth:!0})};var r=o(n("095d"))},"995e":function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("c7eb")),i=o(n("1da1")),u=n("7f7e"),a=n("d67f"),c={data:function(){return{winHeight:0,cloudList:[],street_code:"",town:""}},onLoad:function(t){var e=this;uni.getSystemInfo({success:function(t){e.winHeight=t.windowHeight}}),this.street_code=t.street,this.town=t.town,this.getCloundShop()},onShow:function(){},onPullDownRefresh:function(){this.getCloundShop(),uni.stopPullDownRefresh()},methods:{getCloundShop:function(){var t=this;return(0,i.default)((0,r.default)().mark((function e(){var n,o;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.getCityCloundShop)({street_code:t.street_code});case 2:n=e.sent,o=n.data,t.cloudList=o,o.length<1&&(0,a.Toast)("暂无云仓");case 6:case"end":return e.stop()}}),e)})))()}}};e.default=c},"9fa0":function(t,e,n){"use strict";var o=n("d9f2"),r=n.n(o);r.a},bebf:function(t,e,n){"use strict";n.r(e);var o=n("995e"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},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,i.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,r=(0,i.default)({title:t,duration:o,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(r)},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=u,e.formatDate=a,e.getQuarterStartDate=function(){var t=new Date(d,function(){var t=0;s<3&&(t=0);2<s&&s<6&&(t=3);5<s&&s<9&&(t=6);s>8&&(t=9);return t}(),1);return a(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,r="navigateTo";switch(o=n?o+"?"+u(n):o,t){case 1:r="navigateTo";break;case 2:r="redirectTo";break;case 3:r="reLaunch";break;case 4:r="switchTab";break;default:r="navigateTo";break}uni[r]({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,r.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 i=document.createElement("canvas"),u=i.getContext("2d"),a=new Image;return a.onload=function(){i.width=a.width,i.height=a.height,u.drawImage(a,0,0),e(i.toDataURL()),i.height=i.width=0},a.onerror=n,void(a.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,r.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,r.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 a(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),a(t,"yyyy-MM-dd")},e.throttle=function(t,e){var n,o;e=e||200;return function(){for(var r=this,i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];n=u,o||(o=setTimeout((function(){o=null,t.apply(r,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 r=o(n("53ca")),i=o(n("5530"));function u(t){var e,n=[];return Object.keys(t).forEach((function(e){n.push("".concat(e,"=").concat(t[e]))})),e=n.join("&"),e}function a(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 c=new Date,s=c.getMonth(),d=c.getYear();d+=d<2e3?1900:0},d9f2:function(t,e,n){var o=n("20ea");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("4f06").default;r("244e41a4",o,!0,{sourceMap:!1,shadowMode:!1})}}]);