1 line
27 KiB
JavaScript
1 line
27 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-topic_detail-index"],{"02ed":function(t,e,i){"use strict";i.r(e);var a=i("5e8f"),n=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"]=n.a},"0fd1":function(t,e,i){"use strict";i.r(e);var a=i("7b9b"),n=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"]=n.a},"104c":function(t,e,i){"use strict";i.r(e);var a=i("64fb"),n=i("5bfe");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("495d");var r=i("f0c5"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"2e785e93",null,!1,a["a"],void 0);e["default"]=s.exports},1299:function(t,e,i){"use strict";i.r(e);var a=i("25cb"),n=i("0fd1");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("2ffe");var r=i("f0c5"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"3e4b39ad",null,!1,a["a"],void 0);e["default"]=s.exports},"136f":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/* 文章场景相关 */.Popup[data-v-2e785e93]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-2e785e93]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-2e785e93]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-2e785e93]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-2e785e93]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-2e785e93]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-2e785e93]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-2e785e93]{width:%?500?%}.flex[data-v-2e785e93]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-2e785e93]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-2e785e93]{font-size:%?28?%;color:#fff}.mask[data-v-2e785e93]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},"25cb":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{"touch-action":"none"},style:t.viewColor},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px",bottom:t.bottom},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?i("v-uni-view",{staticClass:"homeCon",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"navigate"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],1):t._e(),i("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{staticClass:"image pictruea",attrs:{src:!0===t.homeActive?"/static/images/navbtn_open.gif":"/static/images/navbtn_close.gif"}})],1)],1)],1)],1)},n=[]},"2ffe":function(t,e,i){"use strict";var a=i("fe28"),n=i.n(a);n.a},"495d":function(t,e,i){"use strict";var a=i("4a59"),n=i.n(a);n.a},"4a59":function(t,e,i){var a=i("136f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("6b12986a",a,!0,{sourceMap:!1,shadowMode:!1})},"5bad":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".pictrueBox[data-v-3e4b39ad]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-3e4b39ad]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:flex}.home .homeCon[data-v-3e4b39ad]{border-radius:%?50?%;opacity:0;height:0;color:#e93323;width:0}.home .homeCon.on[data-v-3e4b39ad]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:var(--view-theme)}.home .homeCon .iconfont[data-v-3e4b39ad]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-3e4b39ad]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme);box-shadow:0 %?5?% %?12?% rgba(0,0,0,.5)}.home .pictrue .image[data-v-3e4b39ad]{width:100%;height:100%}.pictruea[data-v-3e4b39ad]{width:100%;height:100%;display:block;object-fit:cover;vertical-align:middle}",""]),t.exports=e},"5bfe":function(t,e,i){"use strict";i.r(e);var a=i("e40c"),n=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"]=n.a},"5e8f":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("99af");var n=i("26cb"),o=i("95ca"),r=i("bb20"),s=a(i("1299")),c=a(i("3516")),u=a(i("104c")),d=getApp(),l={computed:(0,n.mapGetters)(["isLogin","uid","viewColor"]),components:{home:s.default,easyLoadimage:c.default,authorize:u.default},data:function(){return{group_id:"",systemInfo:d.globalData.statusBarHeight,bgColor:"",activety_goods:[],page:1,limit:30,loading:!1,loadend:!1,pageloading:!1,autoplay:!0,circular:!0,interval:3e3,duration:500,theme:1,topicData:{},imgUrls:[],label_id:"",isAuto:!1,isShowAuth:!1,merchant:{}}},onLoad:function(t){this.group_id=t.id,this.getTopicDetail()},methods:{onLoadFun:function(){this.isShowAuth=!1,this.getTopicDetail()},authColse:function(t){this.isShowAuth=t},goback:function(){uni.navigateBack()},goHome:function(){uni.switchTab({url:"/pages/index/index"})},goStore:function(t){uni.navigateTo({url:"/pages/store/home/index?id=".concat(t)})},getTopicDetail:function(){var t=this;(0,o.getTopicDetail)(t.group_id).then((function(e){t.$set(t,"topicData",e.data),t.$set(t,"theme",e.data.type),t.$set(t,"bgColor",e.data.color),t.$set(t,"imgUrls",e.data.banner),t.$set(t,"label_id",e.data.label_id),t.$set(t,"merchant",e.data.merchant),t.getProList()})).catch((function(t){}))},getProList:function(){var t=this,e={page:t.page,limit:t.limit,labels:t.label_id,mer_id:t.topicData.group_mer_id};t.loadend||t.pageloading||(this.pageloading=!0,(0,o.getTopicProLst)(e).then((function(e){var i=e.data.list,a=i.length<t.limit;t.page++,t.activety_goods=t.activety_goods.concat(i),t.page=t.page,t.pageloading=!1,t.loadend=a})).catch((function(e){t.pageloading=!1})))},goDetail:function(t){var e=this;(0,r.goShopDetail)(t,this.uid).then((function(i){e.isLogin?(0,o.initiateAssistApi)(t.activity_id).then((function(t){var e=t.data.product_assist_set_id;uni.hideLoading(),uni.navigateTo({url:"/pages/activity/assist_detail/index?id="+e})})).catch((function(t){uni.showToast({title:t,icon:"none"})})):(e.isAuto=!0,e.isShowAuth=!0)}))}},onReachBottom:function(){this.getProList()},onPageScroll:function(t){uni.$emit("scroll")}};e.default=l},"64fb":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[t.isWeixin?i("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):i("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?i("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):i("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),i("v-uni-view",{staticClass:"bottom flex"},[i("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),i("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?i("v-uni-text",{staticClass:"text"},[t._v("去授权")]):i("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},n=[]},"655a":function(t,e,i){"use strict";i.r(e);var a=i("ca41"),n=i("02ed");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7225");var r=i("f0c5"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"7830a6b4",null,!1,a["a"],void 0);e["default"]=s.exports},7225:function(t,e,i){"use strict";var a=i("ead1"),n=i.n(a);n.a},"7b9b":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("26cb"),n=i("3093"),o={name:"Home",props:{},data:function(){return{domain:n.HTTP_REQUEST_URL,top:"",bottom:""}},computed:(0,a.mapGetters)(["homeActive","viewColor","keyColor"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY,this.bottom="auto")},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){this.bottom="50px"}};e.default=o},"8a4e":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/* 文章场景相关 */.header[data-v-7830a6b4]{position:absolute;z-index:6;display:flex;align-items:center;padding-right:%?34?%;height:43px;padding-left:%?33?%}.header .head-menu[data-v-7830a6b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:27px;width:70px;background:rgba(0,0,0,.3);border-radius:13px}.header .head-menu .icon-xiangzuo[data-v-7830a6b4]{font-size:%?32?%;color:#fff}.header .head-menu .iconfont[data-v-7830a6b4]{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;color:#fff;box-sizing:border-box}.header .head-menu .iconfont.icon-xiangzuo[data-v-7830a6b4]{border-right:1px solid #fff}.header .head-menu .merchant[data-v-7830a6b4]{width:%?36?%;height:%?36?%}.header .head-menu .merchant .icon_merchant[data-v-7830a6b4]{width:%?36?%;height:%?36?%;border-radius:100%}.topic-home[data-v-7830a6b4]{position:relative;min-height:100vh;padding-bottom:%?30?%}.topic-home .topic_image[data-v-7830a6b4]{line-height:0}.topic-home .topic_image .picture[data-v-7830a6b4]{width:%?750?%}.main_count .main[data-v-7830a6b4]{padding:0 %?20?%}.main_count .slider-wrapper[data-v-7830a6b4]{width:%?710?%;height:%?250?%;margin:%?40?% 0}.main_count .slider-wrapper uni-swiper[data-v-7830a6b4]{height:%?250?%}.main_count .slider-wrapper .slide-image[data-v-7830a6b4]{width:%?710?%;height:%?250?%;border-radius:%?16?%}.main_count .product_list .item[data-v-7830a6b4]{background-color:#fff}.main_count .product_list .image[data-v-7830a6b4]{width:100%;height:100%;border-radius:%?20?% %?20?% 0 0}.main_count .product_list .text[data-v-7830a6b4]{color:#222}.main_count .product_list .money[data-v-7830a6b4]{display:flex;align-items:center;font-size:%?26?%;font-weight:700;margin-top:%?8?%;color:var(--view-priceColor)}.main_count .product_list .score[data-v-7830a6b4]{margin-top:%?10?%;color:#737373;font-size:%?20?%}.main_count .product_list.theme2 .item[data-v-7830a6b4], .main_count .product_list.theme .item[data-v-7830a6b4]{position:relative;width:%?345?%;margin-bottom:%?20?%;border-radius:%?20?%}.main_count .product_list.theme2 .item .pictrue[data-v-7830a6b4], .main_count .product_list.theme .item .pictrue[data-v-7830a6b4]{position:relative;width:100%;height:%?345?%}.main_count .product_list.theme2 .item[data-v-7830a6b4] uni-image, .main_count .product_list.theme2 .item[data-v-7830a6b4] .easy-loadimage, .main_count .product_list.theme2 .item uni-image[data-v-7830a6b4], .main_count .product_list.theme .item[data-v-7830a6b4] uni-image, .main_count .product_list.theme .item[data-v-7830a6b4] .easy-loadimage, .main_count .product_list.theme .item uni-image[data-v-7830a6b4]{height:%?345?%}.main_count .product_list.theme2 .item .text[data-v-7830a6b4], .main_count .product_list.theme .item .text[data-v-7830a6b4]{padding:%?20?% %?17?% %?26?% %?17?%}.main_count .product_list.theme2 .item .name[data-v-7830a6b4], .main_count .product_list.theme .item .name[data-v-7830a6b4]{font-size:13px;color:#282828;margin:11px 0 5px 0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.main_count .product_list.theme1 .item[data-v-7830a6b4]{display:inline-block;width:%?225?%;margin:0 %?19?% %?16?% 0;border-radius:%?10?%}.main_count .product_list.theme1 .item[data-v-7830a6b4]:nth-child(3n){margin-right:0}.main_count .product_list.theme1 .pictrue[data-v-7830a6b4]{position:relative;width:100%;height:%?226?%}.main_count .product_list.theme1 .pictrue .image[data-v-7830a6b4]{border-radius:%?10?% %?10?% 0 0}.main_count .product_list.theme1[data-v-7830a6b4] uni-image, .main_count .product_list.theme1[data-v-7830a6b4] .easy-loadimage, .main_count .product_list.theme1 uni-image[data-v-7830a6b4]{width:100%;height:%?226?%;border-radius:%?10?% %?10?% 0 0}.main_count .product_list.theme1 .text[data-v-7830a6b4]{padding:%?12?% %?14?% %?16?%}.main_count .product_list.theme1 .text .name[data-v-7830a6b4]{font-size:13px;color:#282828;margin:11px 0 5px 0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.main_count .product_list.theme1 .text .money[data-v-7830a6b4]{font-size:%?22?%}.main_count .product_list.theme2[data-v-7830a6b4]{display:flex;justify-content:space-around;flex-wrap:wrap}.main_count .product_list.theme2 .pictrue[data-v-7830a6b4], .main_count .product_list.theme2[data-v-7830a6b4] uni-image, .main_count .product_list.theme2[data-v-7830a6b4] .easy-loadimage, .main_count .product_list.theme2 uni-image[data-v-7830a6b4]{border-radius:%?20?% %?20?% 0 0}.main_count .product_list.theme3 .item[data-v-7830a6b4]{width:%?710?%;border-radius:%?20?%;margin-bottom:%?30?%}.main_count .product_list.theme3 .num[data-v-7830a6b4]{font-family:PingFangSC-Semibold;font-size:%?32?%}.main_count .product_list.theme3 .pictrue[data-v-7830a6b4]{position:relative;width:%?710?%;height:%?710?%}.main_count .product_list.theme3 .pictrue .image[data-v-7830a6b4]{border-radius:%?20?% %?20?% 0 0}.main_count .product_list.theme3[data-v-7830a6b4] uni-image, .main_count .product_list.theme3[data-v-7830a6b4] .easy-loadimage, .main_count .product_list.theme3 uni-image[data-v-7830a6b4]{width:%?710?%;height:%?710?%;max-height:%?710?%;border-radius:%?20?% %?20?% 0 0}.main_count .product_list.theme3 .text[data-v-7830a6b4]{padding:%?24?% %?30?% %?34?%;position:relative}.main_count .product_list.theme3 .text .name[data-v-7830a6b4]{color:#222;font-size:%?34?%;margin-bottom:%?16?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.main_count .product_list.theme3 .text .money[data-v-7830a6b4]{font-size:%?22?%;font-family:PingFangSC-Semibold;font-weight:700}.main_count .product_list.theme3 .text .score[data-v-7830a6b4]{color:#737373;display:inline-block;float:right;position:relative;top:%?-34?%;margin-top:0}',""]),t.exports=e},"95ca":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return n.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(){return n.default.get("store/product/assist/count",{},{noAuth:!0})},e.chooseConsumption=function(t){return n.default.post("storeActivity/choose",t)},e.consumption=function(t){return n.default.get("storeActivity/consumption",t,{noAuth:!0})},e.getActivitycategory=function(t){return n.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t){return n.default.get("store/product/assist/detail/"+t)},e.getAssistList=function(t){return n.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return n.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return n.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return n.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return n.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return n.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return n.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return n.default.post("combination/poster",t)},e.getCombinationUser=function(t){return n.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return n.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return n.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return n.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return n.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return n.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return n.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return n.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return n.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return n.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return n.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return n.default.post("store/product/assist/create/"+t)},e.mer_services_agree=function(){return n.default.get("agreement/mer_services_agree")},e.merchantRecord=function(t){return n.default.get("merchantRecord",t)},e.postAssistHelp=function(t){return n.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return n.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return n.default.get("store/product/presell/agree")},e.qrcode=function(t){return n.default.get("qrcode",t)},e.scombinationCode=function(t){return n.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return n.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return n.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.storeActivityDistrict=function(t){return n.default.get("storeActivity/district",t)},e.storeActivityProduct=function(t){return n.default.get("storeActivity/product",t,{noAuth:!0})},e.storeActivityReceive=function(t){return n.default.post("storeActivity/receive",t)},e.storeActivityRecord=function(t){return n.default.get("storeActivity/record",t)},e.storeActivityStatus=function(t){return n.default.get("storeActivity/status",t)},e.storeActivityTotal=function(t){return n.default.get("storeActivity/total",t)};var n=a(i("6860"))},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")},ca41:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={easyLoadimage:i("3516").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page-container",style:t.viewColor},[i("v-uni-view",{staticClass:"topic-home",style:"background-color: "+t.bgColor},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"head-menu"},[i("v-uni-view",{staticClass:"iconfont icon-xiangzuo",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goback.apply(void 0,arguments)}}}),t.merchant?i("v-uni-view",{staticClass:"iconfont merchant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goStore(t.topicData.group_mer_id)}}},[i("v-uni-image",{staticClass:"icon_merchant",attrs:{src:t.merchant.mer_avatar}})],1):i("v-uni-view",{staticClass:"iconfont icon-shouye4",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHome.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"main_count"},[i("v-uni-view",{staticClass:"topic_image"},[i("v-uni-image",{staticClass:"picture",attrs:{src:t.topicData.image,mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"main"},[t.imgUrls.length>0?i("v-uni-view",{staticClass:"slider-wrapper"},[i("v-uni-swiper",{attrs:{"indicator-dots":"true",autoplay:t.autoplay,circular:t.circular,interval:t.interval,duration:t.duration,"indicator-color":"rgba(255,255,255,0.6)","indicator-active-color":"#fff"}},[t._l(t.imgUrls,(function(t,e){return[i("v-uni-swiper-item",[i("v-uni-view",{staticClass:"slide-navigator acea-row row-between-wrapper"},[i("v-uni-image",{staticClass:"slide-image",attrs:{src:t}})],1)],1)]}))],2)],1):t._e(),i("v-uni-view",{staticClass:"product_list",class:["theme"+t.theme,{"acea-row row-between-wrapper":2==t.theme||""==t.theme}]},t._l(t.activety_goods,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(e)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("easy-loadimage",{attrs:{mode:"widthFix","image-src":e.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"name line2"},[t._v(t._s(e.store_name))]),i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-view",{staticClass:"money"},[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.price))])],1)],1),1!=t.theme?i("v-uni-view",{staticClass:"score"},[t._v(t._s(e.rate)+"评分 "+t._s(e.reply_count)+"条评论")]):t._e()],1)],1)})),1)],1)],1)],1),i("home"),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},o=[]},e40c:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("5530")),o=(a(i("a040")),i("cc48"),i("8a31"),i("26cb")),r=(a(i("8afb")),i("5315")),s=(a(i("1ba1")),i("5eb1")),c=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,n.default)((0,n.default)({},(0,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,r.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,s.toLogin)(!0)},getUserProfile:function(){(0,s.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=c},ead1:function(t,e,i){var a=i("8a4e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("ba7f2320",a,!0,{sourceMap:!1,shadowMode:!1})},fe28:function(t,e,i){var a=i("5bad");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("3ed14d2a",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |