diff --git a/client-configs.json b/client-configs.json index b45947a..56ec9f1 100644 --- a/client-configs.json +++ b/client-configs.json @@ -5,8 +5,7 @@ "name": "智念", "placeholder": "快告诉智念您在想什么~", "loginDesc": "您好,欢迎来到智念科技", - "logo": "@/pages/login/images/dh.png", - "subLogo": "@/pages/login/images/dhwq.png" + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png" }, "duohua": { "clientId": "2", @@ -14,8 +13,7 @@ "name": "朵朵", "placeholder": "快告诉朵朵您在想什么~", "loginDesc": "您好,欢迎来到朵花温泉", - "logo": "@/pages/login/images/dh.png", - "subLogo": "@/pages/login/images/dhwq.png" + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png" }, "tianmu": { "clientId": "4", @@ -23,7 +21,6 @@ "name": "沐沐", "placeholder": "快告诉沐沐您在想什么~", "loginDesc": "您好,欢迎来到天沐温泉", - "logo": "@/pages/login/images/tm.png", - "subLogo": "@/pages/login/images/wsmm.png" + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/tm_logo.png" } } diff --git a/scripts/README-update-appid.md b/scripts/README-update-appid.md index e60a558..e54251e 100644 --- a/scripts/README-update-appid.md +++ b/scripts/README-update-appid.md @@ -6,7 +6,7 @@ - 支持通过客户端名称切换配置 - 自动更新相关配置文件 -- 统一的JSON配置文件管理 +- 统一的 JSON 配置文件管理 - 完整的错误处理和验证 ## 配置文件结构 @@ -21,8 +21,7 @@ "name": "智念", "placeholder": "快告诉智念您在想什么~", "loginDesc": "您好,欢迎来到智念科技", - "logo": "@/pages/login/images/dh.png", - "subLogo": "@/pages/login/images/dhwq.png" + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png" }, "duohua": { "clientId": "2", @@ -30,8 +29,7 @@ "name": "朵花", "placeholder": "快告诉朵朵您在想什么~", "loginDesc": "您好,欢迎来到朵花温泉", - "logo": "@/pages/login/images/dh.png", - "subLogo": "@/pages/login/images/dhwq.png" + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png" }, "tianmu": { "clientId": "4", @@ -39,8 +37,7 @@ "name": "天沐", "placeholder": "快告诉沐沐您在想什么~", "loginDesc": "您好,欢迎来到天沐温泉", - "logo": "@/pages/login/images/tm.png", - "subLogo": "@/pages/login/images/wsmm.png" + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/tm_logo.png" } } ``` @@ -98,6 +95,7 @@ node scripts/update-appid.js tianmu - 保持 JSON 格式化 3. **src/constant/base.js** + - 更新 `getCurrentConfig()` 函数返回的客户端配置 4. **client-configs.json** @@ -156,18 +154,19 @@ A: 可以使用版本控制系统恢复,或者再次运行脚本切换到其 **Q: 如何添加新的客户端配置?** A: 在 `client-configs.json` 中添加新的客户端配置: - ```json - "new_client": { - "clientId": "客户端ID", - "appId": "微信小程序AppID", - "name": "客户端显示名称", - "placeholder": "输入框占位符文本", - "loginDesc": "登录页面描述文本", - "logo": "@/pages/login/images/logo.png", - "subLogo": "@/pages/login/images/sublogo.png" - } - ``` - `src/constant/base.js` 会自动读取并处理新配置,无需手动修改。 + +```json +"new_client": { + "clientId": "客户端ID", + "appId": "微信小程序AppID", + "name": "客户端显示名称", + "placeholder": "输入框占位符文本", + "loginDesc": "登录页面描述文本", + "logo": "@/pages/login/images/logo.png", +} +``` + +`src/constant/base.js` 会自动读取并处理新配置,无需手动修改。 **Q: 脚本提示"读取配置文件失败"怎么办?** A: 检查 `client-configs.json` 文件是否存在且格式正确。 diff --git a/src/components/CheckBox/styles/index.scss b/src/components/CheckBox/styles/index.scss index 114e2e7..595dd97 100644 --- a/src/components/CheckBox/styles/index.scss +++ b/src/components/CheckBox/styles/index.scss @@ -1,6 +1,7 @@ .checkbox-wrapper { display: flex; align-items: center; + flex-wrap: wrap; .checkbox-icon { margin-right: 6px; diff --git a/src/components/CreateServiceOrder/index.vue b/src/components/CreateServiceOrder/index.vue index ce74316..6a8a6d2 100644 --- a/src/components/CreateServiceOrder/index.vue +++ b/src/components/CreateServiceOrder/index.vue @@ -117,7 +117,7 @@