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.
guoxinyu_project/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master.../miniprogram/pages/selectusers(college)/index.wxml

42 lines
1.3 KiB

<!--pages/selectusers(college)/index.wxml-->
<view class="getCollege">
<input
value="{{getUser_College}}"
placeholder="请输入要查询用户的学院"
bindblur="inputgetCollege"
/>
<input
value="{{getUser_Grade}}"
placeholder="请输入要查询用户的年级"
bindblur="inputgetGrade"
/>
<input
value="{{getUser_Class}}"
placeholder="请输入要查询用户的班级"
bindblur="inputgetClass"
/>
</view>
<view>
<view wx:if="{{array}}" class="code_box">
<view class="code_box_title">用户库</view>
<view class="code_box_record">
<view class="code_box_record_title">年级</view>
<view class="code_box_record_title">院系</view>
<view class="code_box_record_title">班级</view>
<view class="code_box_record_title">学号</view>
</view>
<view class="line"></view>
<view class="code_box_record" wx:for="{{array}}" wx:key="_id">
<view class="code_box_record_detail">{{item.User_College}}</view>
<view class="code_box_record_detail">{{item.User_Grade}}</view>
<view class="code_box_record_detail">{{item.User_Class}}</view>
<view class="code_box_record_detail">{{item.User_ID}}</view>
</view>
</view>
</view>
<button class="button" type="primary" bindtap="searchDataNameFn">查询</button>
<button class="button" type="primary" bindtap="getback">返回</button>