1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-nongKe-food-index"],{"0667":function(t,e,i){"use strict";i.r(e);var a=i("724a"),r=i("6d15");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("b4d6");var n=i("f0c5"),s=Object(n["a"])(r["default"],a["b"],a["c"],!1,null,"0d3b2698",null,!1,a["a"],void 0);e["default"]=s.exports},"22c7":function(t,e,i){"use strict";i.r(e);var a=i("d4e3"),r=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"2bda":function(t,e,i){"use strict";var a=i("fb9b"),r=i.n(a);r.a},"348a":function(t,e,i){var a=i("24fb");e=a(!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/* 文章场景相关 */*[data-v-0d3b2698]{margin:0;padding:0}.serchbtn[data-v-0d3b2698]{width:%?100?%;height:%?50?%;border-radius:%?30?%;text-align:center;line-height:%?50?%;color:#fff;background:linear-gradient(90deg,#f84221,#ff6d20)}.com_name[data-v-0d3b2698]{font-size:%?32?%;white-space:nowrap;\r\n /* 防止文字换行 */overflow:hidden;\r\n /* 超出部分隐藏 */text-overflow:ellipsis;max-width:40vw\r\n /* 使用省略号表示溢出的内容 */\r\n /* 可根据实际情况调整容器宽度 */}.productList .top[data-v-0d3b2698]{padding-top:0;padding-top:%?30?%;background-color:#f0f2f5;position:fixed;z-index:999;width:100%;top:0}.productList .content[data-v-0d3b2698]{padding:%?20?%}.productList .menu_cls[data-v-0d3b2698]{background-color:#fff;border-radius:%?21.03?% %?21.03?% %?21.03?% %?21.03?%;padding:%?20?%}.productList .menu_cls .menu_li[data-v-0d3b2698]{margin-right:%?50?%;width:50vw}.productList .head_tit[data-v-0d3b2698]{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:0 %?20?%}.productList .goods_list[data-v-0d3b2698]{margin-top:%?20?%}.productList .goods_list .goods_card[data-v-0d3b2698]{margin-top:%?20?%;height:auto;background-color:#fff;padding:%?20?%;border-radius:%?20?%;display:flex}.productList .goods_list .goods_card .left[data-v-0d3b2698]{margin-right:%?20?%;width:%?158?%;height:%?158?%;border-radius:%?20?%;overflow:hidden}.productList .goods_list .goods_card .right .head[data-v-0d3b2698]{font-weight:700}.productList .goods_list .goods_card .right .li[data-v-0d3b2698]{display:flex;font-size:%?26.29?%;margin-bottom:%?10?%;align-items:center}.productList .goods_list .goods_card .right .li uni-text[data-v-0d3b2698]{margin:0 %?20?% 0 %?5?%}.productList .address[data-v-0d3b2698]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:200px}.search-right.styleType2 .right-text[data-v-0d3b2698],\r\n.search-right.styleType3 .right-text[data-v-0d3b2698]{color:#282828}.search-right.styleType2 .icon-xiangyou[data-v-0d3b2698],\r\n.search-right.styleType3 .icon-xiangyou[data-v-0d3b2698]{color:#999}.search-right.styleType2 .icon-dingwei[data-v-0d3b2698],\r\n.search-right.styleType3 .icon-dingwei[data-v-0d3b2698]{color:#8a8a8a}.productList .search .back[data-v-0d3b2698]{display:flex;align-items:center;width:%?40?%;height:%?60?%}.productList .search .back .iconfont[data-v-0d3b2698]{color:#fff;font-size:%?36?%}.hot_serch[data-v-0d3b2698]{color:#b3b3b3;display:flex;justify-content:space-around;margin:%?20?% 0;flex-wrap:wrap;padding-top:%?50?%;padding-top:%?100?%}.hot_serch uni-text[data-v-0d3b2698]{margin:%?10?%}.productList .search .input[data-v-0d3b2698]{flex:1;height:%?60?%;background-color:#fff;border-radius:%?50?%;padding:0 %?20?%;box-sizing:border-box}.productList .search.styleType2 .input[data-v-0d3b2698],\r\n.productList .search.styleType3 .input[data-v-0d3b2698]{background:#ededed}.productList .search .input uni-input[data-v-0d3b2698]{flex:1;height:100%;font-size:%?26?%;margin-left:%?10?%}.productList .search .input .placeholder[data-v-0d3b2698]{color:#999}.productList .search .input .iconfont[data-v-0d3b2698]{font-size:%?35?%;color:#555}.productList .search .icon-pailie[data-v-0d3b2698],\r\n.productList .search .icon-tupianpailie[data-v-0d3b2698]{color:#fff;width:%?62?%;font-size:%?40?%;height:%?86?%;line-height:%?86?%}.productList .nav-wrapper[data-v-0d3b2698]{z-index:9;position:fixed;left:0;top:25px;width:100%;margin-top:%?86?%;background-color:#fff}.productList .nav-wrapper.styleType1[data-v-0d3b2698]{background-color:var(--view-theme)}.productList .nav-wrapper .tab-bar[data-v-0d3b2698]{display:flex;align-items:center}.productList .nav-wrapper .tab-bar .tab-item[data-v-0d3b2698]{position:relative;flex:1;display:flex;justify-content:center;align-items:center;padding:%?8?% 0 %?20?%;color:#fff;font-size:%?28?%;font-weight:700}.productList .nav-wrapper .tab-bar .tab-item[data-v-0d3b2698]::after{content:" ";position:absolute;left:50%;bottom:%?18?%;width:%?30?%;height:%?3?%;background:transparent;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.productList .nav-wrapper .tab-bar .tab-item.on[data-v-0d3b2698]::after{background:#fff}.border-picture[data-v-0d3b2698]{position:absolute;top:0;left:0;width:100%;height:100%;background:50%/cover no-repeat}.productList .nav[data-v-0d3b2698]{height:%?86?%;color:#454545;font-size:%?28?%;display:flex;justify-content:space-between;padding:0 %?28?%}.productList .nav .item[data-v-0d3b2698]{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;flex:1}.productList .nav.styleType2 .item[data-v-0d3b2698],\r\n.productList .nav.styleType3 .item[data-v-0d3b2698]{color:#282828}.productList .nav .item.font-colors[data-v-0d3b2698]{font-weight:500;color:#fff}.productList .nav.styleType2 .item.font-colors[data-v-0d3b2698],\r\n.productList .nav.styleType3 .item.font-colors[data-v-0d3b2698]{color:var(--view-theme)}.productList .nav .item .font-line[data-v-0d3b2698]{height:%?4?%;background-color:#fff;margin-top:%?3?%;width:%?28?%;animation:line-data-v-0d3b2698 .3s;-moz-animation:line-data-v-0d3b2698 .3s;\r\n /* Firefox */-webkit-animation:line-data-v-0d3b2698 .3s;\r\n /* Safari 和 Chrome */-o-animation:line-data-v-0d3b2698 .3s\r\n /* Opera */}.productList .nav.styleType2 .item .font-line[data-v-0d3b2698],\r\n.productList .nav.styleType3 .item .font-line[data-v-0d3b2698]{background-color:var(--view-theme)}@-webkit-keyframes line-data-v-0d3b2698{from{width:%?0?%}to{width:%?28?%}}@keyframes line-data-v-0d3b2698{from{width:%?0?%}to{width:%?28?%}}.productList .nav .item uni-image[data-v-0d3b2698]{width:%?15?%;height:%?19?%;margin-left:%?10?%}.store-wrapper[data-v-0d3b2698]{margin-top:%?235?%;border-top:1px solid #f6f6f6}.store-wrapper .store-item[data-v-0d3b2698]{margin:%?20?% auto}.store-wrapper .store-item .head[data-v-0d3b2698]{display:flex;align-items:center;justify-content:center;color:#fff}.store-wrapper .store-item .head .zhezhao[data-v-0d3b2698]{position:absolute;width:95%;height:150px;border-radius:%?20?%;z-index:0;opacity:.5;background-color:#999}.store-wrapper .store-item .head .bgc_img[data-v-0d3b2698]{position:absolute;width:95%;height:150px;background-size:cover;border-radius:%?20?%;z-index:0}.store-wrapper .store-item .head .zhezhao1[data-v-0d3b2698]{width:100%;height:150px;border-radius:%?20?%;z-index:1}.store-wrapper .store-item .head .zhezhao1 .title[data-v-0d3b2698]{display:flex;height:50px;align-items:center;margin-left:20px;z-index:1}.store-wrapper .store-item .head .zhezhao1 .title span[data-v-0d3b2698]{background-color:#f84221;color:#fff;font-size:12px;padding:3px;border-radius:5px;margin-left:5px}.store-wrapper .store-item .head .zhezhao1 .coent[data-v-0d3b2698]{display:flex;margin-left:20px}.store-wrapper .store-item .head .zhezhao1 .coent .avater[data-v-0d3b2698]{width:60px;height:80px}.store-wrapper .store-item .head .zhezhao1 .coent .avater uni-image[data-v-0d3b2698]{width:60px;height:80px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_one[data-v-0d3b2698]{display:flex;height:30px;line-height:30px;padding-left:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_one uni-image[data-v-0d3b2698]{width:20px;height:20px;margin-right:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_one .text_one_r[data-v-0d3b2698]{margin-left:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_two[data-v-0d3b2698]{width:270px;height:30px;line-height:30px;padding-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_two uni-image[data-v-0d3b2698]{width:20px;height:20px;margin-right:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_three[data-v-0d3b2698]{width:270px;height:30px;line-height:30px;padding-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_three uni-image[data-v-0d3b2698]{width:20px;height:20px;margin-right:10px}.store-wrapper .store-item .pro-box[data-v-0d3b2698]{white-space:nowrap;display:flex;align-items:center;padding:%?20?% %?20?% %?30?%}.store-wrapper .store-item .pro-box .pro-item[data-v-0d3b2698]{display:inline-block;width:%?218?%;margin-right:%?14?%}.store-wrapper .store-item .pro-box .pro-item .picture[data-v-0d3b2698],\r\n.store-wrapper .store-item .pro-box .pro-item[data-v-0d3b2698] uni-image,\r\n.store-wrapper .store-item .pro-box .pro-item uni-image[data-v-0d3b2698]{width:100%;height:%?214?%;border-radius:%?8?%;position:relative}.store-wrapper .store-item .pro-box .pro-item .price[data-v-0d3b2698]{margin-top:%?5?%;font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.store-wrapper .store-item .pro-box .pro-item .price uni-text[data-v-0d3b2698]{font-size:%?28?%}.store-wrapper .store-item .pro-box .pro-item[data-v-0d3b2698]:last-child{margin-right:0}.store-wrapper .store-item .pro-box.styleType3[data-v-0d3b2698]{padding:%?20?%}.store-wrapper .store-item .pro-box.styleType3 .pro-item[data-v-0d3b2698]{display:inline-block;background-color:#fff;border-radius:%?16?%;text-align:center;padding:%?10?% 0 %?20?%}.store-wrapper .store-item .pro-box.styleType3 .pro-item .picture[data-v-0d3b2698],\r\n.store-wrapper .store-item .pro-box.styleType3 .pro-item[data-v-0d3b2698] uni-image,\r\n.store-wrapper .store-item .pro-box.styleType3 .pro-item uni-image[data-v-0d3b2698]{width:%?194?%;height:%?194?%;text-align:center;border-radius:%?8?%;position:relative;margin:0 auto}.mer-item2[data-v-0d3b2698]{padding:%?20?%;background:#fff;margin-bottom:%?20?%;border-radius:%?16?%}.mer-item2 .mer-shop-count[data-v-0d3b2698]{display:flex}.mer-item2 .mer-shop-count .mer-avatar[data-v-0d3b2698]{width:%?100?%;height:%?100?%}.mer-item2 .mer-shop-count .mer-top[data-v-0d3b2698]{color:#282828}.mer-item2 .mer-shop-count .mer-shop-right[data-v-0d3b2698]{margin-left:%?20?%}.mer-item2 .mer-shop-count .mer-shop-right .mer-btn[data-v-0d3b2698]{color:#666}.mer-item2 .mer-shop-count .pro-box[data-v-0d3b2698]{white-space:nowrap;display:flex;align-items:center;margin-top:%?20?%}.mer-item2 .mer-shop-count .pro-box .pro-item[data-v-0d3b2698]{display:inline-block;width:%?170?%;margin-right:%?20?%}.mer-item2 .mer-shop-count .pro-box .pro-item .picture[data-v-0d3b2698],\r\n.mer-item2 .mer-shop-count .pro-box .pro-item[data-v-0d3b2698] uni-image,\r\n.mer-item2 .mer-shop-count .pro-box .pro-item uni-image[data-v-0d3b2698],\r\n.mer-item2 .mer-shop-count .pro-box .pro-item[data-v-0d3b2698] .easy-loadimage{width:100%;height:%?170?%;border-radius:%?8?%;position:relative}.mer-item2 .mer-shop-count .pro-box .pro-item .price[data-v-0d3b2698]{margin-top:%?5?%;font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.mer-item2 .mer-shop-count .pro-box .pro-item .price uni-text[data-v-0d3b2698]{font-size:%?28?%}.mer-item2 .mer-shop-count .pro-box .pro-item[data-v-0d3b2698]:last-child{margin-right:0}.no-shop[data-v-0d3b2698]{background-color:#fff}.no-shop .pictrue[data-v-0d3b2698]{display:flex;flex-direction:column;align-items:center;color:#999}.no-shop .pictrue uni-image[data-v-0d3b2698]{width:%?414?%;height:%?380?%}.img_cls[data-v-0d3b2698]{position:absolute;top:50%;right:%?5?%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}',""]),t.exports=e},"4e70":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("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)})},r=[]},"65c2":function(t,e,i){var a=i("24fb");e=a(!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},"6d15":function(t,e,i){"use strict";i.r(e);var a=i("e85b"),r=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"712d":function(t,e,i){"use strict";i.r(e);var a=i("84e5"),r=i("22c7");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("2bda");var n=i("f0c5"),s=Object(n["a"])(r["default"],a["b"],a["c"],!1,null,"1428a719",null,!1,a["a"],void 0);e["default"]=s.exports},"724a":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={uSearch:i("c280").default,"u-Image":i("cea2").default,uPopup:i("45c0").default},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticStyle:{"background-color":"#F0F2F5","min-height":"100vh"}},[a("v-uni-view",{staticStyle:{height:"var(--status-bar-height)"}}),a("v-uni-view",{staticClass:"productList",style:t.viewColor},[a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticStyle:{height:"10px"}}),a("v-uni-view",{staticClass:"head_tit"},[a("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[a("v-uni-view",{staticClass:"back",staticStyle:{"margin-right":"17rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.backjJump()}}},[a("i",{staticClass:"iconfont icon-xiangzuo",staticStyle:{"font-size":"40rpx","text-align":"left"}})]),a("v-uni-view",{staticStyle:{"font-size":"40rpx"}},[t._v("当地美食")])],1),a("v-uni-view",{staticStyle:{position:"relative"}},[a("u-search",{staticClass:"serch_cls",attrs:{borderColor:"#FF6D20",bgColor:"white",showAction:!1,placeholder:"搜索店铺名称"},model:{value:t.sotreParam.keyword,callback:function(e){t.$set(t.sotreParam,"keyword",e)},expression:"sotreParam.keyword"}}),a("v-uni-view",{staticClass:"serchbtn img_cls",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.searchSubmit.apply(void 0,arguments)}}},[t._v("搜索")])],1)],1)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"hot_serch"}),a("v-uni-view",{staticClass:"goods_list"},t._l(t.storeList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"goods_card",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goStore(e.mer_id)}}},[a("v-uni-view",{staticClass:"left"},[a("u--image",{attrs:{showLoading:!0,src:e.mer_avatar,width:"157.71rpx",height:"157.71rpx"}})],1),a("v-uni-view",{staticClass:"right"},[a("v-uni-view",{staticClass:"li head",staticStyle:{display:"flex"}},[a("v-uni-text",{staticClass:"com_name"},[t._v(t._s(e.mer_name))]),a("v-uni-text",{staticStyle:{"font-weight":"normal","font-size":"19.28rpx",color:"red",padding:"0 10rpx","border-radius":"10rpx",border:"1px solid red"}},[t._v(t._s(e.type_name))])],1),a("v-uni-view",{staticClass:"li"},[t._l([1,1,,1,1,1],(function(t,e){return a("u--image",{key:e,attrs:{showLoading:!0,src:"/static/images/GXSC/PF.png",width:"20.85rpx",height:"19.85rpx"}})})),a("v-uni-text",{staticStyle:{"margin-left":"20rpx",color:"#FF6D20"}},[t._v("5.0")]),a("v-uni-text",[t._v("月销2000+")])],2),a("v-uni-view",{staticClass:"li",staticStyle:{"align-items":"center"}},[a("u--image",{attrs:{showLoading:!0,src:"/static/images/GXSC/DH.png",width:"33.85rpx",height:"33.85rpx"}}),a("v-uni-text",[t._v(t._s(e.service_phone))])],1),a("v-uni-view",{staticClass:"li",staticStyle:{"align-items":"center"}},[a("u--image",{attrs:{showLoading:!0,src:"/static/images/GXSC/SJ.png",width:"33.85rpx",height:"33.85rpx"}}),a("v-uni-text",[t._v(t._s(e.mer_take_time[0])+"-"+t._s(e.mer_take_time[1]))])],1),a("v-uni-view",{staticClass:"li",staticStyle:{"align-items":"center"}},[a("u--image",{attrs:{showLoading:!0,src:"/static/images/GXSC/DW.png",width:"33.85rpx",height:"33.85rpx"}}),a("v-uni-text",{staticClass:"address"},[t._v(t._s(e.mer_address))])],1)],1)],1)})),1)],1)],1),t.storeList.length||t.loading||t.loadingIcon?t._e():a("v-uni-view",{staticClass:"no-shop"},[a("v-uni-view",{staticClass:"pictrue",staticStyle:{margin:"0 auto","background-color":"#F0F2F5"}},[a("v-uni-image",{attrs:{src:i("c4f0")}}),a("v-uni-text",[t._v("暂无店铺,快去搜索其他店铺吧")])],1)],1),a("u-popup",{staticClass:"pop",attrs:{show:t.show,mode:"center",bgColor:"transparent"},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[a("v-uni-image",{attrs:{src:t.image}}),a("v-uni-image",{staticClass:"guanbi",attrs:{src:i("8e53")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)],1)},o=[]},"84e5":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={uTransition:i("1488").default,uIcon:i("f8c8").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("u-transition",{attrs:{mode:"fade",show:t.show,duration:t.fade?1e3:0}},[i("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():i("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?i("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",[i("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})])],2):t._e(),t.showError&&t.isError&&!t.loading?i("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",[i("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})])],2):t._e()],1)],1)},o=[]},"8e53":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAydJREFUWEfNmEmoj2EUh59fYUUUkVCmWJgTNohIxlhyS2zIwjysiIgVublW2EghS7PYGK6FKeNNRCiSqQwrU0dH56/v/u83XVfufZffd973fb7znvN7z/lEM4aZdQdmAJOBoUBfoFMs8Rl4AdwHLgJnJb0tu7zKGJrZBGBDQLQrMwf44TDATklXiubkgphZf6AOmJVYqAE4D9wAngCf4l1nYCAwBpgGDEnMOQ2skPQsCygTxMxqgH1Ax/i6I0CtpDtFX+fvzWwksBZYALgXvwDLJPk6TUYqiJltBraG9TVgqaR7ZQCqbcxsOLAfGBfvtkjaVm3XBKQKwo9lvaTvfwNRmWNm7YFdwMosmEYgcRyHw3iTpB0tAUjxzkZgezyfL+lYxeYPSATm3YiJOkmr/iVEwjt7wjMeMyMqAZwEORXZ4TExoaXHkfURcUyezh4zpyXNdtvfIGY2EbgU2TH6bwOzrAcjgG9FNk10namAnADmAIckLcr5mvHAQ0kf8jY1s57xxScl/UyzNbNDwELghKS5Ctl+FXSjsnTCzBzCXfoSmCTpacYGA0LiewPzJB3PsHOduR2n0MtB3AMHgQZJfn+kDjPrFhN9g1QYM0tCuM1YSa9z1nwQCrzYQRzCYVw1XQkzR8pGfzyT9y4HpBZY7Y5wkJvAaKBG0tGigEvbMOb4jZvprYzjcfl3yb/pIO+BruFGv8gKRwqMz2kWRGSrX5DXgfcO8hXoAAyW9LiQIgyqYPxpbhBneGQQ8Aj41qZA3gGeER7hrXo0bSZYK+m7W9K6/5y+u4E1lfQtK2g9PM3ysiMlm0bmXQdm1kjQfAOPeC/n8iR+KnChKDuqYMZLulog8V509Sl96ZmZ207xdkHSm4Ij9OB3OUiFCA1pfOnFQ28XLrdSGeC1T31rFUb1LhdNCqPwSj/AS0Xv3P5XqThc0nPfv+0Vz5XgaxPtRAZM6zRYCZj5wIF/3HIuSfYySQkoasI9gPcWNOEfY8EuBU348kpgpmlQc35LrAdmhgKXKVv8t8SZ+C3h6Zo7SoEkjsuvg+lexQPDUn7UeCr6/eFl47kiBU6S/QL1Id6VF0xZ1wAAAABJRU5ErkJggg=="},"9db9":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(i("712d")),o=a(i("f4d6")),n={name:"u--image",mixins:[uni.$u.mpMixin,o.default,uni.$u.mixin],components:{uvImage:r.default}};e.default=n},b4d6:function(t,e,i){"use strict";var a=i("dce4"),r=i.n(a);r.a},bb20:function(t,e,i){"use strict";i("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)}))},i("d3b7"),i("99af")},c4f0:function(t,e,i){t.exports=i.p+"static/img/noCart.67573212.png"},cea2:function(t,e,i){"use strict";i.r(e);var a=i("4e70"),r=i("d344");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var n=i("f0c5"),s=Object(n["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=s.exports},d344:function(t,e,i){"use strict";i.r(e);var a=i("9db9"),r=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},d4e3:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(i("f4d6")),o={name:"u-image",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.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=o},dce4:function(t,e,i){var a=i("348a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=i("4f06").default;r("29b01932",a,!0,{sourceMap:!1,shadowMode:!1})},e85b:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4de4"),i("d3b7"),i("99af"),i("d81d"),i("159b"),i("14d9"),i("a9e3"),i("acd8"),i("d401"),i("25f0"),i("fb6a");var r=a(i("5530")),o=i("a126"),n=i("26cb"),s=(i("bb20"),i("5315")),d=a(i("3516")),c=(getApp(),{components:{easyLoadimage:d.default},data:function(){return{titName:"坝坝宴",price:0,stock:0,nows:!1,loading:!1,loadingIcon:!0,loadTitle:"加载更多",title:"",hotPage:1,hotLimit:10,hotScroll:!1,rightBox:!1,brandList:[],downKey:0,downStatus:!1,menuList:[],downMenu:[{title:"默认",key:0,order:""},{title:"销量",key:1,order:"sales"},{title:"好评",key:2,order:"rate"},{title:"距离",key:3,order:"location"}],firstKey:0,storeList:[],sotreParam:{keyword:"",page:1,limit:10,order:"",category_id:"",type_id:"",street_id:"",type_code:""},storeKey:0,storeScroll:!0,mer_id:"",sortId:"",price_on:"",price_off:"",detaile_address:"",recommend_address:"",location_address:"",latitude:"",longitude:"",count:0,storeTypeArr:[],merList:[],product_type:0,show:!1,image:"",credit_buy:""}},onLoad:function(t){this.sotreParam.type_code=t.type_code,this.storeList=[],1==this.mer_location&&this.selfLocation(),this.storeMerchantList(),this.getClassfication(),this.getStoreType()},computed:(0,r.default)({downMenus:function(){var t=this;return this.downMenu.filter((function(e){return t.mer_location?e:e.key<3}))}},(0,s.configMap)({margin_ico_switch:0,margin_ico:"",mer_location:0,store_street_theme:1,hide_mer_status:""},(0,n.mapGetters)(["viewColor"]))),methods:{navGo:function(t){uni.navigateTo({url:"/pages/nongKe/supply_chain/supplierA?type_id=10&?merchant_category_id=".concat(t)})},go_details:function(t,e){98==t&&uni.navigateTo({url:"/pages/admin/goods_details/index?product_id=".concat(e,"&product_type=").concat(t)}),0==t&&uni.navigateTo({url:"/pages/goods_details/index?id=".concat(e)})},getClassfication:function(){var t=this,e=[];(0,o.merClassifly)().then((function(i){e=i.data.map((function(t){return(0,r.default)((0,r.default)({},t),{},{check:!1})})),t.sotreParam.category_id.length>0&&t.sotreParam.category_id.forEach((function(t,i){e.forEach((function(e){t==e.merchant_category_id&&(e.check=!0)}))})),t.merList=e})).catch((function(e){t.$util.Tips({title:e})}))},getStoreType:function(){var t=this,e=[];(0,o.getStoreTypeApi)().then((function(i){i.data.forEach((function(i){i.mer_type_id==t.sotreParam.type_id&&e.push((0,r.default)((0,r.default)({},i),{},{check:!0}))})),t.storeTypeArr=e})).catch((function(e){t.$util.Tips({title:e})}))},showMaoLocation:function(t,e){if(!t||!e)return this.$util.Tips({title:"请设置允许商城访问您的位置!"});!0===this.$wechat.isWeixin()?this.$wechat.seeLocation({latitude:Number(t),longitude:Number(e),name:"当前位置",address:this.location_address}).then((function(t){})):uni.openLocation({latitude:parseFloat(t),longitude:parseFloat(e),name:"当前位置",address:this.location_address,scale:8,success:function(t){}})},showStoreLocation:function(t){if(!t.lat||!t.long)return this.$util.Tips({title:"请设置允许商城访问您的位置!"});!0===this.$wechat.isWeixin()?this.$wechat.seeLocation({latitude:Number(t.lat),longitude:Number(t.long),name:t.mer_name,address:t.mer_address?t.mer_address:""}).then((function(t){})):uni.openLocation({latitude:parseFloat(t.lat),longitude:parseFloat(t.long),scale:8,name:t.mer_name,address:t.mer_address?t.mer_address:"",success:function(t){}})},selfLocation:function(){var t=this;if(!uni.getStorageSync("RejectTarget")){uni.getLocation({type:"gcj02",success:function(e){var i,a;i=e.latitude.toString(),a=e.longitude.toString(),t.latitude=e.latitude,t.longitude=e.longitude,(0,o.getGeocoder)({lat:i,long:a}).then((function(e){t.detaile_address=e.data.address,t.location_address=e.data.address,t.recommend_address=e.data.address.length>4?e.data.address.slice(0,4)+"...":e.data.address})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},fail:function(t){uni.showToast({title:t,icon:"none",duration:1e3})}})}},storeMerchantList:function(){var t=this;if(!this.loading){this.loading=!0;var e={keyword:this.sotreParam.keyword,page:this.sotreParam.page,limit:10,type_code:this.sotreParam.type_code};this.latitude&&(e.location=this.latitude+","+this.longitude),(0,o.storeMerchantList)(e).then((function(e){t.count=e.data.count,t.storeList=t.storeList.concat(e.data.list),t.loading=!1,t.loadingIcon=!1}))}},goStore:function(t){12==this.sotreParam.type_id?uni.navigateTo({url:"/pages/nongKe/supply_chain/merchant?id=".concat(t)}):1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t,"&type=7")})},searchSubmit:function(){this.$set(this.sotreParam,"keyword",this.sotreParam.keyword),this.set_where(this.firstKey)},bindRight:function(){this.sotreParam.page=1,this.rightBox=!0},confirm:function(t){var e=[],i=[];0==t.storeTypeArr.length||(t.storeTypeArr.forEach((function(t){e.push(t.mer_type_id)})),this.sotreParam.type_id=e.toString()),0==t.merList.length?this.sotreParam.category_id="":(t.merList.forEach((function(t){i.push(t.merchant_category_id)})),this.sotreParam.category_id=i.toString()),this.rightBox=t.status,this.loadend=!1,this.$set(this.sotreParam,"page",1),this.storeList=[],this.storeMerchantList()},close:function(){this.rightBox=!1,this.show=!1},set_where:function(t){this.loading||(this.storeList=[],this.firstKey=t,this.sotreParam.page=1,this.sotreParam.order=this.downMenu[t].order,this.storeMerchantList())},backjJump:function(){uni.navigateBack({delta:1})},onPageScroll:function(t){uni.$emit("scroll")},qctail:function(t){""!=t.mer_certificate&&(this.show=!0,this.image=t.mer_certificate[0])}},onPullDownRefresh:function(){uni.stopPullDownRefresh()},onReachBottom:function(){if(this.count===this.storeList.length){if(0===this.count)return;uni.showToast({title:"已加载全部",icon:"none",duration:1e3})}else this.sotreParam.page+=1,this.storeMerchantList()}});e.default=c},f4d6:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var a={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=a},fb9b:function(t,e,i){var a=i("65c2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=i("4f06").default;r("19348162",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |