Compare commits
No commits in common. "bb29882049a8b45c9ca821fa108804cee985bdb5" and "560f4eae9180c45fe0ef02a7cd4e12fafdd438de" have entirely different histories.
bb29882049
...
560f4eae91
|
|
@ -2919,10 +2919,7 @@
|
||||||
.smrz {
|
.smrz {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 5px;
|
padding-left: 20%;
|
||||||
padding-left: 20%;
|
padding-right: 20%;
|
||||||
padding-right: 20%;
|
|
||||||
/* padding-left: 48%;
|
|
||||||
padding-right: 5px; */
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -97,40 +97,28 @@
|
||||||
<view class="my-serve-title">我的服务</view>
|
<view class="my-serve-title">我的服务</view>
|
||||||
<view class="my-serve-view">
|
<view class="my-serve-view">
|
||||||
<view class="my-serve-list" @click="meServe('服务套餐')">
|
<view class="my-serve-list" @click="meServe('服务套餐')">
|
||||||
<div class="wdfw-dsy" v-show="wdfwTj.fwtc>0">
|
|
||||||
</div>
|
|
||||||
<image src="../../static/my-fuwu.png" mode=""></image>
|
<image src="../../static/my-fuwu.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">服务套餐</span>
|
<span class="my-serve-list-text">服务套餐</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-serve-list" @click="meServe('项目次卡')">
|
<view class="my-serve-list" @click="meServe('项目次卡')">
|
||||||
<div class="wdfw-dsy" v-show="wdfwTj.xmck>0">
|
|
||||||
</div>
|
|
||||||
<image src="../../static/my-cika.png" mode=""></image>
|
<image src="../../static/my-cika.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">项目次卡</span>
|
<span class="my-serve-list-text">项目次卡</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-serve-list" @click="meServe('服务疗程')">
|
<view class="my-serve-list" @click="meServe('服务疗程')">
|
||||||
<div class="wdfw-dsy" v-show="wdfwTj.fwlc>0">
|
|
||||||
</div>
|
|
||||||
<image src="../../static/my-liaocheng.png" mode=""></image>
|
<image src="../../static/my-liaocheng.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">服务疗程</span>
|
<span class="my-serve-list-text">服务疗程</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-serve-view">
|
<view class="my-serve-view">
|
||||||
<view class="my-serve-list" @click="tuangou()">
|
<view class="my-serve-list" @click="tuangou()">
|
||||||
<div class="wdfw-dsy" v-show="wdfwTj.pt>0">
|
|
||||||
</div>
|
|
||||||
<image src="../../static/my-liaocheng2.png" mode=""></image>
|
<image src="../../static/my-liaocheng2.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">拼团</span>
|
<span class="my-serve-list-text">拼团</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-serve-list" @click="miaoshao()">
|
<view class="my-serve-list" @click="miaoshao()">
|
||||||
<div class="wdfw-dsy" v-show="wdfwTj.xsms>0">
|
|
||||||
</div>
|
|
||||||
<image src="../../static/my-liaocheng3.png" mode=""></image>
|
<image src="../../static/my-liaocheng3.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">限时秒杀</span>
|
<span class="my-serve-list-text">限时秒杀</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-serve-list" @click="qiye()">
|
<view class="my-serve-list" @click="qiye()">
|
||||||
<div class="wdfw-dsy" v-show="wdfwTj.qyyy>0">
|
|
||||||
</div>
|
|
||||||
<image src="../../static/my-liaocheng1.png" mode=""></image>
|
<image src="../../static/my-liaocheng1.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">企业预约</span>
|
<span class="my-serve-list-text">企业预约</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -316,14 +304,6 @@
|
||||||
blIsQds: '', //1是渠道商 0不是渠道商
|
blIsQds: '', //1是渠道商 0不是渠道商
|
||||||
kfInterval: null, //是否有新客服消息逻辑定时任务
|
kfInterval: null, //是否有新客服消息逻辑定时任务
|
||||||
haveNewMsg: false, //是否有新消息
|
haveNewMsg: false, //是否有新消息
|
||||||
wdfwTj: { //我得服务各内容未使用数量统计 个别服务统计结果并非最终未使用数 不能作为未使用数量依据
|
|
||||||
fwtc: 0,
|
|
||||||
xmck: 0,
|
|
||||||
fwlc: 0,
|
|
||||||
pt: 0,
|
|
||||||
xsms: 0,
|
|
||||||
qyyy: 0
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
|
|
@ -336,7 +316,6 @@
|
||||||
this.getDataX()
|
this.getDataX()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.queryKytcs()
|
|
||||||
this.hyCheck = this.$queue.getData('hyCheck');
|
this.hyCheck = this.$queue.getData('hyCheck');
|
||||||
this.tgCheck = this.$queue.getData('tgCheck');
|
this.tgCheck = this.$queue.getData('tgCheck');
|
||||||
this.userId = uni.getStorageSync('userId')
|
this.userId = uni.getStorageSync('userId')
|
||||||
|
|
@ -357,7 +336,7 @@
|
||||||
this.avatar = '../../static/logo.png'
|
this.avatar = '../../static/logo.png'
|
||||||
this.isVip = 0
|
this.isVip = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
this.haveNewMsg = false
|
this.haveNewMsg = false
|
||||||
if (this.kfInterval == null) {
|
if (this.kfInterval == null) {
|
||||||
this.kfInterval = setInterval(() => {
|
this.kfInterval = setInterval(() => {
|
||||||
|
|
@ -366,43 +345,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//查询可用套餐数量
|
|
||||||
queryKytcs() {
|
|
||||||
let that = this
|
|
||||||
this.$Request.get('/app/user/package/queryKytcs', {
|
|
||||||
userId: uni.getStorageSync('userId'),
|
|
||||||
type: '104'
|
|
||||||
}).then(res => {
|
|
||||||
if (res.data) {
|
|
||||||
res.data.forEach(item => {
|
|
||||||
if (item.type == 104) that.wdfwTj.fwtc = item.count
|
|
||||||
if (item.type == 105) that.wdfwTj.xmck = item.count
|
|
||||||
if (item.type == 106) that.wdfwTj.fwlc = item.count
|
|
||||||
if (item.type == 111) that.wdfwTj.pt = item.count
|
|
||||||
if (item.type == 112) that.wdfwTj.xsms = item.count
|
|
||||||
if (item.type == 114) that.wdfwTj.qyyy = item.count
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
that.wdfwTj = {
|
|
||||||
fwtc: 0,
|
|
||||||
xmck: 0,
|
|
||||||
fwlc: 0,
|
|
||||||
pt: 0,
|
|
||||||
xsms: 0,
|
|
||||||
qyyy: 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}).catch(res => {
|
|
||||||
that.wdfwTj = {
|
|
||||||
fwtc: 0,
|
|
||||||
xmck: 0,
|
|
||||||
fwlc: 0,
|
|
||||||
pt: 0,
|
|
||||||
xsms: 0,
|
|
||||||
qyyy: 0
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
selectMsg() {
|
selectMsg() {
|
||||||
let keFuLastMsgCount = this.$queue.getData('keFuLastMsgCount');
|
let keFuLastMsgCount = this.$queue.getData('keFuLastMsgCount');
|
||||||
let keFuNewMsgCount = this.$queue.getData('keFuNewMsgCount');
|
let keFuNewMsgCount = this.$queue.getData('keFuNewMsgCount');
|
||||||
|
|
@ -1129,7 +1071,6 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-serve-list image {
|
.my-serve-list image {
|
||||||
|
|
@ -1453,17 +1394,4 @@
|
||||||
height: auto;
|
height: auto;
|
||||||
/* 自动调整高度 */
|
/* 自动调整高度 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.wdfw-dsy {
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
right: 8px;
|
|
||||||
width: 11px;
|
|
||||||
height: 11px;
|
|
||||||
display: inline-block;
|
|
||||||
background-color: #ff5b56;
|
|
||||||
border-radius: 12px;
|
|
||||||
border: 3px solid #fff;
|
|
||||||
z-index: 99;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue