feat: 新增平台客服配置及弹窗组件
- 新增客服电话、服务时间、企业微信客服配置项 - 新增客服弹窗组件支持微信在线客服和电话拨打 - 调整核销码为6位数字,修复相关提示文本 - 优化订单服务项目展示逻辑 - 完善抢单大厅加载动画和列表样式
这个提交包含在:
@@ -214,18 +214,6 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<button class="menu-item menu-btn clickable-hover" open-type="contact">
|
||||
<view class="mi-left">
|
||||
<image class="mi-ico" src="/static/icons/master/menu-service.svg" mode="aspectFit" />
|
||||
<text class="mi-title">在线客服</text>
|
||||
</view>
|
||||
<view class="mi-right">
|
||||
<image class="mi-arrow" src="/static/icons/arrow-right.svg" mode="aspectFit" />
|
||||
</view>
|
||||
</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef MP-WEIXIN -->
|
||||
<view class="menu-item clickable-hover" @tap="callService">
|
||||
<view class="mi-left">
|
||||
<image class="mi-ico" src="/static/icons/master/menu-service.svg" mode="aspectFit" />
|
||||
@@ -236,7 +224,6 @@
|
||||
<image class="mi-arrow" src="/static/icons/arrow-right.svg" mode="aspectFit" />
|
||||
</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
|
||||
<view class="menu-item clickable-hover" @tap="openAgreementPicker">
|
||||
<view class="mi-left">
|
||||
@@ -268,6 +255,7 @@
|
||||
</view>
|
||||
</template>
|
||||
</YjyfRefreshScroll>
|
||||
<YjyfServicePopup :visible="servicePopupVisible" @update:visible="servicePopupVisible = $event" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -279,6 +267,7 @@
|
||||
import { getNavBarMetrics } from '@/utils/system.js';
|
||||
import YjyfNavBar from '@/components/YjyfNavBar.vue';
|
||||
import YjyfRefreshScroll from '@/components/YjyfRefreshScroll.vue';
|
||||
import YjyfServicePopup from '@/components/YjyfServicePopup.vue';
|
||||
|
||||
const emit = defineEmits(['switch-tab']);
|
||||
const MAX_VISIBLE_SKILLS = 8;
|
||||
@@ -418,8 +407,10 @@
|
||||
uni.navigateTo({ url: '/pages/master/skills' });
|
||||
}
|
||||
|
||||
const servicePopupVisible = ref(false);
|
||||
|
||||
function callService() {
|
||||
api.contactService();
|
||||
servicePopupVisible.value = true;
|
||||
}
|
||||
|
||||
function openAgreementPicker() {
|
||||
|
||||
在新工单中引用
屏蔽一个用户