no message

This commit is contained in:
2025-11-16 18:30:50 +08:00
parent 9b48bd07d9
commit 3fe89ed7ee
22 changed files with 2426 additions and 59 deletions
+2 -2
View File
@@ -3,9 +3,9 @@
export const BASE_URL = "https://api.tbmall.xin"; //生产
// export const BASE_URL ='http://api.hm.a-d.work:6880' // 测试
// export const BASE_URL ='https://api.o.tbmall.xin' // 本地测试
// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
export const SHARE_URL = 'https://h.tbmall.xin';
export const PRIVACY_EN = "https://www.finecc.net/?Privacy-Agreement/";//隐私协议地址(英文版)
export const PRIVACY_CN = "https://www.finecc.net/?Privac |y/";//隐私协议地址(中文版)
+21
View File
@@ -40,6 +40,27 @@ export default {
}
return tmpTime;
}, 
myToast(str = '',time = 1000){
if(str){
uni.hideToast();
setTimeout(()=>{
uni.showToast({
icon:'none',
title:str,
mask:true,
duration:time
})
},100)
}else{
uni.showToast({
icon:'loading',
title:'请求中...',
mask:true,
duration:1000
})
}
},
debounce(func,wait = 1000,immediate = true){
// 清除定时器
if (timeout !== null) clearTimeout(timeout)