会员权益

This commit is contained in:
2026-04-29 15:33:58 +08:00
commit 54965243da
2787 changed files with 242809 additions and 0 deletions

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesMall/order/index"],{"08f9":function(t,e,n){"use strict";n.r(e);var r=n("5ddb"),i=n("5c4f");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("8785");var a=n("828b"),s=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=s.exports},2187:function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("af34")),o=r(n("7ca3")),a=n("8f59");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var c={components:{mallOrder:function(){n.e("pagesMall/component/mall/order").then(function(){return resolve(n("94a8"))}.bind(null,n)).catch(n.oe)}},data:function(){return{loadEnd:!1,titleBarHeight:0,screenList:[{text:"全部"},{text:"待付款",state:1},{text:"待发货",state:2},{text:"待收货",state:3},{text:"已完成",state:4}],selectScreen:0,orderList:[],page:1,limit:20,hasMore:!1}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,a.mapState)({themeColor:function(t){return t.app.themeColor}})),mounted:function(){var e=t.getSystemInfoSync().statusBarHeight,n=t.getMenuButtonBoundingClientRect();this.titleBarHeight=e+2*(n.top-e)+n.height},onLoad:function(e){var n=this;e.id&&(this.selectScreen=this.screenList.findIndex((function(t){if(t.state==e.id)return!0}))),t.showLoading({title:"加载中"}),this.getOrderList((function(){t.hideLoading(),n.loadEnd=!0}))},onShow:function(){this.loadEnd&&(t.pageScrollTo({scrollTop:0,duration:0}),this.page=1,this.getOrderList())},onPullDownRefresh:function(){this.page=1,this.getOrderList((function(){t.stopPullDownRefresh()}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getOrderList())},methods:{changeScreen:function(t){this.selectScreen=t,this.page=1,this.getOrderList()},getOrderList:function(e){var n=this,r={page:this.page,limit:this.limit};this.screenList[this.selectScreen].state&&(r.state=this.screenList[this.selectScreen].state),this.$util.request("mall.orderList",r).then((function(r){if(e&&e(),1==r.code){var o=r.data.data;n.hasMore=n.page<r.data.total/n.limit,n.orderList=1==n.page?o:[].concat((0,i.default)(n.orderList),(0,i.default)(o))}else t.showToast({title:r.msg,icon:"none"})})).catch((function(t){e&&e(),console.error("获取订单列表",t)}))},resetOrderList:function(){this.page=1,this.getOrderList()}}};e.default=c}).call(this,n("df3c")["default"])},"5c4f":function(t,e,n){"use strict";n.r(e);var r=n("2187"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},"5ddb":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=(this._self._c,this.loadEnd?this.orderList.length:null);this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},8785:function(t,e,n){"use strict";var r=n("ed1e"),i=n.n(r);i.a},c998:function(t,e,n){"use strict";(function(t,e){var r=n("47a9");n("aa6c");r(n("3240"));var i=r(n("08f9"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},ed1e:function(t,e,n){}},[["c998","common/runtime","common/vendor"]]]);