功能:完善 YumiNail 全栈修复与打包

This commit is contained in:
xiaowang
2026-05-15 21:10:41 +08:00
parent 3d0a859980
commit 1f05e0ab44
42 changed files with 768 additions and 316 deletions
+4 -24
View File
@@ -290,22 +290,10 @@
<div class="social-login">
<div class="divider">
<span>其他登录方式</span>
<span>微信手机号登录</span>
</div>
<div class="social-hint">
网页端暂未开放第三方登录,微信手机号一键登录仅支持小程序。
</div>
<div class="social-buttons">
<a-button shape="circle" size="large" class="social-circle-btn" @click="handleWeChatLogin">
<WechatOutlined />
</a-button>
<a-button shape="circle" size="large" class="social-circle-btn" @click="handleQQLogin">
<QqOutlined />
</a-button>
</div>
<div class="social-button-captions">
<span>微信登录(仅小程序)</span>
<span>QQ 登录(暂未开放)</span>
微信手机号授权登录请在小程序中使用;网页端可使用账号密码或验证码登录。
</div>
</div>
@@ -398,7 +386,7 @@
<script setup lang="ts">
import { computed, onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue'
import { useRouter } from 'vue-router'
import { InfoCircleOutlined, LockOutlined, QqOutlined, UserOutlined, WechatOutlined } from '@ant-design/icons-vue'
import { InfoCircleOutlined, LockOutlined, UserOutlined } from '@ant-design/icons-vue'
import { message } from 'ant-design-vue'
import type { Rule } from 'ant-design-vue/es/form'
import { authApi } from '@/api/auth'
@@ -454,7 +442,7 @@ let loginPhoneShopCheckTimer: number | undefined
const phoneRegex = /^1[3-9]\d{9}$/
const verificationCodeRegex = /^\d{6}$/
const loginShopUnsupportedMessage = '当前环境暂未开放登录前门店预加载,可直接登录;如账号绑定多家门店,登录后可在个人中心切换当前门店。'
const loginShopUnsupportedMessage = '可直接登录;如账号绑定多家门店,登录后可在个人中心切换当前门店。'
const loginShopPlaceholder = computed(() => {
if (allowLoginShopless.value) {
return '当前暂无启用店铺,可直接登录'
@@ -926,14 +914,6 @@ const handleResetPassword = async () => {
}
}
const handleWeChatLogin = () => {
message.info('网页端暂未开放微信登录,请使用账号密码、验证码登录,或前往小程序使用微信手机号一键登录')
}
const handleQQLogin = () => {
message.info('网页端暂未开放 QQ 登录,敬请期待')
}
const handleRegisterAccountBlur = async () => {
if (activeTab.value !== 'register' || !formData.account.trim()) {
registerAccountStatus.value = null