public
This commit is contained in:
10
public/mp-weixin/components/my-coupons/my-coupons.js
Normal file
10
public/mp-weixin/components/my-coupons/my-coupons.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/my-coupons/my-coupons"],{"16fd":function(n,t,o){"use strict";var e=o("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o("0956"),i=e(o("8462")),c=e(o("8628")),r={mixins:[i.default,c.default],data:function(){return{couponList:[],downOption:{auto:!1},upOption:{auto:!1,noMoreSize:4,empty:{icon:"/static/images/coupon_null.png",tip:"暂无优惠券",fixed:!0}}}},props:{type:{type:String},btnType:{type:Number}},methods:{upCallback:function(n){var t=this,o=this.type,e=n.num,i=n.size;(0,u.getMyCoupon)({page_size:i,page_no:e,type:o}).then((function(o){var e=o.data,u=e.lists,i=u.length,c=!!e.more;1==n.num&&(t.couponList=[]),t.couponList=t.couponList.concat(u),t.mescroll.endSuccess(i,c)}))}}};t.default=r},"22f7":function(n,t,o){"use strict";o.d(t,"b",(function(){return u})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){return e}));var e={mescrollUni:function(){return Promise.all([o.e("common/vendor"),o.e("components/mescroll-uni/mescroll-uni")]).then(o.bind(null,"8293"))},couponList:function(){return Promise.all([o.e("common/vendor"),o.e("components/coupon-list/coupon-list")]).then(o.bind(null,"ca64"))}},u=function(){var n=this.$createElement;this._self._c},i=[]},"289d":function(n,t,o){"use strict";o.r(t);var e=o("16fd"),u=o.n(e);for(var i in e)["default"].indexOf(i)<0&&function(n){o.d(t,n,(function(){return e[n]}))}(i);t["default"]=u.a},cb2a:function(n,t,o){"use strict";o.r(t);var e=o("22f7"),u=o("289d");for(var i in u)["default"].indexOf(i)<0&&function(n){o.d(t,n,(function(){return u[n]}))}(i);var c=o("828b"),r=Object(c["a"])(u["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);t["default"]=r.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/my-coupons/my-coupons-create-component',
|
||||
{
|
||||
'components/my-coupons/my-coupons-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("cb2a"))
|
||||
})
|
||||
},
|
||||
[['components/my-coupons/my-coupons-create-component']]
|
||||
]);
|
||||
7
public/mp-weixin/components/my-coupons/my-coupons.json
Normal file
7
public/mp-weixin/components/my-coupons/my-coupons.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
|
||||
"coupon-list": "/components/coupon-list/coupon-list"
|
||||
}
|
||||
}
|
||||
1
public/mp-weixin/components/my-coupons/my-coupons.wxml
Normal file
1
public/mp-weixin/components/my-coupons/my-coupons.wxml
Normal file
@ -0,0 +1 @@
|
||||
<mescroll-uni class="vue-ref" vue-id="2bae0142-1" top="80rpx" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="my-coupons"><coupon-list vue-id="{{('2bae0142-2')+','+('2bae0142-1')}}" list="{{couponList}}" btnType="{{btnType}}" bind:__l="__l"></coupon-list></view></mescroll-uni>
|
||||
Reference in New Issue
Block a user