shop-php/public/static/js/pages-nongKe-cloud_entrepot-index~pages-nongKe-cloud_entrepot-indexa~pages-nongKe-food-index~pages-n~5f4141fe.6edde61d.js
2024-02-27 17:24:41 +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~pages-nongKe-cloud_entrepot-indexa~pages-nongKe-food-index~pages-n~5f4141fe"],{"0ce2":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return r}));var r={uIcon:n("f8c8").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-search",style:[{margin:t.margin},t.$u.addStyle(t.customStyle)],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-search__content",style:{backgroundColor:t.bgColor,borderRadius:"round"==t.shape?"100px":"4px",borderColor:t.borderColor}},[t.$slots.label||null!==t.label?[t._t("label",[n("v-uni-text",{staticClass:"u-search__content__label"},[t._v(t._s(t.label))])])]:t._e(),n("v-uni-view",{staticClass:"u-search__content__icon"},[n("u-icon",{attrs:{size:t.searchIconSize,name:t.searchIcon,color:t.searchIconColor?t.searchIconColor:t.color},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickIcon.apply(void 0,arguments)}}})],1),n("v-uni-input",{staticClass:"u-search__content__input",style:[{textAlign:t.inputAlign,color:t.color,backgroundColor:t.bgColor,height:t.$u.addUnit(t.height)},t.inputStyle],attrs:{"confirm-type":"search",value:t.value,disabled:t.disabled,focus:t.focus,maxlength:t.maxlength,"placeholder-class":"u-search__content__input--placeholder",placeholder:t.placeholder,"placeholder-style":"color: "+t.placeholderColor,type:"text"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.blur.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputChange.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.getFocus.apply(void 0,arguments)}}}),t.keyword&&t.clearabled&&t.focused?n("v-uni-view",{staticClass:"u-search__content__icon u-search__content__close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clear.apply(void 0,arguments)}}},[n("u-icon",{attrs:{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"}})],1):t._e()],2),n("v-uni-text",{staticClass:"u-search__action",class:[(t.showActionBtn||t.show)&&"u-search__action--active"],style:[t.actionStyle],on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.custom.apply(void 0,arguments)}}},[t._v(t._s(t.actionText))])],1)},u=[]},"1bf7":function(t,e,n){var r=n("eda3");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("4f06").default;o("5ba88043",r,!0,{sourceMap:!1,shadowMode:!1})},"257f":function(t,e,n){"use strict";var r=n("1bf7"),o=n.n(r);o.a},2875:function(t,e,n){"use strict";n.r(e);var r=n("5bb5"),o=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);e["default"]=o.a},"2cbf":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("ac1f"),n("841c"),n("a9e3");var r={props:{shape:{type:String,default:uni.$u.props.search.shape},bgColor:{type:String,default:uni.$u.props.search.bgColor},placeholder:{type:String,default:uni.$u.props.search.placeholder},clearabled:{type:Boolean,default:uni.$u.props.search.clearabled},focus:{type:Boolean,default:uni.$u.props.search.focus},showAction:{type:Boolean,default:uni.$u.props.search.showAction},actionStyle:{type:Object,default:uni.$u.props.search.actionStyle},actionText:{type:String,default:uni.$u.props.search.actionText},inputAlign:{type:String,default:uni.$u.props.search.inputAlign},inputStyle:{type:Object,default:uni.$u.props.search.inputStyle},disabled:{type:Boolean,default:uni.$u.props.search.disabled},borderColor:{type:String,default:uni.$u.props.search.borderColor},searchIconColor:{type:String,default:uni.$u.props.search.searchIconColor},color:{type:String,default:uni.$u.props.search.color},placeholderColor:{type:String,default:uni.$u.props.search.placeholderColor},searchIcon:{type:String,default:uni.$u.props.search.searchIcon},searchIconSize:{type:[Number,String],default:uni.$u.props.search.searchIconSize},margin:{type:String,default:uni.$u.props.search.margin},animation:{type:Boolean,default:uni.$u.props.search.animation},value:{type:String,default:uni.$u.props.search.value},maxlength:{type:[String,Number],default:uni.$u.props.search.maxlength},height:{type:[String,Number],default:uni.$u.props.search.height},label:{type:[String,Number,null],default:uni.$u.props.search.label}}};e.default=r},"5bb5":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("2cbf")),u={name:"u-search",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],data:function(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword:function(t){this.$emit("input",t),this.$emit("change",t)},value:{immediate:!0,handler:function(t){this.keyword=t}}},computed:{showActionBtn:function(){return!this.animation&&this.showAction}},methods:{inputChange:function(t){this.keyword=t.detail.value},clear:function(){var t=this;this.keyword="",this.$nextTick((function(){t.$emit("clear")}))},search:function(t){this.$emit("search",t.detail.value);try{uni.hideKeyboard()}catch(t){}},custom:function(){this.$emit("custom",this.keyword);try{uni.hideKeyboard()}catch(t){}},getFocus:function(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur:function(){var t=this;setTimeout((function(){t.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler:function(){this.disabled&&this.$emit("click")},clickIcon:function(){this.$emit("clickIcon")}}};e.default=u},a126:function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addCartApi=function(t){return u.default.post("v2/micropay/addCart",t)},e.agreeiness=function(t){return u.default.get("business/agree",t,{noAuth:!0})},e.arrivalNoticeApi=function(t){return u.default.post("store/product/increase_take",t)},e.bagExplain=function(){return u.default.get("store/product/bag/explain")},e.bagRecommend=function(){return u.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return u.default.post("user/relation/create",t)},e.collectAll=function(t){return u.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return u.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return u.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return u.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return u.default.post("intention/create",t)},e.createtApi=function(t){return u.default.post("v2/micropay/create",t)},e.discountsCartAdd=function(t){return u.default.post("user/cart/batchCreate",t)},e.express=function(t){return u.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return u.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return u.default.get("intention/lst",t)},e.getBrandlist=function(t){return u.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return u.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return u.default.get("captcha")},e.getCategoryList=function(){return u.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return u.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return u.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return u.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return u.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return u.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return u.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return u.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getLiveList=function(t){return u.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return u.default.get("product/spu/recommend",{page:void 0===e.page?1:e.page,limit:void 0===e.limit?10:e.limit,mer_id:t||""},{noAuth:!0})},e.getMerchantLst=function(t){return u.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getPresellProductDetail=function(t){return u.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return u.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return u.default.get("store/product/qrcode/"+t,e)},e.getProductDetail=function(t,e){return u.default.get("store/product/detail/"+t,e,{noAuth:!0})},e.getProductHot=function(t,e){return u.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return u.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return u.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return u.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return u.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t){return u.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getStoreCategory=function(t,e){return u.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return u.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return u.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return u.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreTypeApi=function(){return u.default.get("intention/type",{sift_store:0},{noAuth:!0})},e.getVillageInfo=function(t){return a.default.get("shop_call/getVillageCompany",t,{noAuth:!0})},e.merClassifly=function(){return u.default.get("intention/cate",{},{noAuth:!0})},e.merchantLicenseIdentify=function(t){return u.default.post("merchant_license_identify",t,{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,o.default)({},e),e.brand_id=e.brand_id.toString());return u.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return u.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.microSeachBarCode=function(t){return u.default.get("micro/seach_bar_code",t)},e.personalStore=function(t){return u.default.post("intention/personal_store",t)},e.postCartAdd=function(t){return u.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return u.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return u.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return u.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return u.default.post("store/certificate/".concat(t.merId),t)},e.storeListApi=function(t){return u.default.get("store_list",t,{noAuth:!0})},e.storeMerchantList=function(t){return u.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return u.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.supAgoodsApi=function(t){return u.default.get("store/merchant/lst",t)},e.supMenuApi=function(t){return u.default.get("intention/v2/cate",t)},e.unfollowStore=function(t){return u.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return u.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return u.default.post("user/relation/batch/delete",t)},e.verify=function(t){return u.default.post("auth/verify",t)},e.vicinityStoreApi=function(t){return u.default.get("region/".concat(t,"/merchant"))},n("d401"),n("d3b7"),n("25f0"),n("99af");var o=r(n("5530")),u=r(n("6860")),a=r(n("b923"))},c280:function(t,e,n){"use strict";n.r(e);var r=n("0ce2"),o=n("2875");for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("257f");var a=n("f0c5"),i=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"72bdd996",null,!1,r["a"],void 0);e["default"]=i.exports},eda3:function(t,e,n){var r=n("24fb");e=r(!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-72bdd996], uni-scroll-view[data-v-72bdd996], uni-swiper-item[data-v-72bdd996]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[type="search"][data-v-72bdd996]::-webkit-search-decoration{display:none}.u-search[data-v-72bdd996]{display:flex;flex-direction:row;align-items:center;flex:1}.u-search__content[data-v-72bdd996]{display:flex;flex-direction:row;align-items:center;padding:0 10px;flex:1;justify-content:space-between;border-width:1px;border-color:transparent;border-style:solid;overflow:hidden}.u-search__content__icon[data-v-72bdd996]{display:flex;flex-direction:row;align-items:center}.u-search__content__label[data-v-72bdd996]{color:#303133;font-size:14px;margin:0 4px}.u-search__content__close[data-v-72bdd996]{width:20px;height:20px;border-top-left-radius:100px;border-top-right-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;-webkit-transform:scale(.82);transform:scale(.82)}.u-search__content__input[data-v-72bdd996]{flex:1;font-size:14px;line-height:1;margin:0 5px;color:#303133}.u-search__content__input--placeholder[data-v-72bdd996]{color:#909193}.u-search__action[data-v-72bdd996]{font-size:14px;color:#303133;width:0;overflow:hidden;transition-property:width;transition-duration:.3s;white-space:nowrap;text-align:center}.u-search__action--active[data-v-72bdd996]{width:40px;margin-left:5px}',""]),t.exports=e}}]);