This commit is contained in:
王丹 2024-12-09 17:38:37 +08:00
parent 8faeb12dea
commit f089ddad82

View File

@ -247,6 +247,7 @@
</u-row>
</view>
<view class="control" v-if="dc.dataObj[child.dataKey]">
<view class="icon iconfont icon-tubiao"></view>
<u-row v-if="child.device.deviceTypeKey == 'valve'">
<u-col span="3" style="margin-top: -10px;">
<u-button :disabled="child.device.disable?.open1"
@ -261,6 +262,7 @@
{{ dc.timeoutObj[child.dataKey] }}
</span>
</span>
<span class="name">张三</span>
</u-button>
<u-line-progress height="8" :showText="false"
:percentage="dc.dataObj[child.dataKey].btnObj.open1.openAngle"
@ -1019,15 +1021,38 @@
/* 首页阀门列表 */
.control {
position: relative;
padding: 5px 1px;
&>.icon {
color: #3399ff;
position: absolute;
right: 10px;
}
.u-button {
position: relative;
width: 100% !important;
min-width: 77px;
min-width: 72px;
.name {
position: absolute;
color: rgb(0, 0, 0, 0.5);
}
}
.u-button--info {
background: transparent;
border: 1px solid #39ac4f;
color: #39ac4f;
}
.u-button--error {
background-color: #e60012;
}
.u-line-progress {
min-width: 77px;
min-width: 72px;
margin-top: 5px;
}
}