/.实现在线客服与微信的还是有区别的
<contact-button tnt-inst-id="企业编码" scene="聊天窗编码"/>
坑点:自定义咨询按钮(可选) [正方形的…]
<contact-button tnt-inst-id="企业编码" scene="聊天窗编码"
size="咨询按钮大小" color="咨询按钮颜色" icon="咨询按钮图片url" />
实现方式:
<list-item
thumbSize = "20px" thumb="image.png'}}">
<view class="contact_button">
<flex justify="between">
<text class="list_item_title">联系客服</text>
<image class="" mode="scaleToFill" src="arrow.png" />
</flex>
<contact-button tnt-inst-id="{{tntInstId}}" scene="{{scene}}" />
</view>
</list-item>
//撑大背景
contact-button{
position: absolute;
z-index: 100;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
}