联系客服
This commit is contained in:
parent
ec1fa523a7
commit
e860b422c6
|
@ -447,10 +447,9 @@
|
||||||
class="eject-btns">
|
class="eject-btns">
|
||||||
去投诉
|
去投诉
|
||||||
</view>
|
</view>
|
||||||
<view :custom-style="customStyle2" shape="circle" :plain="true" @click="goMsg(order)" class="eject-btns">
|
|
||||||
|
<view :custom-style="customStyle2" shape="circle" :plain="true" @click="goChat" class="eject-btns">
|
||||||
联系客服</view>
|
联系客服</view>
|
||||||
<!-- <view :custom-style="customStyle2" shape="circle" :plain="true" @click="goChat" class="eject-btns">
|
|
||||||
联系客服</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else>
|
<view v-else>
|
||||||
|
|
|
@ -162,6 +162,10 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="prompt-text">-当你累了 想起盛安到家-</view>
|
<view class="prompt-text">-当你累了 想起盛安到家-</view>
|
||||||
|
<view class="kefu" @click="goMsg">
|
||||||
|
<image src="../../static/kefu.png" mode=""></image>
|
||||||
|
<span>联系客服</span>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
@ -244,6 +248,23 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
goMsg() {//客服聊天
|
||||||
|
let data = {
|
||||||
|
userId: uni.getStorageSync('userId'),
|
||||||
|
focusedUserId: '0',
|
||||||
|
// userName:this.order.userName
|
||||||
|
}
|
||||||
|
// app/chat/insertChatConversation
|
||||||
|
this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => {
|
||||||
|
if (res.data) {
|
||||||
|
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId +
|
||||||
|
'&byUserId=' + res.data.userId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getDataX(){
|
getDataX(){
|
||||||
this.$Request.get("/app/massage/package/findPackageAndMassagePage",{
|
this.$Request.get("/app/massage/package/findPackageAndMassagePage",{
|
||||||
city:'',
|
city:'',
|
||||||
|
@ -657,6 +678,29 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.kefu span{
|
||||||
|
font-size: 14px;
|
||||||
|
color: #1296db;
|
||||||
|
}
|
||||||
|
.kefu image{
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
.kefu{
|
||||||
|
width: 75px;
|
||||||
|
height: 75px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
position: fixed;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
margin-bottom: 20%;
|
||||||
|
margin-right: 20px;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
.shop_label{
|
.shop_label{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@ -1086,6 +1130,7 @@
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
/* background: #f7f7f7; */
|
/* background: #f7f7f7; */
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.div-with-background {
|
.div-with-background {
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue