style(equipment): 添加设备按钮改灰色胶囊,用户按钮蓝底高亮
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
dc0a294406
commit
109c9e1b70
@@ -105,8 +105,8 @@
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
padding: 0 15rpx;
|
||||
border-radius: 8rpx;
|
||||
background-color: #1385FA;
|
||||
border-radius: 24rpx;
|
||||
background-color: #E5E9EF;
|
||||
|
||||
> view:nth-child(1) {
|
||||
width: 32rpx;
|
||||
@@ -117,7 +117,7 @@
|
||||
}
|
||||
|
||||
> view:nth-child(2) {
|
||||
color: #FFFFFF;
|
||||
color: #77849E;
|
||||
height: 24rpx;
|
||||
font-size: 24rpx;
|
||||
line-height: 24rpx;
|
||||
@@ -284,6 +284,14 @@
|
||||
font-size: 24rpx;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
&.user {
|
||||
background-color: #1385FA;
|
||||
|
||||
> view:nth-of-type(2) {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<block wx:else>
|
||||
<view class="section-right-blue" bind:tap="onTapAdd">
|
||||
<view>
|
||||
<image src="/images/addBtn.png"/>
|
||||
<image src="/images/equipment/add.png"/>
|
||||
</view>
|
||||
<view>添加设备</view>
|
||||
</view>
|
||||
@@ -92,7 +92,7 @@
|
||||
<view>设备连接</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="device-action-btn" bind:tap="onTapUser" data-item="{{ item }}">
|
||||
<view class="device-action-btn user" bind:tap="onTapUser" data-item="{{ item }}">
|
||||
<view>
|
||||
<image src="/images/equipment/users.png"/>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user