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.

62 lines
2.4 KiB

<!-- 搜索 -->
<!-- <block>
<view class="search">
<van-search use-left-icon-slot shape="round" background="#eb3015" value="{{ name }}" placeholder="请输入姓名搜索" bind:change="keyWordsChange" bind:search="keyWordsSearch">
<image mode="aspectFit" class="icon-search" slot="left-icon" src="../../img/icon-search-white.png"></image>
</van-search>
</view>
<view style="height: 130rpx;"></view>
</block> -->
<!-- 列表 -->
<view class="table-head">
<view>操作</view>
<view>编号</view>
<view>名称</view>
<view>本组电站</view>
<view>已入电站</view>
<view>安装地址</view>
</view>
<view class="table-body">
<van-radio-group value="{{ radio }}" bind:change="onChange">
<van-cell-group>
<van-cell wx:for="{{dataLists}}" wx:key="index" data-id="{{item.id}}" data-count="{{item.total_count}}" data-number="{{item.group_number}}" data-name="{{item.group_name}}" bind:click="onClick" clickable>
<view class="list {{radio==item.id?'on':''}}">
<view>
<van-radio checked-color="#0a6597" name="{{item.id}}"></van-radio>
</view>
<view>{{item.group_number}}</view>
<view>{{item.group_name}}</view>
<view>{{item.total_count}}</view>
<view>{{item.already_into_count}}</view>
<view>{{item.province}}{{item.city}}{{item.area}}{{item.address}}</view>
</view>
</van-cell>
</van-cell-group>
</van-radio-group>
</view>
<van-popup show="{{ mshow }}" round bind:close="onClose">
<view class="material-box ">
<view class="add-material-box">
<view>
<text style="color: red;">*</text>
<text>本组电站个数</text>
</view>
<input type="number" class="content-input" placeholder="请输入" value="{{countNum}}" bindinput="onInput" />
</view>
<view class="bottom-btn-box">
<view bind:tap="onClose">取消</view>
<view class="confirm" bind:tap="onConfirm">提交</view>
</view>
</view>
</van-popup>
<!-- 底部按钮 -->
<view style="height: 80rpx; box-sizing: content-box; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);"></view>
<view class="footer">
<view style="flex: 1;" bindtap="back">返回</view>
<view style="flex: 1;" class="creat" bindtap="creatFun">新建</view>
<view style="flex: 2;" class="long" bind:tap="submit">提交</view>
</view>