点位管理

This commit is contained in:
2023-12-13 14:36:01 +08:00
parent b3ec916755
commit 7b5b23c988
9 changed files with 1350 additions and 28 deletions

View File

@@ -5,16 +5,14 @@
<view class="zd_wrapper grid-wraper">
<view class="locate_block" v-for="e in areaArr" :key="e.region_code">
<view class="locate_name" @click="getPonit (e)">
<view class="title_1">{{e.region_name}}</view>
<view class="title_locate">{{e.region_name}}</view>
<view class="iconfont open_icon" :class="{'is_reverse': e.checked === true}"></view>
</view>
<view v-show="e.checked === true" class="site_block" ref="liCon">
<view class="site_item" v-for="(el, i) in e.pointArr" :key="i">
<view class="site_item_box">
<text class="title_2">站点</text>
<view class="site_item_box_inner_r" @click="setcode(el)">
<text>{{el.device_name}}</text>
</view>
<view class="site_item_box" @click="setcode(el)">
<text class="title_1">{{el.device_name}}</text>
<text class="title_2">{{el.source_device}}</text>
</view>
</view>
</view>
@@ -180,31 +178,30 @@
_fj(flex-start,,,wrap)
padding-bottom 10rpx
.site_item
_wh(32%,100rpx)
padding 0 10rpx
margin-top 12rpx
background-color #e5e5e5
border-radius 5px
_wh(calc(100% / 3),110rpx)
padding 5rpx 10rpx
overflow hidden
_fj(center)
&:nth-child(3n+2)
margin-left 2%
margin-right 2%
.site_item_box
_wh(100%, 80rpx)
_fj()
.title_2
width 36rpx
_font(28rpx,40rpx,#000,500)
.site_item_box_inner_r
_wh(100%, 100%)
padding 10rpx 0
background-color rgb(220, 223, 230)
border-radius 10rpx
.title_locate
width 50%
_font(30rpx,40rpx,#333,bold)
font-style italic
.title_1
_wh(100%, 60%)
_fj(center)
_wh(calc(100% - 36rpx), 100%)
background-color #fff
border-radius 3px
padding 0 5rpx
overflow hidden
text
_font(28rpx,40rpx,#999,,center)
_font(28rpx,28rpx,#303133,500, center)
.title_2
_wh(100%, 40%)
_fj(center)
overflow hidden
_font(24rpx,24rpx,#303133,500, center)
opacity .69
.submit-bar
justify-content space-between
padding 10rpx