From 8e0a06da052c4f335ed4a2be51e1ac2c6b45a7a4 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 28 四月 2026 17:53:24 +0800
Subject: [PATCH] 小程序改bug
---
small-program/unpackage/dist/dev/mp-weixin/shop/pages/wallet/wallet.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/small-program/unpackage/dist/dev/mp-weixin/shop/pages/wallet/wallet.js b/small-program/unpackage/dist/dev/mp-weixin/shop/pages/wallet/wallet.js
index f7f2684..127d6ce 100644
--- a/small-program/unpackage/dist/dev/mp-weixin/shop/pages/wallet/wallet.js
+++ b/small-program/unpackage/dist/dev/mp-weixin/shop/pages/wallet/wallet.js
@@ -1,2 +1,2 @@
-require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["shop/pages/wallet/wallet"],{369:function(t,e,n){"use strict";(function(t,e){var a=n(4);n(30);a(n(25));var i=a(n(370));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n(1)["default"],n(2)["createPage"])},370:function(t,e,n){"use strict";n.r(e);var a=n(371),i=n(373);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n(375),n(377);var s,r=n(41),u=Object(r["default"])(i["default"],a["render"],a["staticRenderFns"],!1,null,"44c5d18e",null,!1,a["components"],s);u.options.__file="shop/pages/wallet/wallet.vue",e["default"]=u.exports},371:function(t,e,n){"use strict";n.r(e);var a=n(372);n.d(e,"render",(function(){return a["render"]})),n.d(e,"staticRenderFns",(function(){return a["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return a["recyclableRender"]})),n.d(e,"components",(function(){return a["components"]}))},372:function(t,e,n){"use strict";var a;n.r(e),n.d(e,"render",(function(){return i})),n.d(e,"staticRenderFns",(function(){return s})),n.d(e,"recyclableRender",(function(){return o})),n.d(e,"components",(function(){return a}));try{a={uIcon:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(n.bind(null,483))},uPopup:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(n.bind(null,499))},customTabbar:function(){return n.e("components/custom-tabbar/custom-tabbar").then(n.bind(null,187))}}}catch(r){if(-1===r.message.indexOf("Cannot find module")||-1===r.message.indexOf(".vue"))throw r;console.error(r.message),console.error("1. 鎺掓煡缁勪欢鍚嶇О鎷煎啓鏄惁姝g‘"),console.error("2. 鎺掓煡缁勪欢鏄惁绗﹀悎 easycom 瑙勮寖锛屾枃妗o細https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 鑻ョ粍浠朵笉绗﹀悎 easycom 瑙勮寖锛岄渶鎵嬪姩寮曞叆锛屽苟鍦� components 涓敞鍐岃缁勪欢")}var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.showMoney?(t.countData.balance/100||0).toFixed(2):null),a=t.showMoney?(t.countData.pendingAmount/100||0).toFixed(2):null,i=t.showMoney?(t.countData.totalWithdrawn/100||0).toFixed(2):null,o=t.showMoney?(t.countData.withdrawingAmount/100||0).toFixed(2):null,s=(t.countDataList.totalIncome||0).toFixed(2),r=(t.countDataList.totalExpense||0).toFixed(2);t._isMounted||(t.e0=function(e){t.showMoney=!t.showMoney},t.e1=function(e){t.showMoney=!t.showMoney},t.e2=function(e){t.show1=!0},t.e3=function(e){t.show=!1}),t.$mp.data=Object.assign({},{$root:{g0:n,g1:a,g2:i,g3:o,g4:s,g5:r}})},o=!1,s=[];i._withStripped=!0},373:function(t,e,n){"use strict";n.r(e);var a=n(374),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},374:function(t,e,n){"use strict";(function(t){var a=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n(18)),o=a(n(11)),s=n(37);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=function(){n.e("components/custom-tabbar/custom-tabbar").then(function(){return resolve(n(187))}.bind(null,n)).catch(n.oe)},h={components:{CustomTabbar:c},computed:u({},(0,s.mapState)(["statusbarHeight"])),data:function(){return{currentPage:1,total:0,active:0,wordsWidth:250,tempActive:0,type:0,words:"鍏ㄩ儴",tempType:0,dateType:0,dataList:[],startDate:null,endDate:null,defaultStartDate:null,defaultEndDate:null,showMoney:!1,countData:{},countDataList:{},hasNext:!0,loading:!1,show:!1,show1:!1,year:null,tempYear:null,month:null,tempMonth:null,tempStartDate:null,tempEndDate:null}},onLoad:function(){this.active=0,this.wordsWidth=250,this.words="鍏ㄩ儴",this.tempActive=0,this.dateType=0,this.countData={},this.tempStartDate=null,this.tempEndDate=null,this.countDataList={},this.show=!1,this.initDateStr(),t.$on("accountListReload",this.getFirstPageData())},methods:{bindChange1:function(t){this.tempStartDate=t.detail.value||null},bindChange2:function(t){this.tempEndDate=t.detail.value||null},formatter:function(t,e){return"year"===t?"".concat(e,"骞�"):"month"===t?"".concat(e,"鏈�"):e},getShopPage:function(){var t=this;!this.loading&&this.hasNext&&(this.loading=!0,1==this.currentPage&&(this.hasNext=!0,this.dataList=[]),this.$u.api.shopPage({capacity:10,model:{startTime:this.startDate||this.defaultStartDate,endTime:this.endDate||this.defaultEndDate,type:1===this.active?0:2===this.active?1:"",objType:1===this.type?16:2===this.type?17:3===this.type?25:4===this.type?1:""},page:this.currentPage}).then((function(e){var n;200==e.code&&((n=t.dataList).push.apply(n,(0,i.default)(e.data.records)),t.total=e.data.total,t.currentPage=t.currentPage+1,t.dataList.length>=e.data.total?t.hasNext=!1:t.hasNext=!0)})))},getShopSummary:function(){var t=this;this.$u.api.shopSummary({startTime:this.startDate||this.defaultStartDate,endTime:this.endDate||this.defaultEndDate,type:1===this.active?0:2===this.active?1:"",objType:1===this.type?16:2===this.type?17:3===this.type?25:4===this.type?1:""}).then((function(e){200==e.code&&(t.countDataList=e.data)}))},getShopStatistics:function(){var t=this;this.$u.api.shopStatistics({}).then((function(e){200==e.code&&(t.countData=e.data)}))},comfirmDate:function(e){var n=this;if(e){if(!this.tempStartDate||!this.tempEndDate)return t.showToast({title:"璇烽�夋嫨寮�濮嬪拰缁撴潫鏃堕棿",icon:"none"});if(new Date(this.tempEndDate+" 00:00:00").getTime()<new Date(this.tempStartDate+" 00:00:00").getTime())return t.showToast({title:"鏃ユ湡鑼冨洿涓嶆纭�",icon:"none"});this.startDate=this.tempStartDate,this.endDate=this.tempEndDate,this.show1=!1,setTimeout((function(){n.getFirstPageData()}),300)}else this.startDate=null,this.endDate=null,this.tempStartDate=this.defaultStartDate,this.tempEndDate=this.defaultEndDate,this.show1=!1,setTimeout((function(){n.getFirstPageData()}),300)},openShow:function(){this.tempActive=this.active,this.tempType=this.type,this.show=!0},comfirm:function(t){var e=this;if(t){if(this.active=this.tempActive,this.type=this.tempType,this.wordsWidth=250,0===this.active&&0===this.type)this.words="鍏ㄩ儴";else{var n=1===this.active?"鏀跺叆 ":2===this.active?"鏀嚭 ":"",a=1===this.type?"璁㈠崟缁撶畻":2===this.type?"鎻愮幇":3===this.type?"璁㈠崟缁撶畻閫�鍥�":4===this.type?"鎻愮幇閫�鍥�":"";""!=n&&""!=a&&(this.wordsWidth=350),this.words=n+a}this.show=!1,setTimeout((function(){e.getFirstPageData()}),300)}else this.tempActive=0,this.tempType=0,this.active=0,this.type=0,this.words="鍏ㄩ儴",this.show=!1,setTimeout((function(){e.getFirstPageData()}),300)},formattedDateTime:function(t){var e=t.getFullYear(),n=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getDate().toString().padStart(2,"0"),i="".concat(e,"-").concat(n,"-").concat(a);return console.log(i),i},initDateStr:function(){var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),1),n=this.formattedDateTime(e),a=this.formattedDateTime(t);this.defaultStartDate=n,this.defaultEndDate=a,this.startDate=null,this.endDate=null,this.getShopStatistics(),this.getShopSummary(),this.getShopPage()},checkActive:function(t){this.tempActive=t},checkType:function(t){this.tempType=t},getFirstPageData:function(){this.currentPage=0,this.hasNext=!0,this.loading=!1,this.total=0,this.dataList=[],this.getShopPage()},jumpWithdraw:function(){t.navigateTo({url:"/shop/pages/withdraw/withdraw"})},jumpDetail:function(e){17==e.objType&&t.navigateTo({url:"/shop/pages/withdrawal-details/withdrawal-details?id="+e.objId})}}};e.default=h}).call(this,n(2)["default"])},375:function(t,e,n){"use strict";n.r(e);var a=n(376),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},376:function(t,e,n){},377:function(t,e,n){"use strict";n.r(e);var a=n(378),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},378:function(t,e,n){}},[[369,"common/runtime","common/vendor"]]]);
+require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["shop/pages/wallet/wallet"],{369:function(t,e,n){"use strict";(function(t,e){var a=n(4);n(30);a(n(25));var i=a(n(370));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n(1)["default"],n(2)["createPage"])},370:function(t,e,n){"use strict";n.r(e);var a=n(371),i=n(373);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n(375),n(377);var s,r=n(41),u=Object(r["default"])(i["default"],a["render"],a["staticRenderFns"],!1,null,"44c5d18e",null,!1,a["components"],s);u.options.__file="shop/pages/wallet/wallet.vue",e["default"]=u.exports},371:function(t,e,n){"use strict";n.r(e);var a=n(372);n.d(e,"render",(function(){return a["render"]})),n.d(e,"staticRenderFns",(function(){return a["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return a["recyclableRender"]})),n.d(e,"components",(function(){return a["components"]}))},372:function(t,e,n){"use strict";var a;n.r(e),n.d(e,"render",(function(){return i})),n.d(e,"staticRenderFns",(function(){return s})),n.d(e,"recyclableRender",(function(){return o})),n.d(e,"components",(function(){return a}));try{a={uIcon:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(n.bind(null,483))},uPopup:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(n.bind(null,499))},customTabbar:function(){return n.e("components/custom-tabbar/custom-tabbar").then(n.bind(null,187))}}}catch(r){if(-1===r.message.indexOf("Cannot find module")||-1===r.message.indexOf(".vue"))throw r;console.error(r.message),console.error("1. 鎺掓煡缁勪欢鍚嶇О鎷煎啓鏄惁姝g‘"),console.error("2. 鎺掓煡缁勪欢鏄惁绗﹀悎 easycom 瑙勮寖锛屾枃妗o細https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 鑻ョ粍浠朵笉绗﹀悎 easycom 瑙勮寖锛岄渶鎵嬪姩寮曞叆锛屽苟鍦� components 涓敞鍐岃缁勪欢")}var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.showMoney?(t.countData.balance/100||0).toFixed(2):null),a=t.showMoney?(t.countData.pendingAmount/100||0).toFixed(2):null,i=t.showMoney?(t.countData.totalWithdrawn/100||0).toFixed(2):null,o=t.showMoney?(t.countData.withdrawingAmount/100||0).toFixed(2):null,s=(t.countDataList.totalIncome||0).toFixed(2),r=(t.countDataList.totalExpense||0).toFixed(2);t._isMounted||(t.e0=function(e){t.showMoney=!t.showMoney},t.e1=function(e){t.showMoney=!t.showMoney},t.e2=function(e){t.show1=!0},t.e3=function(e){t.show=!1}),t.$mp.data=Object.assign({},{$root:{g0:n,g1:a,g2:i,g3:o,g4:s,g5:r}})},o=!1,s=[];i._withStripped=!0},373:function(t,e,n){"use strict";n.r(e);var a=n(374),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},374:function(t,e,n){"use strict";(function(t){var a=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n(18)),o=a(n(11)),s=n(37);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=function(){n.e("components/custom-tabbar/custom-tabbar").then(function(){return resolve(n(187))}.bind(null,n)).catch(n.oe)},h={components:{CustomTabbar:c},computed:u({},(0,s.mapState)(["statusbarHeight"])),data:function(){return{currentPage:1,total:0,active:0,wordsWidth:250,tempActive:0,type:0,words:"鍏ㄩ儴",tempType:0,dateType:0,dataList:[],startDate:null,endDate:null,defaultStartDate:null,defaultEndDate:null,showMoney:!1,countData:{},countDataList:{},hasNext:!0,loading:!1,show:!1,show1:!1,year:null,tempYear:null,month:null,tempMonth:null,tempStartDate:null,tempEndDate:null}},onLoad:function(){this.active=0,this.wordsWidth=250,this.words="鍏ㄩ儴",this.tempActive=0,this.dateType=0,this.countData={},this.tempStartDate=null,this.tempEndDate=null,this.countDataList={},this.show=!1,this.initDateStr(),t.$on("accountListReload",this.getFirstPageData())},methods:{bindChange1:function(t){this.tempStartDate=t.detail.value||null},bindChange2:function(t){this.tempEndDate=t.detail.value||null},formatter:function(t,e){return"year"===t?"".concat(e,"骞�"):"month"===t?"".concat(e,"鏈�"):e},getShopPage:function(){var t=this;!this.loading&&this.hasNext&&(this.loading=!0,1==this.currentPage&&(this.hasNext=!0,this.dataList=[]),this.$u.api.shopPage({capacity:10,model:{startTime:this.startDate||this.defaultStartDate,endTime:this.endDate||this.defaultEndDate,optType:1===this.active?1:2===this.active?-1:"",type:1===this.type?0:2===this.type?1:4===this.type?2:""},page:this.currentPage}).then((function(e){var n;200==e.code&&((n=t.dataList).push.apply(n,(0,i.default)(e.data.records)),t.total=e.data.total,t.currentPage=t.currentPage+1,t.dataList.length>=e.data.total?t.hasNext=!1:t.hasNext=!0)})))},getShopSummary:function(){var t=this;this.$u.api.shopSummary({startTime:this.startDate||this.defaultStartDate,endTime:this.endDate||this.defaultEndDate,optType:1===this.active?1:2===this.active?-1:"",type:1===this.type?0:2===this.type?1:4===this.type?2:""}).then((function(e){200==e.code&&(t.countDataList=e.data)}))},getShopStatistics:function(){var t=this;this.$u.api.shopStatistics({}).then((function(e){200==e.code&&(t.countData=e.data)}))},comfirmDate:function(e){var n=this;if(e){if(!this.tempStartDate||!this.tempEndDate)return t.showToast({title:"璇烽�夋嫨寮�濮嬪拰缁撴潫鏃堕棿",icon:"none"});if(new Date(this.tempEndDate+" 00:00:00").getTime()<=new Date(this.tempStartDate+" 00:00:00").getTime())return t.showToast({title:"寮�濮嬫椂闂村繀椤诲皬浜庢埅姝㈡椂闂�",icon:"none"});this.startDate=this.tempStartDate,this.endDate=this.tempEndDate,this.show1=!1,setTimeout((function(){n.getFirstPageData()}),300)}else this.startDate=null,this.endDate=null,this.tempStartDate=null,this.tempEndDate=null,this.show1=!1,setTimeout((function(){n.getFirstPageData()}),300)},openShow:function(){this.tempActive=this.active,this.tempType=this.type,this.show=!0},comfirm:function(t){var e=this;if(t){if(this.active=this.tempActive,this.type=this.tempType,this.wordsWidth=250,0===this.active&&0===this.type)this.words="鍏ㄩ儴";else{var n=1===this.active?"鏀跺叆 ":2===this.active?"鏀嚭 ":"",a=1===this.type?"璁㈠崟缁撶畻":2===this.type?"鎻愮幇":3===this.type?"璁㈠崟缁撶畻閫�鍥�":4===this.type?"鎻愮幇閫�鍥�":"";""!=n&&""!=a&&(this.wordsWidth=350),this.words=n+a}this.show=!1,setTimeout((function(){e.getFirstPageData()}),300)}else this.tempActive=0,this.tempType=0,this.active=0,this.type=0,this.words="鍏ㄩ儴",this.show=!1,setTimeout((function(){e.getFirstPageData()}),300)},formattedDateTime:function(t){var e=t.getFullYear(),n=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getDate().toString().padStart(2,"0"),i="".concat(e,"-").concat(n,"-").concat(a);return console.log(i),i},initDateStr:function(){var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),1),n=this.formattedDateTime(e),a=this.formattedDateTime(t);this.defaultStartDate=n,this.defaultEndDate=a,this.startDate=null,this.endDate=null,this.getShopStatistics(),this.getShopSummary(),this.getShopPage()},checkActive:function(t){this.tempActive=t},checkType:function(t){this.tempType=t},getFirstPageData:function(){this.currentPage=0,this.hasNext=!0,this.loading=!1,this.total=0,this.dataList=[],this.getShopPage()},jumpWithdraw:function(){t.navigateTo({url:"/shop/pages/withdraw/withdraw"})},jumpDetail:function(e){17==e.objType&&t.navigateTo({url:"/shop/pages/withdrawal-details/withdrawal-details?id="+e.objId})}}};e.default=h}).call(this,n(2)["default"])},375:function(t,e,n){"use strict";n.r(e);var a=n(376),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},376:function(t,e,n){},377:function(t,e,n){"use strict";n.r(e);var a=n(378),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},378:function(t,e,n){}},[[369,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/shop/pages/wallet/wallet.js.map
\ No newline at end of file
--
Gitblit v1.9.3