1 line
8.0 KiB
JavaScript
1 line
8.0 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-activity_detail-activity_detail"],{"0057":function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCouponList=r,e.getCoupon=o,e.getOrderCoupon=s,e.getMyCoupon=l,e.getActivityGoodsLists=u,e.getSeckillTime=c,e.getSeckillGoods=d,e.getGroupList=f,e.getUserGroup=g,e.getTeamInfo=p,e.teamKaiTuan=m,e.teamCheck=v,e.teamBuy=h,e.getBargainList=b,e.getBargainDetail=y,e.getBargainNumber=_,e.launchBargain=w,e.getBargainActivityList=C,e.getBargainActivityDetail=L,e.getBargainPost=B,e.helpBargain=k,e.closeBargainOrder=I,e.getSignLists=O,e.getSignRule=S,e.userSignIn=R,e.getIntegralGoods=T,e.getIntegralGoodsDetail=G,e.integralSettlement=P,e.integralSubmitOrder=D,e.getIntegralOrder=x,e.delIntegralOrder=A,e.getIntegralOrderDetail=E,e.cancelIntegralOrder=M,e.confirmIntegralOrder=$,e.getIntegralOrderTraces=U;var i=a(n("b175"));n("357b");function r(t){return i.default.get("coupon/getCouponList",{params:t})}function o(t){return i.default.post("coupon/getCoupon",{coupon_id:t})}function s(t){return i.default.post("coupon/getBuyCouponList",t)}function l(t){return i.default.get("coupon/myCouponList",{params:t})}function u(t){return i.default.get("activity_area/activityGoodsList",{params:t})}function c(){return i.default.get("seckill_goods/getSeckillTime")}function d(t){return i.default.get("seckill_goods/getSeckillGoods",{params:t})}function f(t){return i.default.get("team/activity",{params:t})}function g(t){return i.default.get("team/record",{params:t})}function p(t){return i.default.get("team/teamInfo",{params:t})}function m(t){return i.default.post("team/kaituan",t)}function v(t){return i.default.post("team/check",t)}function h(t){return i.default.post("team/buy",t)}function b(t){return i.default.get("bargain/lists",{params:t})}function y(t){return i.default.get("bargain/detail",{params:t})}function _(){return i.default.get("bargain/barginNumber")}function w(t){return i.default.post("bargain/sponsor",t)}function C(t){return i.default.get("bargain/orderList",{params:t})}function L(t){return i.default.get("bargain/bargainDetail",{params:t})}function B(t){return i.default.get("share/shareBargain",{params:t})}function k(t){return i.default.post("bargain/knife",t)}function I(t){return i.default.get("bargain/closeBargain",{params:t})}function O(){return i.default.get("sign/lists")}function S(){return i.default.get("sign/rule")}function R(){return i.default.get("sign/sign")}function T(t){return i.default.get("integral_goods/lists",{params:t})}function G(t){return i.default.get("integral_goods/detail",{params:t})}function P(t){return i.default.get("integral_order/settlement",{params:t})}function D(t){return i.default.post("integral_order/submitOrder",t)}function x(t){return i.default.get("integral_order/lists",{params:t})}function A(t){return i.default.post("integral_order/del",{id:t})}function E(t){return i.default.get("integral_order/detail",{params:{id:t}})}function M(t){return i.default.post("integral_order/cancel",{id:t})}function $(t){return i.default.post("integral_order/confirm",{id:t})}function U(t){return i.default.get("integral_order/orderTraces",{params:{id:t}})}},"0f8d":function(t,e,n){"use strict";n.r(e);var a=n("2600"),i=n("2fc8");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("2191");var o,s=n("f0c5"),l=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"1bd8bea4",null,!1,a["a"],o);e["default"]=l.exports},2191:function(t,e,n){"use strict";var a=n("a5ed"),i=n.n(a);i.a},2600:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={goodsList:n("fae9").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("mescroll-body",{ref:"mescrollRef",attrs:{up:t.upOption},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"activity-detail"},[t.goodsList.length?n("v-uni-view",{staticClass:"header"},[n("v-uni-image",{staticClass:"header-bg",attrs:{src:"/bundle/static/activity_detail_bg.png"}}),n("v-uni-view",{staticClass:"header-con flex-col col-center"},[n("v-uni-view",{staticClass:"title white"},[t._v(t._s(t.name))]),n("v-uni-view",{staticClass:"desc white sm br60"},[t._v(t._s(t.title))])],1)],1):t._e(),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"goods-container"},[n("goods-list",{attrs:{list:t.goodsList,type:"activity"}})],1)],1)],1)],1)},r=[]},"2fc8":function(t,e,n){"use strict";n.r(e);var a=n("b136"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"9df2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){console.log(t),this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){var t=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){t.mescroll.endSuccess()}),500)},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},i=a;e.default=i},a5ed:function(t,e,n){var a=n("d814");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("4eb3412a",a,!0,{sourceMap:!1,shadowMode:!1})},b136:function(t,e,n){"use strict";var a=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("0057"),r=a(n("9df2")),o={mixins:[r.default],data:function(){return{upOption:{empty:{icon:"/static/images/goods_null.png",tip:"暂无商品"}},goodsList:[],name:"",title:""}},onLoad:function(t){var e=this.$Route.query,n=e.id,a=e.title,i=e.name;this.id=n,this.title=a,this.name=i,uni.setNavigationBarTitle({title:i})},methods:{upCallback:function(t){var e=this,n=t.num,a=t.size;(0,i.getActivityGoodsLists)({page_size:a,page_no:n,id:this.id}).then((function(n){var a=n.data;1==t.num&&(e.goodsList=[]);var i=a.list,r=i.length,o=!!a.more;e.goodsList=e.goodsList.concat(i),e.mescroll.endSuccess(r,o)})).catch((function(){e.mescroll.endErr()}))}}};e.default=o},d814:function(t,e,n){var a=n("24fb");e=a(!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/* 行为相关颜色 */.activity-detail[data-v-1bd8bea4]{overflow:hidden}.activity-detail .header[data-v-1bd8bea4]{height:%?410?%;width:100%;position:relative}.activity-detail .header .header-bg[data-v-1bd8bea4]{position:absolute;width:100%;height:100%}.activity-detail .header .header-con[data-v-1bd8bea4]{position:relative;padding-top:%?50?%}.activity-detail .header .header-con .title[data-v-1bd8bea4]{font-size:%?60?%}.activity-detail .header .header-con .desc[data-v-1bd8bea4]{margin-top:%?30?%;background-color:rgba(255,203,203,.5);padding:%?4?% %?40?%}.activity-detail .content[data-v-1bd8bea4]{position:relative;margin-top:%?-140?%;padding:0 %?20?%}',""]),t.exports=e}}]); |