1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-topic-index"],{"022b":function(t,e,n){"use strict";n.r(e);var i=n("fc23"),a=n("dfce");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("5f10");var s=n("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"4502b64d",null,!1,i["a"],void 0);e["default"]=r.exports},"03f1":function(t,e,n){t.exports=n.p+"static/img/no-topic.0739e856.png"},"082b":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-4502b64d]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-4502b64d]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-4502b64d]{font-size:%?26?%;color:#999}',""]),t.exports=e},"14a6":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af");var a=n("2e54"),o=i(n("1e65")),s=i(n("022b")),r=n("26cb"),c=n("ba8b"),u={components:{home:o.default,emptyPage:s.default},computed:(0,r.mapGetters)(["isLogin","uid","viewColor"]),data:function(){return{domain:c.HTTP_REQUEST_URL,topicList:[],page:1,limit:30,loading:!1,loadend:!1,pageloading:!1}},onLoad:function(t){this.getTopicList(),t.spread&&spread(t.spread,this.isLogin)},methods:{getTopicList:function(){var t=this,e={page:t.page,limit:t.limit};t.loadend||t.pageloading||(this.pageloading=!0,(0,a.getTopicList)(0,e).then((function(e){var n=e.data,i=n.length<t.limit;t.page++,t.topicList=t.topicList.concat(n),t.page=t.page,t.pageloading=!1,t.loadend=i})).catch((function(e){t.pageloading=!1})))}},onReachBottom:function(){this.getTopicList()}};e.default=u},"1e65":function(t,e,n){"use strict";n.r(e);var i=n("3c6e"),a=n("a8bc");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("6a00");var s=n("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"31a9eac5",null,!1,i["a"],void 0);e["default"]=r.exports},"208c":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{title:{type:String,default:"暂无记录"}}};e.default=i},"2e54":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return a.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(t){return a.default.get("store/product/assist/count",t,{noAuth:!0})},e.getActivitycategory=function(t){return a.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t,e){return a.default.get("store/product/assist/detail/"+t,e)},e.getAssistList=function(t){return a.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return a.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return a.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return a.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return a.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return a.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return a.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return a.default.post("combination/poster",t)},e.getCombinationUser=function(t){return a.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return a.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return a.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return a.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return a.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return a.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return a.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return a.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return a.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return a.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return a.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return a.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return a.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return a.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return a.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return a.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return a.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return a.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return a.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return a.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var a=i(n("5a4d"))},3954:function(t,e,n){"use strict";var i=n("9118"),a=n.n(i);a.a},"3c6e":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticStyle:{"touch-action":"none"},style:t.viewColor},[n("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?n("v-uni-view",{staticClass:"homeCon",class:!0===t.homeActive?"on":""},[n("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),n("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"switchTab"}}),n("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],1):t._e(),n("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"pictrue"},[n("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)},a=[]},4213:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".pictrueBox[data-v-31a9eac5]{width:%?130?%;height:%?120?%}\n/*返回主页按钮*/.home[data-v-31a9eac5]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:flex}.home .homeCon[data-v-31a9eac5]{border-radius:%?50?%;opacity:0;height:0;color:#e93323;width:0}.home .homeCon.on[data-v-31a9eac5]{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-31a9eac5]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-31a9eac5]{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-31a9eac5]{width:100%;height:100%}.pictruea[data-v-31a9eac5]{width:100%;height:100%;display:block;object-fit:cover;vertical-align:middle}",""]),t.exports=e},"4e9d":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"page-container",style:this.viewColor},[e("v-uni-view",{staticClass:"flash-sale"},[e("v-uni-view",{staticClass:"header"},[e("v-uni-image",{staticClass:"presellBg",attrs:{mode:"widthFix",src:this.domain+"/static/images/topic_bg.jpg",alt:""}})],1),e("v-uni-view",{staticClass:"main_count"},[this.topicList.length>0?this._l(this.topicList,(function(t,n){return e("v-uni-navigator",{key:n,attrs:{url:"/pages/activity/topic_detail/index?id="+t.group_data_id,"hover-class":"none"}},[e("v-uni-view",{staticClass:"list"},[e("v-uni-image",{staticClass:"picture",attrs:{src:t.pic}})],1)],1)})):[e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:n("03f1")}}),e("v-uni-view",{staticClass:"txt"},[this._v("暂无活动专场哦~")])],1)]],2)],1),e("home")],1)},a=[]},"5f10":function(t,e,n){"use strict";var i=n("a39f"),a=n.n(i);a.a},"6a00":function(t,e,n){"use strict";var i=n("de8e"),a=n.n(i);a.a},9118:function(t,e,n){var i=n("ed24");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("c772588c",i,!0,{sourceMap:!1,shadowMode:!1})},a39f:function(t,e,n){var i=n("082b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("3e815508",i,!0,{sourceMap:!1,shadowMode:!1})},a8bc:function(t,e,n){"use strict";n.r(e);var i=n("abb1"),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},abb1:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("26cb"),a=n("ba8b"),o={name:"Home",props:{},data:function(){return{domain:a.HTTP_REQUEST_URL,top:"",bottom:""}},computed:(0,i.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},ce85:function(t,e,n){"use strict";n.r(e);var i=n("14a6"),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},d319:function(t,e,n){"use strict";n.r(e);var i=n("4e9d"),a=n("ce85");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("3954");var s=n("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"0422c5a0",null,!1,i["a"],void 0);e["default"]=r.exports},de8e:function(t,e,n){var i=n("4213");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("5c4117b1",i,!0,{sourceMap:!1,shadowMode:!1})},dfce:function(t,e,n){"use strict";n.r(e);var i=n("208c"),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},ed24:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.page-container[data-v-0422c5a0]{min-height:100vh;background-color:#ff5348}.flash-sale .header[data-v-0422c5a0]{width:100%;position:relative}.flash-sale .header .presellBg[data-v-0422c5a0]{width:%?750?%;box-sizing:border-box}.flash-sale .main_count[data-v-0422c5a0]{position:relative;top:%?-90?%;background-color:#fff;margin:0 %?20?%;border-radius:%?16?%;padding:%?20?%}.flash-sale .main_count .list[data-v-0422c5a0]{width:100%;height:%?280?%;margin-bottom:%?30?%;position:relative}.flash-sale .main_count .list .picture[data-v-0422c5a0]{width:100%;height:%?280?%;border-radius:%?16?%}.flash-sale .empty-box[data-v-0422c5a0]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:%?80?% 0 %?120?% 0}.flash-sale .empty-box uni-image[data-v-0422c5a0]{width:%?414?%;height:%?240?%}.flash-sale .empty-box .txt[data-v-0422c5a0]{font-size:%?26?%;color:#999}',""]),t.exports=e},fc23:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},a=[]}}]); |