feat: 调整配置

This commit is contained in:
duanshuwen
2025-09-28 19:19:13 +08:00
parent dad6a47343
commit 2580e7a266
4 changed files with 11 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
"duohua": { "duohua": {
"clientId": "2", "clientId": "2",
"appId": "wx23f86d809ae80259", "appId": "wx23f86d809ae80259",
"name": "朵", "name": "朵",
"placeholder": "快告诉朵朵您在想什么~", "placeholder": "快告诉朵朵您在想什么~",
"loginDesc": "您好,欢迎来到朵花温泉", "loginDesc": "您好,欢迎来到朵花温泉",
"logo": "@/pages/login/images/dh.png", "logo": "@/pages/login/images/dh.png",
@@ -20,7 +20,7 @@
"tianmu": { "tianmu": {
"clientId": "4", "clientId": "4",
"appId": "wx0be424e1d22065a9", "appId": "wx0be424e1d22065a9",
"name": "沐", "name": "沐",
"placeholder": "快告诉沐沐您在想什么~", "placeholder": "快告诉沐沐您在想什么~",
"loginDesc": "您好,欢迎来到天沐温泉", "loginDesc": "您好,欢迎来到天沐温泉",
"logo": "@/pages/login/images/tm.png", "logo": "@/pages/login/images/tm.png",

View File

@@ -42,20 +42,25 @@
<view class="footer-help"> <view class="footer-help">
<image src="./images/icon_volume.png" class="help-icon"></image> <image src="./images/icon_volume.png" class="help-icon"></image>
<text class="help-text">朵朵收到您的意见将第一时间为您处理!</text> <text class="help-text">
{{ appName }}收到您的意见将第一时间为您处理!
</text>
</view> </view>
</view> </view>
</template> </template>
<script setup> <script setup>
import { ref, onMounted, nextTick } from "vue"; import { ref, onMounted, nextTick, computed } from "vue";
import { SCROLL_TO_BOTTOM } from "@/constant/constant"; import { SCROLL_TO_BOTTOM } from "@/constant/constant";
import { getCurrentConfig } from "@/constant/base";
import { createWorkOrder } from "@/request/api/OrderApi"; import { createWorkOrder } from "@/request/api/OrderApi";
const workOrderTypeId = ref(""); const workOrderTypeId = ref("");
const contactPhone = ref(""); const contactPhone = ref("");
const contactText = ref(""); const contactText = ref("");
const isCallSuccess = ref(false); // 呼叫成功状态 const isCallSuccess = ref(false); // 呼叫成功状态
const workOrderId = ref(0); // 工单ID const workOrderId = ref(0); // 工单ID
const appName = computed(() => getCurrentConfig().name);
const handleCall = async () => { const handleCall = async () => {
if (!contactPhone.value.trim()) { if (!contactPhone.value.trim()) {

View File

@@ -60,9 +60,9 @@ export const currentClientType = () => {
switch (getCurrentConfig().name) { switch (getCurrentConfig().name) {
case '智念': case '智念':
return ClientType.ZHINIAN; return ClientType.ZHINIAN;
case '朵': case '朵':
return ClientType.DUOHUA; return ClientType.DUOHUA;
case '沐': case '沐':
return ClientType.TIANMU; return ClientType.TIANMU;
default: default:
return ClientType.ZHINIAN; return ClientType.ZHINIAN;

View File

@@ -89,7 +89,6 @@ const AgreeType = ref("service");
const logo = computed(() => getCurrentConfig().logo); const logo = computed(() => getCurrentConfig().logo);
const subLogo = computed(() => getCurrentConfig().subLogo); const subLogo = computed(() => getCurrentConfig().subLogo);
const loginDesc = computed(() => getCurrentConfig().loginDesc); const loginDesc = computed(() => getCurrentConfig().loginDesc);
const clientId = computed(() => getCurrentConfig().clientId);
// 同意隐私协议并获取手机号 // 同意隐私协议并获取手机号
const handleAgreeAndGetPhone = () => { const handleAgreeAndGetPhone = () => {