diff --git a/src/校园导航(管理用户)/.eslintrc.js b/src/校园导航(管理用户)/.eslintrc.js
new file mode 100644
index 0000000..115cc02
--- /dev/null
+++ b/src/校园导航(管理用户)/.eslintrc.js
@@ -0,0 +1,31 @@
+/*
+ * Eslint config file
+ * Documentation: https://eslint.org/docs/user-guide/configuring/
+ * Install the Eslint extension before using this feature.
+ */
+module.exports = {
+ env: {
+ es6: true,
+ browser: true,
+ node: true,
+ },
+ ecmaFeatures: {
+ modules: true,
+ },
+ parserOptions: {
+ ecmaVersion: 2018,
+ sourceType: 'module',
+ },
+ globals: {
+ wx: true,
+ App: true,
+ Page: true,
+ getCurrentPages: true,
+ getApp: true,
+ Component: true,
+ requirePlugin: true,
+ requireMiniProgram: true,
+ },
+ // extends: 'eslint:recommended',
+ rules: {},
+}
diff --git a/src/校园导航(管理用户)/README.md b/src/校园导航(管理用户)/README.md
new file mode 100644
index 0000000..e097b0c
--- /dev/null
+++ b/src/校园导航(管理用户)/README.md
@@ -0,0 +1,12 @@
+# 云开发 quickstart
+
+这是云开发的快速启动指引,其中演示了如何上手使用云开发的三大基础能力:
+
+- 数据库:一个既可在小程序前端操作,也能在云函数中读写的 JSON 文档型数据库
+- 文件存储:在小程序前端直接上传/下载云端文件,在云开发控制台可视化管理
+- 云函数:在云端运行的代码,微信私有协议天然鉴权,开发者只需编写业务逻辑代码
+
+## 参考文档
+
+- [云开发文档](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)
+
diff --git a/src/校园导航(管理用户)/cloud/useroption/config.json b/src/校园导航(管理用户)/cloud/useroption/config.json
new file mode 100644
index 0000000..5ecc33e
--- /dev/null
+++ b/src/校园导航(管理用户)/cloud/useroption/config.json
@@ -0,0 +1,6 @@
+{
+ "permissions": {
+ "openapi": [
+ ]
+ }
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/cloud/useroption/index.js b/src/校园导航(管理用户)/cloud/useroption/index.js
new file mode 100644
index 0000000..3bc31f0
--- /dev/null
+++ b/src/校园导航(管理用户)/cloud/useroption/index.js
@@ -0,0 +1,83 @@
+// 云函数入口文件
+const cloud = require('wx-server-sdk')
+
+cloud.init()
+
+// 云函数入口函数
+exports.main = async (event, context) => {
+ const wxContext = cloud.getWXContext()
+
+ //写有关于数据库操作的地方
+ //获取数据库的连接对象
+ const db = cloud.database();
+
+ //在一个云函数里面有4种数据库操作。所以要先判断是什么操作:增删改查
+
+ //增
+ if(event.option=='add'){
+ return await db.collection('users').add({
+ //花括号里面是你要添加的对象
+ data:event.addData
+ //可添加多条或一条
+ //event:包含传过来的所有数据的一个对象
+ });
+ }
+//删
+else if(event.option=="deleteuser"){
+ return await db.collection('users').where({
+ //将要删除的值赋给name
+ User_ID:event.delUser_ID
+ }).remove();
+}
+else if(event.option=="deleteusers"){
+ return await db.collection('users').where({
+ //将要删除的值赋给name
+ User_College:event.delUser_College,
+ User_Grade:event.delUser_Grade,
+ User_Class:event.delUser_Class
+ }).remove();
+}
+//查
+else if(event.option=="getID"){
+ return await db.collection('users').where({
+ User_ID:event.getUser_ID
+ }).get({
+ success:function(res){
+ return res
+ }
+ })
+}
+
+else if(event.option=="getCollege"){
+ return await db.collection('users').where({
+ User_College:event.getUser_College,
+ User_Grade:event.getUser_Grade,
+ User_Class:event.getUser_Class
+ }).get({
+ success:function(res){
+ return res
+ }
+ })
+}
+
+else if(event.option=="getusers"){
+ return await db.collection('users').where({
+ }).get({
+ success:function(res){
+ return res
+ }
+ })
+}
+
+//改
+else if(event.option=="update"){
+ return await db.collection('users').where({
+ User_ID:event.updateUser_ID
+ }).update({
+ data:{
+ User_College:event.updateUser_College
+ }
+ })
+}
+
+}
diff --git a/src/校园导航(管理用户)/cloud/useroption/package.json b/src/校园导航(管理用户)/cloud/useroption/package.json
new file mode 100644
index 0000000..35b0810
--- /dev/null
+++ b/src/校园导航(管理用户)/cloud/useroption/package.json
@@ -0,0 +1,14 @@
+{
+ "name": "useroption",
+ "version": "1.0.0",
+ "description": "",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "author": "",
+ "license": "ISC",
+ "dependencies": {
+ "wx-server-sdk": "~2.6.3"
+ }
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/app.js b/src/校园导航(管理用户)/miniprogram/app.js
new file mode 100644
index 0000000..8625890
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/app.js
@@ -0,0 +1,20 @@
+// app.js
+App({
+ onLaunch: function () {
+ if (!wx.cloud) {
+ console.error('请使用 2.2.3 或以上的基础库以使用云能力');
+ } else {
+ wx.cloud.init({
+ // env 参数说明:
+ // env 参数决定接下来小程序发起的云开发调用(wx.cloud.xxx)会默认请求到哪个云环境的资源
+ // 此处请填入环境 ID, 环境 ID 可打开云控制台查看
+ // 如不填则使用默认环境(第一个创建的环境)
+ // env: 'my-env-id',
+ env:'cloud1-7gnkwzfv6ba72e50',
+ traceUser: true,
+ });
+ }
+
+ this.globalData = {};
+ }
+});
diff --git a/src/校园导航(管理用户)/miniprogram/app.json b/src/校园导航(管理用户)/miniprogram/app.json
new file mode 100644
index 0000000..229d410
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/app.json
@@ -0,0 +1,28 @@
+{
+ "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"
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/app.wxss b/src/校园导航(管理用户)/miniprogram/app.wxss
new file mode 100644
index 0000000..df96b0e
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/app.wxss
@@ -0,0 +1,27 @@
+/**app.wxss**/
+.container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ box-sizing: border-box;
+}
+
+button {
+ background: initial;
+}
+
+button:focus{
+ outline: 0;
+}
+
+button::after{
+ border: none;
+}
+
+
+page {
+ background: #f6f6f6;
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.js b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.js
new file mode 100644
index 0000000..f5ca0c1
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.js
@@ -0,0 +1,37 @@
+// miniprogram/components/cloudTipModal/index.js
+const { isMac } = require('../../envList.js');
+
+Component({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ showUploadTip: false,
+ tipText: isMac ? 'sh ./uploadCloudFunction.sh' : './uploadCloudFunction.bat'
+ },
+ properties: {
+ showUploadTipProps: Boolean
+ },
+ observers: {
+ showUploadTipProps: function(showUploadTipProps) {
+ this.setData({
+ showUploadTip: showUploadTipProps
+ });
+ }
+ },
+ methods: {
+ onChangeShowUploadTip() {
+ this.setData({
+ showUploadTip: !this.data.showUploadTip
+ });
+ },
+
+ copyShell() {
+ wx.setClipboardData({
+ data: this.data.tipText,
+ });
+ },
+ }
+
+});
diff --git a/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.json b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.json
new file mode 100644
index 0000000..4575d1b
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.json
@@ -0,0 +1,4 @@
+{
+ "usingComponents": {},
+ "component": true
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.wxml b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.wxml
new file mode 100644
index 0000000..5611267
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.wxml
@@ -0,0 +1,13 @@
+
+
+
+
+ 体验前需部署云资源
+ 请开启调试器进入终端窗口,复制并运行以下命令
+
+ {{tipText}}
+ 复制
+
+ 已执行命令
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.wxss b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.wxss
new file mode 100644
index 0000000..ae36531
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/components/cloudTipModal/index.wxss
@@ -0,0 +1,57 @@
+.install_tip_back {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ background-color: rgba(0,0,0,0.4);
+ z-index: 1;
+}
+
+.install_tip_detail {
+ position: fixed;
+ background-color: white;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ top: 60%;
+ border-radius: 40rpx 40rpx 0 0;
+ padding: 50rpx;
+ z-index: 9;
+}
+
+.install_tip_detail_title {
+ font-weight: 400;
+ font-size: 40rpx;
+ text-align: center;
+}
+
+.install_tip_detail_tip {
+ font-size: 25rpx;
+ color: rgba(0,0,0,0.4);
+ margin-top: 20rpx;
+ text-align: center;
+}
+
+.install_tip_detail_shell {
+ margin: 70rpx 0;
+ display: flex;
+ justify-content: center;
+}
+
+.install_tip_detail_copy {
+ color: #546488;
+ margin-left: 10rpx;
+}
+
+.install_tip_detail_button {
+ color: #07C160;
+ font-weight: 500;
+ background-color: rgba(0,0,0,0.1);
+ width: 60%;
+ text-align: center;
+ height: 90rpx;
+ line-height: 90rpx;
+ border-radius: 10rpx;
+ margin: 0 auto;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/envList.js b/src/校园导航(管理用户)/miniprogram/envList.js
new file mode 100644
index 0000000..949c90a
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/envList.js
@@ -0,0 +1,6 @@
+const envList = [{"envId":"cloud1-7gnkwzfv6ba72e50","alias":"cloud1"}]
+const isMac = false
+module.exports = {
+ envList,
+ isMac
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/images/arrow.svg b/src/校园导航(管理用户)/miniprogram/images/arrow.svg
new file mode 100644
index 0000000..cd32a7d
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/images/arrow.svg
@@ -0,0 +1,11 @@
+
+
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/images/database.png b/src/校园导航(管理用户)/miniprogram/images/database.png
new file mode 100644
index 0000000..d0499c1
Binary files /dev/null and b/src/校园导航(管理用户)/miniprogram/images/database.png differ
diff --git a/src/校园导航(管理用户)/miniprogram/images/deploy_step1.png b/src/校园导航(管理用户)/miniprogram/images/deploy_step1.png
new file mode 100644
index 0000000..738b71c
Binary files /dev/null and b/src/校园导航(管理用户)/miniprogram/images/deploy_step1.png differ
diff --git a/src/校园导航(管理用户)/miniprogram/images/deploy_step2.png b/src/校园导航(管理用户)/miniprogram/images/deploy_step2.png
new file mode 100644
index 0000000..d77faab
Binary files /dev/null and b/src/校园导航(管理用户)/miniprogram/images/deploy_step2.png differ
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduser/index.js b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.js
new file mode 100644
index 0000000..84bccd3
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.js
@@ -0,0 +1,89 @@
+// pages/index/index.js
+//连接数据库
+const db = wx.cloud.database()
+Page({
+
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ User_ID:'',
+ User_College:'',
+ User_Key:'',
+ User_Class:'',
+ User_Grade:''
+ },
+
+ //监听并修改用户名和年龄的输入
+ inputID:function(e){
+ this.setData({
+ User_ID:e.detail.value
+ })
+ },
+
+ inputCollege:function(e){
+ this.setData({
+ User_College:e.detail.value
+ })
+ },
+
+ inputGrade:function(e){
+ this.setData({
+ User_Grade:e.detail.value
+ })
+ },
+
+ inputClass:function(e){
+ this.setData({
+ User_Class:e.detail.value
+ })
+ },
+
+ inputKey:function(e){
+ this.setData({
+ User_Key:e.detail.value
+ })
+ },
+ //使用云函数
+ //插入数据(增)
+ add:function(e){
+ //要添加的数据是一个对象
+ // var user={
+ // username:this.data.username,
+ // age:this.data.age
+ // };
+
+ console.log(e);
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'add',
+ addData:{
+ User_ID:this.data.User_ID,
+ User_College:this.data.User_College,
+ User_Grade:this.data.User_Grade,
+ User_Class:this.data.User_Class,
+ User_Key:this.data.User_Key
+ }
+ },
+ success: res => {
+ wx.showToast({
+ title: '用户添加成功',
+ })
+ console.log("添加成功")
+ console.log(res)
+ },
+ fail:err => {
+ wx.showToast({
+ title: '用户添加失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:1,
+ })
+ }
+})
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduser/index.json b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduser/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.wxml
new file mode 100644
index 0000000..fa4839b
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.wxml
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduser/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.wxss
new file mode 100644
index 0000000..41625a0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduser/index.wxss
@@ -0,0 +1,100 @@
+/* pages/addusers/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/addusers/index.js b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.js
new file mode 100644
index 0000000..9bdf998
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.js
@@ -0,0 +1,88 @@
+// pages/addusers/index.js
+const db = wx.cloud.database()
+Page({
+
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ User_ID:'',
+ User_College:'',
+ User_Key:'',
+ User_Class:'',
+ User_Grade:''
+ },
+
+ //监听并修改用户名和年龄的输入
+ inputID:function(e){
+ this.setData({
+ User_ID:e.detail.value
+ })
+ },
+
+ inputCollege:function(e){
+ this.setData({
+ User_College:e.detail.value
+ })
+ },
+
+ inputGrade:function(e){
+ this.setData({
+ User_Grade:e.detail.value
+ })
+ },
+
+ inputClass:function(e){
+ this.setData({
+ User_Class:e.detail.value
+ })
+ },
+
+ inputKey:function(e){
+ this.setData({
+ User_Key:e.detail.value
+ })
+ },
+ //使用云函数
+ //插入数据(增)
+ add:function(e){
+ //要添加的数据是一个对象
+ // var user={
+ // username:this.data.username,
+ // age:this.data.age
+ // };
+
+ console.log(e);
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'add',
+ addData:{
+ User_ID:this.data.User_ID,
+ User_College:this.data.User_College,
+ User_Grade:this.data.User_Grade,
+ User_Class:this.data.User_Class,
+ User_Key:this.data.User_Key
+ }
+ },
+ success: res => {
+ wx.showToast({
+ title: '用户添加成功',
+ })
+ console.log("添加成功")
+ console.log(res)
+ },
+ fail:err => {
+ wx.showToast({
+ title: '用户添加失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:1,
+ })
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/addusers/index.json b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/addusers/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.wxml
new file mode 100644
index 0000000..7dc62bb
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.wxml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/addusers/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.wxss
new file mode 100644
index 0000000..41625a0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/addusers/index.wxss
@@ -0,0 +1,100 @@
+/* pages/addusers/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.js b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.js
new file mode 100644
index 0000000..791d6ca
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.js
@@ -0,0 +1,66 @@
+// pages/adduserssuccess/index.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.json b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.wxml
new file mode 100644
index 0000000..42fae23
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.wxml
@@ -0,0 +1,2 @@
+
+pages/adduserssuccess/index.wxml
diff --git a/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.wxss
new file mode 100644
index 0000000..52e5065
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/adduserssuccess/index.wxss
@@ -0,0 +1 @@
+/* pages/adduserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/delete/index.js b/src/校园导航(管理用户)/miniprogram/pages/delete/index.js
new file mode 100644
index 0000000..9e6333e
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/delete/index.js
@@ -0,0 +1,14 @@
+// pages/delete/index.js
+const db = wx.cloud.database()
+Page({
+ removeuser:function(){
+ wx.navigateTo({
+ url: '/pages/deleteuser/index',
+ })
+ },
+ removeusers:function(){
+ wx.navigateTo({
+ url: '/pages/deleteusers/index',
+ })
+ },
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/delete/index.json b/src/校园导航(管理用户)/miniprogram/pages/delete/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/delete/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/delete/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/delete/index.wxml
new file mode 100644
index 0000000..3ba3a34
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/delete/index.wxml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/delete/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/delete/index.wxss
new file mode 100644
index 0000000..35ab744
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/delete/index.wxss
@@ -0,0 +1,100 @@
+/* pages/delete/index.wxss */
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.js b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.js
new file mode 100644
index 0000000..c5ec9a8
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.js
@@ -0,0 +1,34 @@
+// pages/deleteuser/index.js
+Page({
+ inputdelID:function(e){
+ this.setData({
+ delUser_ID:e.detail.value
+ })
+ },
+ removeDataFn:function(){
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'deleteuser',
+ //要删除的数据
+ delUser_ID:this.data.delUser_ID
+ },
+ success: res => {
+ wx.showToast({
+ title: '用户删除成功',
+ })
+ console.log(res)
+ },
+ fail: err => {
+ wx.showToast({
+ title: '用户删除失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:2,
+ })
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.json b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.wxml
new file mode 100644
index 0000000..f48e51b
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.wxml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.wxss
new file mode 100644
index 0000000..2b3c0a2
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuser/index.wxss
@@ -0,0 +1,100 @@
+/* pages/deleteuser/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.js b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.js
new file mode 100644
index 0000000..8d384d1
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.js
@@ -0,0 +1,46 @@
+// pages/deleteusers/index.js
+Page({
+ inputdelCollege:function(e){
+ this.setData({
+ delUser_College:e.detail.value,
+ })
+ },
+ inputdelGrade:function(e){
+ this.setData({
+ delUser_Grade:e.detail.value,
+ })
+ },
+ inputdelClass:function(e){
+ this.setData({
+ delUser_Class:e.detail.value,
+ })
+ },
+ removeDataFn:function(){
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'deleteusers',
+ //要删除的数据
+ delUser_College:this.data.delUser_College,
+ delUser_Grade:this.data.delUser_Grade,
+ delUser_Class:this.data.delUser_Class
+ },
+ success: res => {
+ wx.showToast({
+ title: '用户删除成功',
+ })
+ console.log(res)
+ },
+ fail: err => {
+ wx.showToast({
+ title: '用户删除失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:2,
+ })
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.json b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.wxml
new file mode 100644
index 0000000..416b368
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.wxml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.wxss
new file mode 100644
index 0000000..bff6131
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteusers/index.wxss
@@ -0,0 +1,100 @@
+/* pages/deleteusers/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.js b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.js
new file mode 100644
index 0000000..ab6c037
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.js
@@ -0,0 +1,66 @@
+// pages/deleteuserssuccess/index.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.json b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.wxml
new file mode 100644
index 0000000..4b74ca1
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.wxml
@@ -0,0 +1,2 @@
+
+pages/deleteuserssuccess/index.wxml
diff --git a/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.wxss
new file mode 100644
index 0000000..df3ce64
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/deleteuserssuccess/index.wxss
@@ -0,0 +1 @@
+/* pages/deleteuserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/index/index.js b/src/校园导航(管理用户)/miniprogram/pages/index/index.js
new file mode 100644
index 0000000..0788ff9
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/index/index.js
@@ -0,0 +1,43 @@
+// pages/index/index.js
+//连接数据库
+const db = wx.cloud.database()
+Page({
+
+
+ /**
+ * 页面的初始数据
+ */
+
+
+
+ //使用云函数
+ //插入数据(增)
+ add:function(e){
+ wx.navigateTo({
+ url: '/pages/adduser/index',
+ })
+ },
+
+ //删除数据(删)
+ removeDataFn:function(){
+ wx.navigateTo({
+ url: '/pages/delete/index',
+ })
+ },
+
+
+ //查询数据(查)
+ searchDataNameFn:function(){
+ wx.navigateTo({
+ url: '/pages/selectusers/index',
+ })
+ },
+
+
+ //修改数据(改)
+ updateDataFn(){
+ wx.navigateTo({
+ url: '/pages/updateusers/index',
+ })
+ },
+})
diff --git a/src/校园导航(管理用户)/miniprogram/pages/index/index.json b/src/校园导航(管理用户)/miniprogram/pages/index/index.json
new file mode 100644
index 0000000..3ea1434
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/index/index.json
@@ -0,0 +1,5 @@
+{
+ "usingComponents": {
+ "cloud-tip-modal": "/components/cloudTipModal/index"
+ }
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/index/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/index/index.wxml
new file mode 100644
index 0000000..5bf5bbc
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/index/index.wxml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/index/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/index/index.wxss
new file mode 100644
index 0000000..9589666
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/index/index.wxss
@@ -0,0 +1,101 @@
+/**index.wxss**/
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.js b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.js
new file mode 100644
index 0000000..c5fc052
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.js
@@ -0,0 +1,36 @@
+// pages/selectusers/index.js
+Page({
+ inputgetID:function(e){
+ this.setData({
+ getUser_ID:e.detail.value
+ })
+ },
+ searchDataNameFn:function(){
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'getID',
+ getUser_ID:this.data.getUser_ID
+ },
+ success: res => {
+ this.setData({
+ array: res.result.data
+ })
+ wx.showToast({
+ title: '用户查询成功',
+ })
+ console.log(res.result.data)
+ },
+ fail: err => {
+ wx.showToast({
+ title: '用户查询失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:2,
+ })
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.json b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.wxml
new file mode 100644
index 0000000..4e95312
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.wxml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+ 用户库
+
+ 年级
+ 院系
+ 班级
+ 学号
+
+
+
+ {{item.User_College}}
+ {{item.User_Grade}}
+ {{item.User_Class}}
+ {{item.User_ID}}
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.wxss
new file mode 100644
index 0000000..541b7d5
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(ID)/index.wxss
@@ -0,0 +1,145 @@
+/* pages/selectusers/index.wxss */
+/* pages/selectusers(college)/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ color: rgba(0, 0, 0, 0.5);
+ width: 90%;
+ text-align: left;
+ margin-top: 30rpx;
+ margin-left: 20rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
+
+.code_box {
+ text-align: center;
+ background-color: white;
+ margin-top: 30rpx;
+ padding: 17rpx;
+}
+
+.code_box_title {
+ color: rgba(0, 0, 0, 0.5);
+ font-size: 26rpx;
+ margin-bottom: 20rpx;
+ text-align: left;
+}
+
+.code_box_record {
+ display: flex;
+}
+
+.code_box_record_title {
+ width: 33%;
+ font-size: 26rpx;
+ color: rgba(0, 0, 0, 0.5);
+ padding: 20rpx 0;
+}
+
+.code_box_record_detail {
+ width: 33%;
+ font-size: 26rpx;
+ padding: 20rpx 0;
+}
+
+.button {
+ width: 300rpx;
+ text-align: center;
+ margin: 20% auto 0 auto;
+ height: 80rpx;
+ color: white;
+ border-radius: 5px;
+ line-height: 80rpx;
+ background-color: #07c160;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.js b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.js
new file mode 100644
index 0000000..8df6942
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.js
@@ -0,0 +1,48 @@
+// pages/selectusers(college)/index.js
+Page({
+ inputgetCollege:function(e){
+ this.setData({
+ getUser_College:e.detail.value
+ })
+ },
+ inputgetGrade:function(e){
+ this.setData({
+ getUser_Grade:e.detail.value
+ })
+ },
+ inputgetClass:function(e){
+ this.setData({
+ getUser_Class:e.detail.value
+ })
+ },
+ searchDataNameFn:function(){
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'getCollege',
+ getUser_College:this.data.getUser_College,
+ getUser_Grade:this.data.getUser_Grade,
+ getUser_Class:this.data.getUser_Class
+ },
+ success: res => {
+ this.setData({
+ array: res.result.data
+ })
+ wx.showToast({
+ title: '用户查询成功',
+ })
+ console.log(res.result.data)
+ },
+ fail: err => {
+ wx.showToast({
+ title: '用户查询失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:2,
+ })
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.json b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.wxml
new file mode 100644
index 0000000..2d27ab7
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.wxml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+ 用户库
+
+ 年级
+ 院系
+ 班级
+ 学号
+
+
+
+ {{item.User_College}}
+ {{item.User_Grade}}
+ {{item.User_Class}}
+ {{item.User_ID}}
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.wxss
new file mode 100644
index 0000000..d670baa
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers(college)/index.wxss
@@ -0,0 +1,144 @@
+/* pages/selectusers(college)/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ color: rgba(0, 0, 0, 0.5);
+ width: 90%;
+ text-align: left;
+ margin-top: 30rpx;
+ margin-left: 20rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
+
+.code_box {
+ text-align: center;
+ background-color: white;
+ margin-top: 30rpx;
+ padding: 17rpx;
+}
+
+.code_box_title {
+ color: rgba(0, 0, 0, 0.5);
+ font-size: 26rpx;
+ margin-bottom: 20rpx;
+ text-align: left;
+}
+
+.code_box_record {
+ display: flex;
+}
+
+.code_box_record_title {
+ width: 33%;
+ font-size: 26rpx;
+ color: rgba(0, 0, 0, 0.5);
+ padding: 20rpx 0;
+}
+
+.code_box_record_detail {
+ width: 33%;
+ font-size: 26rpx;
+ padding: 20rpx 0;
+}
+
+.button {
+ width: 300rpx;
+ text-align: center;
+ margin: 20% auto 0 auto;
+ height: 80rpx;
+ color: white;
+ border-radius: 5px;
+ line-height: 80rpx;
+ background-color: #07c160;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.js b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.js
new file mode 100644
index 0000000..998b938
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.js
@@ -0,0 +1,22 @@
+// pages/selectusers/index.js
+const db = wx.cloud.database()
+Page({
+ //查询数据(查)
+ searchID:function(){
+ wx.navigateTo({
+ url: '/pages/selectusers(ID)/index',
+ })
+ },
+
+ searchCollege:function(){
+ wx.navigateTo({
+ url: '/pages/selectusers(college)/index',
+ })
+ },
+
+ search:function(){
+ wx.navigateTo({
+ url: '/pages/selectuserss/index',
+ })
+ },
+})
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.json b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.wxml
new file mode 100644
index 0000000..cf209a6
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.wxml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.wxss
new file mode 100644
index 0000000..1a73360
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectusers/index.wxss
@@ -0,0 +1,101 @@
+/* pages/selectusers/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.js b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.js
new file mode 100644
index 0000000..fa90b3b
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.js
@@ -0,0 +1,30 @@
+// pages/selectuserss/index.js
+Page({
+ searchDataNameFn:function(){
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'getusers',
+ },
+ success: res => {
+ this.setData({
+ array: res.result.data
+ })
+ wx.showToast({
+ title: '用户查询成功',
+ })
+ console.log(res.result.data)
+ },
+ fail: err => {
+ wx.showToast({
+ title: '用户查询失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:2,
+ })
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.json b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.wxml
new file mode 100644
index 0000000..10829ee
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.wxml
@@ -0,0 +1,20 @@
+
+
+
+ 用户库
+
+ 年级
+ 院系
+ 班级
+ 学号
+
+
+
+ {{item.User_College}}
+ {{item.User_Grade}}
+ {{item.User_Class}}
+ {{item.User_ID}}
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.wxss
new file mode 100644
index 0000000..2ec4ff6
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserss/index.wxss
@@ -0,0 +1,145 @@
+/* pages/selectuserss/index.wxss */
+/* pages/selectusers(college)/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ color: rgba(0, 0, 0, 0.5);
+ width: 90%;
+ text-align: left;
+ margin-top: 30rpx;
+ margin-left: 20rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
+
+.code_box {
+ text-align: center;
+ background-color: white;
+ margin-top: 30rpx;
+ padding: 17rpx;
+}
+
+.code_box_title {
+ color: rgba(0, 0, 0, 0.5);
+ font-size: 26rpx;
+ margin-bottom: 20rpx;
+ text-align: left;
+}
+
+.code_box_record {
+ display: flex;
+}
+
+.code_box_record_title {
+ width: 33%;
+ font-size: 26rpx;
+ color: rgba(0, 0, 0, 0.5);
+ padding: 20rpx 0;
+}
+
+.code_box_record_detail {
+ width: 33%;
+ font-size: 26rpx;
+ padding: 20rpx 0;
+}
+
+.button {
+ width: 300rpx;
+ text-align: center;
+ margin: 20% auto 0 auto;
+ height: 80rpx;
+ color: white;
+ border-radius: 5px;
+ line-height: 80rpx;
+ background-color: #07c160;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.js b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.js
new file mode 100644
index 0000000..ac586a6
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.js
@@ -0,0 +1,66 @@
+// pages/selectuserssuccess/index.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.json b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.wxml
new file mode 100644
index 0000000..9976e30
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.wxml
@@ -0,0 +1,2 @@
+
+pages/selectuserssuccess/index.wxml
diff --git a/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.wxss
new file mode 100644
index 0000000..1edae2e
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/selectuserssuccess/index.wxss
@@ -0,0 +1 @@
+/* pages/selectuserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.js b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.js
new file mode 100644
index 0000000..0702779
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.js
@@ -0,0 +1,46 @@
+// pages/updateusers/index.js
+Page({
+ //修改数据(改)
+ inputupdateID:function(e){
+ this.setData({
+ updateUser_ID:e.detail.value
+ })
+ },
+ inputupdateCollege:function(e){
+ this.setData({
+ updateUser_College:e.detail.value
+ })
+ },
+ inputupdateKey:function(e){
+ this.setData({
+ updateUser_Key:e.detail.value
+ })
+ },
+ updateDataFn(){
+ wx.cloud.callFunction({
+ name: 'useroption',
+ data: {
+ option: 'update',
+ updateUser_ID:this.data.updateUser_ID,
+ updateUser_College:this.data.updateUser_College,
+ updateUser_Key:this.data.updateUser_Key
+ },
+ success: res => {
+ wx.showToast({
+ title: '用户修改成功',
+ })
+ console.log(res)
+ },
+ fail:err => {
+ wx.showToast({
+ title: '用户修改失败',
+ })
+ }
+ })
+ },
+ getback:function(){
+ wx.navigateBack({
+ delta:1,
+ })
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.json b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.wxml
new file mode 100644
index 0000000..82a32f7
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.wxml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.wxss
new file mode 100644
index 0000000..3d1e9e7
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateusers/index.wxss
@@ -0,0 +1,100 @@
+/* pages/updateusers/index.wxss */
+
+page {
+ padding-top: 54rpx;
+ background-color: #f6f6f6;
+ padding-bottom: 60rpx;
+}
+
+.button {
+ margin-top: 50px;
+ margin-left: 50px;
+ margin-right: 50px;
+}
+
+.title {
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #000000;
+ font-size: 44rpx;
+ margin-bottom: 40rpx;
+}
+
+.top_tip {
+ font-size: 28rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #888888;
+ margin-bottom: 28rpx;
+}
+
+.power {
+ margin-top: 30rpx;
+ border-radius: 5px;
+ background-color: white;
+ width: 93%;
+ padding-bottom: 1rpx;
+}
+
+.power_info {
+ display: flex;
+ padding: 30rpx 25rpx;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.power_info_more {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(90deg);
+}
+
+.power_info_less {
+ width: 30rpx;
+ height: 30rpx;
+ transform: rotate(270deg);
+}
+
+.power_info_text {
+ display: flex;
+ flex-direction: column;
+}
+
+.power_info_text_title {
+ margin-bottom: 10rpx;
+ font-weight: 400;
+ font-size: 35rpx;
+}
+
+.power_info_text_tip {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 25rpx;
+}
+
+.power_item {
+ padding: 30rpx 25rpx;
+ display: flex;
+ justify-content: space-between;
+}
+
+.power_item_title {
+ font-size: 30rpx;
+}
+
+.power_item_icon {
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.line {
+ width: 95%;
+ margin: 0 auto;
+ height: 2rpx;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+.environment {
+ color: rgba(0, 0, 0, 0.4);
+ font-size: 24rpx;
+ margin-top: 25%;
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.js b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.js
new file mode 100644
index 0000000..ae7c08b
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.js
@@ -0,0 +1,66 @@
+// pages/updateuserssuccess/index.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.json b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.wxml b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.wxml
new file mode 100644
index 0000000..8a0c4ef
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.wxml
@@ -0,0 +1,2 @@
+
+pages/updateuserssuccess/index.wxml
diff --git a/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.wxss b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.wxss
new file mode 100644
index 0000000..dc6e650
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/pages/updateuserssuccess/index.wxss
@@ -0,0 +1 @@
+/* pages/updateuserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/miniprogram/sitemap.json b/src/校园导航(管理用户)/miniprogram/sitemap.json
new file mode 100644
index 0000000..27b2b26
--- /dev/null
+++ b/src/校园导航(管理用户)/miniprogram/sitemap.json
@@ -0,0 +1,7 @@
+{
+ "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
+ "rules": [{
+ "action": "allow",
+ "page": "*"
+ }]
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/project.config.json b/src/校园导航(管理用户)/project.config.json
new file mode 100644
index 0000000..ad069e2
--- /dev/null
+++ b/src/校园导航(管理用户)/project.config.json
@@ -0,0 +1,79 @@
+{
+ "miniprogramRoot": "miniprogram/",
+ "cloudfunctionRoot": "cloud/",
+ "setting": {
+ "urlCheck": true,
+ "es6": true,
+ "enhance": true,
+ "postcss": true,
+ "preloadBackgroundData": false,
+ "minified": true,
+ "newFeature": true,
+ "coverView": true,
+ "nodeModules": false,
+ "autoAudits": false,
+ "showShadowRootInWxmlPanel": true,
+ "scopeDataCheck": false,
+ "uglifyFileName": false,
+ "checkInvalidKey": true,
+ "checkSiteMap": true,
+ "uploadWithSourceMap": true,
+ "compileHotReLoad": false,
+ "lazyloadPlaceholderEnable": false,
+ "useMultiFrameRuntime": true,
+ "useApiHook": true,
+ "useApiHostProcess": true,
+ "babelSetting": {
+ "ignore": [],
+ "disablePlugins": [],
+ "outputPath": ""
+ },
+ "enableEngineNative": false,
+ "useIsolateContext": true,
+ "userConfirmedBundleSwitch": false,
+ "packNpmManually": false,
+ "packNpmRelationList": [],
+ "minifyWXSS": true,
+ "disableUseStrict": false,
+ "showES6CompileOption": false,
+ "useCompilerPlugins": false,
+ "minifyWXML": true
+ },
+ "appid": "wx5871b0202e96c9d3",
+ "projectname": "quickstart-wx-cloud",
+ "libVersion": "2.14.1",
+ "cloudfunctionTemplateRoot": "cloudfunctionTemplate/",
+ "condition": {
+ "search": {
+ "list": []
+ },
+ "conversation": {
+ "list": []
+ },
+ "plugin": {
+ "list": []
+ },
+ "game": {
+ "list": []
+ },
+ "miniprogram": {
+ "list": [
+ {
+ "id": -1,
+ "name": "db guide",
+ "pathName": "pages/databaseGuide/databaseGuide"
+ }
+ ]
+ }
+ },
+ "srcMiniprogramRoot": "miniprogram/",
+ "compileType": "miniprogram",
+ "packOptions": {
+ "ignore": [],
+ "include": []
+ },
+ "editorSetting": {
+ "tabIndent": "insertSpaces",
+ "tabSize": 2
+ }
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/project.private.config.json b/src/校园导航(管理用户)/project.private.config.json
new file mode 100644
index 0000000..bd3e184
--- /dev/null
+++ b/src/校园导航(管理用户)/project.private.config.json
@@ -0,0 +1,60 @@
+{
+ "setting": {
+ "compileHotReLoad": true
+ },
+ "condition": {
+ "miniprogram": {
+ "list": [
+ {
+ "name": "db guide",
+ "pathName": "pages/databaseGuide/databaseGuide",
+ "query": ""
+ },
+ {
+ "name": "pages/getOpenId/index",
+ "pathName": "pages/getOpenId/index",
+ "query": "",
+ "scene": null
+ },
+ {
+ "name": "pages/deployService/index",
+ "pathName": "pages/deployService/index",
+ "query": "",
+ "scene": null
+ },
+ {
+ "name": "pages/selectRecord/index",
+ "pathName": "pages/selectRecord/index",
+ "query": "",
+ "scene": null
+ },
+ {
+ "name": "pages/sumRecordResult/index",
+ "pathName": "pages/sumRecordResult/index",
+ "query": "",
+ "scene": null
+ },
+ {
+ "name": "pages/updateRecord/index",
+ "pathName": "pages/updateRecord/index",
+ "query": "",
+ "scene": null
+ },
+ {
+ "name": "pages/updateRecordResult/index",
+ "pathName": "pages/updateRecordResult/index",
+ "query": "",
+ "scene": null
+ },
+ {
+ "name": "pages/updateRecordSuccess/index",
+ "pathName": "pages/updateRecordSuccess/index",
+ "query": "",
+ "scene": null
+ }
+ ]
+ }
+ },
+ "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+ "projectname": "%E6%A0%A1%E5%9B%AD%E5%AF%BC%E8%88%AA%EF%BC%88%E7%AE%A1%E7%90%86%E7%94%A8%E6%88%B7%EF%BC%89"
+}
\ No newline at end of file
diff --git a/src/校园导航(管理用户)/uploadCloudFunction.bat b/src/校园导航(管理用户)/uploadCloudFunction.bat
new file mode 100644
index 0000000..5f7850c
--- /dev/null
+++ b/src/校园导航(管理用户)/uploadCloudFunction.bat
@@ -0,0 +1 @@
+"E:\С\web߹\cli.bat" cloud functions deploy --e cloud1-7gnkwzfv6ba72e50 --n quickstartFunctions --r --project "E:\Уû" --report_first --report
\ No newline at end of file