diff --git a/env/.env b/env/.env index dd83a91..3cb2619 100644 --- a/env/.env +++ b/env/.env @@ -5,8 +5,8 @@ VITE_APP_TITLE=uniapp-vue3模板项目 VITE_APP_ENV=development # 接口地址 -VITE_API_BASE_URL=http://www.caipu.com:8545 -# VITE_API_BASE_URL=http://ceshi-recipeapi.lihaink.cn/ +# VITE_API_BASE_URL=http://www.caipu.com:8545 +VITE_API_BASE_URL=https://ceshi-recipeapi.lihaink.cn/ # 端口号 VITE_APP_PORT=9527 @@ -15,8 +15,8 @@ VITE_APP_PORT=9527 VITE_APP_PROXY=true # API代理前缀 -VITE_API_PREFIX= http://www.caipu.com:8545 -# VITE_API_PREFIX= http://ceshi-recipeapi.lihaink.cn/ +# VITE_API_PREFIX= http://www.caipu.com:8545 +VITE_API_PREFIX= https://ceshi-recipeapi.lihaink.cn/ # 删除console VITE_DROP_CONSOLE=false diff --git a/env/.env.test b/env/.env.test index 88a6c6f..ca985dd 100644 --- a/env/.env.test +++ b/env/.env.test @@ -2,7 +2,7 @@ VITE_APP_ENV=staging # 接口地址 -VITE_API_BASE_URL=http://localhost:8080/staging +VITE_API_BASE_URL=http://ceshi-recipeapi.lihaink.cn # 删除console VITE_DROP_CONSOLE=true diff --git a/src/api/user/types.ts b/src/api/user/types.ts index 9014a3a..61260bf 100644 --- a/src/api/user/types.ts +++ b/src/api/user/types.ts @@ -10,7 +10,7 @@ export interface ProfileRes { user?: any; } export interface LoginReq { - phone: string; + account: string; code: string; } export interface LoginReqPassword { diff --git a/src/manifest.json b/src/manifest.json index 4b5966d..f81a4bd 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,5 +1,5 @@ { - "name" : "", + "name" : "菜谱", "appid" : "", "description" : "", "versionName" : "1.0.0", @@ -63,7 +63,7 @@ "desc" : "获取您的位置" } }, - "requiredPrivateInfos" : ["login" ,"getLocation", "chooseAddress" , "chooseLocation" ] + "requiredPrivateInfos" : [ "getLocation", "chooseAddress" , "chooseLocation" ] }, "mp-alipay" : { "usingComponents" : true diff --git a/src/pages/common/goods/order.vue b/src/pages/common/goods/order.vue index 6ce8410..fb07c59 100644 --- a/src/pages/common/goods/order.vue +++ b/src/pages/common/goods/order.vue @@ -9,6 +9,11 @@ white-space: nowrap; /* 确保元素有宽度 */ } + +html, +body { + height: 0rpx; +}