|
@@ -40,6 +40,7 @@
|
|
|
<div class="lcb_pre" @tap="dislogRecord(item)">对话记录</div>
|
|
|
<div class="lcb_pre" @tap="changeWifi(item)">配置网络</div>
|
|
|
<div class="lcb_pre" @tap="unbindDevice(item)">解绑设备</div>
|
|
|
+ <div class="lcb_pre" @tap="toDialog(item)">开始对话</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -79,6 +80,11 @@ export default {
|
|
|
uni.navigateTo({
|
|
|
url: '/pagesMy/wifiSearch?type=jpw'
|
|
|
});
|
|
|
+ },
|
|
|
+ toDialog(item){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pages/dialog?deviceMac='+item.id
|
|
|
+ })
|
|
|
},
|
|
|
unbindDevice(item) {
|
|
|
uni.showModal({
|
|
@@ -332,18 +338,18 @@ export default {
|
|
|
|
|
|
.lc_btns {
|
|
|
margin-top: 62rpx;
|
|
|
- margin-left: -1rpx;
|
|
|
overflow: hidden;
|
|
|
-
|
|
|
+ justify-content: space-between;
|
|
|
.lcb_pre {
|
|
|
- width: calc(100% / 3);
|
|
|
- height: 37rpx;
|
|
|
- border-left: 1rpx solid #72832b;
|
|
|
+ width: calc(100% / 4 - 15rpx);
|
|
|
+ height: 80rpx;
|
|
|
+ border-radius: 24rpx;
|
|
|
+ background: rgba(217, 241, 89, .2);
|
|
|
font-family: PingFang-SC, PingFang-SC;
|
|
|
font-weight: bold;
|
|
|
font-size: 26rpx;
|
|
|
color: #72832b;
|
|
|
- line-height: 37rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
}
|