微信小程序主页完成

This commit is contained in:
2023-09-26 10:22:29 +08:00
parent e0fd0c9822
commit fb902f09da
234 changed files with 53655 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
const install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({
//baseUrl: 'https://gmall-prod.atguigu.cn/api',
baseUrl: 'http://localhost:8200/api',
//baseUrl: 'http://ssyxyovinchen.free.idcfengye.com/api',
baseUrl: 'http://127.0.0.1:8200/api',
loadingText: '请求中...', // 请求loading中的文字提示
loadingTime: 800, // 在此时间内请求还没回来的话就显示加载中动画单位ms
loadingMask: true, // 展示loading的时候是否给一个透明的蒙层防止触摸穿透