feat: 小程序

This commit is contained in:
2025-11-19 00:03:45 +08:00
parent e5fee03e60
commit 612abee4d2
130 changed files with 226 additions and 529 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
// export const BASE_URL="https://frontend.jdns360.com/api"; // 正式环境
// export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境
// export const BASE_URL = "https://api.tbmall.xin"; //生产
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';
+2 -1
View File
@@ -39,7 +39,8 @@ function request(options) {
// 请求之前做一些事
uni.showToast({
title: "加载中...",
image: "/static/common/loading.gif", // 本地图片路径
image:"https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/loading.gif",
// image: "/static/common/loading.gif", // 本地图片路径
position: "middle", // 可选:top/middle/bottom
});
}