You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
2.1 KiB
44 lines
2.1 KiB
<!--package/AIOTOverview/flowMonitoring/flowMonitoring.wxml-->
|
|
<view>
|
|
<!--结构物选择器-->
|
|
<view class="select">
|
|
<van-dropdown-menu active-color="#1989fa">
|
|
<van-dropdown-item title="{{ '结构物' }}" bind:close="onClose" bind:change="onStruChange" value="{{ curStruId }}" options="{{ structList }}" />
|
|
</van-dropdown-menu>
|
|
</view>
|
|
<!--渲染列表-->
|
|
<view wx:if="{{cardData.length}}">
|
|
<view class="card" wx:for="{{cardData}}" wx:key='index'>
|
|
<view>
|
|
<!--头部-->
|
|
<view class="top">
|
|
<view style="display: flex; align-items: center;">
|
|
<text class="fontStyle">{{item.structName}}</text>
|
|
</view>
|
|
</view>
|
|
<!--内容部分-->
|
|
<view class="card-content">
|
|
<view class="row flex flex-between detail">
|
|
<view class="content-left" style="font-weight: bold;">{{item.name}}</view>
|
|
</view>
|
|
<view class="row flex flex-between detail">
|
|
<view class="content-left">物联卡号:{{item.cardNo}}</view>
|
|
<view class="content-right">套餐类型:{{item.pType}}</view>
|
|
</view>
|
|
<view class="row flex flex-between detail content">
|
|
<view wx:if="{{item.status==0}}" class="content-left">卡状态:正常</view>
|
|
<view wx:if="{{item.status==1}}" class="content-left">卡状态:未激活</view>
|
|
<view wx:if="{{item.status==2}}" class="content-left">卡状态:停机</view>
|
|
<view class="content-right">套餐总量:{{item.total}}</view>
|
|
</view>
|
|
<view class="row flex flex-between detail content">
|
|
<view class="content-left">卡余额:{{item.allowance}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:else>
|
|
<van-empty description="暂无数据" />
|
|
</view>
|
|
</view>
|