diff --git a/components/footerBar.vue b/components/footerBar.vue index 6454f19..80cc030 100644 --- a/components/footerBar.vue +++ b/components/footerBar.vue @@ -1,4 +1,45 @@ - \ No newline at end of file diff --git a/pages/start/Registration/Registration.vue b/pages/start/Registration/Registration.vue index 65be655..ab17cbc 100644 --- a/pages/start/Registration/Registration.vue +++ b/pages/start/Registration/Registration.vue @@ -182,7 +182,7 @@ import { ref } from "vue"; // 导入完整的国家列表 import countryList from "../login/list"; -import footerBar from "../../../components/footerBar-cn.vue"; +import footerBar from "../../../components/footerBar"; import uniPopup from "../../../uni_modules/uni-popup/components/uni-popup/uni-popup.vue"; import { verificationPhone, verificationEmail } from "../login/verification"; import { @@ -283,7 +283,7 @@ async function register() { console.log("userInfo为", userStore.userInfo); // 跳转到首页 - uni.navigateTo({ + uni.redirectTo({ url: "/pages/home/home", }); } else { diff --git a/pages/start/index/index.vue b/pages/start/index/index.vue index 663a7d8..30c8683 100644 --- a/pages/start/index/index.vue +++ b/pages/start/index/index.vue @@ -5,24 +5,25 @@ {{ title }} - + diff --git a/pages/start/login/login.vue b/pages/start/login/login.vue index 331f8d4..2cefada 100644 --- a/pages/start/login/login.vue +++ b/pages/start/login/login.vue @@ -248,7 +248,7 @@ import { ref } from "vue"; // 导入完整的国家列表 import countryList from "./list.js"; -import footerBar from "../../../components/footerBar-cn"; +import footerBar from "../../../components/footerBar"; import uniPopupDialogVue from "../../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue"; import uniPopup from "../../../uni_modules/uni-popup/components/uni-popup/uni-popup.vue"; import { verificationPhone, verificationEmail } from "../login/verification"; @@ -365,7 +365,7 @@ async function Login() { console.log("userInfo为", userStore.userInfo); // 跳转到首页 - uni.navigateTo({ + uni.redirectTo({ url: "/pages/home/home", }); } else { diff --git a/pages/start/recoverPassword/recoverPassword.vue b/pages/start/recoverPassword/recoverPassword.vue index 3cf2623..ada6c57 100644 --- a/pages/start/recoverPassword/recoverPassword.vue +++ b/pages/start/recoverPassword/recoverPassword.vue @@ -232,7 +232,7 @@ import { ref } from "vue"; // 导入完整的国家列表 import countryList from "../login/list"; -import footerBar from "../../../components/footerBar-cn.vue"; +import footerBar from "../../../components/footerBar"; import uniPopup from "../../../uni_modules/uni-popup/components/uni-popup/uni-popup.vue"; import { verificationPhone, verificationEmail } from "../login/verification"; import { SendEmailCodeApi, SendPhoneCodeApi } from "../../../api/start/login"; diff --git a/pages/start/select/select.vue b/pages/start/select/select.vue index ca555ea..7663375 100644 --- a/pages/start/select/select.vue +++ b/pages/start/select/select.vue @@ -18,29 +18,24 @@ -