This commit is contained in:
SelfRidicule 2024-08-21 19:36:59 +08:00
parent b8cb07a75e
commit ddd03bca87
3 changed files with 61 additions and 18 deletions

View File

@ -13,6 +13,24 @@ Page({
selectUrl: 'chaxie0.png',
isSelect: false
},
{
name: '开门模式',
url: 'kaimen1.png',
selectUrl: 'kaimen0.png',
isSelect: false
},
{
name: '开门模式',
url: 'kaimen1.png',
selectUrl: 'kaimen0.png',
isSelect: false
},
{
name: '开门模式',
url: 'kaimen1.png',
selectUrl: 'kaimen0.png',
isSelect: false
},
{
name: '开门模式',
url: 'kaimen1.png',

View File

@ -1,4 +1,6 @@
<view class="containerView public">
<view class="publicView">
<!-- 顶部名称 -->
<view class="topHead">
<view class="logoImg" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/shanghai_changyang/index/is_logo.png'}});"></view>
@ -14,8 +16,11 @@
</view>
</view>
<view class="leftLineTitle">设备列表</view>
</view>
<view class="equipmentList">
<view class="equipmentItem" wx:for="{{6}}" wx:for-item="item" wx:key="*this">
</view>
</view>
</view>

View File

@ -6,16 +6,19 @@
}
.containerView.public {
padding: 20rpx 32rpx;
background: #f8f8f8;
min-height: 100vh;
}
.publicView {
padding: 0 32rpx;
}
.topHead {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 20rpx;
margin-top: 50rpx;
}
.topHead .logoImg {
@ -86,3 +89,20 @@
.sceneView .sceneItem .point.activity {
background: white;
}
.equipmentList {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
}
.equipmentList .equipmentItem {
box-shadow: rgba(214, 214, 214, 0.5) 0px 1px 0px 0px, rgb(238, 238, 238) 0px 1px 2px 0px;
border-radius: 10rpx;
position: relative;
width: 330rpx;
height: 260rpx;
margin-top: 24rpx;
background: white;
}