fix(global): 移除联系客服
This commit is contained in:
parent
97a8fd35ee
commit
6867961891
|
@ -58,7 +58,7 @@ export default {
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code == '200') {
|
if (res.code == '200') {
|
||||||
let list = JSON.parse(localStorage.getItem('menuList'))
|
let list = JSON.parse(localStorage.getItem('menuList'))
|
||||||
let arr = res.data[0].publishLocation.split(',')
|
let arr = res.data[0]?.publishLocation.split(',') || []
|
||||||
arr.forEach(items => {
|
arr.forEach(items => {
|
||||||
if (items == this.publishLocationIndex) {
|
if (items == this.publishLocationIndex) {
|
||||||
this.noticeFlag = true
|
this.noticeFlag = true
|
||||||
|
|
4
main.js
4
main.js
|
@ -23,9 +23,9 @@ Vue.use(Vue2OrgTree)
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { saveAs } from 'file-saver';
|
import { saveAs } from 'file-saver';
|
||||||
window.wx = {}
|
window.wx = {}
|
||||||
import floating from '@/components/floating/floating.vue';
|
|
||||||
/*底部数据*/
|
/*底部数据*/
|
||||||
Vue.component('floating', floating)
|
|
||||||
Vue.prototype.$store = store
|
Vue.prototype.$store = store
|
||||||
Vue.use(uview)
|
Vue.use(uview)
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
|
|
|
@ -37,13 +37,7 @@
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</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="banner" v-if="isEmpty(goodsList.advertBannerList) == false">
|
||||||
<view class="uni-margin-wrap">
|
<view class="uni-margin-wrap">
|
||||||
<swiper
|
<swiper
|
||||||
|
|
|
@ -60,13 +60,13 @@
|
||||||
<!-- 底部 -->
|
<!-- 底部 -->
|
||||||
<view class="footer_f">
|
<view class="footer_f">
|
||||||
<view class="footer">
|
<view class="footer">
|
||||||
<view class="footer_l">
|
<!-- <view class="footer_l">
|
||||||
<view class="footer_li footer_ll">
|
<view class="footer_li footer_ll">
|
||||||
<u-icon size="18"
|
<u-icon size="18"
|
||||||
name="server-fill"></u-icon>
|
name="server-fill"></u-icon>
|
||||||
<view @click="openKf">{{ '客服' }}</view>
|
<view @click="openKf">{{ '客服' }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="footer_l">
|
<view class="footer_l">
|
||||||
<u-button type="success"
|
<u-button type="success"
|
||||||
class="uBtn"
|
class="uBtn"
|
||||||
|
|
|
@ -74,11 +74,7 @@
|
||||||
name="home"></u-icon>
|
name="home"></u-icon>
|
||||||
<view>{{ '首页' }}</view>
|
<view>{{ '首页' }}</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"
|
<view class="footer_li footer_ll"
|
||||||
|
|
||||||
@click="toCart">
|
@click="toCart">
|
||||||
|
|
|
@ -130,10 +130,7 @@
|
||||||
<u-icon size="18" name="home"></u-icon>
|
<u-icon size="18" name="home"></u-icon>
|
||||||
<view>{{ '首页' }}</view>
|
<view>{{ '首页' }}</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"
|
<view class="footer_li footer_ll" @click="toCart"
|
||||||
v-if="
|
v-if="
|
||||||
(specialArea == 31 && user.isMakerSpace == 0) ||
|
(specialArea == 31 && user.isMakerSpace == 0) ||
|
||||||
|
@ -275,15 +272,6 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
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");
|
|
||||||
},
|
|
||||||
toIndex() {
|
toIndex() {
|
||||||
uni.switchTab({ url: "/pages/index/index" });
|
uni.switchTab({ url: "/pages/index/index" });
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue