| | |
| | | <view class="page"> |
| | | <view class="page-header"> |
| | | <t-button |
| | | wx:if="{{!showNewStatus}}" |
| | | icon="add" |
| | | theme="primary" |
| | | size="small" |
| | | bind:tap="onAddStatus" |
| | | >添加设备状态</t-button |
| | | > |
| | | <view class="flex-center"> |
| | | <t-button |
| | | wx:if="{{!showNewStatus}}" |
| | | icon="add" |
| | | theme="primary" |
| | | size="small" |
| | | bind:tap="onAddStatus" |
| | | >添加设备状态</t-button |
| | | > |
| | | </view> |
| | | <t-form |
| | | wx:if="{{showNewStatus}}" |
| | | formArr="{{formArray}}" |
| | |
| | | </t-cell> |
| | | </t-form> |
| | | </view> |
| | | <t-divider /> |
| | | <view class="page-container"> |
| | | <block wx:for="{{deviceStatusList}}"> |
| | | <device-location |