diff --git a/src/login-sub/inviteCode.vue b/src/login-sub/inviteCode.vue index 9758972..7a3a7ae 100644 --- a/src/login-sub/inviteCode.vue +++ b/src/login-sub/inviteCode.vue @@ -23,8 +23,8 @@ v-model="formData.name" placeholder="请输入姓名" confirm-type="done" - placeholder-style="color:#BABABA;font-size:28rpx;" - class="text-start w-[140rpx]" + placeholder-style="color:#BABABA;font-size:28rpx;text-align:right;" + class="text-right w-[140rpx]" /> @@ -63,8 +63,8 @@ v-model="formData.school" placeholder="请输入您的就读学校" confirm-type="done" - placeholder-style="color:#BABABA;font-size:28rpx;" - class="text-start w-[252rpx]" + placeholder-style="color:#BABABA;font-size:28rpx;text-align:right;" + class="text-right w-[252rpx]" /> @@ -132,6 +132,7 @@ const handleSubmit = () => { inviteCode: formData.value.invitedCode, }).then((resp) => { if (resp.code === 200) { + userStore.setEstimatedAchievement({ init: true }) uni.switchTab({ url: '/pages/home/index/index', }) @@ -150,7 +151,6 @@ const handleInviteCode = () => { verifyInviteCode({ code: formData.value.invitedCode }).then((resp) => { if (resp.code === 200) { invitedCodeFlag.value = resp.result as boolean - userStore.setEstimatedAchievement({ init: true }) } }) } else { @@ -166,11 +166,6 @@ const handleLogout = () => { const instance = getCurrentInstance() onUnload(() => { - console.log( - ' userStore.userInfo.estimatedAchievement.init', - userStore.userInfo.estimatedAchievement.init, - ) - if (!userStore.userInfo.estimatedAchievement.init) { handleLogout() } diff --git a/src/pages-sub/components/Slider.vue b/src/pages-sub/components/Slider.vue index 249caf6..ebd1dac 100644 --- a/src/pages-sub/components/Slider.vue +++ b/src/pages-sub/components/Slider.vue @@ -79,7 +79,7 @@ const props = defineProps({ }, max: { type: Number, - default: 100, + default: 200, }, step: { type: Number, diff --git a/src/pages-sub/components/input/SearchInput.vue b/src/pages-sub/components/input/SearchInput.vue index 87a7edc..853df00 100644 --- a/src/pages-sub/components/input/SearchInput.vue +++ b/src/pages-sub/components/input/SearchInput.vue @@ -1,7 +1,5 @@