|
@@ -8,18 +8,19 @@
|
|
|
<view class="mjlx">{{item.deviceSerial}}</view>
|
|
|
<view class="mjsh">{{item.parentCategory}}</view>
|
|
|
|
|
|
+
|
|
|
<view class="mjkg">
|
|
|
<view class="anniu">
|
|
|
- <u-button type="success" text="开启" @click="buttons(item,'open')"></u-button>
|
|
|
+ <u-button type="primary" :plain="true" text="开启" @click="buttons(item,'open')"></u-button>
|
|
|
</view>
|
|
|
<view class="anniu">
|
|
|
- <u-button type="warning" text="关闭" @click="buttons(item,'close')"></u-button>
|
|
|
+ <u-button type="primary" :plain="true" text="关闭" @click="buttons(item,'close')"></u-button>
|
|
|
</view>
|
|
|
<view class="anniu">
|
|
|
- <u-button type="primary" text="常开" @click="buttons(item,'alwaysOpen')"></u-button>
|
|
|
+ <u-button type="primary" :plain="true" text="常开" @click="buttons(item,'alwaysOpen')"></u-button>
|
|
|
</view>
|
|
|
<view class="anniu">
|
|
|
- <u-button type="error" text="常关" @click="buttons(item,'alwaysClose')"></u-button>
|
|
|
+ <u-button type="primary" :plain="true" text="常关" @click="buttons(item,'alwaysClose')"></u-button>
|
|
|
</view>
|
|
|
<!-- <view class="sfkq">
|
|
|
<view class="sfkq1">是否开启</view>
|
|
@@ -181,13 +182,17 @@
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
}
|
|
|
-
|
|
|
+.anniu{
|
|
|
+ width: 120rpx;
|
|
|
+ margin-left: 30rpx;
|
|
|
+}
|
|
|
.mjkg {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: space-around;
|
|
|
- margin-top: 40rpx;
|
|
|
- margin-bottom: 10rpx;
|
|
|
+ justify-content:flex-end;
|
|
|
+ height: 120rpx;
|
|
|
+ border-top: 2px solid #F6F6F6;
|
|
|
+ margin-top: 20rpx;
|
|
|
}
|
|
|
|
|
|
.mjsh {
|
|
@@ -210,7 +215,7 @@
|
|
|
|
|
|
.mjym {
|
|
|
width: 690rpx;
|
|
|
- height: 400rpx;
|
|
|
+ height: 380rpx;
|
|
|
background: #fff;
|
|
|
margin: 20rpx auto;
|
|
|
border-radius: 10px;
|