feat(kefu): 个人中心导航栏与全局客服入口支持直达微信小程序原生客服会话
这个提交包含在:
@@ -1,7 +1,16 @@
|
||||
<template>
|
||||
<s-layout class="chat-wrap" title="客服" navbar="inner">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view class="mp-service-bar ss-flex ss-row-between ss-col-center">
|
||||
<view class="ss-flex ss-col-center">
|
||||
<text class="cicon-wechat ss-m-r-12 mp-wechat-icon"></text>
|
||||
<view class="mp-service-text">微信小程序官方客服</view>
|
||||
</view>
|
||||
<button class="ss-reset-button mp-service-btn" open-type="contact">点击接入</button>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<div class="status">
|
||||
{{ socketState.isConnect ? customerServiceInfo.title : '网络已断开,请检查网络后刷新重试' }}
|
||||
{{ socketState.isConnect ? customerServiceInfo.title : '网络已断开,可使用上方微信客服直接沟通' }}
|
||||
</div>
|
||||
<div class="page-bg" :style="{ height: sys_navBar + 'px' }"></div>
|
||||
<view class="chat-box" :style="{ height: pageHeight + 'px' }">
|
||||
@@ -597,7 +606,36 @@
|
||||
// .ui-navbar-box {
|
||||
// background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
|
||||
// }
|
||||
// }
|
||||
.mp-service-bar {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
z-index: 4;
|
||||
margin: 16rpx 20rpx;
|
||||
padding: 16rpx 24rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 4rpx 14rpx rgba(0, 0, 0, 0.08);
|
||||
|
||||
.mp-wechat-icon {
|
||||
font-size: 40rpx;
|
||||
color: #07c160;
|
||||
}
|
||||
|
||||
.mp-service-text {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.mp-service-btn {
|
||||
padding: 10rpx 24rpx;
|
||||
background: #07c160;
|
||||
color: #ffffff;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
border-radius: 28rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.status {
|
||||
position: relative;
|
||||
|
||||
在新工单中引用
屏蔽一个用户