fix(global): 移除联系客服

This commit is contained in:
ywk 2025-04-11 11:33:42 +08:00
parent 97a8fd35ee
commit 6867961891
6 changed files with 9 additions and 31 deletions

View File

@ -58,7 +58,7 @@ export default {
.then(res => {
if (res.code == '200') {
let list = JSON.parse(localStorage.getItem('menuList'))
let arr = res.data[0].publishLocation.split(',')
let arr = res.data[0]?.publishLocation.split(',') || []
arr.forEach(items => {
if (items == this.publishLocationIndex) {
this.noticeFlag = true

View File

@ -23,9 +23,9 @@ Vue.use(Vue2OrgTree)
import axios from 'axios';
import { saveAs } from 'file-saver';
window.wx = {}
import floating from '@/components/floating/floating.vue';
/*底部数据*/
Vue.component('floating', floating)
Vue.prototype.$store = store
Vue.use(uview)
Vue.config.productionTip = false

View File

@ -37,13 +37,7 @@
</view> -->
</view>
</view>
<floating></floating>
<!-- <view class="kf_A">
<view class="kf" @click="openKf">
<image src="../../static/images/kf.png"></image>
<view>{{ '在线客服' }}</view>
</view>
</view> -->
<view class="banner" v-if="isEmpty(goodsList.advertBannerList) == false">
<view class="uni-margin-wrap">
<swiper

View File

@ -60,13 +60,13 @@
<!-- 底部 -->
<view class="footer_f">
<view class="footer">
<view class="footer_l">
<!-- <view class="footer_l">
<view class="footer_li footer_ll">
<u-icon size="18"
name="server-fill"></u-icon>
<view @click="openKf">{{ '客服' }}</view>
</view>
</view>
</view> -->
<view class="footer_l">
<u-button type="success"
class="uBtn"

View File

@ -74,11 +74,7 @@
name="home"></u-icon>
<view>{{ '首页' }}</view>
</view>
<view class="footer_li footer_ll">
<u-icon size="18"
name="server-fill"></u-icon>
<view @click="openKf">{{ '客服' }}</view>
</view>
<view class="footer_li footer_ll"
@click="toCart">

View File

@ -130,10 +130,7 @@
<u-icon size="18" name="home"></u-icon>
<view>{{ '首页' }}</view>
</view>
<view class="footer_li footer_ll" @click="openKf">
<u-icon size="18" name="server-fill"></u-icon>
<view>{{ '客服' }}</view>
</view>
<view class="footer_li footer_ll" @click="toCart"
v-if="
(specialArea == 31 && user.isMakerSpace == 0) ||
@ -274,16 +271,7 @@ export default {
},
});
},
methods: {
openKf() {
let userInfo = uni.getStorageSync("User");
let src =
"https://im1c5366d.7x24cc.com/phone_webChat.html?accountId=N000000033467&chatId=302384fb-eda1-436e-a5e9-c03a2dbd6e97&visitorId=" +
userInfo.memberCode +
"&nickName=" +
userInfo.memberCode;
window.open(src, "_blank");
},
methods: {
toIndex() {
uni.switchTab({ url: "/pages/index/index" });
},