--对接地址列表

This commit is contained in:
li tong bao
2022-05-12 09:57:28 +08:00
parent 45e50a6a79
commit fcb9caa221
21 changed files with 241 additions and 3792 deletions
+25
View File
@@ -87,6 +87,31 @@ export const retrieval = (data: any, message: string="请填写完信息", rules
resolve(null);
})
}
/**
* toast提示
*/
export const alert = {
success(title: string){
Taro.showToast({
title,icon: "success"
})
},
error(title: string){
Taro.showToast({
title,icon: "error"
})
},
loading(title: string){
Taro.showToast({
title,icon: "loading"
})
},
none(title: string){
Taro.showToast({
title,icon: "none"
})
},
}
// 金额千位分割符
export const formatKbPrice = (number: string) => {