shop-php/public/static/js/pages-newActivity-towPrice-towPrice.7e52f259.js
2024-02-27 17:24:41 +08:00

1 line
36 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-newActivity-towPrice-towPrice"],{"043a":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/* 文章场景相关 */.pop[data-v-20484742]{background-color:#fff;border-radius:%?31.54?% %?31.54?% %?0?% %?0?%;overflow:hidden;position:relative}.pop .scroll[data-v-20484742]{height:calc(90vh - %?150?%)}.pop .flex_end[data-v-20484742]{align-items:flex-end}.pop .image[data-v-20484742]{height:%?750?%;width:%?750?%;position:relative}.pop .image .current[data-v-20484742]{position:absolute;bottom:%?70?%;left:%?30?%;width:%?67?%;height:%?37?%;background:rgba(51,51,51,.2);border-radius:%?11?% %?11?% %?11?% %?11?%;text-align:center;color:#fff;font-size:%?26?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400}.pop .image .img[data-v-20484742]{width:100%;height:100%;border-radius:%?31.54?% %?31.54?% %?0?% %?0?%;overflow:hidden}.pop .image .close[data-v-20484742]{position:absolute;top:%?30?%;right:%?30?%;width:%?50.82?%;height:%?50.82?%}.pop .image .border[data-v-20484742]{position:absolute;bottom:%?-1?%;left:0;background-color:#fff;height:%?40?%;width:100%;border-radius:%?40?% %?40?% 0 0}.pop .white_card[data-v-20484742]{border-radius:%?31.54?% %?31.54?% %?0?% %?0?%;background-color:#fff;margin:0 %?28?%;padding-bottom:%?30?%;color:#737373;font-size:%?26.29?%}.pop .white_card .price[data-v-20484742]{font-size:%?35?%;font-family:SF Pro Display-Semibold,SF Pro Display;font-weight:600;color:#f84221;padding-right:%?30?%}.pop .white_card .price .pro[data-v-20484742]{font-size:%?49.07?%}.pop .white_card .short_name[data-v-20484742]{font-size:%?33?%;font-family:PingFang SC-Semibold,PingFang SC;font-weight:600;color:#333}.pop .white_card .shop_name[data-v-20484742]{display:flex;background:#fef5f3;padding:0 %?16?%;border-radius:%?26?% %?26?% %?26?% %?26?%;margin-top:%?30?%;margin-bottom:%?20?%;align-items:center}.pop .white_card .shop_name .icon[data-v-20484742]{width:%?31.54?%;height:%?31.54?%;margin-right:%?10?%}.pop .white_card .m_title[data-v-20484742]{font-size:%?30?%;font-family:PingFang SC-Medium,PingFang SC;font-weight:500;color:#333;margin-top:%?31?%;margin-bottom:%?21?%}.pop .white_card .attr[data-v-20484742]{opacity:1;border:%?1?% solid #f84221;color:#333;padding:%?15?% %?30?%;margin-right:%?20?%;height:%?63?%;line-height:%?60?%;border-radius:%?63?%;display:flex;align-items:center;justify-content:center}.pop .white_card .attr_active[data-v-20484742]{background-color:#f84221;color:#fff}.pop .white_card .num[data-v-20484742]{display:flex;justify-content:space-between;align-items:center}.pop .white_card .num .input[data-v-20484742]{display:flex;align-items:center;height:%?48?%}.pop .white_card .num .input .input_item[data-v-20484742]{width:%?44?%;height:%?44?%;text-align:center;line-height:%?40?%;border:%?2?% solid #fff;font-size:%?26?%;color:#333}.pop .white_card .num .input .input_view[data-v-20484742]{width:%?60?%}.pop .white_card .num .input .sub[data-v-20484742]{border:%?2?% solid #fcb9ad;border-radius:%?7?% %?0?% %?0?% %?7?%;background:#fff;font-size:%?26?%;color:#b3b3b3}.pop .white_card .num .input .plus[data-v-20484742]{border:%?2?% solid #fcb9ad;border-radius:%?0?% %?7?% %?7?% %?0?%;background:#fff;font-size:%?26?%;color:#b3b3b3}.pop .button[data-v-20484742]{padding:%?28?%;margin-bottom:%?28?%;background-color:#fff;display:flex;justify-content:space-around;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.pop .button .b_icon[data-v-20484742]{display:flex;flex-direction:column;align-items:center;font-size:%?19?%;font-weight:400;color:#333;position:relative}.pop .button .b_icon uni-image[data-v-20484742]{width:%?50.82?%;height:%?50.82?%}.pop .button .b_icon .badge[data-v-20484742]{position:absolute;top:%?-5?%;right:%?-10?%;color:#fff;min-width:%?28?%;height:%?28?%;text-align:center;line-height:%?24?%;background:#f84221;border-radius:%?16?% %?16?% %?16?% %?16?%;border:%?2?% solid #fff}.pop .button .btn[data-v-20484742]{width:%?575?%;height:%?84?%;background:linear-gradient(270deg,#ff6d20,#f84221);border-radius:%?42?% %?42?% %?42?% %?42?%;display:flex;justify-content:center;align-items:center;font-size:%?30?%;font-family:PingFang SC-Medium,PingFang SC;font-weight:500;color:#fff}',""]),t.exports=e},"07fd":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAA6CAYAAADhu0ooAAAAAXNSR0IArs4c6QAACL9JREFUaEPdW3twVNUZ/76zu8nevdk0hCTkBSQ8kvLSMoxTRh0rpXQQ0NKHOm3VaqkEUQKIKK9gEAxYCCZEJDAolilTS3UcECiiQkVAO04fY1NGNoRXQiAPNiG7994N2Xu+zl3YnZCQvXeze9Pg/S97vvP7fr/zPt93gmDCR0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e0ytHwmJRxOuhFC04JvvoI6LbO3DdVXS34JhmYMY2o9faZpcT4odOAVcFDkdBZ4pCOeq3LIDNBPyZAzGwTXVJSdBaAPpWpCSI6KBTtKwIduRNQrUkEyDtJoDQ/c/s4WUGvjY3GeHDPSaZNKceSZ2NiLPNINBXmLppwxsrsNWr8J0ImNdXxGLrh06JAvuNbiJYc+pWlCE2itdS+7fVECYAyQL4mMOB3S4DPcYJvT6aCpxW9+NnN923TYbLE+x46FYjJGxA1Cv7fwnAFsV2aJmFxksTHNY/9YSu+0hKUvy/pesPqvrrF/2DqqAyj0wPI9AL/fCJHGcWXOuIxw/0ekG3R0NiFZqEQMVAIOqB9kk5gkR+fNnpxL8Z8WdYqAYmy5TNgZcA4Ggj4ObZ0EkGbJnDcf14Z+SLSGhwn22T1F9ZGXu6r09Q2iWaI9+eaLfsMvVhcueW83goDRifi4hTAaCXAVcjfRGw8RPSQbCzN53Yu7f1EfdoV2peL6UD478mwJmxPmAQgIJAHwBnuxISsMFws9zCMGqhQUztiYDUDvcD5w8Q4ITexqAC7+aB/gGM7Rfj4Wis/gcmZkI7NyIRsbZ2GG7jMJYDjCTkI5FjJmDgSHk9x4kgcw4KMrpIBKetwKo7GFQlxkMNIhpNBxru5P8BhTB/0CD9i0AAAAAASUVORK5CYII="},"1c4f":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uniPopup:n("523b").default,uLine:n("e78a").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("uni-popup",{ref:"popupRef",attrs:{type:"bottom"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeShow.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pop"},[i("v-uni-scroll-view",{staticClass:"scroll",attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"image"},[i("v-uni-swiper",{staticClass:"swiper",staticStyle:{width:"100%",height:"100%"},attrs:{current:t.current,autoplay:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeCurrent.apply(void 0,arguments)}}},[t.product.slider_image&&t.product.slider_image.length>0?t._l(t.product.slider_image,(function(t,e){return i("v-uni-swiper-item",{key:e},[i("v-uni-image",{staticClass:"img",attrs:{src:t}})],1)})):i("v-uni-swiper-item",[i("v-uni-image",{staticClass:"img",attrs:{src:t.datas.image||t.defualtImg}})],1)],2),i("v-uni-view",{staticClass:"current"},[t._v(t._s(t.current+1)+"/"+t._s(t.product.slider_image&&t.product.slider_image.length||1))]),i("v-uni-image",{staticClass:"close",attrs:{src:n("07fd")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close()}}}),i("v-uni-view",{staticClass:"border"})],1),i("v-uni-view",{staticClass:"white_card"},[i("v-uni-view",{staticClass:"flex flex_end"},[t.datas.limited_price?[i("v-uni-view",{staticClass:"price"},[t._v("¥"),i("v-uni-text",{staticClass:"pro"},[t._v(t._s(t.leftPrice2)+".")]),t._v(t._s(t.rightPrice2))],1),i("v-uni-view",{staticClass:"price",staticStyle:{"text-decoration":"line-through",color:"#999","font-weight":"400","font-size":"28rpx"}},[t._v("原价: ¥"),i("v-uni-text",[t._v(t._s(t.leftPrice)+".")]),t._v(t._s(t.rightPrice))],1)]:i("v-uni-view",{staticClass:"price"},[t._v("¥"),i("v-uni-text",[t._v(t._s(t.leftPrice)+".")]),t._v(t._s(t.rightPrice))],1)],2),i("v-uni-view",{staticClass:"short_name"},[t._v(t._s(t.datas.store_name))]),i("v-uni-view",{staticClass:"flex"},[i("v-uni-view",{staticClass:"shop_name"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("c28f")}}),i("v-uni-view",[t._v(t._s(t.datas.merchant.mer_name))])],1)],1),i("u-line"),t._l(t.attr,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"m_title"},[t._v(t._s(e.attr_name))]),i("v-uni-view",{key:n+"_1",staticClass:"flex",staticStyle:{"flex-wrap":"wrap"}},t._l(e.attr_value,(function(e,a){return i("v-uni-view",{key:a,staticClass:"attr",class:{attr_active:e.check},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeAttr(n,a)}}},[t._v(t._s(e.attr))])})),1)]})),i("v-uni-view",{staticClass:"m_title num"},[i("v-uni-view",[t._v("购买数量")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-view",{staticClass:"input_item sub",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.subCartNum.apply(void 0,arguments)}}},[t._v("-")]),i("v-uni-input",{staticClass:"input_item input_view",attrs:{type:"number"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputCartNum.apply(void 0,arguments)}},model:{value:t.cart_num,callback:function(e){t.cart_num=e},expression:"cart_num"}}),i("v-uni-view",{staticClass:"input_item plus",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.plusCartNum.apply(void 0,arguments)}}},[t._v("+")])],1)],1),i("v-uni-view",[t._v("商品库存"),i("v-uni-text",{staticStyle:{"margin-left":"20rpx"}},[t._v(t._s(t.sku[t.changeSkuKey]&&t.sku[t.changeSkuKey].stock||t.change.stock))])],1)],2)],1),i("v-uni-view",{staticClass:"button"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.$u.throttle(t.addcart,1500)}}},[t._v(t._s(t.isBuy?"立即购买":"加入购物车"))])],1)],1)],1)],1)},o=[]},"1d20":function(t,e,n){"use strict";var i=n("5741"),a=n.n(i);a.a},5741:function(t,e,n){var i=n("7a0a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("c57c72b2",i,!0,{sourceMap:!1,shadowMode:!1})},"5b22":function(t,e,n){"use strict";n.r(e);var i=n("1c4f"),a=n("6149");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("873e");var r=n("f0c5"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"20484742",null,!1,i["a"],void 0);e["default"]=u.exports},6149:function(t,e,n){"use strict";n.r(e);var i=n("a9f8"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"7a0a":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-page-body[data-v-4932a2c0]{background-color:#fff5dd}body.?%PAGE?%[data-v-4932a2c0]{background-color:#fff5dd}.bg[data-v-4932a2c0]{position:relative;padding-bottom:%?30?%}.bg .bg_img[data-v-4932a2c0]{width:%?750?%;height:%?652?%;position:absolute;top:0;left:0}.bg .bg_back[data-v-4932a2c0]{height:%?34?%;width:%?20?%;position:absolute;top:calc(0px + %?30?%);left:%?30?%}.bg .b_body[data-v-4932a2c0]{width:%?710?%;margin-left:%?21?%;margin-right:%?19?%;height:auto;background-color:#fff;border-radius:0 0 %?60?% %?60?%;padding:%?28?%;padding-top:%?680?%;margin-bottom:%?30?%}.bg .b_body .b_content[data-v-4932a2c0]{width:100%}.bg .b_body .b_content .short_item[data-v-4932a2c0]{padding-bottom:%?30?%;display:flex;justify-content:space-between}.bg .b_body .b_content .short_item .image[data-v-4932a2c0]{height:%?200?%;width:%?200?%;border-radius:%?21.03?% %?21.03?% %?21.03?% %?21.03?%;margin-right:%?20?%;flex-shrink:0}.bg .b_body .b_content .short_item .short_item_right[data-v-4932a2c0]{width:%?430?%;display:flex;flex-direction:column;justify-content:space-between}.bg .b_body .b_content .short_item .short_item_right .r_name[data-v-4932a2c0]{width:100%;height:%?80?%;font-size:%?28?%;line-height:%?40?%;text-overflow:ellipsis;display:-webkit-box;\r\n /* 使用弹性盒子布局 */-webkit-box-orient:vertical;\r\n /* 设置为垂直方向布局 */overflow:hidden;\r\n /* 隐藏超出部分 */-webkit-line-clamp:2\r\n /* 限制显示两行文本 */}.bg .b_body .b_content .short_item .short_item_right .r_name .mer-labels[data-v-4932a2c0]{background-color:#f84221;color:#fff;font-size:%?18?%;padding:%?4?% %?8?%;border-radius:%?5?%;margin-right:%?8?%}.bg .b_body .b_content .short_item .short_item_right .r_type[data-v-4932a2c0]{font-size:%?22.78?%;color:#737373;flex:1;overflow:hidden;display:flex}.bg .b_body .b_content .short_item .short_item_right .r_type uni-view[data-v-4932a2c0]{height:%?39?%;line-height:%?39?%;background:#fef5f3;padding:0 %?16?%;border-radius:%?39?%;text-overflow:ellipsis}.bg .b_body .b_content .short_item .short_item_right .r_btn[data-v-4932a2c0]{display:flex;justify-content:space-between;font-size:%?22.78?%;color:#f84221;align-items:center;background-color:rgba(248,66,33,.1);padding-left:%?15?%;border-radius:0 %?60?% %?60?% 0}.bg .b_body .b_content .short_item .short_item_right .r_btn .qiang[data-v-4932a2c0]{width:%?160?%;height:%?60?%;display:flex;justify-content:center;align-items:center;background-color:#f84221;color:#fff;border-radius:%?60?%;font-weight:700;font-size:%?28?%}.bg .b_body .b_content .short_item .short_item_right .r_btn .no_qiang[data-v-4932a2c0]{background-color:#7f7f7f}.bg .b_body .b_content .short_item .short_item_right .r_street[data-v-4932a2c0]{font-size:%?24?%;height:%?39?%;line-height:%?39?%;color:#7f7f7f;padding-right:%?10?%}',""]),t.exports=e},"7d44":function(t,e,n){"use strict";n.r(e);var i=n("bc75"),a=n("b196");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("1d20");var r=n("f0c5"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"4932a2c0",null,!1,i["a"],void 0);e["default"]=u.exports},"873e":function(t,e,n){"use strict";var i=n("9a47"),a=n.n(i);a.a},"9a47":function(t,e,n){var i=n("043a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("bdcfcbcc",i,!0,{sourceMap:!1,shadowMode:!1})},a126:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addCartApi=function(t){return o.default.post("v2/micropay/addCart",t)},e.agreeiness=function(t){return o.default.get("business/agree",t,{noAuth:!0})},e.arrivalNoticeApi=function(t){return o.default.post("store/product/increase_take",t)},e.bagExplain=function(){return o.default.get("store/product/bag/explain")},e.bagRecommend=function(){return o.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return o.default.post("user/relation/create",t)},e.collectAll=function(t){return o.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return o.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return o.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return o.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return o.default.post("intention/create",t)},e.createtApi=function(t){return o.default.post("v2/micropay/create",t)},e.discountsCartAdd=function(t){return o.default.post("user/cart/batchCreate",t)},e.express=function(t){return o.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return o.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return o.default.get("intention/lst",t)},e.getBrandlist=function(t){return o.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return o.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return o.default.get("captcha")},e.getCategoryList=function(){return o.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return o.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,a.default)({},t),t.brand_id=t.brand_id.toString());return o.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return o.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return o.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return o.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return o.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return o.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getLiveList=function(t){return o.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return o.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 o.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getPresellProductDetail=function(t){return o.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return o.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return o.default.get("store/product/qrcode/"+t,e)},e.getProductDetail=function(t,e){return o.default.get("store/product/detail/"+t,e,{noAuth:!0})},e.getProductHot=function(t,e){return o.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,a.default)({},t),t.brand_id=t.brand_id.toString());return o.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return o.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return o.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return o.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t){return o.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getStoreCategory=function(t,e){return o.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return o.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return o.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return o.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreTypeApi=function(){return o.default.get("intention/type",{sift_store:0},{noAuth:!0})},e.getVillageInfo=function(t){return r.default.get("shop_call/getVillageCompany",t,{noAuth:!0})},e.merClassifly=function(){return o.default.get("intention/cate",{},{noAuth:!0})},e.merchantLicenseIdentify=function(t){return o.default.post("merchant_license_identify",t,{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,a.default)({},e),e.brand_id=e.brand_id.toString());return o.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return o.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.microSeachBarCode=function(t){return o.default.get("micro/seach_bar_code",t)},e.personalStore=function(t){return o.default.post("intention/personal_store",t)},e.postCartAdd=function(t){return o.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return o.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return o.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return o.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return o.default.post("store/certificate/".concat(t.merId),t)},e.storeListApi=function(t){return o.default.get("store_list",t,{noAuth:!0})},e.storeMerchantList=function(t){return o.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return o.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.supAgoodsApi=function(t){return o.default.get("store/merchant/lst",t)},e.supMenuApi=function(t){return o.default.get("intention/v2/cate",t)},e.unfollowStore=function(t){return o.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return o.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return o.default.post("user/relation/batch/delete",t)},e.verify=function(t){return o.default.post("auth/verify",t)},e.vicinityStoreApi=function(t){return o.default.get("region/".concat(t,"/merchant"))},n("d401"),n("d3b7"),n("25f0"),n("99af");var a=i(n("5530")),o=i(n("6860")),r=i(n("b923"))},a9bc:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("7db0"),n("d3b7"),n("b64b");n("ece0");var a=n("f89e"),o=i(n("104c")),r=n("33b4"),u=i(n("5b22")),s=n("95ca"),c=n("b8a1"),d={components:{authorize:o.default,shortPopupActive:u.default},data:function(){return{info:{},userInfo:{},Alist:[],activity:{title:""},address:{townName:"",street_id:""},show:!1,isAuto:!1,isShowAuth:!1,addressList:[],goodsList:[],goodsNum:0,can_buy:0}},onLoad:function(t){this.address={street_id:t.street_id,townName:t.townName}},onShow:function(){this.getUserInfo(),this.loadList(),this.cartFn(),this.loadAddressList()},methods:{changeAddress:function(t){this.address={street_id:this.addressList[t.detail.value].street_code,townName:this.addressList[t.detail.value].street_name},this.loadList()},back:function(){uni.navigateBack()},getUserInfo:function(){var t=this;(0,r.getUserInfo)().then((function(e){t.userInfo=e.data})).catch((function(t){}))},loadList:function(){var t=this,e="";this.$store.state.storage.location.lat&&(e=this.$store.state.storage.location.lat+","+this.$store.state.storage.location.long),(0,s.storeActivityProduct)({street_code:this.address.street_id,activity_id:2,location:e,source:105}).then((function(e){t.can_buy=e.data.can_buy,t.goodsList=e.data.list})).catch((function(t){(0,a.Toast)(t.msg||t.message||t)}))},loadAddressList:function(){var t=this;(0,s.storeActivityDistrict)().then((function(e){t.addressList=e.data,t.addressList.find((function(e){return e.street_code==t.address.street_id}))||(t.address.street_id="")}))},getSkuName:function(t){return Object.keys(t.sku).join("/")||null},clickProduct:function(t){return this.address.townName?this.can_buy?(this.$refs.shortPopupRef.setDatas(t,this.goodsNum),void this.$refs.shortPopupRef.open()):(0,a.Toast)("活动限购一件, 您已经买过了哦~"):(0,a.Toast)("请先选择活动区域")},loadCart:function(){this.cartFn()},cartFn:function(){var t=this;(0,c.getCartCounts)({source:105}).then((function(e){t.goodsNum=e.data[0].count}))},onLoadFun:function(t){this.getUserInfo(),this.isShowAuth=!1},openAuto:function(){this.isAuto=!0,this.isShowAuth=!0},authColse:function(t){this.isShowAuth=t}},onPullDownRefresh:function(){uni.stopPullDownRefresh()}};e.default=d},a9f8:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5530")),o=i(n("ade3"));n("a9e3"),n("d3b7"),n("159b"),n("b64b"),n("14d9"),n("99af");var r=n("a126"),u=n("f89e"),s=(n("665e"),{name:"shortPopup",props:{source:{type:Number,default:null},isBuy:{type:Boolean,default:!1}},data:function(){var t;return t={isShow:!1,defualtImg:"https://lihai001.oss-cn-chengdu.aliyuncs.com/uploads/20230130/00ebcfdf75684f5494c0193075055d1.png",datas:{image:"",store_name:"",merchant:{mer_name:""},price:""},product:{},attrValue:[],attr:[],changeSkuKey:"",sku:{},sku_key_list:[]},(0,o.default)(t,"changeSkuKey",""),(0,o.default)(t,"change",{stock:""}),(0,o.default)(t,"cart_num",1),(0,o.default)(t,"goodsNum",0),(0,o.default)(t,"current",0),t},mounted:function(){},computed:{leftPrice:function(){var t,e;return(null===(t=this.sku[this.changeSkuKey])||void 0===t||null===(e=t.price)||void 0===e?void 0:e.split(".")[0])||"0"},rightPrice:function(){var t,e;return(null===(t=this.sku[this.changeSkuKey])||void 0===t||null===(e=t.price)||void 0===e?void 0:e.split(".")[1])||"00"},leftPrice2:function(){return this.datas.limited_price.split(".")[0]||"0"},rightPrice2:function(){return this.datas.limited_price.split(".")[1]||"00"}},methods:{setDatas:function(t,e){var n,i=this;(0,r.getProductDetail)(t.product_id).then((function(t){i.attr=t.data.attr,i.attr.length>0?i.attr.forEach((function(t,e){i.changeAttr(e,0)})):i.changeSkuKey=""})),this.goodsNum=e,this.datas=t,this.product=t.product,this.attrValue=null===(n=t.product)||void 0===n?void 0:n.attrValue,this.change=this.attrValue[0],this.cart_num=1,this.sku=t.sku||{},this.sku_key_list=Object.keys(this.sku)},inputCartNum:function(t){var e=this;this.sku?+t.detail.value>this.sku[this.changeSkuKey].stock&&(uni.showToast({icon:"none",title:"不能超出库存哦"}),this.$nextTick((function(){e.cart_num=e.sku[e.changeSkuKey].stock}))):this.change.stock<=this.cart_num&&(uni.showToast({icon:"none",title:"不能超出库存哦"}),this.$nextTick((function(){e.cart_num=e.change.stock})))},subCartNum:function(){if(this.cart_num<=1)return uni.showToast({icon:"none",title:"最少要买一件哦"});this.cart_num--},plusCartNum:function(){return(0,u.Toast)("最多购买一件哦")},changeAttr:function(t,e){this.$set(this.attr[t],"index",this.attr[t].attr_values[e]),this.attr[t].attr_value.forEach((function(t,n){t.check=n==e}));var n=this.getCheckedValue().join(",");this.changeSkuKey=n},getCheckedValue:function(){for(var t=this.attr,e=[],n=0;n<t.length;n++)for(var i=0;i<t[n].attr_values.length;i++)t[n].index===t[n].attr_values[i]&&e.push(t[n].attr_values[i]);return e},addcart:function(){var t=this;if(this.sku[this.changeSkuKey]){if(this.cart_num>this.sku[this.changeSkuKey].stock)return uni.showToast({icon:"none",title:"不能超出库存哦"});var e={cart_num:this.cart_num,is_new:0,product_attr_unique:this.sku[this.changeSkuKey].unique,product_id:this.datas.product_id,product_type:this.datas.product_type,source:this.source,spread_id:""};(0,r.postCartAdd)((0,a.default)({},e)).then((function(e,n){if(t.isBuy)return uni.navigateTo({url:"/pages/users/order_confirm/index?cartId=".concat(e.data.cart_id,"&type_id=").concat(t.datas.merchant.type_id,"&source=").concat(t.source)});uni.showToast({title:"加入成功",duration:1e3}),t.$emit("addCart"),t.close(),t.isBuy&&t.navgoCart()})).catch((function(t){uni.showToast({title:t,icon:"none",duration:1e3})}))}else uni.showToast({icon:"none",title:"商品规格不存在"})},changeCurrent:function(t){this.current=t.detail.current},navgoCart:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t||(t=this.source?"/pages/order_addcart/order_addcart?source="+this.source:"/pages/order_addcart/order_addcart"),uni.navigateTo({url:t})},open:function(){this.$refs.popupRef.open()},close:function(){this.$refs.popupRef.close()},changeShow:function(t){this.isShow=t.show}}});e.default=s},b196:function(t,e,n){"use strict";n.r(e);var i=n("a9bc"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.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 a.default.get("store/product/cloudWarehouse",t)},e.getCartCounts=function(t){return a.default.get("user/cart/count",t)},e.getCartList=function(t){return a.default.get("user/cart/lst",t)},e.getCategoryListLevel=function(t){return a.default.get("category/list_level",t)},e.getCityCloundShop=function(t){return a.default.get("city/get_cloud_shop",t)},e.supMenuApi=function(t){return a.default.get("intention/v2/cate",t)},e.townCloud=function(t){return a.default.get("store/product/town_cloud",t)};var a=i(n("df89"))},bc75:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uModal:n("a322").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"bg"},[n("v-uni-image",{staticClass:"bg_img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/tow_price_bg.webp"}}),n("v-uni-image",{staticClass:"bg_back",attrs:{src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/back.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.back.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"b_body"},[n("v-uni-view",{staticClass:"b_content"},[n("v-uni-view",{staticStyle:{"padding-bottom":"16rpx"}},[n("v-uni-picker",{attrs:{range:t.addressList,"range-key":"street_name"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeAddress.apply(void 0,arguments)}}},[t.address.street_id?[t._v("当前活动区域为"),n("v-uni-text",{staticStyle:{color:"#f84221","margin-left":"5rpx"}},[t._v("[ "+t._s(t.address.townName)+" ] , 点击切换")])]:[n("v-uni-text",{staticStyle:{color:"#f84221","margin-left":"5rpx"}},[t._v("当前区域 [ "+t._s(t.address.townName)+" ] 没有活动 , 点击切换")])]],2)],1),t.goodsList.length>0?t._l(t.goodsList,(function(e,i){return e.product?n("v-uni-view",{staticClass:"short_item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.clickProduct(e)}}},[n("v-uni-image",{staticClass:"image",attrs:{src:e.product.image}}),n("v-uni-view",{staticClass:"short_item_right"},[n("v-uni-view",{staticClass:"r_name"},[e.mer_labels_name?n("v-uni-text",{staticClass:"mer-labels"},[t._v(t._s(e.mer_labels_name))]):t._e(),t._v(t._s(e.product.store_name))],1),n("v-uni-view",{staticStyle:{display:"flex","justify-content":"flex-start","margin-top":"5rpx"}},[e.merchant?n("v-uni-view",{staticClass:"r_street"},[t._v(t._s(e.merchant.street_name))]):t._e(),e.product.store_info||t.getSkuName(e)||e.unit_name?n("v-uni-view",{staticClass:"r_type"},[t.getSkuName(e)?n("v-uni-view",[t._v(t._s(t.getSkuName(e)))]):e.unit_name?n("v-uni-view",[t._v(t._s(e.unit_name))]):t._e()],1):t._e()],1),e.product&&e.product.price?n("v-uni-view",{staticClass:"r_btn"},[n("v-uni-view",{staticStyle:{color:"#7f7f7f"}},[t._v("¥"),n("v-uni-text",{staticStyle:{"font-size":"33rpx"}},[t._v(t._s(e.product.price.split(".")[0])+".")]),t._v(t._s(e.product.price.split(".")[1])+" 限时特惠")],1),n("v-uni-view",{staticClass:"qiang",class:{no_qiang:!t.can_buy}},[t._v("¥"+t._s(e.limited_price)+" 抢")])],1):t._e()],1)],1):t._e()})):[n("v-uni-image",{staticStyle:{width:"100%"},attrs:{mode:"widthFix",src:"/static/img/no_short.f2ffcd1c.png"}}),n("v-uni-view",{staticStyle:{"text-align":"center",color:"#999"}},[t._v("此区域没有找到活动商品,切换其他地方试试呢")])]],2)],1)],1),n("shortPopupActive",{ref:"shortPopupRef",attrs:{source:105,isBuy:!0},on:{addCart:function(e){arguments[0]=e=t.$handleEvent(e),t.loadCart.apply(void 0,arguments)}}}),n("u-modal",{attrs:{show:t.show,closeOnClickOverlay:!0,title:"["+t.activity.title+"]",content:"选择活动后只有完成活动任务后才可参加另一个活动, 确定要参与这个活动吗",cancelText:"我再想想",confirmText:"参加活动",confirmColor:"#e54841",showCancelButton:!0},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!1},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.joinA()}}}),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth,isGoIndex:!1},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)}}})],1)},o=[]},c28f:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA+9JREFUWEftV19oHEUY/765PblAIjWxEDGFK1Qkp9ztzuTBQEvbB6kPFR+0IFixpREKFizYF8FSRQUFRXwQESyNWMFiHpQqtigYMNCCzncbCEfBQk764KklHjZwS3K7n4zsyXLZu93L3UOEzNvO/uY3v/n+ziBssYFbTA9sC0rySKKFHMfZj4iHAeDeJLKk/8x8Y319fXZpaen3TtiughzHOSGE+Dhpox7/1xqNhlOpVGpx67oJspRStwBgvMcN08Df0Fqf7UmQ4zhPCiHmzCJmPkVEH6TZq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SuQmCC"},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 a=n("3093"),o=(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,u=void 0!==r&&r,s=a.HTTP_REQUEST_URL,c=a.HEADER;return o.default.state.app.token&&(c[a.TOKENNAME]="Bearer "+o.default.state.app.token),new Promise((function(i,a){uni.request({url:s+"/api/"+t,method:e||"GET",header:c,data:n||{},success:function(t){u||200==t.data.status?i(t.data,t):-1!==[41e4,410001,410002,4e4].indexOf(t.data.status)?a(t.data):501==t.data.status?(uni.reLaunch({url:"/pages/error/index"}),a(t.data)):a(t.data.message||"系统错误")},fail:function(t){a("请求失败")}})}))}(e,t,n,i||{})}}));var u=r;e.default=u}}]);