From b3f6708ced6ba04ca9a8bac8c5fee32c2d731e28 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Tue, 24 Oct 2023 09:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/login/index.js | 2 +- config.js | 3 ++- pages.json | 4 ++-- pages/login/components/main.vue | 30 ++++++++++-------------------- pages/login/index.vue | 6 +++--- 5 files changed, 18 insertions(+), 27 deletions(-) diff --git a/api/login/index.js b/api/login/index.js index c0a1988..a019b09 100644 --- a/api/login/index.js +++ b/api/login/index.js @@ -2,7 +2,7 @@ import request from '@/utils/request' // api地址 const api = { - login: 'passport/login', + login: 'user/v1/userLogin', loginMpWx: 'passport/loginMpWx', loginMpWxMobile: 'passport/loginMpWxMobile', } diff --git a/config.js b/config.js index 760b327..3cce17c 100644 --- a/config.js +++ b/config.js @@ -5,7 +5,8 @@ module.exports = { // 必填: 后端api地址, 斜杠/结尾, 参照下面格式 // 例如: https://www.你的域名.com/index.php?s=/api/ - apiUrl: "http://192.168.66.16:8089/index.php?s=/api/", + //apiUrl: "http://192.168.66.16:8089/index.php?s=/api/", + apiUrl: "http://58.30.231.137:8022/AgencyAddress/", /** * 是否启用商城设置缓存 diff --git a/pages.json b/pages.json index 1914b62..6d92734 100644 --- a/pages.json +++ b/pages.json @@ -15,7 +15,7 @@ "selectedIconPath": "static/tabbar/cate-active.png", "text": "分类" }, { - "pagePath": "pages/cart/index", + "pagePath": "pages/order/index", "iconPath": "static/tabbar/cart.png", "selectedIconPath": "static/tabbar/cart-active.png", "text": "订单" @@ -69,7 +69,7 @@ { "path": "pages/login/index", "style": { - "navigationBarTitleText": "会员登录" + "navigationBarTitleText": "登录" } }, { diff --git a/pages/login/components/main.vue b/pages/login/components/main.vue index 2d0a5d1..50d8f7a 100644 --- a/pages/login/components/main.vue +++ b/pages/login/components/main.vue @@ -14,27 +14,17 @@ - - - - - - - - - - - - - - - - - 获取验证码 - 重新发送({{ times }})秒 - - + + + + + + + + + +