new-20250827 加入008A、100Y #41
112
components/ProParams/ProParams.vue
Normal file
112
components/ProParams/ProParams.vue
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
<template>
|
||||||
|
<view class="proinfo lamp">
|
||||||
|
<text class="title">产品信息</text>
|
||||||
|
<view class="itemcontent">
|
||||||
|
<view class="item" @click="proDetail('productDes')">
|
||||||
|
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
||||||
|
<text class="txt">产品参数</text>
|
||||||
|
</view>
|
||||||
|
<view class="item" @click="proDetail('operatingInstruct')">
|
||||||
|
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
||||||
|
<text class="txt">操作说明</text>
|
||||||
|
</view>
|
||||||
|
<view class="item" @click="proDetail('operationVideo')">
|
||||||
|
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
||||||
|
<text class="txt">操作视频</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name:"ProParams",
|
||||||
|
props:{
|
||||||
|
id: {
|
||||||
|
type: String,
|
||||||
|
default: '0'
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
methods:{
|
||||||
|
proDetail: function(pgetpe) {
|
||||||
|
let id=(this.id ? this.id : 0);
|
||||||
|
if(id===0){
|
||||||
|
console.error("id=0,不跳转")
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
let url = '/pages/common/' + pgetpe + '/index?id=' + id;
|
||||||
|
|
||||||
|
uni.navigateTo({
|
||||||
|
url: url,
|
||||||
|
fail(ex) {
|
||||||
|
console.error(ex);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.proinfo .itemcontent {
|
||||||
|
display: flex;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
}
|
||||||
|
|
||||||
|
.proinfo .item {
|
||||||
|
width: 180rpx;
|
||||||
|
height: 180rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 40rpx;
|
||||||
|
border-radius: 16rpx;
|
||||||
|
background: rgba(26, 26, 26, 1);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.proinfo .item .img {
|
||||||
|
width: 50rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.proinfo .item .txt {
|
||||||
|
color: rgba(255, 255, 255, 0.6);
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-size: 24rpx;
|
||||||
|
font-weight: 400;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
letter-spacing: 0.07px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lamp {
|
||||||
|
margin-top: 24rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lamp .title {
|
||||||
|
width: 100%;
|
||||||
|
height: 60rpx;
|
||||||
|
line-height: 60rpx;
|
||||||
|
padding: 0rpx 28rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -451,7 +451,13 @@
|
|||||||
"path" : "pages/008A/HBY008A",
|
"path" : "pages/008A/HBY008A",
|
||||||
"style" :
|
"style" :
|
||||||
{
|
{
|
||||||
"navigationBarTitleText" : "HBY008A"
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/100Y/HBY100Y",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,14 +23,14 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="rightTxt">
|
<view class="rightTxt">
|
||||||
<view class="row">
|
<view class="row">
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/battry.png" mode="aspectFit"></image>
|
<image class="img" src="/static/images/common/battry.png" mode="aspectFit"></image>
|
||||||
<view class="txt">
|
<view class="txt">
|
||||||
<view class="bigTxt">{{formData.battary}}%</view>
|
<view class="bigTxt">{{formData.battary}}%</view>
|
||||||
<view class="smallTxt">电量</view>
|
<view class="smallTxt">电量</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="row">
|
<view class="row">
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/time.png" mode="aspectFit"></image>
|
<image class="img" src="/static/images/common/time.png" mode="aspectFit"></image>
|
||||||
<view class="txt">
|
<view class="txt">
|
||||||
<view class="bigTxt">{{formData.xuhang}}</view>
|
<view class="bigTxt">{{formData.xuhang}}</view>
|
||||||
<view class="smallTxt">续航时间</view>
|
<view class="smallTxt">续航时间</view>
|
||||||
@ -43,10 +43,7 @@
|
|||||||
<text class="lbl">设备名称</text>
|
<text class="lbl">设备名称</text>
|
||||||
<text class="value valueFont">{{device.deviceName}}</text>
|
<text class="value valueFont">{{device.deviceName}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
|
||||||
<text class="lbl">设备IMEI</text>
|
|
||||||
<text class="value valueFont">{{device.deviceImei}}</text>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<text class="lbl">Mac地址</text>
|
<text class="lbl">Mac地址</text>
|
||||||
@ -65,55 +62,10 @@
|
|||||||
<text class="value valueFont">{{formData.sta_system}}</text>
|
<text class="value valueFont">{{formData.sta_system}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="item">
|
|
||||||
<text class="lbl">定位信息</text>
|
|
||||||
<view class="multiValue" @click.stop="gotoMap()">
|
|
||||||
<view class="valueItem valueFont">
|
|
||||||
{{formData.Lon}}
|
|
||||||
|
|
||||||
</view>
|
|
||||||
<view class="valueItem valueFont">
|
|
||||||
|
|
||||||
{{formData.Lat}}
|
|
||||||
|
|
||||||
</view>
|
|
||||||
<view class="valueItem">
|
|
||||||
|
|
||||||
<view style="width:80%;float: right;text-align: right;" class="valueFont">
|
|
||||||
<uni-icons type="location" size="17" color="rgba(255, 255, 255, 0.8)"
|
|
||||||
style="vertical-align: bottom;" />
|
|
||||||
{{formData.address}}
|
|
||||||
</view>
|
|
||||||
<view class="clear"></view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proDetail('productDes')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="proDetail('operatingInstruct')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="proDetail('operationVideo')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<ProParams :id="device.id"></ProParams>
|
||||||
<MsgBox ref="msgPop" />
|
<MsgBox ref="msgPop" />
|
||||||
<global-loading ref="loading" />
|
<global-loading ref="loading" />
|
||||||
</view>
|
</view>
|
||||||
@ -143,9 +95,9 @@
|
|||||||
var eventChannel = null;
|
var eventChannel = null;
|
||||||
var these = null;
|
var these = null;
|
||||||
var ble = null;
|
var ble = null;
|
||||||
var rec = null;
|
var recei = null;
|
||||||
var mq = null;
|
var mq = null;
|
||||||
|
var pagePath="pages/008A/HBY008A";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@ -163,7 +115,7 @@
|
|||||||
src: '/static/images/common/shape.png'
|
src: '/static/images/common/shape.png'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
title: 'BJQ6075',
|
title: 'HBY008A',
|
||||||
showBack: true,
|
showBack: true,
|
||||||
height: 90
|
height: 90
|
||||||
},
|
},
|
||||||
@ -241,9 +193,11 @@
|
|||||||
onUnload() {
|
onUnload() {
|
||||||
console.log("页面卸载,释放资源");
|
console.log("页面卸载,释放资源");
|
||||||
let statusTopic = `A/${this.formData.imei?this.formData.imei:this.device.deviceImei}`;
|
let statusTopic = `A/${this.formData.imei?this.formData.imei:this.device.deviceImei}`;
|
||||||
|
if(ble){
|
||||||
ble.removeAllCallback(pagePath);
|
ble.removeAllCallback(pagePath);
|
||||||
ble.removeReceiveCallback(pagePath);
|
ble.removeReceiveCallback(pagePath);
|
||||||
|
}
|
||||||
|
|
||||||
if (mq) {
|
if (mq) {
|
||||||
mq.unsubscribe(statusTopic);
|
mq.unsubscribe(statusTopic);
|
||||||
mq.disconnect();
|
mq.disconnect();
|
||||||
@ -258,7 +212,8 @@
|
|||||||
this.Status.pageHide = true;
|
this.Status.pageHide = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
onload() {
|
onLoad() {
|
||||||
|
|
||||||
these = this;
|
these = this;
|
||||||
recei = BleReceive.getBleReceive();
|
recei = BleReceive.getBleReceive();
|
||||||
ble = BleTool.getBleTool();
|
ble = BleTool.getBleTool();
|
||||||
@ -270,7 +225,7 @@
|
|||||||
ble.addDisposeCallback(these.deviceDispose, pagePath);
|
ble.addDisposeCallback(these.deviceDispose, pagePath);
|
||||||
ble.addRecoveryCallback(these.deviceRecovry, pagePath);
|
ble.addRecoveryCallback(these.deviceRecovry, pagePath);
|
||||||
|
|
||||||
let eventChannel = this.getOpenerEventChannel();
|
eventChannel = this.getOpenerEventChannel();
|
||||||
|
|
||||||
eventChannel.on('detailData', function(data) {
|
eventChannel.on('detailData', function(data) {
|
||||||
|
|
||||||
@ -493,23 +448,7 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
proDetail: function(pgetpe) {
|
|
||||||
debugger;
|
|
||||||
if (!this.permissions.includes('41') && this.Status.apiType !== 'listA') {
|
|
||||||
|
|
||||||
MsgError("无操作权限", "确定", this);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
let url = '/pages/common/' + pgetpe + '/index?id=' + (this.device.id ? this.device.id : 0);
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: url,
|
|
||||||
fail(ex) {
|
|
||||||
console.error(ex);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
prevPage() {
|
prevPage() {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
|
|
||||||
|
|||||||
@ -93,34 +93,7 @@
|
|||||||
<view class="clear"></view>
|
<view class="clear"></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<ProParams :id="device.id"></ProParams>
|
||||||
|
|
||||||
|
|
||||||
<view style="padding-bottom: 20rpx;">
|
|
||||||
|
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<!-- 下方菜单 -->
|
|
||||||
|
|
||||||
|
|
||||||
<global-loading ref="loading" />
|
<global-loading ref="loading" />
|
||||||
@ -675,31 +648,6 @@
|
|||||||
},these);
|
},these);
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1071,46 +1019,6 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -229,23 +229,7 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1401,31 +1385,7 @@ onFreqChanging(e){
|
|||||||
},these);
|
},these);
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1795,46 +1755,7 @@ onFreqChanging(e){
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -190,36 +190,9 @@
|
|||||||
backgroundColor="#686767" block-size="20" block-color="#ffffffde" @change="onVolumeChanging"
|
backgroundColor="#686767" block-size="20" block-color="#ffffffde" @change="onVolumeChanging"
|
||||||
@changing="onVolumeChanging" class="custom-slider" />
|
@changing="onVolumeChanging" class="custom-slider" />
|
||||||
</view>
|
</view>
|
||||||
<view class="proinfo lamp">
|
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit">
|
|
||||||
</image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit">
|
|
||||||
</image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit">
|
|
||||||
</image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<!-- 弹窗通知 -->
|
|
||||||
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
|
||||||
:borderColor="Status.Pop.borderColor" :textColor="Status.Pop.textColor"
|
|
||||||
:buttonBgColor="Status.Pop.buttonBgColor" :buttonTextColor="Status.Pop.buttonTextColor"
|
|
||||||
:iconUrl="Status.Pop.iconUrl" :message="Status.Pop.message" :buttonText="Status.Pop.buttonText"
|
|
||||||
@buttonClick="HidePop" :visiblePrompt="Status.Pop.visiblePrompt"
|
|
||||||
:promptTitle="Status.Pop.promptTitle" v-model="Status.Pop.modelValue"
|
|
||||||
:buttonCancelText="Status.Pop.buttonCancelText" :showCancel="Status.Pop.showCancel"
|
|
||||||
@cancelPop="closePop" />
|
|
||||||
</view>
|
</view>
|
||||||
|
<ProParams :id="device.id"></ProParams>
|
||||||
|
<MsgBox ref="msgPop" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -231,7 +204,15 @@
|
|||||||
showLoading,
|
showLoading,
|
||||||
hideLoading,
|
hideLoading,
|
||||||
updateLoading
|
updateLoading
|
||||||
} from '@/utils/loading.js'
|
} from '@/utils/loading.js';
|
||||||
|
import {
|
||||||
|
MsgSuccess,
|
||||||
|
MsgError,
|
||||||
|
MsgClose,
|
||||||
|
MsgWarning,
|
||||||
|
showPop,
|
||||||
|
MsgInfo
|
||||||
|
} from '@/utils/MsgPops.js';
|
||||||
import request, {
|
import request, {
|
||||||
baseURL
|
baseURL
|
||||||
} from '@/utils/request.js';
|
} from '@/utils/request.js';
|
||||||
@ -1460,28 +1441,6 @@
|
|||||||
},
|
},
|
||||||
showBleUnConnect() {},
|
showBleUnConnect() {},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.deviceInfo.deviceId,
|
|
||||||
success(ev) {}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.deviceInfo.deviceId,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.deviceInfo.deviceId,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
closePop: function() {
|
closePop: function() {
|
||||||
this.Status.Pop.showPop = false;
|
this.Status.Pop.showPop = false;
|
||||||
@ -1547,6 +1506,7 @@
|
|||||||
option.buttonBgColor = '#BBE600';
|
option.buttonBgColor = '#BBE600';
|
||||||
}
|
}
|
||||||
these.Status.Pop.showPop = true;
|
these.Status.Pop.showPop = true;
|
||||||
|
showPop(option,this);
|
||||||
},
|
},
|
||||||
btnClick() {
|
btnClick() {
|
||||||
|
|
||||||
@ -1920,44 +1880,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
|||||||
1213
pages/100Y/HBY100Y.vue
Normal file
1213
pages/100Y/HBY100Y.vue
Normal file
File diff suppressed because it is too large
Load Diff
@ -148,29 +148,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<view style="padding-bottom: 20rpx;">
|
<ProParams :id="device.id"></ProParams>
|
||||||
|
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
|
||||||
<!-- 弹窗通知 -->
|
<!-- 弹窗通知 -->
|
||||||
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
||||||
:borderColor="Status.Pop.borderColor" :textColor="Status.Pop.textColor"
|
:borderColor="Status.Pop.borderColor" :textColor="Status.Pop.textColor"
|
||||||
@ -1412,31 +1390,7 @@
|
|||||||
},these);
|
},these);
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
closePop: function() {
|
closePop: function() {
|
||||||
this.Status.Pop.showPop = false;
|
this.Status.Pop.showPop = false;
|
||||||
|
|
||||||
@ -1876,46 +1830,6 @@ showPop: function(option) {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -127,23 +127,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 产品信息 -->
|
<!-- 产品信息 -->
|
||||||
<view>
|
<ProParams :id="itemInfo.id"></ProParams>
|
||||||
<view class="section-title">产品信息</view>
|
|
||||||
<view class="mode-buttons">
|
|
||||||
<view class="mode_1" @click="productparams">
|
|
||||||
<image src="/static/images/common/cp.png" class="cpIMG" mode="aspectFit"></image>
|
|
||||||
<view class="">产品参数</view>
|
|
||||||
</view>
|
|
||||||
<view class="mode_1" @click="operatingInst">
|
|
||||||
<image src="/static/images/common/sm.png" class="cpIMG" mode="aspectFit"></image>
|
|
||||||
<view class="">操作说明</view>
|
|
||||||
</view>
|
|
||||||
<view class="mode_1" @click="operatingVideo">
|
|
||||||
<image src="/static/images/common/sp.png" class="cpIMG" mode="aspectFit"></image>
|
|
||||||
<view class="">操作视频</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<!-- 弹框 -->
|
<!-- 弹框 -->
|
||||||
<view class="agreement-mask" v-if="lightModeA" @click.stop="closePopup">
|
<view class="agreement-mask" v-if="lightModeA" @click.stop="closePopup">
|
||||||
@ -780,25 +765,7 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 操作说明
|
|
||||||
operatingInst() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/common/operatingInstruct/index?id=${this.deviceID}`
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 产品参数
|
|
||||||
productparams() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/common/productDes/index?id=${this.deviceID}`
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 操作视频
|
|
||||||
operatingVideo() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/common/operationVideo/index?id=${this.deviceID}`
|
|
||||||
})
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
// 发送人员信息
|
// 发送人员信息
|
||||||
sendPersonnelInfo() {
|
sendPersonnelInfo() {
|
||||||
|
|||||||
@ -243,26 +243,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<ProParams :id="device.id"></ProParams>
|
||||||
|
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<!-- 弹窗通知 -->
|
<!-- 弹窗通知 -->
|
||||||
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
||||||
@ -1296,31 +1277,7 @@
|
|||||||
},these);
|
},these);
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1774,46 +1731,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -188,23 +188,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<!-- 弹窗通知 -->
|
<!-- 弹窗通知 -->
|
||||||
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
||||||
@ -789,34 +773,6 @@ import request, { baseURL } from '@/utils/request.js';
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
closePop: function() {
|
closePop: function() {
|
||||||
this.Status.Pop.showPop = false;
|
this.Status.Pop.showPop = false;
|
||||||
|
|
||||||
@ -1268,46 +1224,7 @@ import request, { baseURL } from '@/utils/request.js';
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -246,23 +246,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proDetail('productDes')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="proDetail('operatingInstruct')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="proDetail('operationVideo')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<MsgBox ref="msgPop" />
|
<MsgBox ref="msgPop" />
|
||||||
<global-loading ref="loading" />
|
<global-loading ref="loading" />
|
||||||
@ -2136,18 +2120,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
proDetail: function(pgetpe) {
|
|
||||||
|
|
||||||
|
|
||||||
let url = '/pages/common/' + pgetpe + '/index?id=' + (this.device.id ? this.device.id : 0);
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: url,
|
|
||||||
fail(ex) {
|
|
||||||
console.error(ex);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
prevPage() {
|
prevPage() {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
|
|
||||||
@ -2552,46 +2525,6 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -184,29 +184,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view style="padding-bottom: 20rpx;">
|
<ProParams :id="device.id"></ProParams>
|
||||||
|
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
|
||||||
<!-- 弹窗通知 -->
|
<!-- 弹窗通知 -->
|
||||||
<MessagePopup v-for="item,key in Msgboxs" :visible="item.showPop" :type="item.popType" :bgColor="item.bgColor"
|
<MessagePopup v-for="item,key in Msgboxs" :visible="item.showPop" :type="item.popType" :bgColor="item.bgColor"
|
||||||
:borderColor="item.borderColor" :textColor="item.textColor" :buttonBgColor="item.buttonBgColor"
|
:borderColor="item.borderColor" :textColor="item.textColor" :buttonBgColor="item.buttonBgColor"
|
||||||
@ -887,31 +865,7 @@
|
|||||||
},these);
|
},these);
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
//关闭某个弹窗,并执行关闭的回调函数
|
//关闭某个弹窗,并执行关闭的回调函数
|
||||||
@ -1453,46 +1407,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -144,23 +144,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -716,31 +700,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
showBleUnConnect() {
|
showBleUnConnect() {
|
||||||
this.showPop({
|
this.showPop({
|
||||||
message: "蓝牙未连接过该设备,请使用蓝牙重新添加该设备",
|
message: "蓝牙未连接过该设备,请使用蓝牙重新添加该设备",
|
||||||
@ -2226,46 +2186,6 @@ console.log("1111111111")
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: "PingFang SC";
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -145,23 +145,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -696,31 +680,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
showBleUnConnect() {
|
showBleUnConnect() {
|
||||||
this.showPop({
|
this.showPop({
|
||||||
message: "蓝牙未连接过该设备,请使用蓝牙重新添加该设备",
|
message: "蓝牙未连接过该设备,请使用蓝牙重新添加该设备",
|
||||||
@ -2204,46 +2164,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: "PingFang SC";
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -186,23 +186,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 产品信息 -->
|
<!-- 产品信息 -->
|
||||||
<view v-if="hasPermission('6')">
|
<ProParams :id="itemInfo.id"></ProParams>
|
||||||
<view class="section-title">产品信息</view>
|
|
||||||
<view class="mode-buttons">
|
|
||||||
<view class="mode_1" @click="productparams">
|
|
||||||
<image src="/static/images/common/cp.png" class="cpIMG" mode="aspectFit"></image>
|
|
||||||
<view class="">产品参数</view>
|
|
||||||
</view>
|
|
||||||
<view class="mode_1" @click="operatingInst">
|
|
||||||
<image src="/static/images/common/sm.png" class="cpIMG" mode="aspectFit"></image>
|
|
||||||
<view class="">操作说明</view>
|
|
||||||
</view>
|
|
||||||
<view class="mode_1" @click="operatingVideo">
|
|
||||||
<image src="/static/images/common/sp.png" class="cpIMG" mode="aspectFit"></image>
|
|
||||||
<view class="">操作视频</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<!-- 弹框 -->
|
<!-- 弹框 -->
|
||||||
<view class="agreement-mask" v-if="lightModeA" @click.stop="closePopup">
|
<view class="agreement-mask" v-if="lightModeA" @click.stop="closePopup">
|
||||||
@ -1861,27 +1846,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 操作说明
|
|
||||||
operatingInst() {
|
|
||||||
let id = this.computedDeviceId
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/common/operatingInstruct/index?id=${id}`
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 产品参数
|
|
||||||
productparams() {
|
|
||||||
let id = this.computedDeviceId
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/common/productDes/index?id=${id}`
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 操作视频
|
|
||||||
operatingVideo() {
|
|
||||||
let id = this.computedDeviceId
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/common/operationVideo/index?id=${id}`
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 发送mqtt查询设备信息
|
// 发送mqtt查询设备信息
|
||||||
queryDeviceStatus() {
|
queryDeviceStatus() {
|
||||||
if (this.mqttClient && this.mqttClient.isConnected()) {
|
if (this.mqttClient && this.mqttClient.isConnected()) {
|
||||||
|
|||||||
@ -153,23 +153,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<!-- 弹窗通知 -->
|
<!-- 弹窗通知 -->
|
||||||
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
<MessagePopup :visible="Status.Pop.showPop" :type="Status.Pop.popType" :bgColor="Status.Pop.bgColor"
|
||||||
@ -785,31 +769,7 @@ import request, { baseURL } from '@/utils/request.js';
|
|||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
closePop: function() {
|
closePop: function() {
|
||||||
this.Status.Pop.showPop = false;
|
this.Status.Pop.showPop = false;
|
||||||
|
|
||||||
@ -1201,46 +1161,7 @@ import request, { baseURL } from '@/utils/request.js';
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -159,23 +159,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -878,31 +862,7 @@ import request, { baseURL } from '@/utils/request.js';
|
|||||||
this.formData.cMode = !this.formData.cMode;
|
this.formData.cMode = !this.formData.cMode;
|
||||||
this.MainModeSetting(this.formData.cMode, "lamp");
|
this.MainModeSetting(this.formData.cMode, "lamp");
|
||||||
},
|
},
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
checkImgUpload: function(type, index) {
|
checkImgUpload: function(type, index) {
|
||||||
console.log("123213213213");
|
console.log("123213213213");
|
||||||
let f = these.getDevice();
|
let f = these.getDevice();
|
||||||
@ -1961,46 +1921,6 @@ import request, { baseURL } from '@/utils/request.js';
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -252,23 +252,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proDetail('productDes')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="proDetail('operatingInstruct')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="proDetail('operationVideo')">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 下方菜单 -->
|
<!-- 下方菜单 -->
|
||||||
@ -1697,26 +1681,7 @@
|
|||||||
|
|
||||||
setTimeout(task, 0);
|
setTimeout(task, 0);
|
||||||
},
|
},
|
||||||
proDetail: function(type) {
|
|
||||||
if (!this.permissions.includes('41') && this.Status.apiType !== 'listA') {
|
|
||||||
|
|
||||||
showPop({
|
|
||||||
message: '无操作权限',
|
|
||||||
iconUrl: "/static/images/common/uploadErr.png",
|
|
||||||
borderColor: "#e034344d",
|
|
||||||
buttonBgColor: "#E03434",
|
|
||||||
okCallback: null,
|
|
||||||
buttonText: "确定"
|
|
||||||
},these)
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/' + type + '/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
checkImgUpload: function(type, index) {
|
checkImgUpload: function(type, index) {
|
||||||
console.log("123213213213");
|
console.log("123213213213");
|
||||||
@ -3031,46 +2996,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: PingFang SC;
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
@ -131,25 +131,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="proinfo lamp">
|
<ProParams :id="device.id"></ProParams>
|
||||||
<text class="title">产品信息</text>
|
|
||||||
<view class="itemcontent">
|
|
||||||
<view class="item" @click="proParam()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/param.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">产品参数</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handRemark()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/remark.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作说明</text>
|
|
||||||
</view>
|
|
||||||
<view class="item" @click="handVideo()">
|
|
||||||
<image class="img" src="/static/images/6155/DeviceDetail/video.png" mode="aspectFit"></image>
|
|
||||||
<text class="txt">操作视频</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 下方菜单 -->
|
<!-- 下方菜单 -->
|
||||||
<BottomSlideMenuPlus :config="Status.BottomMenu" @close="closeMenu" @itemClick="handleItemClick"
|
<BottomSlideMenuPlus :config="Status.BottomMenu" @close="closeMenu" @itemClick="handleItemClick"
|
||||||
@ -638,31 +620,7 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
proParam: function() {
|
|
||||||
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/productDes/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handRemark: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operatingInstruct/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handVideo: function() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/common/operationVideo/index?id=' + this.device.id,
|
|
||||||
success(ev) {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
showBleUnConnect() {
|
showBleUnConnect() {
|
||||||
this.showPop({
|
this.showPop({
|
||||||
message: "蓝牙未连接过该设备,请使用蓝牙重新添加该设备",
|
message: "蓝牙未连接过该设备,请使用蓝牙重新添加该设备",
|
||||||
@ -1867,46 +1825,6 @@ debugger;
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proinfo .itemcontent {
|
|
||||||
display: flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item {
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 40rpx;
|
|
||||||
border-radius: 16rpx;
|
|
||||||
background: rgba(26, 26, 26, 1);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .img {
|
|
||||||
width: 50rpx;
|
|
||||||
height: 50rpx;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.proinfo .item .txt {
|
|
||||||
color: rgba(255, 255, 255, 0.6);
|
|
||||||
font-family: "PingFang SC";
|
|
||||||
font-size: 24rpx;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 20rpx;
|
|
||||||
letter-spacing: 0.07px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.slider-container {
|
.slider-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user