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

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

View File

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

View File

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