This commit is contained in:
2024-08-22 12:35:26 +08:00
commit d41d4d6cd0
78 changed files with 1179 additions and 0 deletions

1
utils/loading.js Normal file
View File

@@ -0,0 +1 @@
Object.defineProperty(exports,"__esModule",{value:!0}),exports.showToast=exports.showLoading=exports.hideLoading=void 0;exports.showToast=function(o,e){e||(e=2e3),wx.showToast({title:o,icon:"none",duration:e})};var o=!1;exports.showLoading=function(e){o||wx.showLoading({title:e||"",mask:!0,success:function(){o=!0}})};exports.hideLoading=function(){o&&(o=!1,wx.hideLoading())};