feat: 调整配置
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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()) {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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 = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user