feat: 替换登录的logo
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
"clientId": "6",
|
||||
"appId": "wx5e79df5996572539",
|
||||
"name": "念念",
|
||||
"logo": "https://one-feel-abroad.oss-ap-southeast-1.aliyuncs.com/20260514105508_3233_27.png",
|
||||
"theme": {
|
||||
"theme-color-800": "#174BB6",
|
||||
"theme-color-700": "#145EE1",
|
||||
@@ -16,7 +15,6 @@
|
||||
"clientId": "11",
|
||||
"appId": "wx6fcf7b3db3deee6c",
|
||||
"name": "念念助手",
|
||||
"logo": "https://one-feel-config-images-bucket.oss-cn-chengdu.aliyuncs.com/znjqzs.png",
|
||||
"theme": {
|
||||
"theme-color-800": "#174BB6",
|
||||
"theme-color-700": "#145EE1",
|
||||
@@ -29,7 +27,6 @@
|
||||
"clientId": "6",
|
||||
"appId": "wx5e79df5996572539",
|
||||
"name": "小七",
|
||||
"logo": "https://one-feel-config-images-bucket.oss-cn-chengdu.aliyuncs.com/20260526103118_416_809.png",
|
||||
"theme": {
|
||||
"theme-color-800": "#0B7034",
|
||||
"theme-color-700": "#0B5C2D",
|
||||
@@ -42,7 +39,6 @@
|
||||
"clientId": "2",
|
||||
"appId": "wx23f86d809ae80259",
|
||||
"name": "朵朵",
|
||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png",
|
||||
"theme": {
|
||||
"theme-color-800": "#0B7034",
|
||||
"theme-color-700": "#0B5C2D",
|
||||
@@ -55,7 +51,6 @@
|
||||
"clientId": "4",
|
||||
"appId": "wx0be424e1d22065a9",
|
||||
"name": "沐沐",
|
||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/tm_logo.png",
|
||||
"theme": {
|
||||
"theme-color-800": "#174BB6",
|
||||
"theme-color-700": "#145EE1",
|
||||
|
||||
@@ -19,25 +19,21 @@
|
||||
"clientId": "2",
|
||||
"appId": "wx5e79df5996572539",
|
||||
"name": "念念",
|
||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png"
|
||||
},
|
||||
"xiaoqi": {
|
||||
"clientId": "6",
|
||||
"appId": "wx5e79df5996572539",
|
||||
"name": "小七",
|
||||
"logo": "https://one-feel-config-images-bucket.oss-cn-chengdu.aliyuncs.com/20260526103118_416_809.png"
|
||||
},
|
||||
"duohua": {
|
||||
"clientId": "2",
|
||||
"appId": "wx23f86d809ae80259",
|
||||
"name": "朵花",
|
||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png"
|
||||
},
|
||||
"tianmu": {
|
||||
"clientId": "4",
|
||||
"appId": "wx0be424e1d22065a9",
|
||||
"name": "天沐",
|
||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/tm_logo.png"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -165,7 +161,6 @@ A: 在 `client-configs.json` 中添加新的客户端配置:
|
||||
"clientId": "客户端ID",
|
||||
"appId": "微信小程序AppID",
|
||||
"name": "客户端显示名称",
|
||||
"logo": "@/pages/login/images/logo.png",
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ import { onLogin, goBack, onCheckPhoneLogin, onAppleLogin } from "@/hooks/useGoL
|
||||
import CheckBox from "@/components/CheckBox/index.vue";
|
||||
import AgreePopup from "./components/AgreePopup/index.vue";
|
||||
import { zniconsMap } from "@/static/fonts/znicons";
|
||||
import { getCurrentConfig } from "@/constant/base";
|
||||
import { ossChengduUrl } from "@/request/base/baseUrl";
|
||||
|
||||
// 是否需要微信手机号授权登录
|
||||
const needWxAuthLogin = ref(false);
|
||||
@@ -67,7 +67,7 @@ const serviceAgreement = ref("");
|
||||
const privacyAgreement = ref("");
|
||||
// 协议类型
|
||||
const AgreeType = ref("service");
|
||||
const logo = computed(() => getCurrentConfig().logo);
|
||||
const logo = computed(() => `${ossChengduUrl()}login_logo.png`);
|
||||
const isAppleLogin = ref(false);
|
||||
const loginButtonText = computed(() =>
|
||||
isAppleLogin.value ? "Apple ID快捷登录" : "手机号快捷登录"
|
||||
|
||||
Reference in New Issue
Block a user