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.
263 lines
7.8 KiB
263 lines
7.8 KiB
<!--pages/addusers/index.wxml-->
|
|
<view class="add">
|
|
<input
|
|
type="text"
|
|
value="{{User_ID}}"
|
|
placeholder="请输入学号"
|
|
bindblur="inputID"
|
|
/>
|
|
<input
|
|
type="text"
|
|
value="{{User_comments}}"
|
|
bindblur="inputcomments"
|
|
placeholder="请输入评论"
|
|
/>
|
|
<button class="button" bindtap="add" type="primary">增加</button>
|
|
</view>
|
|
<button class="button" type="primary" bindtap="getback">返回</button>
|
|
<!--pages/addusers/index.wxml-->
|
|
<!--pages/addusers/index.wxml-->
|
|
<view class="add">
|
|
<input
|
|
type="text"
|
|
value="{{User_ID}}"
|
|
placeholder="请输入学号"
|
|
bindblur="inputID"
|
|
/>
|
|
<input
|
|
type="text"
|
|
value="{{User_College}}"
|
|
bindblur="inputCollege"
|
|
placeholder="请输入用户院系"
|
|
/>
|
|
<input
|
|
type="text"
|
|
value="{{User_Class}}"
|
|
bindblur="inputClass"
|
|
placeholder="请输入用户班级"
|
|
/>
|
|
<input
|
|
type="text"
|
|
value="{{User_Grade}}"
|
|
bindblur="inputGrade"
|
|
placeholder="请输入用户年级"
|
|
/>
|
|
<input
|
|
type="text"
|
|
value="{{User_Key}}"
|
|
bindblur="inputKey"
|
|
placeholder="请输入用户密码"
|
|
/>
|
|
<button class="button" bindtap="add" type="primary">增加</button>
|
|
</view>
|
|
<button class="button" type="primary" bindtap="getback">返回</button>
|
|
<!--pages/adduserssuccess/index.wxml-->
|
|
<text>pages/adduserssuccess/index.wxml</text>
|
|
<!--pages/delete/index.wxml-->
|
|
<view class="delete">
|
|
<button class="button" type="primary" bindtap="removeuser">删除单个用户</button>
|
|
</view>
|
|
<view class="delete">
|
|
<button class="button" type="primary" bindtap="removeusers">删除一批用户</button>
|
|
</view>
|
|
<!--pages/deleteuser/index.wxml-->
|
|
<view class="delete">
|
|
<input
|
|
value="{{delUser_ID}}"
|
|
placeholder="请输入要删除用户的学号"
|
|
bindblur="inputdelID"
|
|
/>
|
|
</view>
|
|
<button class="button" type="primary" bindtap="removeDataFn">删除用户</button>
|
|
<button class="button" type="primary" bindtap="getback">返回</button>
|
|
<!--pages/deleteusers/index.wxml-->
|
|
<view class="delete">
|
|
<input
|
|
value="{{delUser_College}}"
|
|
placeholder="请输入要删除用户的院系"
|
|
bindblur="inputdelCollege"
|
|
/>
|
|
<input
|
|
value="{{delUser_Grade}}"
|
|
placeholder="请输入要删除用户的年级"
|
|
bindblur="inputdelGrade"
|
|
/>
|
|
<input
|
|
value="{{delUser_Class}}"
|
|
placeholder="请输入要删除用户的班级"
|
|
bindblur="inputdelClass"
|
|
/>
|
|
</view>
|
|
<button class="button" type="primary" bindtap="removeDataFn">删除用户</button>
|
|
<button class="button" type="primary" bindtap="getback">返回</button>
|
|
<!--pages/deleteuserssuccess/index.wxml-->
|
|
<text>pages/deleteuserssuccess/index.wxml</text>
|
|
<!--pages/index/index.wxml-->
|
|
<image src="{{imgUrl}}"></image>
|
|
<view class="add">
|
|
<button class="button" bindtap="add" type="primary">增加用户</button>
|
|
</view>
|
|
|
|
<view class="delete">
|
|
<button class="button" type="primary" bindtap="removeDataFn">删除用户</button>
|
|
</view>
|
|
|
|
<view class="get">
|
|
<button class="button" type="primary" bindtap="searchDataNameFn">查询用户</button>
|
|
</view>
|
|
|
|
<view class="update">
|
|
<button class="button" type="primary" bindtap="updateDataFn">修改用户</button>
|
|
</view>
|
|
<!--pages/selectusers/index.wxml-->
|
|
<view class="get">
|
|
<button class="button" type="primary" bindtap="searchID">查询单个用户</button>
|
|
</view>
|
|
|
|
<view class="get">
|
|
<button class="button" type="primary" bindtap="searchCollege">查询多个用户</button>
|
|
</view>
|
|
|
|
<view class="get">
|
|
<button class="button" type="primary" bindtap="search">查询所有用户</button>
|
|
</view>
|
|
<!--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>
|
|
<!--pages/selectusers/index.wxml-->
|
|
<view class="getID">
|
|
<input
|
|
value="{{getUser_ID}}"
|
|
placeholder="请输入要查询用户的学号"
|
|
bindblur="inputgetID"
|
|
/>
|
|
</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>
|
|
<view class="line"></view>
|
|
<view class="code_box_record" wx:for="{{array}}" wx:key="_id">
|
|
<view class="code_box_record_detail">{{item.User_comments}}</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>
|
|
<!--pages/selectuserss/index.wxml-->
|
|
<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>
|
|
<view class="line"></view>
|
|
<view class="code_box_record" wx:for="{{array}}" wx:key="_id">
|
|
<view class="code_box_record_detail">{{item.User_comments}}</view>
|
|
<view class="code_box_record_detail">{{item.User_ID}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<button class="button" type="primary" bindtap="searchDataNameFn">查询</button>
|
|
<!--pages/selectuserssuccess/index.wxml-->
|
|
<text>pages/selectuserssuccess/index.wxml</text>
|
|
<!--pages/updateusers/index.wxml-->
|
|
<view class="update">
|
|
<input
|
|
value="{{updateUser_ID}}"
|
|
placeholder="请输入要修改用户的学号"
|
|
bindblur="inputupdateID"
|
|
/>
|
|
</view>
|
|
<view class="update">
|
|
<input
|
|
value="{{updateUser_College}}"
|
|
placeholder="请输入修改之后的学院(不改则不改变)"
|
|
bindblur="inputupdateCollege"
|
|
/>
|
|
</view>
|
|
<view class="update">
|
|
<input
|
|
value="{{updateUser_Key}}"
|
|
placeholder="请输入修改之后的密码(不改则不改变)"
|
|
bindblur="inputupdateKey"
|
|
/>
|
|
</view>
|
|
<button class="button" type="primary" bindtap="updateDataFn">修改用户</button>
|
|
<button class="button" type="primary" bindtap="getback">返回</button>
|
|
<!--pages/updateuserssuccess/index.wxml-->
|
|
<text>pages/updateuserssuccess/index.wxml</text>
|
|
{
|
|
"pages": [
|
|
"pages/index/index",
|
|
"pages/adduser/index",
|
|
"pages/addusers/index",
|
|
"pages/adduserssuccess/index",
|
|
"pages/delete/index",
|
|
"pages/deleteuser/index",
|
|
"pages/deleteusers/index",
|
|
"pages/deleteuserssuccess/index",
|
|
"pages/selectusers/index",
|
|
"pages/selectusers(ID)/index",
|
|
"pages/selectusers(college)/index",
|
|
"pages/selectuserss/index",
|
|
"pages/selectuserssuccess/index",
|
|
"pages/updateusers/index",
|
|
"pages/updateuserssuccess/index"
|
|
],
|
|
"window": {
|
|
"backgroundColor": "#F6F6F6",
|
|
"backgroundTextStyle": "light",
|
|
"navigationBarBackgroundColor": "#F6F6F6",
|
|
"navigationBarTitleText": "管理用户",
|
|
"navigationBarTextStyle": "black"
|
|
},
|
|
"sitemapLocation": "sitemap.json",
|
|
"style": "v2"
|
|
} |