commit e296684e330fefc7a0a90107e5543b691db5def0 Author: pp5jxn7yq <1151797956@qq.com> Date: Mon Nov 28 02:59:53 2022 +0800 Init commit.~ diff --git a/README.md b/README.md new file mode 100644 index 0000000..985e16a --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +特殊说明:代码质量检测是用的微信小程序开发平台自带的工具。所以没有显示代码量。但是总代码量已经超过了10000行。 \ No newline at end of file diff --git a/doc/01_软件系统的需求构思和描述.docx b/doc/01_软件系统的需求构思和描述.docx new file mode 100644 index 0000000..451bb53 Binary files /dev/null and b/doc/01_软件系统的需求构思和描述.docx differ diff --git a/doc/02_软件需求规格说明书.docx b/doc/02_软件需求规格说明书.docx new file mode 100644 index 0000000..1e47213 Binary files /dev/null and b/doc/02_软件需求规格说明书.docx differ diff --git a/doc/03_软件设计规格说明书.docx b/doc/03_软件设计规格说明书.docx new file mode 100644 index 0000000..1c11492 Binary files /dev/null and b/doc/03_软件设计规格说明书.docx differ diff --git a/model/设计模型UML/数据模型设计.eddx b/model/设计模型UML/数据模型设计.eddx new file mode 100644 index 0000000..a0a56cd Binary files /dev/null and b/model/设计模型UML/数据模型设计.eddx differ diff --git a/model/设计模型UML/设计文档体系结构逻辑视图.eddx b/model/设计模型UML/设计文档体系结构逻辑视图.eddx new file mode 100644 index 0000000..a2abcb6 Binary files /dev/null and b/model/设计模型UML/设计文档体系结构逻辑视图.eddx differ diff --git a/model/设计模型UML/设计文档用例设计/地图导航.eddx b/model/设计模型UML/设计文档用例设计/地图导航.eddx new file mode 100644 index 0000000..a94f2f2 Binary files /dev/null and b/model/设计模型UML/设计文档用例设计/地图导航.eddx differ diff --git a/model/设计模型UML/设计文档用例设计/查看日志.eddx b/model/设计模型UML/设计文档用例设计/查看日志.eddx new file mode 100644 index 0000000..a70f66f Binary files /dev/null and b/model/设计模型UML/设计文档用例设计/查看日志.eddx differ diff --git a/model/设计模型UML/设计文档用例设计/注册.eddx b/model/设计模型UML/设计文档用例设计/注册.eddx new file mode 100644 index 0000000..ac3ec6d Binary files /dev/null and b/model/设计模型UML/设计文档用例设计/注册.eddx differ diff --git a/model/设计模型UML/设计文档用例设计/登录.eddx b/model/设计模型UML/设计文档用例设计/登录.eddx new file mode 100644 index 0000000..96b94e5 Binary files /dev/null and b/model/设计模型UML/设计文档用例设计/登录.eddx differ diff --git a/model/设计模型UML/设计文档用例设计/评价食堂.eddx b/model/设计模型UML/设计文档用例设计/评价食堂.eddx new file mode 100644 index 0000000..7beb795 Binary files /dev/null and b/model/设计模型UML/设计文档用例设计/评价食堂.eddx differ diff --git a/model/设计模型UML/设计文档页面类图.eddx b/model/设计模型UML/设计文档页面类图.eddx new file mode 100644 index 0000000..20420f5 Binary files /dev/null and b/model/设计模型UML/设计文档页面类图.eddx differ diff --git a/model/设计模型UML/设计文档页面设计/页面顺序图.eddx b/model/设计模型UML/设计文档页面设计/页面顺序图.eddx new file mode 100644 index 0000000..0f4324e Binary files /dev/null and b/model/设计模型UML/设计文档页面设计/页面顺序图.eddx differ diff --git a/model/设计模型UML/设计类图.eddx b/model/设计模型UML/设计类图.eddx new file mode 100644 index 0000000..da8a4e3 Binary files /dev/null and b/model/设计模型UML/设计类图.eddx differ diff --git a/model/需求模型UML/分析类图/分析类图.eddx b/model/需求模型UML/分析类图/分析类图.eddx new file mode 100644 index 0000000..a0ee208 Binary files /dev/null and b/model/需求模型UML/分析类图/分析类图.eddx differ diff --git a/model/需求模型UML/用例图/用例图.eddx b/model/需求模型UML/用例图/用例图.eddx new file mode 100644 index 0000000..6a4b97e Binary files /dev/null and b/model/需求模型UML/用例图/用例图.eddx differ diff --git a/model/需求模型UML/顺序图/指路导航.eddx b/model/需求模型UML/顺序图/指路导航.eddx new file mode 100644 index 0000000..3a3a9ab Binary files /dev/null and b/model/需求模型UML/顺序图/指路导航.eddx differ diff --git a/model/需求模型UML/顺序图/查看日志.eddx b/model/需求模型UML/顺序图/查看日志.eddx new file mode 100644 index 0000000..ccb362e Binary files /dev/null and b/model/需求模型UML/顺序图/查看日志.eddx differ diff --git a/model/需求模型UML/顺序图/注册.eddx b/model/需求模型UML/顺序图/注册.eddx new file mode 100644 index 0000000..1a845b2 Binary files /dev/null and b/model/需求模型UML/顺序图/注册.eddx differ diff --git a/model/需求模型UML/顺序图/登录.eddx b/model/需求模型UML/顺序图/登录.eddx new file mode 100644 index 0000000..d80d5c3 Binary files /dev/null and b/model/需求模型UML/顺序图/登录.eddx differ diff --git a/model/需求模型UML/顺序图/评价食堂.eddx b/model/需求模型UML/顺序图/评价食堂.eddx new file mode 100644 index 0000000..3e6054d Binary files /dev/null and b/model/需求模型UML/顺序图/评价食堂.eddx differ diff --git a/other/04_软件工程课程设计汇报PPT.pptx b/other/04_软件工程课程设计汇报PPT.pptx new file mode 100644 index 0000000..eed69b0 Binary files /dev/null and b/other/04_软件工程课程设计汇报PPT.pptx differ diff --git a/other/05_软件开发项目的个人自评报告.xlsx b/other/05_软件开发项目的个人自评报告.xlsx new file mode 100644 index 0000000..51374db Binary files /dev/null and b/other/05_软件开发项目的个人自评报告.xlsx differ diff --git a/other/06_软件开发项目的团队自评报告.xlsx b/other/06_软件开发项目的团队自评报告.xlsx new file mode 100644 index 0000000..374ffc5 Binary files /dev/null and b/other/06_软件开发项目的团队自评报告.xlsx differ diff --git a/other/200240063王环宇-实践总结报告.docx b/other/200240063王环宇-实践总结报告.docx new file mode 100644 index 0000000..aa5489d Binary files /dev/null and b/other/200240063王环宇-实践总结报告.docx differ diff --git a/other/200340088 崔佳妮-实践总结报告.docx b/other/200340088 崔佳妮-实践总结报告.docx new file mode 100644 index 0000000..f78fb8c Binary files /dev/null and b/other/200340088 崔佳妮-实践总结报告.docx differ diff --git a/other/200340098李青茁-实践总结报告.docx b/other/200340098李青茁-实践总结报告.docx new file mode 100644 index 0000000..e945fc6 Binary files /dev/null and b/other/200340098李青茁-实践总结报告.docx differ diff --git a/other/200340099李旋-实践总结报告.docx b/other/200340099李旋-实践总结报告.docx new file mode 100644 index 0000000..9b1f42e Binary files /dev/null and b/other/200340099李旋-实践总结报告.docx differ diff --git a/other/200340100刘畅-实践总结报告.docx b/other/200340100刘畅-实践总结报告.docx new file mode 100644 index 0000000..4f6d253 Binary files /dev/null and b/other/200340100刘畅-实践总结报告.docx differ diff --git a/other/201540507董曜玮实践总结报告.docx b/other/201540507董曜玮实践总结报告.docx new file mode 100644 index 0000000..f2ffba7 Binary files /dev/null and b/other/201540507董曜玮实践总结报告.docx differ diff --git a/other/演示运行视频.mp4 b/other/演示运行视频.mp4 new file mode 100644 index 0000000..d88e480 Binary files /dev/null and b/other/演示运行视频.mp4 differ 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/.gitignore b/src/.gitignore new file mode 100644 index 0000000..14ea590 --- /dev/null +++ b/src/.gitignore @@ -0,0 +1,14 @@ +# Windows +[Dd]esktop.ini +Thumbs.db +$RECYCLE.BIN/ + +# macOS +.DS_Store +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes + +# Node.js +node_modules/ diff --git a/src/README.md b/src/README.md new file mode 100644 index 0000000..5f0301f --- /dev/null +++ b/src/README.md @@ -0,0 +1,6 @@ +# campus_leader +1.代码质量测评是利用微信小程序公众平台自带的工具 + +2.系统简介:可借助手机端的微信小程序来加载“校园指路”,与GPS定位同步,提供面对大学生的独特的相对位置导航方式。提供便捷的目的地菜单式可视化表,以及对食堂窗口的评价等功能。本校人员注册,数据和PC端同步。 + +3.配置环境:整个系统包括智能手机,计算机,软件系统,GPS。其中智能手机,计算机和软件系统都部署在互联网上。“校园指路”小程序部署在手机端。软件系统包含若干个部分,采用分布式部署方式。计算机负责对软件的维护,信息数据管理和交互。系统与GPS交互。 \ No newline at end of file diff --git a/src/cloudfunctions/quickstartFunctions/config.json b/src/cloudfunctions/quickstartFunctions/config.json new file mode 100644 index 0000000..41a485c --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/config.json @@ -0,0 +1,7 @@ +{ + "permissions": { + "openapi": [ + "wxacode.get" + ] + } +} \ No newline at end of file diff --git a/src/cloudfunctions/quickstartFunctions/createCollection/index.js b/src/cloudfunctions/quickstartFunctions/createCollection/index.js new file mode 100644 index 0000000..75a40b9 --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/createCollection/index.js @@ -0,0 +1,56 @@ +const cloud = require('wx-server-sdk'); + +cloud.init({ + env: cloud.DYNAMIC_CURRENT_ENV +}); + +const db = cloud.database(); + +// 创建集合云函数入口函数 +exports.main = async (event, context) => { + try { + // 创建集合 + await db.createCollection('sales'); + await db.collection('sales').add({ + // data 字段表示需新增的 JSON 数据 + data: { + region: '华东', + city: '上海', + sales: 11 + } + }); + await db.collection('sales').add({ + // data 字段表示需新增的 JSON 数据 + data: { + region: '华东', + city: '南京', + sales: 11 + } + }); + await db.collection('sales').add({ + // data 字段表示需新增的 JSON 数据 + data: { + region: '华南', + city: '广州', + sales: 22 + } + }); + await db.collection('sales').add({ + // data 字段表示需新增的 JSON 数据 + data: { + region: '华南', + city: '深圳', + sales: 22 + } + }); + return { + success: true + }; + } catch (e) { + // 这里catch到的是该collection已经存在,从业务逻辑上来说是运行成功的,所以catch返回success给前端,避免工具在前端抛出异常 + return { + success: true, + data: 'create collection success' + }; + } +}; diff --git a/src/cloudfunctions/quickstartFunctions/getMiniProgramCode/index.js b/src/cloudfunctions/quickstartFunctions/getMiniProgramCode/index.js new file mode 100644 index 0000000..08e1a82 --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/getMiniProgramCode/index.js @@ -0,0 +1,20 @@ +const cloud = require('wx-server-sdk'); + +cloud.init({ + env: cloud.DYNAMIC_CURRENT_ENV +}); + +// 获取小程序二维码云函数入口函数 +exports.main = async (event, context) => { + // 获取小程序二维码的buffer + const resp = await cloud.openapi.wxacode.get({ + path: 'pages/index/index' + }); + const { buffer } = resp; + // 将图片上传云存储空间 + const upload = await cloud.uploadFile({ + cloudPath: 'code.png', + fileContent: buffer + }); + return upload.fileID; +}; diff --git a/src/cloudfunctions/quickstartFunctions/getOpenId/index.js b/src/cloudfunctions/quickstartFunctions/getOpenId/index.js new file mode 100644 index 0000000..94b7b94 --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/getOpenId/index.js @@ -0,0 +1,17 @@ +const cloud = require('wx-server-sdk'); + +cloud.init({ + env: cloud.DYNAMIC_CURRENT_ENV +}); + +// 获取openId云函数入口函数 +exports.main = async (event, context) => { + // 获取基础信息 + const wxContext = cloud.getWXContext(); + + return { + openid: wxContext.OPENID, + appid: wxContext.APPID, + unionid: wxContext.UNIONID, + }; +}; diff --git a/src/cloudfunctions/quickstartFunctions/index.js b/src/cloudfunctions/quickstartFunctions/index.js new file mode 100644 index 0000000..5710159 --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/index.js @@ -0,0 +1,100 @@ +const getOpenId = require('./getOpenId/index'); +const getMiniProgramCode = require('./getMiniProgramCode/index'); +const createCollection = require('./createCollection/index'); +const selectRecord = require('./selectRecord/index'); +const updateRecord = require('./updateRecord/index'); +const sumRecord = require('./sumRecord/index'); + + +// 云函数入口函数 +exports.main = async (event, context) => { + switch (event.type) { + case 'getOpenId': + return await getOpenId.main(event, context); + case 'getMiniProgramCode': + return await getMiniProgramCode.main(event, context); + case 'createCollection': + return await createCollection.main(event, context); + case 'selectRecord': + return await selectRecord.main(event, context); + case 'updateRecord': + return await updateRecord.main(event, context); + case 'sumRecord': + return await sumRecord.main(event, context); + } + + const wxContext = cloud.getWXContext() + + //写有关于数据库操作的地方 + //获取数据库的连接对象 + const db = cloud.database(); + + //在一个云函数里面有4种数据库操作。所以要先判断是什么操作:增删改查 + + //增 + if(event.option=='add'){ + return await db.collection('log').add({ + //花括号里面是你要添加的对象 + data:event.addData + //可添加多条或一条 + //event:包含传过来的所有数据的一个对象 + }); + } +//删 +else if(event.option=="deleteuser"){ + return await db.collection('log').where({ + //将要删除的值赋给name + User_ID:event.delUser_ID + }).remove(); +} +else if(event.option=="deleteusers"){ + return await db.collection('log').where({ + //将要删除的值赋给name + User_College:event.delUser_College, + User_Grade:event.delUser_Grade, + User_Class:event.delUser_Class + }).remove(); +} +//查 +else if(event.option=="getcomments1"){ + return await db.collection('log').where({ + User_ID:event.getUser_ID + }).get({ + success:function(res){ + return res + } + }) +} + +else if(event.option=="getCollege"){ + return await db.collection('log').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=="getcomments2"){ + return await db.collection('log').where({ + }).get({ + success:function(res){ + return res + } + }) +} + +//改 +else if(event.option=="update"){ + return await db.collection('log').where({ + User_ID:event.updateUser_ID + }).update({ + data:{ + User_College:event.updateUser_College + } + }) +} +}; diff --git a/src/cloudfunctions/quickstartFunctions/package.json b/src/cloudfunctions/quickstartFunctions/package.json new file mode 100644 index 0000000..4350dbb --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/package.json @@ -0,0 +1,14 @@ +{ + "name": "quickstartFunctions", + "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.4.0" + } +} diff --git a/src/cloudfunctions/quickstartFunctions/selectRecord/index.js b/src/cloudfunctions/quickstartFunctions/selectRecord/index.js new file mode 100644 index 0000000..c7848a7 --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/selectRecord/index.js @@ -0,0 +1,12 @@ +const cloud = require('wx-server-sdk'); + +cloud.init({ + env: cloud.DYNAMIC_CURRENT_ENV +}); +const db = cloud.database(); + +// 查询数据库集合云函数入口函数 +exports.main = async (event, context) => { + // 返回数据库查询结果 + return await db.collection('sales').get(); +}; diff --git a/src/cloudfunctions/quickstartFunctions/sumRecord/index.js b/src/cloudfunctions/quickstartFunctions/sumRecord/index.js new file mode 100644 index 0000000..dfdc293 --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/sumRecord/index.js @@ -0,0 +1,18 @@ +const cloud = require('wx-server-sdk'); + +cloud.init({ + env: cloud.DYNAMIC_CURRENT_ENV +}); +const db = cloud.database(); +const $ = db.command.aggregate; + +// 聚合记录云函数入口函数 +exports.main = async (event, context) => { + // 返回数据库聚合结果 + return db.collection('sales').aggregate() + .group({ + _id: '$region', + sum: $.sum('$sales') + }) + .end(); +}; diff --git a/src/cloudfunctions/quickstartFunctions/updateRecord/index.js b/src/cloudfunctions/quickstartFunctions/updateRecord/index.js new file mode 100644 index 0000000..2ce3ad0 --- /dev/null +++ b/src/cloudfunctions/quickstartFunctions/updateRecord/index.js @@ -0,0 +1,32 @@ +const cloud = require('wx-server-sdk'); + +cloud.init({ + env: cloud.DYNAMIC_CURRENT_ENV +}); +const db = cloud.database(); + +// 修改数据库信息云函数入口函数 +exports.main = async (event, context) => { + try { + // 遍历修改数据库信息 + for (let i = 0; i < event.data.length; i++) { + await db.collection('sales').where({ + _id: event.data[i]._id + }) + .update({ + data: { + sales: event.data[i].sales + }, + }); + } + return { + success: true, + data: event.data + }; + } catch (e) { + return { + success: false, + errMsg: e + }; + } +}; diff --git a/src/miniprogram/.gitignore b/src/miniprogram/.gitignore new file mode 100644 index 0000000..7626a01 --- /dev/null +++ b/src/miniprogram/.gitignore @@ -0,0 +1,2 @@ +project.config.json +config.js \ No newline at end of file diff --git a/src/miniprogram/LICENSE b/src/miniprogram/LICENSE new file mode 100644 index 0000000..9ee385e --- /dev/null +++ b/src/miniprogram/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 莞香广科 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/miniprogram/README.md b/src/miniprogram/README.md new file mode 100644 index 0000000..b1626a0 --- /dev/null +++ b/src/miniprogram/README.md @@ -0,0 +1,97 @@ +
+

导览 - 微信地图导览小程序

+ +[![GitHub license](https://img.shields.io/github/license/gxgk/school-map)](https://github.com/gxgk/school-map/blob/master/LICENSE) +[![GitHub stars](https://img.shields.io/github/stars/gxgk/school-map)](https://github.com/gxgk/school-map/stargazers) +[![test](https://img.shields.io/badge/platform-微信小程序-green)]() + +首款开源的微信地图导览小程序,仅需修改地图文件,就可以适配某一学校/景区,具有出色的用户体验。 + +***官网:https://www.gxgkcat.com*** + +☑️一键配置切换 ☑️地图路径规划 ☑️在线热修补 + +
+ +--- + +## 🤩预览 + +![导览](https://map.gxgkcat.com/%E6%A0%A1%E5%9B%AD%E5%AF%BC%E8%A7%88/Screenshot.jpg) +![二维码](https://map.gxgkcat.com/%E6%A0%A1%E5%9B%AD%E5%AF%BC%E8%A7%88/qrcode.jpg) + +--- +## 📝使用说明 + +1、项目根文件新建config.js文件,写入以下内容,并根据自身需求修改 + +```js +module.exports = { + // 调试模式开关,调试模式下只调用本地数据 + debug: true, + // 学校数据配置名称,学校英文缩写 + school: "gdst", + // 高德路线规划密钥,必须加入https://restapi.amap.com为request合法域名 + // 密钥申请地址http://lbs.amap.com/api/javascript-api/summary/ + key: "", + // 地图更新地址,用于热修补,无需每次都提交审核 + updateUrl: "https://www.qq.com/json.json", + // 图片CDN域名 + imgCDN: "https://www.gxgkcat.com/" +} +``` + +2、复制resources下的地图数据文件gdst.js,重命名gdst.js为(你自己学校的英文缩写.js,根据实际情况修改) + +```js +module.exports.introduce = {} +module.exports.map = [{}] +``` + +3、修改地图文件 + +``` +参照例子自行研究 +地图经纬度获取:http://lbs.qq.com/tool/getpoint/index.html +``` + +--- + +## 📒开源许可证 + +请认真阅读并遵守以下开源协议 + +`MIT License` [License](https://github.com/gxgk/map/blob/master/LICENSE) + +欢迎 pull request and star + +允许任何人对该项目进行变动 + +同时欢迎各位校友参与到该项目(可新增关于界面加入参与贡献者名称) + +不过,该项目所有图片均有版权(学院宣传服务中心所有),禁止盗用,包含首页背景 + + +更改历史: +1.配置config.js, 申请key以及request合法域名,在微信小程序身份登录的公众平台。然后刷新详情中的基本配置。最后编译就好了。 +2.高德地图api:https://lbs.amap.com/api/webservice/guide/api/staticmaps +3.地图控制台:https://console.amap.com/dev/index +4.修改resources/gdst + 1.改名:cauc + 2.config.js中将school配置为cauc + 3.所以说需要根据自定义的只是cauc.js,地图信息 +5.cdn中gdst.json内容和resources中的cauc.js中的内容相同。 +6.可配置信息和getApp()得到的全局信息只要在cauc.js中修改就好了 +7.index无路线规划,polyline有,因为调用了amap-wx.js接口 +8.details中航大总介绍 + index校园建筑地图 + ployline校园门口位置导航 +9.include points是实现把所有点包含并且只是以第一次包含的点全在为标准。 +10.在index.xml中调用map时,参数中写include-points="{{buildlData[isSelectedBuildType].data}}",包含所有点 +11.第一次迭代效果还不错 +12.接下来的工作: + 1.实现手机端导航授权成功 + 2.实现标志性建筑相关位置显示 + 3.改为调用高德地图,实现中航大3d楼块 + 4.食堂评论功能,前后端绑定 + 5.收集和添加数据 \ No newline at end of file diff --git a/src/miniprogram/app.js b/src/miniprogram/app.js new file mode 100644 index 0000000..e53dfd6 --- /dev/null +++ b/src/miniprogram/app.js @@ -0,0 +1,113 @@ +//app.js +let config = require('config.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', + traceUser: true, + }); + } + + this.globalData = {}; + + var _this = this; + //载入学校位置数据 + _this.loadSchoolConf() + //如果已经授权,提前获取定位信息 + wx.getSetting({ + success(res) { + if (res.authSetting['scope.userLocation']) { + //获取地理位置 + wx.getLocation({ + type: 'wgs84', // 默认为 wgs84 返回 gps 坐标,gcj02 返回可用于 wx.openLocation 的坐标 + success: function(res) { + _this.globalData.latitude = res.latitude; + _this.globalData.longitude = res.longitude; + _this.globalData.islocation = true + } + }) + } + } + }) + }, + + loadNetWorkScoolConf: function() { + var _this = this + return new Promise(function(resolve, reject) { + if (!_this.debug) { + // 优先读取缓存信息 + var map = wx.getStorageSync('map') + var introduce = wx.getStorageSync('introduce') + if (map && introduce) { + _this.globalData.map = map; + _this.globalData.introduce = introduce; + } + + // 再加载网络数据 + wx.request({ + url: config.updateUrl, + header: { + 'content-type': 'application/json' + }, + success: function(res) { + console.log("加载远程数据") + if (res.data.map && res.data.map.length > 0) { + //刷新数据 + _this.globalData.map = res.data.map; + _this.globalData.introduce = res.data.introduce; + + // 存储学校位置数据于缓存中 + wx.setStorage({ + key: "map", + data: res.data.map + }) + wx.setStorage({ + key: "introduce", + data: res.data.introduce + }) + } + }, + complete: function(info) { + resolve(); + } + }) + } else { + resolve(); + } + }); + }, + + loadSchoolConf: function() { + var _this = this + // 载入本地数据 + _this.globalData.map = _this.school.map; + _this.globalData.introduce = _this.school.introduce; + _this.loadNetWorkScoolConf().then(function() { + // 渲染id + for (let i = 0; i < _this.globalData.map.length; i++) { + for (let b = 0; b < _this.globalData.map[i].data.length; b++) { + _this.globalData.map[i].data[b].id = b + 1; + } + } + }) + + }, + debug: config.debug, //开启后只调用本地数据 + imgCDN: config.imgCDN, + school: require('/resources/' + config.school), + globalData: { + userInfo: null, + map: null, + introduce: null, + latitude: null, + longitude: null + } +}, +) \ No newline at end of file diff --git a/src/miniprogram/app.json b/src/miniprogram/app.json new file mode 100644 index 0000000..6c5ed9e --- /dev/null +++ b/src/miniprogram/app.json @@ -0,0 +1,38 @@ +{ + "pages": [ + "pages/login", + "pages/log/log", + "pages/checklog/checklog", + "pages/user/user", + "pages/manager/manager", + "pages/managerlogin/managerlogin", + "pages/register/register", + + "pages/canteen/canteen", + "pages/index", + "pages/map/index", + "pages/map/details", + "pages/map/polyline", + "pages/map/search", + "pages/web-views/web-views", + "pages/map/test" + ], + "permission": { + "scope.userLocation": { + "desc": "你的位置信息将用于辅助规划路线" + } + }, + "requiredPrivateInfos":[ + "getLocation" + ], + "window": { + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#079df2", + "navigationBarTitleText": "校园导览", + "navigationBarTextStyle": "white" + }, + "sitemapLocation": "sitemap.json", + "navigateToMiniProgramAppIdList": [ + "wx98d60f2aee3668c3" + ] +} \ No newline at end of file diff --git a/src/miniprogram/app.wxss b/src/miniprogram/app.wxss new file mode 100644 index 0000000..0bfbce1 --- /dev/null +++ b/src/miniprogram/app.wxss @@ -0,0 +1,14 @@ +/**app.wxss**/ +page{ + height: 100%; + width: 100%; +} +.container { + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + padding: 200rpx 0; + box-sizing: border-box; +} diff --git a/src/miniprogram/cdn/cauc.json b/src/miniprogram/cdn/cauc.json new file mode 100644 index 0000000..7199b80 --- /dev/null +++ b/src/miniprogram/cdn/cauc.json @@ -0,0 +1,432 @@ +{ + "map": [ + { + "name": "景点", + "scale": 16, + "data": [ + { + "name": "图书馆", + "latitude": "39.107078", + "longitude": "117.353131", + "iconPath": "/img/ico/jd.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/景点/图书馆/图书馆1.jpg", + "校园导览/景点/图书馆/图书馆2.jpg", + "校园导览/景点/图书馆/图书馆3.jpg" + ], + "description": "

 广东科技学院图书馆建筑面积2.36万平方米,设有社会科学、自然科学、英语语言专题书库、计算机专题书库等七个大型书库,期刊、报纸、工具书、电子阅览室、新书阅览室等七个功能各异的阅览室,680座的大型学术报告厅一个,共拥有阅览座位1866个。

 图书馆馆藏丰富,现有馆藏图书279.96万册,其中纸质图书177.32万册,电子图书102.64万册,电子期刊1.1万多种,光盘音像资料6万余件。2017年订购纸质期刊600种,纸质报纸100种,基本形成了以学院教学学科专业为主的藏书和综合文献保障体系。

 在学院领导的正确指导和大力支持下,图书馆近年来完成了新书阅览室建设,完成了3楼、5楼自习区的升级改造,完成了报告厅的升级改造,完成了自主学习空间的建设。一系列的升级改造,拉开了图书馆学习空间改造的序幕,极大地改善了图书馆的学习阅览环境,提高了读者阅读、学习的舒适性,获得了师生一致的赞誉。

" + }, + { + "name": "体育馆", + "latitude": "39.106916", + "longitude": "117.355886", + "iconPath": "/img/ico/jd.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/景点/体育馆/体育馆1.jpg", + "校园导览/景点/体育馆/体育馆2.jpg", + "校园导览/景点/体育馆/体育馆3.jpg", + "校园导览/景点/体育馆/体育馆4.jpg" + ], + "description": " 广东科技学院体育馆坐落于学校中心,紧挨学校操场,临近学校7栋教学楼。室内设施现代化,装有中央空调,以及现代化舞台等配套设施。观众席有上下两层,最高可容纳3000人。我校体育馆作为一设施健全,现代化规模高的建筑,每年都会在馆内举办许多大型活动,如我校的迎新晚会,东莞篮球联赛的主场等。是我校标志性建筑之一。" + }, + { + "name": "西湖乐园", + "latitude": "39.10497", + "longitude": "117.355763", + "iconPath": "/img/ico/jd.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/景点/西湖乐园/西湖乐园3.jpg", + "校园导览/景点/西湖乐园/西湖乐园2.jpg", + "校园导览/景点/西湖乐园/西湖乐园1.jpg" + ], + "description": "西湖乐园" + } + ] + }, + { + "name": "教学楼", + "scale": 16, + "data": [ + { + "name": "1号教学楼", + "latitude": "39.105963", + "longitude": "117.353212", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/1号教学楼.jpg" + ], + "description": " 1号教学楼有九层楼,左右两侧有电梯,正对着正门(北门),成拱形,左边是2号教学楼,右边是3号教学楼,中间与4、5号教学楼相连。1号教学楼一楼主要是学校社团部门的活动室,还有农行ATM机,校园银行(中国建设银行),中国电信、联通、移动店,广科报刊亭;2~6层楼为多媒体教室;7~9主要为实验室,有:语言实验室、公共实验室、会计多功能综合实验室、软件综合实验室,同声传译实验室,ERP实训室,NET实训室,国际商务英语模拟实训室,计算机基础技术实训室,数据开发实训室,还有管理办公室。" + }, + { + "name": "2号教学楼", + "latitude": "39.106449", + "longitude": "117.35235", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/2号教学楼.jpg" + ], + "description": " 2号教学楼有六层楼,在1号教学楼的左边,创业楼的后面。" + }, + { + "name": "3号教学楼", + "latitude": "39.10485", + "longitude": "117.352777", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/3号教学楼1.jpg", + "校园导览/教学楼/3号教学楼2.jpg" + ], + "description": " 3号教学楼有六层楼,在1号教学楼的右边。" + }, + { + "name": "4号教学楼", + "latitude": "39.104238", + "longitude": "117.352915", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/4号教学楼1.jpg", + "校园导览/教学楼/4号教学楼2.jpg" + ], + "description": " 4栋教学楼位于2栋教学楼后方,且与2栋教学楼相连接。4栋教学楼在配套有现代多媒体教学设施,且全部装有空调的同时还配套有最新电脑设备,帮助学生学习最新现代信息技术。" + }, + { + "name": "5号教学楼", + "latitude": "39.101809", + "longitude": "117.35374", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/5号教学楼1.jpg", + "校园导览/教学楼/5号教学楼2.jpg" + ], + "description": " 5栋教学楼位于3栋教学楼后方,且与3栋教学楼相连接。3栋教学楼在配套有现代多媒体教学设施,且全部装有空调,保证了学生学习环境和教师教学环境的质量。使学生能舒适专心地进行高质量学习。" + } + ] + }, + { + "name": "校门", + "scale": 16, + "data": [ + { + "name": "北门", + "latitude": "39.114642", + "longitude": "117.34876", + "iconPath": "/img/ico/xm.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/校门/北门.jpg" + ], + "description": "北门" + }, + { + "name": "南门", + "latitude": "39.107847", + "longitude": "117.354828", + "iconPath": "/img/ico/xm.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/校门/南门2.jpg", + "校园导览/校门/南门3.jpg", + "校园导览/校门/南门1.jpg" + ], + "description": "南门" + }, + { + "name": "西门", + "latitude": "39.105958", + "longitude": "117.351209", + "iconPath": "/img/ico/xm.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/校门/雅苑门.jpg" + ], + "description": "雅苑门" + } + ] + }, + { + "scale": 16, + "name": "行政部门", + "data": [ + { + "name": "机器人研究所", + "floor": "创业楼301", + "latitude": "39.100547", + "longitude": "117.357268", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/创业楼/广科招生办301.jpg" + ], + "description": "创业楼301 广科招生办 Admissions Office" + }, + { + "name": "体育部", + "floor": "创业楼1202", + "latitude": "39.105038", + "longitude": "117.355197", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/创业楼/就业指导中心 1202.jpg" + ], + "description": "

广东科技学院结合社会发展需求,推进教学改章,鼓励学生参加各类社会实践活动,提高专业技能、综合素质与就业创业能力。学院依托东莞区域优势,与企业合作办学、合作育人,建成了200多家校外就业创业实习基地,为学生校外实习创造了良好条件。


学院就业指导中心树立为企业服务、为学生服务的理念,与东莞市智能制造协会、电商联合会等知名行业协会合作,引进行业龙头企业、标杆企业,为毕业生提供优质、对口、薪酬较高的就业岗位。就业工作呈现两个特色:一是搭建“政、校、行、企四位一体”


就业工作平台。市人力资源局、经信局、科技局、南城街道办等政府部门牵线搭桥,帮助学院整合企业资源。学院主动对接行业协会、行业标杆企业与龙头企业,引进大型骨干企业、倍增计划企业、高科技企业进校园招聘;二是以提高人才培养质量为目标,结合专业建设需求,就业工作主动为人才培养服务,力推校企合作。


多年来,广东科技学院的毕业生以综合素质好、职业素养高、实践能力强赢得用人单位的青睐,学院毕业生总体就业率均达98%以上。学院多次荣获广东省高校毕业生就业工作优秀院校、广东省普通高校毕业生就业工作先进集体、广东省民办高校就业竞争力十强等荣誉。


" + }, + { + "name": "学院办公室", + "floor": "行政楼513", + "latitude": "39.104259", + "longitude": "117.352893", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/行政楼/学院办公室 行政楼513.jpg" + ], + "description": "

学院办公室是学院综合性行政管理部门,在主管领导的领导下负责全院行政工作的组织、指导、协调、服务和监控。根据领导的指示,协调各处室,保证各项法规、制度、办法的贯彻执行。其主要职责是:


一、贯彻执行党的教育方针和国家的法律、法规,根据院领导的指示及学院有关规定处理日常工作。


二、负责学院工作计划、总结、报告、决议等文件的起草、印发;组织各系、处、室制订学年(学期)工作计划,撰写工作总结,并检查计划的执行情况。


三、负责院长办公会及全院性会议的筹备、召集与记录工作;负责全院性大型活动的策划、组织、宣传。


四、负责学院的外事工作;负责外出参观、学习、交流、公差、旅游联络协调工作。


五、负责督促检查各行政部门、各单位对学院行政工作目标、文件、会议决定事项、院长指示及各项规章制度的执行落实情况;深入基层调查研究,经常了解全院改革和教学、科研、管理等与全局有关的情况和问题,及时提出相应建议,供院领导参考。


六、负责学院行政公文的管理。做好校内外文件的收发、登记、传阅、催办、立卷、归档工作和公文印制发放工作,处理校内各单位的请示、报告。


七、负责接待群众来信来访,及时协调处理相关事宜,做好督促检查和回复工作。


八、负责上级领导及兄弟院校来校视察、参观、交流的接待工作。


九、掌握并正确使用学院印鉴,负责审定各处室印章的刻制及用印的监督,负责开具介绍信及有关证明。


十、负责各种报表的综合统计及审定报刊杂志的征订。负责审核各处室以学院名义上报或下发的文件资料。


十一、负责办公用品的发放和管理及会议室、接待室的管理和使用。


十二、负责院领导公务用车的调度与管理。


十三、负责院领导的后勤服务工作,负责办理院领导出访、出差的有关手续。


十四、完成院领导交办的其它工作。


" + }, + { + "name": "教务处", + "floor": "行政楼205", + "latitude": "39.102544", + "longitude": "117.354727", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/行政楼/教务处205.jpg" + ], + "description": "

 教务处是学院教学管理的职能部门,在主管教学副院长领导下开展工作,对全院教学活动进行计划、组织、协调、监控、调研,为相关教学单位和教师进行服务。教务处是学院各教学单位相互联系和沟通的枢纽,是保证人才培养质量的重要管理部门;同时也是学院行教学研究、推进教学改革的指导机构。

" + }, + { + "name": "心理辅导中心", + "floor": "图书馆F6", + "latitude": "39.101685", + "longitude": "117.357382", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/行政楼/心理辅导中心 图书馆F6.jpg" + ], + "description": "

 广东科技学院心理健康教育与辅导中心,隶属学生处,全面负责学院的大学生心理健康教育与辅导工作,目前共有专职心理教师4人、心灵关爱导师7人,以及学院、系学生会朋辈心理互助中心(学生干部机构)、心理健康发展协会(学生心理社团)和班级心理委员、宿舍心理委员五支学生心理工作队伍。为进一步加强中心的心理健康教育与辅导功能,在学院领导支持和关怀下,中心的设施设备逐步趋于完善。


 目前,中心设有温馨的心语室、心理测量室、心理舒缓室、团体心理训练室以及心灵书吧等功能室。中心本着优化心理品质、激发个人潜能、促进自我成长的理念,旨在真诚、热情地理解和服务于学生,全面普及心理健康知识,帮助学生排除心理困扰、增强心理适应能力和心理素质、努力开发个人潜能,促进学生全面发展。

" + }, + { + "name": "保卫室(武装部)", + "floor": "教学楼3栋", + "latitude": "39.108148", + "longitude": "117.354363", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/保卫室.jpg" + ], + "description": "

 广东科技学院社会治安综合治理办公室(简称“综治办”)是学院社会治安综合治理委员会下设的机构,与学院保卫处合署。在学院党委和行政的领导下,开展“创安、维稳、禁毒、消防、防邪”等工作。主要负责治安综合治理和治安防范、普法宣传教育和安全防范教育(防毒、防火、防其他事故)、安全检查和隐患排查、信息监控和舆情引导、交通消防和食品卫生安全监督、周边环境治理等。

" + }, + { + "name": "思想政治理论课教学部", + "floor": "教学楼3-205", + "latitude": "39.10729", + "longitude": "117.353125", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/各系办公室/思政部 3-205.jpg" + ], + "description": "

思想政治理论课教学部(简称“思政部”)前身是公共基础部所属的思政教研室,2010年起成为学院直属的二级教学机构,负责全院大学生的思想政治理论和德育课教学与研究工作。思政部师资力量雄厚,教师职称结构、学历结构、学缘结构、年龄结构合理。思政部现有专任教师48人(专职教师47人、兼职教师1人),其中教授9人,副教授5人;具有博士学位教师5人,硕士学位教师35人,在读博士3人;省级教学名师1人、课程负责人1人、各类骨干教师5人,多人具有社会兼职。


思政部现设五个教研室,除开设国家规定的《马克思主义基本原理概论》、《中国近现代史纲要》等5门必修课外,还开设《莞邑文化概论》、《莞邑文化研习营》、《岭南文化概览》、《当代世界经济与政治》、《中西政治比较》、《合同法》、《中华人民共和国公司法》、《散户股票投资实战技能及其法律保护》、《刑事典型案例选讲》、《劳动法热点问题分析》、《刑法学》、《社会工作与志愿服务》、《社交礼仪》、《社会心理学》、《婚姻家庭心理学》、《生活中的传播》等多门选修课。


思政部积极开展教学、科研活动,教学科研成绩斐然。


在教学方面,曹美菊教授获评广东省高校思想政治理论课教师2014年度影响力人物,在2015年广东省首届民办高校“微党课”比赛中荣获一等奖;侯东栋老师在2016年广东省青年教师教学基本功比赛中荣获一等奖,王婕老师获得三等奖;徐泉海老师在2015年广东省青年教师教学基本功比赛中荣获二等奖;曹美菊教授、范海燕老师的微课分别获得全国微课大赛广东分赛区三等奖;在2015年学院讲课比赛中,曾祥辉老师荣获一等奖;同年学院说课比赛中,向前副教授获一等奖。每一学期学生评教,思政部全体老师均在90分以上,名列全校前茅,深受学生好评。


科研方面,李永芳教授申报的《国民革命基地视阈下的广东农会组织研究》获2016年广东省“十三五”社科规划课题立项,民办院校(含独立学院)仅有3项;2016年,我部教师申报的《莞邑文化的生成源流及其当代价值研究》获得广东高校重大科研项目;2017年我部向前副教授申报的《自媒体语境下本科院校思想政治理论课教学的实效性研究》获得广东省2017年省级德育项目立项;2015年,我部教师申报的《东莞文化旅游新业态研究》课题获东莞市2015年哲学社会科学规划课题立项,并获优秀结项;我部申报的实践育人机制建设课题《“莞邑文化研习营”的实践运作与网络传播》获广东省2015年省级德育创新项目重大项目立项,获配套资助经费10万元,并经专家组评审顺利开题;范海燕老师申报的《工学结合模式下高校思政课实践教学模式建构》获广东省2015年省级德育课题一般项目立项,并顺利结题。2016年,李新凤博士申报的《思政课实践教学模式新探索--以广东科技学院法律服务中心实践教学为例》获得广东省教育厅教改课题立项。我部教师指导的省级大学生创新创业项目成功立项15个,位居全院前列。近年来,我部教师在CSSCI来源期刊、北大中文核心期刊发表高层次论文数十篇,在省级一般刊物发表论文数百篇,多篇被人大复印资料转引。


课程建设方面,2015年我部共有四门课程获得院级优质课程立项,分别是徐泉海老师负责的《中国近现代史纲要》,向前老师负责的《形势与政策》、曹美菊教授负责的《毛泽东思想和中国特色社会主义理论体系概论》、张芙华教授负责的《莞邑文化概论》。2017年,范海燕老师负责的《思想道德修养与法律基础》获得院级精品资源共享课立项。


思政部贯彻党的教育方针,以提高大学生思想政治素质为核心,紧紧围绕我院“育产业精英”的培养目标,教学“贴近实际、贴近生活、贴近学生”。2014年我部率先提出提出了“莞邑文化”的概念,在学院内开设了第一门综合性地方课程——《莞邑文化概论》,将研究与教学相结合,全面呈现东莞历史、政治、经济、思想、科技等各方面文化的发展概况,通过挖掘本土特色文化资源,活化系列公共课程,作为思政课程改革的突破口,为学生普及地方文化常识的同时,培养爱乡爱国的情感,让思政课程真正接了地气。学院与虎门硝烟纪念馆、东江纵队纪念馆、袁崇焕纪念文化园等多个单位建立了思想政治教育实践基地,定期组织学生参观学习,成为我院的第二思政课堂。


思政教学紧密围绕学院培养目标,把思想教育与专业教学紧密结合,采取分专业针对性案例教学,让同学们在专业背景下体会到思想性、思辨性,把思想教育融入到专业分析中,积极探索符合我院特色的思想政治教育新路径,力争使每一个毕业生都能够“技能精湛,成熟成人”,不仅是“合格的公民”,还富有亲和力和感染力,人际和谐,成为具有团队精神的优秀毕业生。 思政部倡导主动尽责、自由愉悦的工作氛围,淡化行政主导,倡导人人参与管理,人人自我管理。部门成立有教学指导委员会、学术分委员会、考核与聘任委员会等三个专业委员会和行政、教学、科研、服务四个志愿服务小组,具体承担部门日常管理和业务运行工作。


" + } + ] + }, + { + "name": "食堂", + "scale": 16, + "data": [ + { + "name": "南一食堂", + "latitude": "39.103575", + "longitude": "117.352881", + "iconPath": "/img/ico/st.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/食堂/一饭/一饭1.jpg", + "校园导览/食堂/一饭/一饭2.jpg", + "校园导览/食堂/一饭/一饭二楼1.jpg", + "校园导览/食堂/一饭/一饭二楼2.jpg" + ], + "description": "一号饭堂:位于博苑,学校唯一设有2层的饭堂,是从雅苑宿舍到教学楼的必经之路。是校内人流量最多的一个饭堂,饭菜味道大众化,适合多种人的口味,肉类丰富,种类繁多。有4毛钱和6毛钱的米饭窗口,如果打包需要加1块钱的外卖费,蔬菜跟肉类种类都是很多的,口味也大众化,而且也有炖汤提供,价格不一,最靠左边还有鸡扒饭可选择,一饭正门入口外卖摊位那里还有快餐,基本是客家人,也别有一番风味。第二层特色是自助餐,菜跟肉自己挑选,然后称重算钱,15块钱一斤,饭是免费的,可以吃多少打多少,另外还有煮面食的摊位。" + }, + { + "name": "南二食堂", + "latitude": "39.101772", + "longitude": "117.351573", + "iconPath": "/img/ico/st.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/食堂/二饭/二饭1.jpg", + "校园导览/食堂/二饭/二饭2.jpg" + ], + "description": "二号饭堂:位于南苑4号宿舍的一楼,接近图书馆,环境明亮,早餐有肠粉,菜色丰富,口感鲜美,特色是现煮粥,材料可自己选择。" + }, + { + "name": "南三食堂", + "latitude": "39.10329", + "longitude": "117.351733", + "iconPath": "/img/ico/st.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/食堂/三饭/三饭1.jpg", + "校园导览/食堂/三饭/三饭2.jpg", + "校园导览/食堂/三饭/三饭3.jpg" + ], + "description": "三号饭堂:三饭与二饭相邻,在南苑1.2号宿舍的一楼,有自助餐和汤粉蒸粉肠粉,三饭的特色是煲仔饭,材料可自己选择(田鸡、鸡肉等)菜色丰富,不过早餐是4个饭堂中种类最多的,味道也都挺不错的。" + } + ] + }, + { + "scale": 16, + "name": "宿舍", + "data": [ + { + "name": "南一公寓", + "latitude": "39.103543", + "longitude": "117.353461", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑1栋.jpg" + ], + "description": "南苑1栋" + }, + { + "name": "南苑2栋", + "latitude": "39.103198", + "longitude": "117.353412", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑2栋.jpg" + ], + "description": "南苑2栋" + }, + { + "name": "南苑3栋", + "latitude": "39.103467", + "longitude": "117.353915", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑3-4栋.jpg" + ], + "description": "南苑3栋" + }, + { + "name": "南苑4栋", + "latitude": "39.103299", + "longitude": "117.353919", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑4栋.jpg" + ], + "description": "南苑4栋" + }, + { + "name": "南苑5栋", + "latitude": "39.102828", + "longitude": "117.3534", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑5栋.jpg" + ], + "description": "南苑5栋" + }, + { + "name": "南苑6栋", + "latitude": "39.102527", + "longitude": "117.353382", + "iconPath": "/img/ico/girl_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑女生/南苑6栋.jpg" + ], + "description": "南苑6栋" + }, + { + "name": "南苑7栋", + "latitude": "39.102818", + "longitude": "117.353908", + "iconPath": "/img/ico/girl_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑女生/南苑7栋.jpg" + ], + "description": "南苑7栋" + }, + { + "name": "南苑8栋", + "latitude": "39.102518", + "longitude": "117.353906", + "iconPath": "/img/ico/girl_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑8910/南苑1.jpg", + "校园导览/南苑8910/南苑2.jpg", + "校园导览/南苑8910/南苑3.jpg" + ], + "description": "南苑8栋" + } + ] + } + ], + "introduce": { + "shortName": "广科", + "name": "广东科技学院", + "images": "校园导览/gdst.jpg", + "share": "校园导览/share.jpg", + "latitude": "22.972816", + "longitude": "113.756003", + "img": [ + "校园导览/校门/北门.jpg", + "校园导览/教学楼/全景.jpg" + ], + "description": "

 广东科技学院创建于2003年,是国家教育部批准设立的一所以工学为主,管理学、经济学、文学、艺术学等多学科协调发展的全日制普通本科院校,拥有学士学位授予权。学院设有机电工程系、计算机学院、管理系、财经系、外语系、艺术设计系、公共基础课部、思想政治理论课教学部、继续教育学院、国际教育学院、创新创业学院等六系两部三院。学院校园规划占地面积1700余亩,南城校区已有建筑面积48万余平方米,建设中的松山湖校区规划总建筑面积82.34万余平方米,拥有各类图书279.96万册,教学仪器设备总值10752.28万余元。

 学院始终坚持“人才强校”战略,拥有了一支数量充足、结构合理、素质过硬的教师队伍。学院大力鼓励教师开展科研活动。学院注重以专业技术技能大赛促进教学水平的提高,学生获得了各种专业比赛奖项。学院不断加强实验实训基地建设。学院毕业生赢得用人单位的青睐。历届学生最终就业率均在98%以上。学院积极与国外及港澳台高校进行交流与合作。目前与十余所国外高校协同开展3+1+1本硕连读、2+2双学位等合作项目,为学院学生到美、英、泰等国交流学习提供了便捷通道。

 经过14年的发展,学院办学水平稳步提升。学院将继续秉承“崇德、尚学、精艺、笃行”的校训,不断进取,开拓创新,进一步加强内涵建设,着力提高人才培养质量,提升科学研究服务社会能力,为把学院建设成为民办高水平理工科学院,实现学院“创百年学府,育产业精英”的目标而努力奋斗。

", + "mapCopyright": { + "name": "招生宣传服务中心", + "url": "yzf.huapens.com/wx/" + } + } +} diff --git a/src/miniprogram/img/ico/boy_ss.png b/src/miniprogram/img/ico/boy_ss.png new file mode 100644 index 0000000..fe41508 Binary files /dev/null and b/src/miniprogram/img/ico/boy_ss.png differ diff --git a/src/miniprogram/img/ico/dcl.png b/src/miniprogram/img/ico/dcl.png new file mode 100644 index 0000000..f9f8910 Binary files /dev/null and b/src/miniprogram/img/ico/dcl.png differ diff --git a/src/miniprogram/img/ico/girl_ss.png b/src/miniprogram/img/ico/girl_ss.png new file mode 100644 index 0000000..85155a7 Binary files /dev/null and b/src/miniprogram/img/ico/girl_ss.png differ diff --git a/src/miniprogram/img/ico/jd.png b/src/miniprogram/img/ico/jd.png new file mode 100644 index 0000000..744e475 Binary files /dev/null and b/src/miniprogram/img/ico/jd.png differ diff --git a/src/miniprogram/img/ico/jd1.png b/src/miniprogram/img/ico/jd1.png new file mode 100644 index 0000000..1559b4b Binary files /dev/null and b/src/miniprogram/img/ico/jd1.png differ diff --git a/src/miniprogram/img/ico/jxl.png b/src/miniprogram/img/ico/jxl.png new file mode 100644 index 0000000..e616dc1 Binary files /dev/null and b/src/miniprogram/img/ico/jxl.png differ diff --git a/src/miniprogram/img/ico/st.png b/src/miniprogram/img/ico/st.png new file mode 100644 index 0000000..99510b3 Binary files /dev/null and b/src/miniprogram/img/ico/st.png differ diff --git a/src/miniprogram/img/ico/xm.png b/src/miniprogram/img/ico/xm.png new file mode 100644 index 0000000..675fd97 Binary files /dev/null and b/src/miniprogram/img/ico/xm.png differ diff --git a/src/miniprogram/img/ico/xyfu.png b/src/miniprogram/img/ico/xyfu.png new file mode 100644 index 0000000..56c15b8 Binary files /dev/null and b/src/miniprogram/img/ico/xyfu.png differ diff --git a/src/miniprogram/img/ico/景点.png b/src/miniprogram/img/ico/景点.png new file mode 100644 index 0000000..9ffed91 Binary files /dev/null and b/src/miniprogram/img/ico/景点.png differ diff --git a/src/miniprogram/img/loading.svg b/src/miniprogram/img/loading.svg new file mode 100644 index 0000000..e676ab3 --- /dev/null +++ b/src/miniprogram/img/loading.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/miniprogram/img/location.png b/src/miniprogram/img/location.png new file mode 100644 index 0000000..4372c77 Binary files /dev/null and b/src/miniprogram/img/location.png differ diff --git a/src/miniprogram/img/location.svg b/src/miniprogram/img/location.svg new file mode 100644 index 0000000..887de8f --- /dev/null +++ b/src/miniprogram/img/location.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/miniprogram/img/mapicon_end.png b/src/miniprogram/img/mapicon_end.png new file mode 100644 index 0000000..4b9ed6c Binary files /dev/null and b/src/miniprogram/img/mapicon_end.png differ diff --git a/src/miniprogram/img/mapicon_start.png b/src/miniprogram/img/mapicon_start.png new file mode 100644 index 0000000..27ed2d0 Binary files /dev/null and b/src/miniprogram/img/mapicon_start.png differ diff --git a/src/miniprogram/img/search.png b/src/miniprogram/img/search.png new file mode 100644 index 0000000..b508a19 Binary files /dev/null and b/src/miniprogram/img/search.png differ diff --git a/src/miniprogram/pages/canteen/canteen.js b/src/miniprogram/pages/canteen/canteen.js new file mode 100644 index 0000000..4fd71b5 --- /dev/null +++ b/src/miniprogram/pages/canteen/canteen.js @@ -0,0 +1,1359 @@ +// pages/canteen/canteen.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + index:1, + grade:0, + inputValue: "", + data:null, + showModal:false, + currentTab:0, + + //canteen + canteen11:[ + { id:"1", + name:"益禾酸菜鱼", + evaluate:"暂无评分", + }, + { id:"2", + name:"面行人", + evaluate:"暂无评分" + }, + { id:"3", + name:"jo姐饭团", + evaluate:"暂无评分" + }, + { id:"4", + name:"馄饨", + evaluate:"暂无评分" + }, + { id:"5", + name:"包子", + evaluate:"暂无评分" + }, + { id:"6", + name:"馅饼", + evaluate:"暂无评分" + }, + { id:"7", + name:"啥也不会", + evaluate:"暂无评分" + }, + { id:"8", + name:"啥也不行", + evaluate:"暂无评分" + }, + ], + canteen12:[ + { id:"1", + name:"m-牛肉饭", + evaluate:"暂无评分" + }, + { id:"2", + name:"面夫子", + evaluate:"暂无评分" + }, + { id:"3", + name:"大盘鸡盖面", + evaluate:"暂无评分" + }, + { id:"4", + name:"馄饨", + evaluate:"暂无评分" + }, + { id:"5", + name:"包子", + evaluate:"暂无评分" + }, + { id:"6", + name:"馅饼", + evaluate:"暂无评分" + }, + { id:"7", + name:"啥也不会", + evaluate:"暂无评分" + }, + { id:"8", + name:"啥也不行", + evaluate:"暂无评分" + }, + ], + canteen13:[ + { id:"1", + name:"营养早餐", + evaluate:"暂无评分" + }, + { id:"2", + name:"山西刀削面", + evaluate:"暂无评分" + }, + { id:"3", + name:"渔粉", + evaluate:"暂无评分" + }, + { id:"4", + name:"馄饨", + evaluate:"暂无评分" + }, + { id:"5", + name:"包子", + evaluate:"暂无评分" + }, + { id:"6", + name:"馅饼", + evaluate:"暂无评分" + }, + { id:"7", + name:"啥也不会", + evaluate:"暂无评分" + }, + { id:"8", + name:"啥也不行", + evaluate:"暂无评分" + }, + + ], + canteen21:[ + { id:"1", + name:"bu餐", + evaluate:"暂无评分" + }, + { id:"2", + name:"山北刀削面", + evaluate:"暂无评分" + }, + { id:"3", + name:"<・)))><<粉", + evaluate:"暂无评分" + }, + { id:"4", + name:"馄饨", + evaluate:"暂无评分" + }, + { id:"5", + name:"包子", + evaluate:"暂无评分" + }, + { id:"6", + name:"馅饼", + evaluate:"暂无评分" + }, + { id:"7", + name:"啥也不会", + evaluate:"暂无评分" + }, + { id:"8", + name:"啥也不行", + evaluate:"暂无评分" + }, + + ], + canteen22:[ + { id:"1", + name:"不营养中餐", + evaluate:"暂无评分" + }, + { id:"2", + name:"山南刀削面", + evaluate:"暂无评分" + }, + { id:"3", + name:"鲨鱼粉", + evaluate:"暂无评分" + }, + { id:"4", + name:"馄饨", + evaluate:"暂无评分" + }, + { id:"5", + name:"包子", + evaluate:"暂无评分" + }, + { id:"6", + name:"馅饼", + evaluate:"暂无评分" + }, + { id:"7", + name:"啥也不会", + evaluate:"暂无评分" + }, + { id:"8", + name:"啥也不行", + evaluate:"暂无评分" + }, + + ], + canteen23:[ + { id:"1", + name:"油炸早餐", + evaluate:"暂无评分" + }, + { id:"2", + name:"山东刀削面", + evaluate:"暂无评分" + }, + { id:"3", + name:"鲤鱼粉", + evaluate:"暂无评分" + }, + { id:"4", + name:"馄饨", + evaluate:"暂无评分" + }, + { id:"5", + name:"包子", + evaluate:"暂无评分" + }, + { id:"6", + name:"馅饼", + evaluate:"暂无评分" + }, + { id:"7", + name:"啥也不会", + evaluate:"暂无评分" + }, + { id:"8", + name:"啥也不行", + evaluate:"暂无评分" + }, + + ], + canteen3:[ + { id:"1", + name:"终于", + evaluate:"暂无评分" + }, + { id:"2", + name:"快要", + evaluate:"暂无评分" + }, + { id:"3", + name:"敲完了", + evaluate:"暂无评分" + }, + { id:"4", + name:"馄饨", + evaluate:"暂无评分" + }, + { id:"5", + name:"包子", + evaluate:"暂无评分" + }, + { id:"6", + name:"馅饼", + evaluate:"暂无评分" + }, + { id:"7", + name:"啥也不会", + evaluate:"暂无评分" + }, + { id:"8", + name:"啥也不行", + evaluate:"暂无评分" + }, + + ] + }, + swipeContent:function(e){ + var _this=this; + if(this.data.currentTab!=e.target.dataset.current){ + _this.setData({ + currentTab: e.target.dataset.current, + }); + } + }, + swiperChange:function(e){ + var _this=this; + _this.setData({ + currentTab:e.detail.current, + }); + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function () { + + + }, + showModal_click:function(){ + this.setData({ + showModal:true + }) + }, +//评分 + change111:function(e){ + this.setData({ + nowgrade:e.detail.value + }) + }, + +//评论 + inputcon:function(e){ + this.setData({ + inputValue:e.detail.value + }) + }, + send:function(e){ + console.log("发送内容为:",this.data.inputValue); + this.setData({ + sendValue:this.data.inputValue + }) + }, + + //弹窗事件 + hideModal: function () { + this.setData({ + showModal: false + }); + }, + onCancel: function () { + this.hideModal(); + }, + onConfirm: function () { + this.hideModal(); + console.log("评分为:",this.data.nowgrade); + this.setData({ + grade:this.data.nowgrade + }) + }, + sliderchange111:function(e) { + this.setData({ slider111: e.detail.value }) + }, + showModal_click112:function(){ + this.setData({ + showModal112:true + }) + }, + onCancel112: function () { + this.hideModal112(); + }, + onConfirm112: function () { + this.hideModal112(); + }, + hideModal112: function () { + this.setData({ + showModal112: false + }); + }, + // 113 + hideModal113: function () { + this.setData({ + showModal113: false + }); + }, + + showModal_click113:function(){ + this.setData({ + showModal113:true + }) + }, + onCancel113: function () { + this.hideModal113(); + }, + onConfirm113: function () { + this.hideModal113(); + }, + // 114 + hideModal114: function () { + this.setData({ + showModal114: false + }); + }, + + showModal_click114:function(){ + this.setData({ + showModal114:true + }) + }, + onCancel114: function () { + this.hideModal114(); + }, + onConfirm114: function () { + this.hideModal114(); + }, + // 115 + hideModal115: function () { + this.setData({ + showModal115: false + }); + }, + + showModal_click115:function(){ + this.setData({ + showModal115:true + }) + }, + onCancel115: function () { + this.hideModal115(); + }, + onConfirm115: function () { + this.hideModal115(); + }, + // 116 + hideModal116: function () { + this.setData({ + showModal116: false + }); + }, + + showModal_click116:function(){ + this.setData({ + showModal116:true + }) + }, + onCancel116: function () { + this.hideModal116(); + }, + onConfirm116: function () { + this.hideModal116(); + }, + // 117 + hideModal117: function () { + this.setData({ + showModal117: false + }); + }, + + showModal_click117:function(){ + this.setData({ + showModal117:true + }) + }, + onCancel117: function () { + this.hideModal117(); + }, + onConfirm117: function () { + this.hideModal117(); + }, + // 118 + hideModal118: function () { + this.setData({ + showModal118: false + }); + }, + + showModal_click118:function(){ + this.setData({ + showModal118:true + }) + }, + onCancel118: function () { + this.hideModal118(); + }, + onConfirm118: function () { + this.hideModal118(); + }, + // 121 + hideModal121: function () { + this.setData({ + showModal121: false + }); + }, + + showModal_click121:function(){ + this.setData({ + showModal121:true + }) + }, + onCancel121: function () { + this.hideModal121(); + }, + onConfirm121: function () { + this.hideModal121(); + }, + // 122 + hideModal122: function () { + this.setData({ + showModal122: false + }); + }, + + showModal_click122:function(){ + this.setData({ + showModal122:true + }) + }, + onCancel122: function () { + this.hideModal122(); + }, + onConfirm122: function () { + this.hideModal122(); + }, + // 123 + hideModal123: function () { + this.setData({ + showModal123: false + }); + }, + + showModal_click123:function(){ + this.setData({ + showModal123:true + }) + }, + onCancel123: function () { + this.hideModal123(); + }, + onConfirm123: function () { + this.hideModal123(); + }, + // 124 + hideModal124: function () { + this.setData({ + showModal124: false + }); + }, + + showModal_click124:function(){ + this.setData({ + showModal124:true + }) + }, + onCancel124: function () { + this.hideModal124(); + }, + onConfirm124: function () { + this.hideModal124(); + }, + // 125 + hideModal125: function () { + this.setData({ + showModal125: false + }); + }, + + showModal_click125:function(){ + this.setData({ + showModal125:true + }) + }, + onCancel125: function () { + this.hideModal125(); + }, + onConfirm125: function () { + this.hideModal125(); + }, + // 126 + hideModal126: function () { + this.setData({ + showModal126: false + }); + }, + + showModal_click126:function(){ + this.setData({ + showModal126:true + }) + }, + onCancel126: function () { + this.hideModal126(); + }, + onConfirm126: function () { + this.hideModal126(); + }, + // 127 + hideModal127: function () { + this.setData({ + showModal127: false + }); + }, + + showModal_click127:function(){ + this.setData({ + showModal127:true + }) + }, + onCancel127: function () { + this.hideModal127(); + }, + onConfirm127: function () { + this.hideModal127(); + }, + // 128 + hideModal128: function () { + this.setData({ + showModal128: false + }); + }, + + showModal_click128:function(){ + this.setData({ + showModal128:true + }) + }, + onCancel128: function () { + this.hideModal128(); + }, + onConfirm128: function () { + this.hideModal128(); + }, + // 131 + hideModal131: function () { + this.setData({ + showModal131: false + }); + }, + + showModal_click131:function(){ + this.setData({ + showModal131:true + }) + }, + onCancel131: function () { + this.hideModal131(); + }, + onConfirm131: function () { + this.hideModal131(); + }, + // 132 + hideModal132: function () { + this.setData({ + showModal132: false + }); + }, + + showModal_click132:function(){ + this.setData({ + showModal132:true + }) + }, + onCancel132: function () { + this.hideModal132(); + }, + onConfirm132: function () { + this.hideModal132(); + }, + // 133 + hideModal133: function () { + this.setData({ + showModal133: false + }); + }, + + showModal_click133:function(){ + this.setData({ + showModal133:true + }) + }, + onCancel133: function () { + this.hideModal133(); + }, + onConfirm133: function () { + this.hideModal133(); + }, + // 134 + hideModal134: function () { + this.setData({ + showModal134: false + }); + }, + + showModal_click134:function(){ + this.setData({ + showModal134:true + }) + }, + onCancel134: function () { + this.hideModal134(); + }, + onConfirm134: function () { + this.hideModal134(); + }, + // 135 + hideModal135: function () { + this.setData({ + showModal135: false + }); + }, + + showModal_click135:function(){ + this.setData({ + showModal135:true + }) + }, + onCancel135: function () { + this.hideModal135(); + }, + onConfirm135: function () { + this.hideModal135(); + }, + // 136 + hideModal136: function () { + this.setData({ + showModal136: false + }); + }, + + showModal_click136:function(){ + this.setData({ + showModal136:true + }) + }, + onCancel136: function () { + this.hideModal136(); + }, + onConfirm136: function () { + this.hideModal136(); + }, + // 137 + hideModal137: function () { + this.setData({ + showModal137: false + }); + }, + + showModal_click137:function(){ + this.setData({ + showModal137:true + }) + }, + onCancel137: function () { + this.hideModal137(); + }, + onConfirm137: function () { + this.hideModal137(); + }, + // 138 + hideModal138: function () { + this.setData({ + showModal138: false + }); + }, + + showModal_click138:function(){ + this.setData({ + showModal138:true + }) + }, + onCancel138: function () { + this.hideModal138(); + }, + onConfirm138: function () { + this.hideModal138(); + }, + // 食堂2 1楼 + //弹窗事件 + hideModal211: function () { + this.setData({ + showModal211: false + }); + }, + onCancel211: function () { + this.hideModal211(); + }, + onConfirm211: function () { + this.hideModal211(); + }, + + showModal_click212:function(){ + this.setData({ + showModal212:true + }) + }, + onCancel212: function () { + this.hideModal212(); + }, + onConfirm212: function () { + this.hideModal212(); + }, + hideModal212: function () { + this.setData({ + showModal212: false + }); + }, + // 213 + hideModal213: function () { + this.setData({ + showModal213: false + }); + }, + + showModal_click213:function(){ + this.setData({ + showModal213:true + }) + }, + onCancel213: function () { + this.hideModal213(); + }, + onConfirm213: function () { + this.hideModal213(); + }, + // 214 + hideModal214: function () { + this.setData({ + showModal214: false + }); + }, + + showModal_click214:function(){ + this.setData({ + showModal214:true + }) + }, + onCancel214: function () { + this.hideModal214(); + }, + onConfirm214: function () { + this.hideModal214(); + }, + // 215 + hideModal215: function () { + this.setData({ + showModal215: false + }); + }, + + showModal_click215:function(){ + this.setData({ + showModal215:true + }) + }, + onCancel215: function () { + this.hideModal215(); + }, + onConfirm215: function () { + this.hideModal215(); + }, + // 216 + hideModal216: function () { + this.setData({ + showModal216: false + }); + }, + + showModal_click216:function(){ + this.setData({ + showModal216:true + }) + }, + onCancel216: function () { + this.hideModal216(); + }, + onConfirm216: function () { + this.hideModal216(); + }, + // 217 + hideModal217: function () { + this.setData({ + showModal217: false + }); + }, + + showModal_click217:function(){ + this.setData({ + showModal217:true + }) + }, + onCancel217: function () { + this.hideModal217(); + }, + onConfirm217: function () { + this.hideModal217(); + }, + // 218 + hideModal218: function () { + this.setData({ + showModal218: false + }); + }, + + showModal_click218:function(){ + this.setData({ + showModal218:true + }) + }, + onCancel218: function () { + this.hideModal218(); + }, + onConfirm218: function () { + this.hideModal218(); + }, + // 221 + hideModal221: function () { + this.setData({ + showModal221: false + }); + }, + + showModal_click221:function(){ + this.setData({ + showModal221:true + }) + }, + onCancel221: function () { + this.hideModal221(); + }, + onConfirm221: function () { + this.hideModal221(); + }, + // 222 + hideModal222: function () { + this.setData({ + showModal222: false + }); + }, + + showModal_click222:function(){ + this.setData({ + showModal222:true + }) + }, + onCancel222: function () { + this.hideModal222(); + }, + onConfirm222: function () { + this.hideModal222(); + }, + // 223 + hideModal223: function () { + this.setData({ + showModal223: false + }); + }, + + showModal_click223:function(){ + this.setData({ + showModal223:true + }) + }, + onCancel223: function () { + this.hideModal223(); + }, + onConfirm223: function () { + this.hideModal223(); + }, + // 224 + hideModal224: function () { + this.setData({ + showModal224: false + }); + }, + + showModal_click224:function(){ + this.setData({ + showModal224:true + }) + }, + onCancel224: function () { + this.hideModal224(); + }, + onConfirm224: function () { + this.hideModal224(); + }, + // 225 + hideModal225: function () { + this.setData({ + showModal225: false + }); + }, + + showModal_click225:function(){ + this.setData({ + showModal225:true + }) + }, + onCancel225: function () { + this.hideModal225(); + }, + onConfirm225: function () { + this.hideModal225(); + }, + // 226 + hideModal226: function () { + this.setData({ + showModal226: false + }); + }, + + showModal_click226:function(){ + this.setData({ + showModal226:true + }) + }, + onCancel226: function () { + this.hideModal226(); + }, + onConfirm226: function () { + this.hideModal226(); + }, + // 227 + hideModal227: function () { + this.setData({ + showModal227: false + }); + }, + + showModal_click227:function(){ + this.setData({ + showModal227:true + }) + }, + onCancel227: function () { + this.hideModal227(); + }, + onConfirm227: function () { + this.hideModal227(); + }, + // 228 + hideModal228: function () { + this.setData({ + showModal228: false + }); + }, + + showModal_click228:function(){ + this.setData({ + showModal228:true + }) + }, + onCancel228: function () { + this.hideModal228(); + }, + onConfirm228: function () { + this.hideModal228(); + }, + // 231 + hideModal231: function () { + this.setData({ + showModal231: false + }); + }, + + showModal_click231:function(){ + this.setData({ + showModal231:true + }) + }, + onCancel231: function () { + this.hideModal231(); + }, + onConfirm231: function () { + this.hideModal231(); + }, + // 232 + hideModal232: function () { + this.setData({ + showModal232: false + }); + }, + + showModal_click232:function(){ + this.setData({ + showModal232:true + }) + }, + onCancel232: function () { + this.hideModal232(); + }, + onConfirm232: function () { + this.hideModal232(); + }, + // 233 + hideModal233: function () { + this.setData({ + showModal233: false + }); + }, + + showModal_click233:function(){ + this.setData({ + showModal233:true + }) + }, + onCancel233: function () { + this.hideModal233(); + }, + onConfirm233: function () { + this.hideModal233(); + }, + // 234 + hideModal234: function () { + this.setData({ + showModal234: false + }); + }, + + showModal_click234:function(){ + this.setData({ + showModal234:true + }) + }, + onCancel234: function () { + this.hideModal234(); + }, + onConfirm234: function () { + this.hideModal234(); + }, + // 235 + hideModal235: function () { + this.setData({ + showModal235: false + }); + }, + + showModal_click235:function(){ + this.setData({ + showModal235:true + }) + }, + onCancel235: function () { + this.hideModal235(); + }, + onConfirm235: function () { + this.hideModal235(); + }, + // 236 + hideModal236: function () { + this.setData({ + showModal236: false + }); + }, + + showModal_click236:function(){ + this.setData({ + showModal236:true + }) + }, + onCancel236: function () { + this.hideModal236(); + }, + onConfirm236: function () { + this.hideModal236(); + }, + // 237 + hideModal237: function () { + this.setData({ + showModal237: false + }); + }, + + showModal_click237:function(){ + this.setData({ + showModal237:true + }) + }, + onCancel237: function () { + this.hideModal237(); + }, + onConfirm237: function () { + this.hideModal237(); + }, + // 238 + hideModal238: function () { + this.setData({ + showModal238: false + }); + }, + + showModal_click238:function(){ + this.setData({ + showModal238:true + }) + }, + onCancel238: function () { + this.hideModal238(); + }, + onConfirm238: function () { + this.hideModal238(); + }, +// 食堂3 + // 31 + hideModal31: function () { + this.setData({ + showModal31: false + }); + }, + + showModal_click31:function(){ + this.setData({ + showModal31:true + }) + }, + onCancel31: function () { + this.hideModal31(); + }, + onConfirm31: function () { + this.hideModal31(); + }, + // 32 + hideModal32: function () { + this.setData({ + showModal32: false + }); + }, + + showModal_click32:function(){ + this.setData({ + showModal32:true + }) + }, + onCancel32: function () { + this.hideModal32(); + }, + onConfirm32: function () { + this.hideModal32(); + }, + // 33 + hideModal33: function () { + this.setData({ + showModal33: false + }); + }, + + showModal_click33:function(){ + this.setData({ + showModal33:true + }) + }, + onCancel33: function () { + this.hideModal33(); + }, + onConfirm33: function () { + this.hideModal33(); + }, + // 34 + hideModal34: function () { + this.setData({ + showModal34: false + }); + }, + + showModal_click34:function(){ + this.setData({ + showModal34:true + }) + }, + onCancel34: function () { + this.hideModal34(); + }, + onConfirm34: function () { + this.hideModal34(); + }, + // 35 + hideModal35: function () { + this.setData({ + showModal35: false + }); + }, + + showModal_click35:function(){ + this.setData({ + showModal35:true + }) + }, + onCancel35: function () { + this.hideModal35(); + }, + onConfirm35: function () { + this.hideModal35(); + }, + // 36 + hideModal36: function () { + this.setData({ + showModal36: false + }); + }, + + showModal_click36:function(){ + this.setData({ + showModal36:true + }) + }, + onCancel36: function () { + this.hideModal36(); + }, + onConfirm36: function () { + this.hideModal36(); + }, + // 37 + hideModal37: function () { + this.setData({ + showModal37: false + }); + }, + + showModal_click37:function(){ + this.setData({ + showModal37:true + }) + }, + onCancel37: function () { + this.hideModal37(); + }, + onConfirm37: function () { + this.hideModal37(); + }, + // 38 + hideModal38: function () { + this.setData({ + showModal38: false + }); + }, + + showModal_click38:function(){ + this.setData({ + showModal38:true + }) + }, + onCancel38: function () { + this.hideModal38(); + }, + onConfirm38: function () { + this.hideModal38(); + }, + + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/canteen/canteen.json b/src/miniprogram/pages/canteen/canteen.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/canteen/canteen.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/canteen/canteen.wxml b/src/miniprogram/pages/canteen/canteen.wxml new file mode 100644 index 0000000..a140e94 --- /dev/null +++ b/src/miniprogram/pages/canteen/canteen.wxml @@ -0,0 +1,1381 @@ + + + + + +南一食堂1楼 +南一食堂2楼 +南一食堂3楼 +南二食堂1楼 +南二食堂2楼 +南二食堂3楼 +南三食堂 + + + + + + + 窗口{{item.id}} + {{item.name}} + + + + + + 评分:{{grade}} + + 评分:{{grade1}} + + 评分:{{grade2}} + + 评分:{{grade3}} + + 评分:{{grade4}} + + 评分:{{grade5}} + + 评分:{{grade6}} + + 评分:{{grade7}} + + + + + + 窗口{{item.id}} + {{item.name}} + 评分:{{item.evaluate}} + + + + + + + + + + + + + + + + 窗口{{item.id}} + {{item.name}} + 评分:{{item.evaluate}} + + + + + + + + + + + + + + + + 窗口{{item.id}} + {{item.name}} + 评分:{{item.evaluate}} + + + + + + + + + + + + + + + + 窗口{{item.id}} + {{item.name}} + 评分:{{item.evaluate}} + + + + + + + + + + + + + + + + 窗口{{item.id}} + {{item.name}} + 评分:{{item.evaluate}} + + + + + + + + + + + + + + + + 窗口{{item.id}} + {{item.name}} + 评分:{{item.evaluate}} + + + + + + + + + + + + + + + + + + + + + 窗口 + + + 评分 + + + + + + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + 评分 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + 窗口 + + 评分 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + 评分 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + 评分 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + 窗口 + + 评分 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + 评分 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + 评分 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + 取消 + 确定 + + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + + + + + + + 窗口 + + + + + + + + + 取消 + 确定 + + + diff --git a/src/miniprogram/pages/canteen/canteen.wxss b/src/miniprogram/pages/canteen/canteen.wxss new file mode 100644 index 0000000..63a61ec --- /dev/null +++ b/src/miniprogram/pages/canteen/canteen.wxss @@ -0,0 +1,6337 @@ +/* pages/canteen/canteen.wxss */ +.father{ + display:flex; + align-items:flex-start ; + height:1170rpx; + +} +.can-display{ +background-color: rgb(247, 246, 235); +width: 42%; +height:1170rpx; + +} +.evaluate-window{ + display:flex; + align-items:flex-start; + +} + +.can-display view{ + display:inline-flexbox; + margin:50rpx 40rpx; + width:70%; + font-size: 35rpx; + +} +.cn_active{ + color: rgb(204, 175, 9); + font-weight: 710; + border-bottom: 4rpx solid rgb(204, 175, 9); + + } +.swiper_container{ + width:70%; + height:1180rpx; + +} +.recipe_cell{ +flex-direction:column; +padding: 5vh; +border-bottom: 1rpx solid rgb(248, 224, 118); +} +/* 弹窗 */ +.showModal{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:8vh; + background: rgb(250, 239, 177); + color:#fff; + pointer-events:auto; + + } + .window_evaluate1{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:13vh; + pointer-events:auto; + } + .window_evaluate2{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:32vh; + pointer-events:auto; + }.window_evaluate3{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:51vh; + pointer-events:auto; + }.window_evaluate4{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:69vh; + pointer-events:auto; + }.window_evaluate5{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:87vh; + pointer-events:auto; + }.window_evaluate6{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:105vh; + pointer-events:auto; + }.window_evaluate7{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:124vh; + pointer-events:auto; + }.window_evaluate8{ + position: absolute; + height:1vh; + right:15vh; + width:50%; + top:143vh; + pointer-events:auto; + } + .showModal112{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:27vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal113{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:45vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal114{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:64vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal115{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:82vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal116{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:101vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal117{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:119vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal118{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:137vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal121{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:8vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal122{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:27vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal123{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:45vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal124{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:64vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal125{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:82vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal126{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:101vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal127{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:119vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal128{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:137vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal131{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:8vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal132{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:27vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal133{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:45vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal134{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:64vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal135{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:82vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal136{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:101vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal137{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:119vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal138{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:137vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal211{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:8vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal212{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:27vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal213{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:45vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal214{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:64vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal215{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:82vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal216{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:101vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal217{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:119vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal218{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:137vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal221{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:8vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal222{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:27vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal223{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:45vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal224{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:64vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal225{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:82vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal226{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:101vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal227{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:119vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal228{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:137vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal231{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:8vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal232{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:27vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal233{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:45vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal234{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:64vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal235{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:82vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal236{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:101vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal237{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:119vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal238{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:137vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal31{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:8vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal32{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:27vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + + } + .showModal33{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:45vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal34{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:64vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal35{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:82vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal36{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:101vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal37{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:119vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + .showModal38{ + position: absolute; + height:5vh; + right:2vh; + width:10%; + top:137vh; + background: rgb(250, 239, 177); + color:#fff; + font-size: 10px; + pointer-events:auto; + } + /*以下全是弹窗样式*/ + .modal-mask { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .section{ + display:flex; + align-items: flex-start; + + } + .body-view{ + width:70%; + } + .section__title{ + padding: 19rpx 50rpx; + font-size: 15%; + } + .modal-title-sc { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content { + padding: 5rpx 12rpx; + height:60 + } + + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + + .info{ + height:40px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return{ + padding: 8rpx 30rpx; + font-size: 15px; + color: #757272; + width:60%; + } + .send{ + color:rgb(184, 179, 179); + font-size:25rpx; + font:light; + + } + .modal-footer { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm { + width: 50%; + color: #ec5300; + text-align: center; + } +/* tanchuang */ + .modal-mask112 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog112 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title112 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc112 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content112 { + padding: 35rpx 12rp + } + + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return112{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer112 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel112 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm112 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask113 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog113 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title113 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc113 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content113 { + padding: 35rpx 12rp + } + + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return113{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer113 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel113 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm113 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + /* tanchuang */ + .modal-mask114 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog114 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title114 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc114 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content114 { + padding: 35rpx 12rp + } + + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return114{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer114 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel114 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm114 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask115 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog115 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title115 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc115 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content115 { + padding: 35rpx 12rp + } + + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return115{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer115 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel115 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm115 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask116 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog116 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title116 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc116 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content116 { + padding: 35rpx 12rp + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return116{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer116 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel116 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm116 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask117 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog117 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .section117{ + display:flex; + align-items: flex-start; + + } + .body-view117{ + width:70%; + } + .section__title117{ + padding: 19rpx 50rpx; + font-size: 15%; + } + .modal-title117 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc116 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content116 { + padding: 35rpx 12rp + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return117{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer117 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel117 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm117 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask118 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog118 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .section118{ + display:flex; + align-items: flex-start; + + } + .body-view118{ + width:70%; + } + .section__title118{ + padding: 19rpx 50rpx; + font-size: 15%; + } + .modal-title118 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc118 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content118 { + padding: 35rpx 12rp + } + + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return118{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer118 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel118 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm118 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask121 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog121 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title121 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc121 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content121 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return121{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer121 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel121 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm121 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask122 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog122 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title122 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc122 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content122 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return122{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer122 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel122 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm122 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask123 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog123 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title123 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc123 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content123 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return123{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer123 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel123 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm123 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask124 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog124 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title124 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc124 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content124 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return124{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer124 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel124 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm124 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask125 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog125 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title125 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc125 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content125 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return125{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer125 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel125 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm125 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask126 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog126 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title126 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc126 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content126 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return126{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer126 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel126 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm126 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask127 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog127 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title127 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc127 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content127 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return127{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer127 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel127 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm127 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask128 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog128 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title128 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc128 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content128 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return128{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer128 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel128 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm128 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask131 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog131 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title131 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc131 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content131 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return131{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer131 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel131 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm131 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask132 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog132 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title132 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc132 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content132 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return132{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer132 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel132 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm132 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask133 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog133 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title133 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc133 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content133 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return133{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer133 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel133 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm133 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask134 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog134 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title134 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc134 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content134 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return134{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer134 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel134 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm134 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask135 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog135 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title135 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc135 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content135 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return135{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer135 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel135 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm135 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask136 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog136 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title136 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc136 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content136 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return136{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer136 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel136 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm136 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask137 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog137 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title137 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc137 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content137 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return137{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer137 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel137 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm137 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask138 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog138 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title138 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc138 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content138 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return138{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer138 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel138 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm138 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* 食堂2 */ + + /*以下全是弹窗样式*/ + .modal-mask211 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog211 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title211 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc211 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content211 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:40px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return211{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer211 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel211 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm211 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask212 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog212 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title212 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc212 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content212 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return212{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer212 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel212 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm212 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask213 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog213 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title213 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc213 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content213 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return213{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer213 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel213 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm213 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + /* tanchuang */ + .modal-mask214 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog214 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title214 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc214 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content214 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return214{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer214 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel214 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm214 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask215 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog215 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title215 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc215 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content215 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return215{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer215 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel215 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm215 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask216 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog216 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title216 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc216 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content216 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return216{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer216 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel216 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm216 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask217 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog217 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title217 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc217 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content217 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return217{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer217 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel217 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm217 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask218 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog218 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title218 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc218 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content218 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return218{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer218 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel218 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm218 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask221 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog221 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title221 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc221 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content221 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return221{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer221 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel221 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm221 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask222 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog222 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title222 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc222 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content222 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return222{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer222 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel222 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm222 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask223 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog223 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title223 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc223 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content223 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return223{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer223 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel223 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm223 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask224 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog224 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title224 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc224 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content224 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return224{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer224 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel224 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm224 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask225 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog225 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title225 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc225 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content225 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return225{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer225 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel225 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm225 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask226 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog226 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title226 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc226 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content226 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return226{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer226 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel226 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm226 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask227 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog227 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title227 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc227 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content227 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return227{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer227 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel227 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm227 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask228 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog228 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title228 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc228 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content228 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return228{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer228 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel228 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm228 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* tanchuang */ + .modal-mask231 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog231 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title231 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc231 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content231 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return231{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer231 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel231 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm231 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask232 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog232 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title232 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc232 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content232 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return232{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer232 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel232 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm232 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask233 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog233 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title233 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc233 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content233 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return233{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer233 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel233 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm233 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask234 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog234 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title234 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc234 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content234 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return234{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer234 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel234 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm234 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask235 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog235 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title235 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc235 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content235 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return235{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer235 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel235 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm235 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask236 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog236 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title236 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc236 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content236 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return236{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer236 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel236 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm236 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask237 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog237 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title237 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc237 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content237 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return237{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer237 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel237 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm237 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask238 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog238 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title238 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc238 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content238 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return238{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer238 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel238 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm238 { + width: 50%; + color: #ec5300; + text-align: center; + } + /* 食堂3 */ + /* tanchuang */ + .modal-mask31 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog31 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title31 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc31 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content31 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return31{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer31 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel31 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm31 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask32 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog32 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title32 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc32 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content32 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return32{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer32 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel32 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm32 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask33 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog33 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title33 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc33 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content33 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return33{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer33 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel33 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm33 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask34 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog34 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title34 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc34 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content34 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return34{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer34 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel34 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm34 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask35 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog35 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title35 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc35 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content35 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return35{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer35 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel35 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm35 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask36 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog36 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title36 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc36 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content36 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return36{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer36 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel36 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm36 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask37 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog37 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title37 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc37 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content37 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return37{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer37 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel37 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm37 { + width: 50%; + color: #ec5300; + text-align: center; + } + + /* tanchuang */ + .modal-mask38 { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: rgba(0, 0, 0, 0.158); + opacity: 0.5; + overflow: hidden; + z-index: 9000; + color: #fff; + } + .modal-dialog38 { + width: 599rpx; + height:900rpx; + overflow: hidden; + position: fixed; + top: 25%; + left: 0; + z-index: 9999; + background: #ffffff; + margin-top: -180rpx; + margin-left: 10%; + border-radius: 36rpx; + } + .modal-title38 { + padding-top: 30rpx; + font-size: 20px; + color: #4e4d4d; + text-align: center; + } + .modal-title-sc38 { + padding-top: 10rpx; + font-size: 15px; + color: #bebcbc; + text-align: center; + } + .modal-content38 { + padding: 35rpx 12rpx; + } + .evaluate{ + margin:0rpx 2rpx; + font-size: 30rpx; + } + .info{ + height:60px; + right:20%; + text-align: left; + font-size: 12px; + color:#bebcbc; + } + .info::after{ + border: 0px; + } + .name_List{ + position:absolute; + left:0%; + width:40%; + text-align: left; + } + .quantity_List{ + position:absolute; + left:40%; + width:10%; + text-align: left; + } + .reason_List{ + position:absolute; + left:50%; + width:50%; + text-align: right; + overflow: hidden; + } + .modal-content-return38{ + padding: 15rpx 32rpx; + font-size: 15px; + color: #757272; + } + .modal-footer38 { + display: flex; + flex-direction: row; + height: 86rpx; + border-top: 1px solid #dedede; + font-size: 34rpx; + line-height: 86rpx; + } + .btn-cancel38 { + width: 50%; + color: #666; + text-align: center; + border-right: 1px solid #dedede; + } + .btn-confirm38 { + width: 50%; + color: #ec5300; + text-align: center; + } \ No newline at end of file diff --git a/src/miniprogram/pages/checklog/checklog.js b/src/miniprogram/pages/checklog/checklog.js new file mode 100644 index 0000000..e80274e --- /dev/null +++ b/src/miniprogram/pages/checklog/checklog.js @@ -0,0 +1,72 @@ +// pages/checklog/checklog.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + }, + goToLog:function(options){ + wx.navigateTo({ + url: '../../pages/log/log' + }) +} + +}) \ No newline at end of file diff --git a/src/miniprogram/pages/checklog/checklog.json b/src/miniprogram/pages/checklog/checklog.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/checklog/checklog.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/checklog/checklog.wxml b/src/miniprogram/pages/checklog/checklog.wxml new file mode 100644 index 0000000..fa0765b --- /dev/null +++ b/src/miniprogram/pages/checklog/checklog.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/miniprogram/pages/checklog/checklog.wxss b/src/miniprogram/pages/checklog/checklog.wxss new file mode 100644 index 0000000..4f614e2 --- /dev/null +++ b/src/miniprogram/pages/checklog/checklog.wxss @@ -0,0 +1 @@ +/* pages/checklog/checklog.wxss */ \ No newline at end of file diff --git a/src/miniprogram/pages/index.js b/src/miniprogram/pages/index.js new file mode 100644 index 0000000..408e666 --- /dev/null +++ b/src/miniprogram/pages/index.js @@ -0,0 +1,32 @@ +//获取应用实例 +var app = getApp(); +Page({ + data: { + images: app.globalData.introduce.images, + shortName: app.globalData.introduce.shortName, + mapCopyright: app.globalData.introduce.mapCopyright, + imgCDN: app.imgCDN + }, + onLoad: function (options) { + wx.setNavigationBarTitle({ + title: app.globalData.introduce.name + }) + }, + onShareAppMessage: function (res) { + if (res.from === 'button') { + // 来自页面内转发按钮 + console.log(res.target) + } + return { + title: app.globalData.introduce.name + ' - 校园导览', + path: '/pages/index', + imageUrl: app.imgCDN + app.globalData.introduce.share, + success: function (res) { + // 转发成功 + }, + fail: function (res) { + // 转发失败 + } + } + }, +}) \ No newline at end of file diff --git a/src/miniprogram/pages/index.json b/src/miniprogram/pages/index.json new file mode 100644 index 0000000..ce7a442 --- /dev/null +++ b/src/miniprogram/pages/index.json @@ -0,0 +1,3 @@ +{ + "navigationBarBackgroundColor": "#0c101b" +} \ No newline at end of file diff --git a/src/miniprogram/pages/index.wxml b/src/miniprogram/pages/index.wxml new file mode 100644 index 0000000..fe1b661 --- /dev/null +++ b/src/miniprogram/pages/index.wxml @@ -0,0 +1,18 @@ + + + + {{shortName}}简介 + + + 逛逛{{shortName}} + + + + + © cauc软工 + + + {{mapCopyright?"数据版权:"+mapCopyright.name:""}} + + + \ No newline at end of file diff --git a/src/miniprogram/pages/index.wxss b/src/miniprogram/pages/index.wxss new file mode 100644 index 0000000..e13f2d6 --- /dev/null +++ b/src/miniprogram/pages/index.wxss @@ -0,0 +1,44 @@ +.page { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + color: white; +} + +.button_container { + width: 100%; + display: flex; + align-items: center; + flex-direction: row; + margin-top: 120px; + justify-content: center; +} + +.button { + width: 145rpx; + height: 145rpx; + margin: 20px; + background-color: rgba(255, 224, 115, 0.9); + border-radius: 80rpx; + display: flex; + justify-content: center; +} + +.button text { + width: 55%; + align-self: center; + text-align: center; +} + +.copyright { + display: flex; + justify-content: flex-end; + flex-direction: column; + align-items: center; + height: 55vh; + font-size: 27rpx; + text-align: center; + line-height: 150%; + text-shadow:#000 1rpx 0 0,#000 0 1rpx 0,#000 -1rpx 0 0,#000 0 -1rpx 0; +} diff --git a/src/miniprogram/pages/log/log.js b/src/miniprogram/pages/log/log.js new file mode 100644 index 0000000..f49164f --- /dev/null +++ b/src/miniprogram/pages/log/log.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: 'getcomments1', + 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/log/log.json b/src/miniprogram/pages/log/log.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/log/log.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/log/log.wxml b/src/miniprogram/pages/log/log.wxml new file mode 100644 index 0000000..8faf732 --- /dev/null +++ b/src/miniprogram/pages/log/log.wxml @@ -0,0 +1,26 @@ + + + + + + + 日志 + + id + key + + + + {{item.User_comments}} + {{item.User_ID}} + + + + + + + diff --git a/src/miniprogram/pages/log/log.wxss b/src/miniprogram/pages/log/log.wxss new file mode 100644 index 0000000..541b7d5 --- /dev/null +++ b/src/miniprogram/pages/log/log.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/login.js b/src/miniprogram/pages/login.js new file mode 100644 index 0000000..f9a54fa --- /dev/null +++ b/src/miniprogram/pages/login.js @@ -0,0 +1,112 @@ +// pages/login/login.js +var that; +Page({ + + /** + * 页面的初始数据 + */ + data: { + userInfo:null, + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad:function(options) { + that = this; + wx.getStorage({ + key:'userInfo', + success(res){ + // console.log('get storage success',JSON.parse(res.data)) + that.setData({ + userInfo:JSON.parse(res.data) + }) + } + }) + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow(){ + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + }, + bindGetUserInfo: function(e){ + that = this; + if(e.detail.userInfo){ + wx.setStorage({ + data:JSON.stringify(e.detail.userInfo), + key:'userInfo', + success(res){ + // console.log('set storage success:',res) + that.setData({ + userInfo:JSON.parse(res.data) + }) + } + }) + wx.getStorage({ + key:'userInfo', + success(res){ + // console.log('get storage success',JSON.parse(res.data)) + that.setData({ + userInfo:JSON.parse(res.data) + }) + } + }) + } + + }, + goToUser:function(options){ + + wx.navigateTo({ + url: '../pages/user/user' + }) + }, + goToManager:function(options){ + wx.navigateTo({ + url: '../pages/manager/manager' + }) + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/login.json b/src/miniprogram/pages/login.json new file mode 100644 index 0000000..3928faa --- /dev/null +++ b/src/miniprogram/pages/login.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/login.wxml b/src/miniprogram/pages/login.wxml new file mode 100644 index 0000000..0ff193a --- /dev/null +++ b/src/miniprogram/pages/login.wxml @@ -0,0 +1,19 @@ + + + + + + + + 欢迎您! {{userInfo.nickName}} + + + + + 微信登陆 + 将获取您的信息,如头像、昵称等 + + + diff --git a/src/miniprogram/pages/login.wxss b/src/miniprogram/pages/login.wxss new file mode 100644 index 0000000..c99bb97 --- /dev/null +++ b/src/miniprogram/pages/login.wxss @@ -0,0 +1,49 @@ +/* pages/login/login.wxss */ +page { + background-color: rgb(255, 255, 255); + display: flex; + flex-direction: column; + justify-content: flex-start; +} +.text_style{ + margin-top: 40rpx; + height: 140rpx; + width: 100%; + background: #ffffff; + text-align: center; + font-size: 40rpx; + color: rgb(18, 18, 224); +} +.text_desc_style{ + /* margin-top: 40rpx; */ + height: 100rpx; + width: 100%; + background: #fff; + text-align: center; + font-size: 30rpx; + color: blue; +} +#userinfo{ + width: 260rpx; + height:260rpx; + border-radius:50%; + display: flex; + overflow:hidden; + /* text-align: center; */ + /* justify-content: center; */ + margin-top: 50px; + margin-left: 120px; +} +.nickname_type{ + width: 100%; + height: 200px; + display: flex; + /* align-items: center; */ + justify-content: center; +} +.tapbtn1{ + margin-top: 1%; +} +.tapbtn2{ + margin-top: 5%; +} \ No newline at end of file diff --git a/src/miniprogram/pages/manager/choose.wxss b/src/miniprogram/pages/manager/choose.wxss new file mode 100644 index 0000000..8e9c81f --- /dev/null +++ b/src/miniprogram/pages/manager/choose.wxss @@ -0,0 +1 @@ +/* pages/index/index.wxss */ \ No newline at end of file diff --git a/src/miniprogram/pages/manager/manager.js b/src/miniprogram/pages/manager/manager.js new file mode 100644 index 0000000..11f2150 --- /dev/null +++ b/src/miniprogram/pages/manager/manager.js @@ -0,0 +1,89 @@ +// pages/index/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + goto() { + wx.navigateTo({ + url: '/pages/test2/test2', + }) + }, + + //管理员跳转登录页 + guanliyuandenglu() { + wx.navigateTo({ + url: '/pages/managerlogin/managerlogin', + }) + }, + + zhuce1() { + wx.navigateTo({ + url: '/pages/register/register', + }) + }, + exit() { + wx.navigateTo({ + url: '../login', + }) + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/manager/manager.json b/src/miniprogram/pages/manager/manager.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/manager/manager.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/manager/manager.wxml b/src/miniprogram/pages/manager/manager.wxml new file mode 100644 index 0000000..89c83cf --- /dev/null +++ b/src/miniprogram/pages/manager/manager.wxml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/miniprogram/pages/manager/manager.wxss b/src/miniprogram/pages/manager/manager.wxss new file mode 100644 index 0000000..243611a --- /dev/null +++ b/src/miniprogram/pages/manager/manager.wxss @@ -0,0 +1 @@ +/* pages/manager/manager.wxss */ \ No newline at end of file diff --git a/src/miniprogram/pages/managerlogin/managerlogin.js b/src/miniprogram/pages/managerlogin/managerlogin.js new file mode 100644 index 0000000..58eb89c --- /dev/null +++ b/src/miniprogram/pages/managerlogin/managerlogin.js @@ -0,0 +1,81 @@ +// pages/adlogin/adlogin.js +Page({ + data: { + account:'', + password:'' + }, + + //获取输入的账号 + getAccount(evt) { + //console.log('账号', evt.detail.value) + this.setData({ + account: evt.detail.value + }) + }, + + //获取管理员输入的密码 + getPassword(event) { + // console.log('密码', event.detail.value) + this.setData({ + password: event.detail.value + }) + }, + +//点击管理员登陆 + guanliyuanlogin() { + + let account = this.data.account + let password = this.data.password + console.log('管理员账号', account, '管理员密码', password) + if (account.length < 4) { + wx.showToast({ + icon: 'none', + title: '账号至少4位', + }) + return + } + if (password.length < 4) { + wx.showToast({ + icon: 'none', + title: '密码至少4位', + }) + return + } + + + //管理员登陆 + wx.cloud.database().collection('user').where({ + account: account + }).get({ + success(res) { + console.log("获取数据成功", res) + let manager = res.data[0] + console.log("manager", manager) + if (password == manager.password) { + console.log('登陆成功') + wx.showToast({ + title: '登陆成功', + }) + wx.navigateTo({ + url: '../../pages/checklog/checklog', + }) + wx.navigateTo({ + url: '/pages/me1/me1', + }) + //保存管理员登陆状态 + wx.setStorageSync('manager', manager) + } else { + console.log('登陆失败') + wx.showToast({ + icon: 'none', + title: '账号或密码不正确', + }) + } + }, + fail(res) { + console.log("获取数据失败", res) + } + }) + } + + }) \ No newline at end of file diff --git a/src/miniprogram/pages/managerlogin/managerlogin.json b/src/miniprogram/pages/managerlogin/managerlogin.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/managerlogin/managerlogin.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/managerlogin/managerlogin.wxml b/src/miniprogram/pages/managerlogin/managerlogin.wxml new file mode 100644 index 0000000..16f2dd9 --- /dev/null +++ b/src/miniprogram/pages/managerlogin/managerlogin.wxml @@ -0,0 +1,6 @@ + +输入管理员账号 + +输入管理员密码 + + diff --git a/src/miniprogram/pages/managerlogin/managerlogin.wxss b/src/miniprogram/pages/managerlogin/managerlogin.wxss new file mode 100644 index 0000000..c85131d --- /dev/null +++ b/src/miniprogram/pages/managerlogin/managerlogin.wxss @@ -0,0 +1,6 @@ +/* pages/adlogin/adlogin.wxss */ +/* pages/adlogin/adlogin.wxss */ +.input{ + border: 1px solid gainsboro; + margin: 20rpx; +} \ No newline at end of file diff --git a/src/miniprogram/pages/map/details.js b/src/miniprogram/pages/map/details.js new file mode 100644 index 0000000..1ee6aef --- /dev/null +++ b/src/miniprogram/pages/map/details.js @@ -0,0 +1,107 @@ +// pages/map/details.js +//获取应用实例 +var app = getApp(); +Page({ + /** + * 页面的初始数据 + */ + data: { + tid: 0, + bid: 0, + building: { + img: []//加载中图片地址 + }, + imgCDN: app.imgCDN + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + var bid = parseInt(options.bid); + var tid = parseInt(options.tid); + if (!options.bid || !options.tid){ + var data = app.globalData.introduce; + } else { + var data = app.globalData.map[tid].data[bid]; + } + this.setData({ + bid: bid, + tid: tid, + building: data + }); + wx.setNavigationBarTitle({ + title: data.name + }) + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function (res) { + var title, path; + if (this.data.introduce){ + title = app.globalData.introduce.name + '校园导览'; + path = "/pages/map/details"; + } else { + title = this.data.building.name + ' - ' + app.globalData.introduce.name + '校园导览' + path = "/pages/map/details?tid=" + this.data.tid + "&bid=" + this.data.bid + } + if (res.from === 'button') { + // 来自页面内转发按钮 + console.log(res.target) + } + return { + title: title, + path: path, + imageUrl: app.imgCDN + this.data.building.img[0], + success: function (res) { + // 转发成功 + }, + fail: function (res) { + // 转发失败 + } + } + }, +}) \ No newline at end of file diff --git a/src/miniprogram/pages/map/details.json b/src/miniprogram/pages/map/details.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/src/miniprogram/pages/map/details.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/src/miniprogram/pages/map/details.wxml b/src/miniprogram/pages/map/details.wxml new file mode 100644 index 0000000..924eb34 --- /dev/null +++ b/src/miniprogram/pages/map/details.wxml @@ -0,0 +1,22 @@ + + + + + + + + + + + {{building.name}} + + + + + + + + + + + \ No newline at end of file diff --git a/src/miniprogram/pages/map/details.wxss b/src/miniprogram/pages/map/details.wxss new file mode 100644 index 0000000..967ad57 --- /dev/null +++ b/src/miniprogram/pages/map/details.wxss @@ -0,0 +1,50 @@ +/* pages/map/details.wxss */ + +.description { + padding: 40rpx 40rpx; + line-height: 30px; + font-size: 30rpx; +} + +.swiper { + height: 40vh; +} + +.swiper-image { + width: 100%; + height:100%; +} + +.building { + height: 10vh; + display: flex; + margin: auto 20rpx; +} + +.buildingName { + margin: auto 15rpx; + width: 80%; + color: #079df2; + font-size: 50rpx; + white-space:nowrap; +} + +.nav_map { + margin: auto 10rpx; +} + +.nav_map image { + width: 80rpx; + height: 80rpx; +} + +.descript { + background: #f8f8f8; + width: 100%; + min-height: 49vh; +} + +.descript rich-text { + font-size: 30rpx; + color: #000; +} diff --git a/src/miniprogram/pages/map/index.js b/src/miniprogram/pages/map/index.js new file mode 100644 index 0000000..e252fa1 --- /dev/null +++ b/src/miniprogram/pages/map/index.js @@ -0,0 +1,99 @@ +//获取应用实例 +var app = getApp(); +Page({ + data: { + fullscreen: false, + latitude: 39.108974, + longitude: 117.352776, + buildlData: app.globalData.map, + windowHeight: "", + windowWidth: "", + isSelectedBuild: 0, + isSelectedBuildType: 0, + imgCDN: app.imgCDN, + islocation: true + }, + onLoad: function () { + wx.showShareMenu({ + withShareTicket: true + }) + var _this = this; + wx.getSystemInfo({ + success: function (res) { + //获取当前设备宽度与高度,用于定位控键的位置 + _this.setData({ + windowHeight: res.windowHeight, + windowWidth: res.windowWidth, + }) + console.log(res.windowWidth) + } + }) + //载入更新后的数据 + this.setData({ + buildlData: app.globalData.map + }) + }, + onShareAppMessage: function (res) { + if (res.from === 'button') { + // 来自页面内转发按钮 + console.log(res.target) + } + return { + title: app.globalData.introduce.name + ' - 校园导览', + path: '/pages/map/index', + success: function (res) { + // 转发成功 + }, + fail: function (res) { + // 转发失败 + } + } + }, + regionchange(e) { + // 视野变化 + // console.log(e.type) + }, + markertap(e) { + // 选中 其对应的框 + this.setData({ + isSelectedBuild: e.markerId + }) + console.log( e.detail.markerId) + if(e.detail.markerId == 2){ + wx.navigateTo({ + url: '../map/test', + }) + } + }, + navigateSearch() { + wx.navigateTo({ + url: 'search' + }) + }, + location: function () { + var _this = this + wx.getLocation({ + type: 'gcj02', // 默认为 wgs84 返回 gps 坐标,gcj02 返回可用于 wx.openLocation 的坐标 + success: function (res) { + app.globalData.latitude = res.latitude; + app.globalData.longitude = res.longitude; + _this.setData({ + longitude: res.longitude, + latitude: res.latitude + }) + } + }) + }, + clickButton: function (e) { + //console.log(this.data.fullscreen) + //打印所有关于点击对象的信息 + this.setData({ fullscreen: !this.data.fullscreen }) + }, + changePage: function (event) { + this.setData({ + isSelectedBuildType: event.currentTarget.id, + isSelectedBuild: 0 + }); + } + +}) \ No newline at end of file diff --git a/src/miniprogram/pages/map/index.json b/src/miniprogram/pages/map/index.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/src/miniprogram/pages/map/index.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/src/miniprogram/pages/map/index.wxml b/src/miniprogram/pages/map/index.wxml new file mode 100644 index 0000000..15554c2 --- /dev/null +++ b/src/miniprogram/pages/map/index.wxml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + 位置:{{item.floor}} + + + + + + + + + + \ No newline at end of file diff --git a/src/miniprogram/pages/map/index.wxss b/src/miniprogram/pages/map/index.wxss new file mode 100644 index 0000000..5119400 --- /dev/null +++ b/src/miniprogram/pages/map/index.wxss @@ -0,0 +1,101 @@ +/* pages/map/map.wxss */ + +.building-item { + height: 50px; + border-bottom: 1px solid #e0e0e0; + padding: 10px; +} + +.top-swich { + background-color: #079df2; + height: 6vh; + color: white; + display: flex; + justify-content: space-around; +} + +::-webkit-scrollbar { + width: 0; + height: 0; + color: transparent; +} + +.top-swich-btn { + background-color: none; + letter-spacing: 3rpx; + height: 65rpx; + color: #fff; + font-size: 30rpx; +} + +.active { + border-bottom: solid white; + height: 50rpx; + display: inline-block; +} + +button { + font-size: 26rpx; + height: 6vh; +} + +.img-view { + height: 100%; + display: flex; +} + +.img { + width: 85%; + height: 100%; + display: flex; +} + +.img image { + width: 60px; + height: 90%; + margin: auto 7rpx; +} + +.item { + display: flex; + flex-direction: column; + margin: auto 0; +} + +.itemName { + margin: 0 20rpx; + font-size: 32rpx; +} + +.itemFloor { + margin: 0 20rpx; + font-size: 28rpx; + color: #555; +} + +.text { + margin: auto 15px; + width: 13%; +} + +.text image { + width: 70rpx; + height: 70rpx; +} + +.controls { + position: relative; + top: 65%; + left: 85%; + /* display: flex; */ +} + +.controls .img { + margin-top: 5px; + width: 80rpx; + height: 80rpx; +} + +.full { + top: 82%; +} diff --git a/src/miniprogram/pages/map/polyline.js b/src/miniprogram/pages/map/polyline.js new file mode 100644 index 0000000..4a39257 --- /dev/null +++ b/src/miniprogram/pages/map/polyline.js @@ -0,0 +1,105 @@ +var app = getApp(); +var amapFile = require('../../utils/amap-wx.js'); +Page({ + data: { + latitude: null, + longitude: null, + markers: [], + distance: '', + polyline: [] + }, + onLoad: function (options) { + var _this = this; + _this.setData({ + longitude: app.globalData.longitude, + latitude: app.globalData.latitude + }) + _this.routing(options); + + wx.getLocation({ + type: 'gcj02', + success: function (res) { + app.globalData.latitude = res.latitude; + app.globalData.longitude = res.longitude; + _this.setData({ + latitude: res.latitude, + longitude: res.longitude + }); + _this.routing(options); + }, + fail: function () { + console.log("定位失败") + wx.showModal({ + title: '无法使用该功能', + content: '请点击右上角在“关于校园导览”设置中给予定位权限', + showCancel: false, + success: function (res) { + wx.navigateBack({ + delta: 1 + }) + return; + } + }) + } + }) + }, + routing: function (options){ + var _this = this; + let distance = Math.abs(_this.data.longitude - options.longitude) + Math.abs(_this.data.latitude - options.latitude) + console.log(distance); + var myAmapFun = new amapFile.AMapWX({ key: require('../../config.js').key }); + let routeData = { + origin: options.longitude + ',' + options.latitude, + destination: _this.data.longitude + ',' + _this.data.latitude, + success: function (data) { + var points = []; + if (data.paths && data.paths[0] && data.paths[0].steps) { + var steps = data.paths[0].steps; + for (var i = 0; i < steps.length; i++) { + var poLen = steps[i].polyline.split(';'); + for (var j = 0; j < poLen.length; j++) { + points.push({ + longitude: parseFloat(poLen[j].split(',')[0]), + latitude: parseFloat(poLen[j].split(',')[1]) + }) + } + } + } + _this.setData({ + markers: [{ + "width": "25", + "height": "35", + iconPath: "/img/mapicon_end.png", + latitude: options.latitude, + longitude: options.longitude + }, { + "width": "25", + "height": "35", + iconPath: "/img/mapicon_start.png", + latitude: _this.data.latitude, + longitude: _this.data.longitude + }], + polyline: [{ + points: points, + color: "#0091ff", + width: 6 + }] + }); + if (data.paths[0] && data.paths[0].distance) { + _this.setData({ + distance: data.paths[0].distance + '米' + }); + } + }, + fail: function (info) { + } + } + if (distance < 0.85) { + // getWalkingRoute 步行 + myAmapFun.getWalkingRoute(routeData) + } else { + // getDrivingRoute 驾车 + myAmapFun.getDrivingRoute(routeData) + } + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/map/polyline.json b/src/miniprogram/pages/map/polyline.json new file mode 100644 index 0000000..eae3193 --- /dev/null +++ b/src/miniprogram/pages/map/polyline.json @@ -0,0 +1,3 @@ +{ + "navigationBarTitleText": "路径规划" +} \ No newline at end of file diff --git a/src/miniprogram/pages/map/polyline.wxml b/src/miniprogram/pages/map/polyline.wxml new file mode 100644 index 0000000..9693a91 --- /dev/null +++ b/src/miniprogram/pages/map/polyline.wxml @@ -0,0 +1,7 @@ + + +{{distance}} + + diff --git a/src/miniprogram/pages/map/polyline.wxss b/src/miniprogram/pages/map/polyline.wxss new file mode 100644 index 0000000..e8d09e8 --- /dev/null +++ b/src/miniprogram/pages/map/polyline.wxss @@ -0,0 +1,17 @@ +.navi_map { + width: auto; + height: 100vh; +} + +.distance { + position: absolute; + bottom: 30px; + right: 10px; + height: 30px; + line-height: 30px; + text-align: center; + padding: 3px 5px 3px 5px; + color: #fff; + background: #0091ff; + border-radius: 5px; +} diff --git a/src/miniprogram/pages/map/search.js b/src/miniprogram/pages/map/search.js new file mode 100644 index 0000000..dba8cfe --- /dev/null +++ b/src/miniprogram/pages/map/search.js @@ -0,0 +1,133 @@ +// pages/map/search.js +//获取应用实例 +var app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + keyword: null, + buildlData: app.globalData.map, + showData: null, + cursor: 0, + imgCDN: app.imgCDN + }, + + bindSearchInput: function(e) { + let showData = new Array(); + let searchdata = this.data.buildlData; + if (e.detail.cursor >= this.data.cursor) { + //输入文字 + let inputData = e.detail.value.replace(/(^\s*)|(\s*$)/g, "") + + if (inputData) { + let z = 0, + x = 100; + for (var b in searchdata) { + for (var i in searchdata[b].data) { + if (searchdata[b].data[i].name.indexOf(inputData) != -1 || (searchdata[b].data[i].floor && searchdata[b].data[i].floor.indexOf(inputData) != -1)) { + let build = searchdata[b].data[i]; + build.tid = b; + build.bid = i; + z = z + 1; + build.index = z; + showData.push(build); + } else if (searchdata[b].data[i].description.indexOf(inputData) != -1) { + let build = searchdata[b].data[i]; + build.tid = b; + build.bid = i; + x = x + 1; + build.index = x; + showData.push(build); + } + } + } + //冒泡排序 + for (var i = 0; i < showData.length; i++) { + for (var j = 0; j < showData.length - i - 1; j++) { + if (showData[j].index > showData[j + 1].index) { + var temp = showData[j]; + showData[j] = showData[j + 1]; + showData[j + 1] = temp; + console.log('交换' + showData[j].index + ':' + showData[j + 1].index) + } + } + } + if (inputData == 'gxgk') { + showData.push({ + name: "\u839e\u9999\u5e7f\u79d1" + }) + } + this.setData({ + showData: showData + }); + } + } else { + //删除文字 + console.log('删除文字') + this.setData({ + showData: null + }); + } + this.data.cursor = e.detail.cursor; + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function(options) {}, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function() { + + }, + reset: function() { + this.setData({ + keyword: null + }); + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/map/search.json b/src/miniprogram/pages/map/search.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/src/miniprogram/pages/map/search.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/src/miniprogram/pages/map/search.wxml b/src/miniprogram/pages/map/search.wxml new file mode 100644 index 0000000..2363e87 --- /dev/null +++ b/src/miniprogram/pages/map/search.wxml @@ -0,0 +1,35 @@ + + + + + + + +
+ +
+
+ + + +
+ + + + + + + + + {{item.name}} + + + {{item.floor}} + + + + + + + + \ No newline at end of file diff --git a/src/miniprogram/pages/map/search.wxss b/src/miniprogram/pages/map/search.wxss new file mode 100644 index 0000000..06f7538 --- /dev/null +++ b/src/miniprogram/pages/map/search.wxss @@ -0,0 +1,16 @@ +@import 'index.wxss' + +.search { + width: 96%; + height: 80rpx; + background-color: #f5f5f5; + border-radius: 15px; + margin: 20rpx 2%; + display: flex; +} +.search-icon{ + margin:auto 20rpx; +} +.search-form{ + margin:auto 15rpx; width: 100%; +} \ No newline at end of file diff --git a/src/miniprogram/pages/map/test.js b/src/miniprogram/pages/map/test.js new file mode 100644 index 0000000..dfc2355 --- /dev/null +++ b/src/miniprogram/pages/map/test.js @@ -0,0 +1,79 @@ +// pages/map/test.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + markers:[{ + iconPath:"/img/ico/jd.png", + latitude:39.10648, + longitude:117.3526, + width:30, + height:30 + }, + { + iconPath:"/img/ico/jd1.png", + latitude:39.107091, + longitude:117.353151, + width:30, + height:30 + }] + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/map/test.json b/src/miniprogram/pages/map/test.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/map/test.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/map/test.wxml b/src/miniprogram/pages/map/test.wxml new file mode 100644 index 0000000..3bea39e --- /dev/null +++ b/src/miniprogram/pages/map/test.wxml @@ -0,0 +1,6 @@ + + + + diff --git a/src/miniprogram/pages/map/test.wxss b/src/miniprogram/pages/map/test.wxss new file mode 100644 index 0000000..6769681 --- /dev/null +++ b/src/miniprogram/pages/map/test.wxss @@ -0,0 +1,5 @@ +/* pages/map/test.wxss */ +#mapp { + height: 100%; + width: 100%; +} diff --git a/src/miniprogram/pages/register/register.js b/src/miniprogram/pages/register/register.js new file mode 100644 index 0000000..c5d370c --- /dev/null +++ b/src/miniprogram/pages/register/register.js @@ -0,0 +1,114 @@ +Page({ + data: { + name: '', + account: '', + password: '' + }, + //获取用户名 + getName(event) { + console.log('获取输入的用户名', event.detail.value) + this.setData({ + name: event.detail.value + }) + }, + //获取用户账号 + getAccount(event) { + console.log('获取输入的账号', event.detail.value) + this.setData({ + account: event.detail.value + }) + }, + // 获取密码 + getPassword(event) { + console.log('获取输入的密码', event.detail.value) + this.setData({ + password: event.detail.value + }) + }, + + //注册 + zhuce1() { + let name = this.data.name + let account = this.data.account + let password = this.data.password + console.log("点击了注册") + console.log("name", name) + console.log("account", account) + console.log("password", password) + //校验用户名 + if (name.length < 2) { + wx.showToast({ + icon: 'none', + title: '用户名至少2位', + }) + return + } + if (name.length > 10) { + wx.showToast({ + icon: 'none', + title: '用户名最多10位', + }) + return + } + //校验账号 + if (account.length < 4) { + wx.showToast({ + icon: 'none', + title: '账号至少4位', + }) + return + } + //校验密码 + if (password.length < 4) { + wx.showToast({ + icon: 'none', + title: '密码至少4位', + }) + return + } + //注册功能的实现 + wx.cloud.database().collection('user').add({ + data: { + name: name, + account: account, + password: password + }, + success(res) { + console.log('注册成功', res) + wx.showToast({ + title: '注册成功', + }) + wx.navigateTo({ + url: '../../pages/manager/manager', + }) + }, + fail(res) { + console.log('注册失败', res) + } + }) + + //保存日志(改) + var data = new DataCue(); + wx.cloud.database().collection('log').add({ + data: { + time: data, + id: account, + operation:'register' + }, + success(res) { + console.log('注册成功', res) + wx.showToast({ + title: '注册成功', + }) + wx.navigateTo({ + url: '../adlogin/adlogin', + }) + }, + fail(res) { + console.log('注册失败', res) + } + }) + + + } + }) \ No newline at end of file diff --git a/src/miniprogram/pages/register/register.json b/src/miniprogram/pages/register/register.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/register/register.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/register/register.wxml b/src/miniprogram/pages/register/register.wxml new file mode 100644 index 0000000..c55fa37 --- /dev/null +++ b/src/miniprogram/pages/register/register.wxml @@ -0,0 +1,8 @@ + +输入管理员用户名 + +输入用户账号 + +输入密码 + + \ No newline at end of file diff --git a/src/miniprogram/pages/register/register.wxss b/src/miniprogram/pages/register/register.wxss new file mode 100644 index 0000000..02428e2 --- /dev/null +++ b/src/miniprogram/pages/register/register.wxss @@ -0,0 +1,5 @@ +/**index.wxss**/ +.input{ + border: 1px solid gainsboro; + margin: 15rpx; +} \ No newline at end of file diff --git a/src/miniprogram/pages/user/user.js b/src/miniprogram/pages/user/user.js new file mode 100644 index 0000000..3a55f95 --- /dev/null +++ b/src/miniprogram/pages/user/user.js @@ -0,0 +1,112 @@ +// pages/login/login.js +var that; +Page({ + + /** + * 页面的初始数据 + */ + data: { + userInfo:null, + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad:function(options) { + that = this; + wx.getStorage({ + key:'userInfo', + success(res){ + // console.log('get storage success',JSON.parse(res.data)) + that.setData({ + userInfo:JSON.parse(res.data) + }) + } + }) + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow(){ + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + }, + bindGetUserInfo: function(e){ + that = this; + if(e.detail.userInfo){ + wx.setStorage({ + data:JSON.stringify(e.detail.userInfo), + key:'userInfo', + success(res){ + // console.log('set storage success:',res) + that.setData({ + userInfo:JSON.parse(res.data) + }) + } + }) + wx.getStorage({ + key:'userInfo', + success(res){ + // console.log('get storage success',JSON.parse(res.data)) + that.setData({ + userInfo:JSON.parse(res.data) + }) + } + }) + } + + }, + goToSchool:function(options){ + + wx.navigateTo({ + url: '../index' + }) + }, + goToCanteen:function(options){ + wx.navigateTo({ + url: "../../pages/canteen/canteen" + }) + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/user/user.json b/src/miniprogram/pages/user/user.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/miniprogram/pages/user/user.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/miniprogram/pages/user/user.wxml b/src/miniprogram/pages/user/user.wxml new file mode 100644 index 0000000..05a72ef --- /dev/null +++ b/src/miniprogram/pages/user/user.wxml @@ -0,0 +1,19 @@ + + + + + + + + 欢迎您! {{userInfo.nickName}} + + + + + 微信登陆 + 将获取您的信息,如头像、昵称等 + + + diff --git a/src/miniprogram/pages/user/user.wxss b/src/miniprogram/pages/user/user.wxss new file mode 100644 index 0000000..2da0b55 --- /dev/null +++ b/src/miniprogram/pages/user/user.wxss @@ -0,0 +1,49 @@ +/* pages/login/login.wxss */ +page { + background-color: rgb(255, 255, 255); + display: flex; + flex-direction: column; + justify-content: flex-start; +} +.text_style{ + margin-top: 40rpx; + height: 140rpx; + width: 100%; + background: #ffffff; + text-align: center; + font-size: 40rpx; + color: rgb(18, 18, 224); +} +.text_desc_style{ + /* margin-top: 40rpx; */ + height: 100rpx; + width: 100%; + background: #fff; + text-align: center; + font-size: 30rpx; + color: blue; +} +#userinfo{ + width: 260rpx; + height:260rpx; + border-radius:50%; + display: flex; + overflow:hidden; + /* text-align: center; */ + /* justify-content: center; */ + margin-top: 50px; + margin-left: 120px; +} +.nickname_type{ + width: 100%; + height: 200px; + display: flex; + /* align-items: center; */ + justify-content: center; +} +.tapbtn1{ + margin-top: 1%; +} +.tapbtn2{ + margin-top: 5%; +} \ No newline at end of file diff --git a/src/miniprogram/pages/web-views/web-views.js b/src/miniprogram/pages/web-views/web-views.js new file mode 100644 index 0000000..a46954c --- /dev/null +++ b/src/miniprogram/pages/web-views/web-views.js @@ -0,0 +1,68 @@ +// pages/web-views/web-views.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + url: 'www.gxgk.cc' //给予默认值,防止ios初次加载报错 + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({ + url: encodeURI(options.url) + }) + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/src/miniprogram/pages/web-views/web-views.json b/src/miniprogram/pages/web-views/web-views.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/src/miniprogram/pages/web-views/web-views.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/src/miniprogram/pages/web-views/web-views.wxml b/src/miniprogram/pages/web-views/web-views.wxml new file mode 100644 index 0000000..1b4ee93 --- /dev/null +++ b/src/miniprogram/pages/web-views/web-views.wxml @@ -0,0 +1,2 @@ + + diff --git a/src/miniprogram/pages/web-views/web-views.wxss b/src/miniprogram/pages/web-views/web-views.wxss new file mode 100644 index 0000000..051d7b2 --- /dev/null +++ b/src/miniprogram/pages/web-views/web-views.wxss @@ -0,0 +1 @@ +/* pages/web-views/web-views.wxss */ \ No newline at end of file diff --git a/src/miniprogram/resources/cauc.js b/src/miniprogram/resources/cauc.js new file mode 100644 index 0000000..49e0be0 --- /dev/null +++ b/src/miniprogram/resources/cauc.js @@ -0,0 +1,434 @@ +//学校简介 +module.exports.introduce = { + "shortName": "中航大", //学校名字两个字缩写 + "name": "中国民航大学", //学校名称 + "images": "校园导览/gdst.jpg", // 首页图片地址 + "share": "校园导览/share.jpg", //分享时展示图片的地址 + "latitude": "39.108815", + "longitude": "117.352772", + "img": ["校园导览/校门/北门.jpg", "校园导览/教学楼/全景.jpg"], //简介图片 + "description": "

 中国民航大学是中国民航局直属的,中国最顶尖的民航学府,素有“民航小清华”之称。

", + "mapCopyright": { name: "校园指路制作组", url: "" } +} +//学校地图数据 +module.exports.map = [ + { + "name": "景点", + "scale": 16, + "data": [ + { + "name": "图书馆", + "latitude": "39.107078", + "longitude": "117.353131", + "iconPath": "/img/ico/jd.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/景点/图书馆/图书馆1.jpg", + "校园导览/景点/图书馆/图书馆2.jpg", + "校园导览/景点/图书馆/图书馆3.jpg" + ], + "description": "

 

" + }, + { + "name":"法学院", + "latitude":"39.10648", + "longitude":"117.3526", + "iconPath":"/img/ico/jd.png", + "width": "30", + "height": "30", + }, + { + "name": "体育馆", + "latitude": "39.106916", + "longitude": "117.355886", + "iconPath": "/img/ico/jd.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/景点/体育馆/体育馆1.jpg", + "校园导览/景点/体育馆/体育馆2.jpg", + "校园导览/景点/体育馆/体育馆3.jpg", + "校园导览/景点/体育馆/体育馆4.jpg" + ], + "description": " " + }, + { + "name": "千禧湖", + "latitude": "39.10497", + "longitude": "117.355763", + "iconPath": "/img/ico/jd.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/景点/西湖乐园/西湖乐园3.jpg", + "校园导览/景点/西湖乐园/西湖乐园2.jpg", + "校园导览/景点/西湖乐园/西湖乐园1.jpg" + ], + "description": "千禧湖" + } + ] + }, + { + "name": "教学楼", + "scale": 16, + "data": [ + { + "name": "1号教学楼", + "latitude": "39.105963", + "longitude": "117.353212", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/1号教学楼.jpg" + ], + "description": " 1号教学楼有九层楼,左右两侧有电梯,正对着正门(北门),成拱形,左边是2号教学楼,右边是3号教学楼,中间与4、5号教学楼相连。1号教学楼一楼主要是学校社团部门的活动室,还有农行ATM机,校园银行(中国建设银行),中国电信、联通、移动店,广科报刊亭;2~6层楼为多媒体教室;7~9主要为实验室,有:语言实验室、公共实验室、会计多功能综合实验室、软件综合实验室,同声传译实验室,ERP实训室,NET实训室,国际商务英语模拟实训室,计算机基础技术实训室,数据开发实训室,还有管理办公室。" + }, + { + "name": "2号教学楼", + "latitude": "39.106449", + "longitude": "117.35235", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/2号教学楼.jpg" + ], + "description": " 2号教学楼有六层楼,在1号教学楼的左边,创业楼的后面。" + }, + { + "name": "3号教学楼", + "latitude": "39.10485", + "longitude": "117.352777", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/3号教学楼1.jpg", + "校园导览/教学楼/3号教学楼2.jpg" + ], + "description": " 3号教学楼有六层楼,在1号教学楼的右边。" + }, + { + "name": "4号教学楼", + "latitude": "39.104238", + "longitude": "117.352915", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/4号教学楼1.jpg", + "校园导览/教学楼/4号教学楼2.jpg" + ], + "description": " 4栋教学楼位于2栋教学楼后方,且与2栋教学楼相连接。4栋教学楼在配套有现代多媒体教学设施,且全部装有空调的同时还配套有最新电脑设备,帮助学生学习最新现代信息技术。" + }, + { + "name": "5号教学楼", + "latitude": "39.101809", + "longitude": "117.35374", + "iconPath": "/img/ico/jxl.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/教学楼/5号教学楼1.jpg", + "校园导览/教学楼/5号教学楼2.jpg" + ], + "description": " 5栋教学楼位于3栋教学楼后方,且与3栋教学楼相连接。3栋教学楼在配套有现代多媒体教学设施,且全部装有空调,保证了学生学习环境和教师教学环境的质量。使学生能舒适专心地进行高质量学习。" + }, + ] + }, + { + "name": "校门", + "scale": 16, + "data": [ + { + "name": "北门", + "latitude": "39.114642", + "longitude": "117.34876", + "iconPath": "/img/ico/xm.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/校门/北门.jpg" + ], + "description": "北门" + }, + { + "name": "南门", + "latitude": "39.107847", + "longitude": "117.354828", + "iconPath": "/img/ico/xm.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/校门/南门2.jpg", + "校园导览/校门/南门3.jpg", + "校园导览/校门/南门1.jpg" + ], + "description": "南门" + }, + { + "name": "西门", + "latitude": "39.105958", + "longitude": "117.351209", + "iconPath": "/img/ico/xm.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/校门/雅苑门.jpg" + ], + "description": "雅苑门" + } + ] + }, + { + "scale": 16, + "name": "行政部门", + "data": [ + { + "name": "飞行器研究院", + "floor": "创业楼301", + "latitude": "39.100547", + "longitude": "117.357268", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/创业楼/广科招生办301.jpg" + ], + "description": "" + }, + { + "name": "体育部", + "floor": "创业楼1202", + "latitude": "39.105038", + "longitude": "117.355197", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/创业楼/就业指导中心 1202.jpg" + ], + "description": "


" + }, + { + "name": "学院办公室", + "floor": "行政楼513", + "latitude": "39.104259", + "longitude": "117.352893", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/行政楼/学院办公室 行政楼513.jpg" + ], + "description": "

学院办公室是学院综合性行政管理部门,在主管领导的领导下负责全院行政工作的组织、指导、协调、服务和监控。根据领导的指示,协调各处室,保证各项法规、制度、办法的贯彻执行。其主要职责是:


一、贯彻执行党的教育方针和国家的法律、法规,根据院领导的指示及学院有关规定处理日常工作。


二、负责学院工作计划、总结、报告、决议等文件的起草、印发;组织各系、处、室制订学年(学期)工作计划,撰写工作总结,并检查计划的执行情况。


三、负责院长办公会及全院性会议的筹备、召集与记录工作;负责全院性大型活动的策划、组织、宣传。


四、负责学院的外事工作;负责外出参观、学习、交流、公差、旅游联络协调工作。


五、负责督促检查各行政部门、各单位对学院行政工作目标、文件、会议决定事项、院长指示及各项规章制度的执行落实情况;深入基层调查研究,经常了解全院改革和教学、科研、管理等与全局有关的情况和问题,及时提出相应建议,供院领导参考。


六、负责学院行政公文的管理。做好校内外文件的收发、登记、传阅、催办、立卷、归档工作和公文印制发放工作,处理校内各单位的请示、报告。


七、负责接待群众来信来访,及时协调处理相关事宜,做好督促检查和回复工作。


八、负责上级领导及兄弟院校来校视察、参观、交流的接待工作。


九、掌握并正确使用学院印鉴,负责审定各处室印章的刻制及用印的监督,负责开具介绍信及有关证明。


十、负责各种报表的综合统计及审定报刊杂志的征订。负责审核各处室以学院名义上报或下发的文件资料。


十一、负责办公用品的发放和管理及会议室、接待室的管理和使用。


十二、负责院领导公务用车的调度与管理。


十三、负责院领导的后勤服务工作,负责办理院领导出访、出差的有关手续。


十四、完成院领导交办的其它工作。


" + }, + { + "name": "教务处", + "floor": "行政楼205", + "latitude": "39.102544", + "longitude": "117.354727", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/行政楼/教务处205.jpg" + ], + "description": "

 教务处是学院教学管理的职能部门,在主管教学副院长领导下开展工作,对全院教学活动进行计划、组织、协调、监控、调研,为相关教学单位和教师进行服务。教务处是学院各教学单位相互联系和沟通的枢纽,是保证人才培养质量的重要管理部门;同时也是学院行教学研究、推进教学改革的指导机构。

" + }, + { + "name": "心理辅导中心", + "floor": "图书馆F6", + "latitude": "39.101685", + "longitude": "117.357382", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/行政楼/心理辅导中心 图书馆F6.jpg" + ], + "description": "

 广东科技学院心理健康教育与辅导中心,隶属学生处,全面负责学院的大学生心理健康教育与辅导工作,目前共有专职心理教师4人、心灵关爱导师7人,以及学院、系学生会朋辈心理互助中心(学生干部机构)、心理健康发展协会(学生心理社团)和班级心理委员、宿舍心理委员五支学生心理工作队伍。为进一步加强中心的心理健康教育与辅导功能,在学院领导支持和关怀下,中心的设施设备逐步趋于完善。


 目前,中心设有温馨的心语室、心理测量室、心理舒缓室、团体心理训练室以及心灵书吧等功能室。中心本着优化心理品质、激发个人潜能、促进自我成长的理念,旨在真诚、热情地理解和服务于学生,全面普及心理健康知识,帮助学生排除心理困扰、增强心理适应能力和心理素质、努力开发个人潜能,促进学生全面发展。

" + }, + { + "name": "保卫室(武装部)", + "floor": "教学楼3栋", + "latitude": "39.108148", + "longitude": "117.354363", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/保卫室.jpg" + ], + "description": "

 广东科技学院社会治安综合治理办公室(简称“综治办”)是学院社会治安综合治理委员会下设的机构,与学院保卫处合署。在学院党委和行政的领导下,开展“创安、维稳、禁毒、消防、防邪”等工作。主要负责治安综合治理和治安防范、普法宣传教育和安全防范教育(防毒、防火、防其他事故)、安全检查和隐患排查、信息监控和舆情引导、交通消防和食品卫生安全监督、周边环境治理等。

" + }, + { + "name": "思想政治理论课教学部", + "floor": "教学楼3-205", + "latitude": "39.10729", + "longitude": "117.353125", + "iconPath": "/img/ico/xyfu.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/各系办公室/思政部 3-205.jpg" + ], + "description": "

思想政治理论课教学部(简称“思政部”)前身是公共基础部所属的思政教研室,2010年起成为学院直属的二级教学机构,负责全院大学生的思想政治理论和德育课教学与研究工作。思政部师资力量雄厚,教师职称结构、学历结构、学缘结构、年龄结构合理。思政部现有专任教师48人(专职教师47人、兼职教师1人),其中教授9人,副教授5人;具有博士学位教师5人,硕士学位教师35人,在读博士3人;省级教学名师1人、课程负责人1人、各类骨干教师5人,多人具有社会兼职。


思政部现设五个教研室,除开设国家规定的《马克思主义基本原理概论》、《中国近现代史纲要》等5门必修课外,还开设《莞邑文化概论》、《莞邑文化研习营》、《岭南文化概览》、《当代世界经济与政治》、《中西政治比较》、《合同法》、《中华人民共和国公司法》、《散户股票投资实战技能及其法律保护》、《刑事典型案例选讲》、《劳动法热点问题分析》、《刑法学》、《社会工作与志愿服务》、《社交礼仪》、《社会心理学》、《婚姻家庭心理学》、《生活中的传播》等多门选修课。


思政部积极开展教学、科研活动,教学科研成绩斐然。


在教学方面,曹美菊教授获评广东省高校思想政治理论课教师2014年度影响力人物,在2015年广东省首届民办高校“微党课”比赛中荣获一等奖;侯东栋老师在2016年广东省青年教师教学基本功比赛中荣获一等奖,王婕老师获得三等奖;徐泉海老师在2015年广东省青年教师教学基本功比赛中荣获二等奖;曹美菊教授、范海燕老师的微课分别获得全国微课大赛广东分赛区三等奖;在2015年学院讲课比赛中,曾祥辉老师荣获一等奖;同年学院说课比赛中,向前副教授获一等奖。每一学期学生评教,思政部全体老师均在90分以上,名列全校前茅,深受学生好评。


科研方面,李永芳教授申报的《国民革命基地视阈下的广东农会组织研究》获2016年广东省“十三五”社科规划课题立项,民办院校(含独立学院)仅有3项;2016年,我部教师申报的《莞邑文化的生成源流及其当代价值研究》获得广东高校重大科研项目;2017年我部向前副教授申报的《自媒体语境下本科院校思想政治理论课教学的实效性研究》获得广东省2017年省级德育项目立项;2015年,我部教师申报的《东莞文化旅游新业态研究》课题获东莞市2015年哲学社会科学规划课题立项,并获优秀结项;我部申报的实践育人机制建设课题《“莞邑文化研习营”的实践运作与网络传播》获广东省2015年省级德育创新项目重大项目立项,获配套资助经费10万元,并经专家组评审顺利开题;范海燕老师申报的《工学结合模式下高校思政课实践教学模式建构》获广东省2015年省级德育课题一般项目立项,并顺利结题。2016年,李新凤博士申报的《思政课实践教学模式新探索--以广东科技学院法律服务中心实践教学为例》获得广东省教育厅教改课题立项。我部教师指导的省级大学生创新创业项目成功立项15个,位居全院前列。近年来,我部教师在CSSCI来源期刊、北大中文核心期刊发表高层次论文数十篇,在省级一般刊物发表论文数百篇,多篇被人大复印资料转引。


课程建设方面,2015年我部共有四门课程获得院级优质课程立项,分别是徐泉海老师负责的《中国近现代史纲要》,向前老师负责的《形势与政策》、曹美菊教授负责的《毛泽东思想和中国特色社会主义理论体系概论》、张芙华教授负责的《莞邑文化概论》。2017年,范海燕老师负责的《思想道德修养与法律基础》获得院级精品资源共享课立项。


思政部贯彻党的教育方针,以提高大学生思想政治素质为核心,紧紧围绕我院“育产业精英”的培养目标,教学“贴近实际、贴近生活、贴近学生”。2014年我部率先提出提出了“莞邑文化”的概念,在学院内开设了第一门综合性地方课程——《莞邑文化概论》,将研究与教学相结合,全面呈现东莞历史、政治、经济、思想、科技等各方面文化的发展概况,通过挖掘本土特色文化资源,活化系列公共课程,作为思政课程改革的突破口,为学生普及地方文化常识的同时,培养爱乡爱国的情感,让思政课程真正接了地气。学院与虎门硝烟纪念馆、东江纵队纪念馆、袁崇焕纪念文化园等多个单位建立了思想政治教育实践基地,定期组织学生参观学习,成为我院的第二思政课堂。


思政教学紧密围绕学院培养目标,把思想教育与专业教学紧密结合,采取分专业针对性案例教学,让同学们在专业背景下体会到思想性、思辨性,把思想教育融入到专业分析中,积极探索符合我院特色的思想政治教育新路径,力争使每一个毕业生都能够“技能精湛,成熟成人”,不仅是“合格的公民”,还富有亲和力和感染力,人际和谐,成为具有团队精神的优秀毕业生。 思政部倡导主动尽责、自由愉悦的工作氛围,淡化行政主导,倡导人人参与管理,人人自我管理。部门成立有教学指导委员会、学术分委员会、考核与聘任委员会等三个专业委员会和行政、教学、科研、服务四个志愿服务小组,具体承担部门日常管理和业务运行工作。


" + }, + ] + }, + { + "name": "食堂", + "scale": 16, + "data": [ + { + "name": "南一食堂", + "latitude": "39.103575", + "longitude": "117.352881", + "iconPath": "/img/ico/st.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/食堂/一饭/一饭1.jpg", + "校园导览/食堂/一饭/一饭2.jpg", + "校园导览/食堂/一饭/一饭二楼1.jpg", + "校园导览/食堂/一饭/一饭二楼2.jpg" + ], + "description": "一号饭堂:位于博苑,学校唯一设有2层的饭堂,是从雅苑宿舍到教学楼的必经之路。是校内人流量最多的一个饭堂,饭菜味道大众化,适合多种人的口味,肉类丰富,种类繁多。有4毛钱和6毛钱的米饭窗口,如果打包需要加1块钱的外卖费,蔬菜跟肉类种类都是很多的,口味也大众化,而且也有炖汤提供,价格不一,最靠左边还有鸡扒饭可选择,一饭正门入口外卖摊位那里还有快餐,基本是客家人,也别有一番风味。第二层特色是自助餐,菜跟肉自己挑选,然后称重算钱,15块钱一斤,饭是免费的,可以吃多少打多少,另外还有煮面食的摊位。" + }, + { + "name": "南二食堂", + "latitude": "39.101772", + "longitude": "117.351573", + "iconPath": "/img/ico/st.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/食堂/二饭/二饭1.jpg", + "校园导览/食堂/二饭/二饭2.jpg" + ], + "description": "二号饭堂:位于南苑4号宿舍的一楼,接近图书馆,环境明亮,早餐有肠粉,菜色丰富,口感鲜美,特色是现煮粥,材料可自己选择。" + }, + { + "name": "南三食堂", + "latitude": "39.10329", + "longitude": "117.351733", + "iconPath": "/img/ico/st.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/食堂/三饭/三饭1.jpg", + "校园导览/食堂/三饭/三饭2.jpg", + "校园导览/食堂/三饭/三饭3.jpg" + ], + "description": "三号饭堂:三饭与二饭相邻,在南苑1.2号宿舍的一楼,有自助餐和汤粉蒸粉肠粉,三饭的特色是煲仔饭,材料可自己选择(田鸡、鸡肉等)菜色丰富,不过早餐是4个饭堂中种类最多的,味道也都挺不错的。" + }, + ] + }, + { + "scale": 16, + "name": "宿舍", + "data": [ + { + "name": "南一公寓", + "latitude": "39.103543", + "longitude": "117.353461", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑1栋.jpg" + ], + "description": "南苑1栋" + }, + { + "name": "南苑2栋", + "latitude": "39.103198", + "longitude": "117.353412", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑2栋.jpg" + ], + "description": "南苑2栋" + }, + { + "name": "南苑3栋", + "latitude": "39.103467", + "longitude": "117.353915", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑3-4栋.jpg" + ], + "description": "南苑3栋" + }, + { + "name": "南苑4栋", + "latitude": "39.103299", + "longitude": "117.353919", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑4栋.jpg" + ], + "description": "南苑4栋" + }, + { + "name": "南苑5栋", + "latitude": "39.102828", + "longitude": "117.3534", + "iconPath": "/img/ico/boy_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑男生/南苑5栋.jpg" + ], + "description": "南苑5栋" + }, + { + "name": "南苑6栋", + "latitude": "39.102527", + "longitude": "117.353382", + "iconPath": "/img/ico/girl_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑女生/南苑6栋.jpg" + ], + "description": "南苑6栋" + }, + { + "name": "南苑7栋", + "latitude": "39.102818", + "longitude": "117.353908", + "iconPath": "/img/ico/girl_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑女生/南苑7栋.jpg" + ], + "description": "南苑7栋" + }, + { + "name": "南苑8栋", + "latitude": "39.102518", + "longitude": "117.353906", + "iconPath": "/img/ico/girl_ss.png", + "width": "30", + "height": "30", + "img": [ + "校园导览/南苑8910/南苑1.jpg", + "校园导览/南苑8910/南苑2.jpg", + "校园导览/南苑8910/南苑3.jpg" + ], + "description": "南苑8栋" + }, + ] + } +] diff --git a/src/miniprogram/sitemap.json b/src/miniprogram/sitemap.json new file mode 100644 index 0000000..ca02add --- /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/miniprogram/utils/amap-wx.js b/src/miniprogram/utils/amap-wx.js new file mode 100644 index 0000000..c8dd42d --- /dev/null +++ b/src/miniprogram/utils/amap-wx.js @@ -0,0 +1 @@ +function AMapWX(a) { this.key = a.key, this.requestConfig = { key: a.key, s: "rsx", platform: "WXJS", appname: a.key, sdkversion: "1.2.0", logversion: "2.0" } } AMapWX.prototype.getWxLocation = function (a, b) { wx.getLocation({ type: "gcj02", success: function (a) { var c = a.longitude + "," + a.latitude; wx.setStorage({ key: "userLocation", data: c }), b(c) }, fail: function (c) { wx.getStorage({ key: "userLocation", success: function (a) { a.data && b(a.data) } }), a.fail({ errCode: "0", errMsg: c.errMsg || "" }) } }) }, AMapWX.prototype.getRegeo = function (a) { function c(c) { var d = b.requestConfig; wx.request({ url: "https://restapi.amap.com/v3/geocode/regeo", data: { key: b.key, location: c, extensions: "all", s: d.s, platform: d.platform, appname: b.key, sdkversion: d.sdkversion, logversion: d.logversion }, method: "GET", header: { "content-type": "application/json" }, success: function (b) { var d, e, f, g, h, i, j, k; b.data.status && "1" == b.data.status ? (d = b.data.regeocode, e = d.addressComponent, f = [], g = d.roads[0].name + "附近", h = c.split(",")[0], i = c.split(",")[1], d.pois && d.pois[0] && (g = d.pois[0].name + "附近", j = d.pois[0].location, j && (h = parseFloat(j.split(",")[0]), i = parseFloat(j.split(",")[1]))), e.provice && f.push(e.provice), e.city && f.push(e.city), e.district && f.push(e.district), e.streetNumber && e.streetNumber.street && e.streetNumber.number ? (f.push(e.streetNumber.street), f.push(e.streetNumber.number)) : f.push(d.roads[0].name), f = f.join(""), k = [{ iconPath: a.iconPath, width: a.iconWidth, height: a.iconHeight, name: f, desc: g, longitude: h, latitude: i, id: 0, regeocodeData: d }], a.success(k)) : a.fail({ errCode: b.data.infocode, errMsg: b.data.info }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) } var b = this; a.location ? c(a.location) : b.getWxLocation(a, function (a) { c(a) }) }, AMapWX.prototype.getWeather = function (a) { function d(d) { var e = "base"; a.type && "forecast" == a.type && (e = "all"), wx.request({ url: "https://restapi.amap.com/v3/weather/weatherInfo", data: { key: b.key, city: d, extensions: e, s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }, method: "GET", header: { "content-type": "application/json" }, success: function (b) { function c(a) { var b = { city: { text: "城市", data: a.city }, weather: { text: "天气", data: a.weather }, temperature: { text: "温度", data: a.temperature }, winddirection: { text: "风向", data: a.winddirection + "风" }, windpower: { text: "风力", data: a.windpower + "级" }, humidity: { text: "湿度", data: a.humidity + "%" } }; return b } var d, e; b.data.status && "1" == b.data.status ? b.data.lives ? (d = b.data.lives, d && d.length > 0 && (d = d[0], e = c(d), e["liveData"] = d, a.success(e))) : b.data.forecasts && b.data.forecasts[0] && a.success({ forecast: b.data.forecasts[0] }) : a.fail({ errCode: b.data.infocode, errMsg: b.data.info }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) } function e(e) { wx.request({ url: "https://restapi.amap.com/v3/geocode/regeo", data: { key: b.key, location: e, extensions: "all", s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }, method: "GET", header: { "content-type": "application/json" }, success: function (b) { var c, e; b.data.status && "1" == b.data.status ? (e = b.data.regeocode, e.addressComponent ? c = e.addressComponent.adcode : e.aois && e.aois.length > 0 && (c = e.aois[0].adcode), d(c)) : a.fail({ errCode: b.data.infocode, errMsg: b.data.info }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) } var b = this, c = b.requestConfig; a.city ? d(a.city) : b.getWxLocation(a, function (a) { e(a) }) }, AMapWX.prototype.getPoiAround = function (a) { function d(d) { var e = { key: b.key, location: d, s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }; a.querytypes && (e["types"] = a.querytypes), a.querykeywords && (e["keywords"] = a.querykeywords), wx.request({ url: "https://restapi.amap.com/v3/place/around", data: e, method: "GET", header: { "content-type": "application/json" }, success: function (b) { var c, d, e, f; if (b.data.status && "1" == b.data.status) { if (b = b.data, b && b.pois) { for (c = [], d = 0; d < b.pois.length; d++)e = 0 == d ? a.iconPathSelected : a.iconPath, c.push({ latitude: parseFloat(b.pois[d].location.split(",")[1]), longitude: parseFloat(b.pois[d].location.split(",")[0]), iconPath: e, width: 22, height: 32, id: d, name: b.pois[d].name, address: b.pois[d].address }); f = { markers: c, poisData: b.pois }, a.success(f) } } else a.fail({ errCode: b.data.infocode, errMsg: b.data.info }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) } var b = this, c = b.requestConfig; a.location ? d(a.location) : b.getWxLocation(a, function (a) { d(a) }) }, AMapWX.prototype.getStaticmap = function (a) { function f(b) { c.push("location=" + b), a.zoom && c.push("zoom=" + a.zoom), a.size && c.push("size=" + a.size), a.scale && c.push("scale=" + a.scale), a.markers && c.push("markers=" + a.markers), a.labels && c.push("labels=" + a.labels), a.paths && c.push("paths=" + a.paths), a.traffic && c.push("traffic=" + a.traffic); var e = d + c.join("&"); a.success({ url: e }) } var e, b = this, c = [], d = "https://restapi.amap.com/v3/staticmap?"; c.push("key=" + b.key), e = b.requestConfig, c.push("s=" + e.s), c.push("platform=" + e.platform), c.push("appname=" + e.appname), c.push("sdkversion=" + e.sdkversion), c.push("logversion=" + e.logversion), a.location ? f(a.location) : b.getWxLocation(a, function (a) { f(a) }) }, AMapWX.prototype.getInputtips = function (a) { var b = this, c = b.requestConfig, d = { key: b.key, s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }; a.location && (d["location"] = a.location), a.keywords && (d["keywords"] = a.keywords), a.type && (d["type"] = a.type), a.city && (d["city"] = a.city), a.citylimit && (d["citylimit"] = a.citylimit), wx.request({ url: "https://restapi.amap.com/v3/assistant/inputtips", data: d, method: "GET", header: { "content-type": "application/json" }, success: function (b) { b && b.data && b.data.tips && a.success({ tips: b.data.tips }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) }, AMapWX.prototype.getDrivingRoute = function (a) { var b = this, c = b.requestConfig, d = { key: b.key, s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }; a.origin && (d["origin"] = a.origin), a.destination && (d["destination"] = a.destination), a.strategy && (d["strategy"] = a.strategy), a.waypoints && (d["waypoints"] = a.waypoints), a.avoidpolygons && (d["avoidpolygons"] = a.avoidpolygons), a.avoidroad && (d["avoidroad"] = a.avoidroad), wx.request({ url: "https://restapi.amap.com/v3/direction/driving", data: d, method: "GET", header: { "content-type": "application/json" }, success: function (b) { b && b.data && b.data.route && a.success({ paths: b.data.route.paths, taxi_cost: b.data.route.taxi_cost || "" }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) }, AMapWX.prototype.getWalkingRoute = function (a) { var b = this, c = b.requestConfig, d = { key: b.key, s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }; a.origin && (d["origin"] = a.origin), a.destination && (d["destination"] = a.destination), wx.request({ url: "https://restapi.amap.com/v3/direction/walking", data: d, method: "GET", header: { "content-type": "application/json" }, success: function (b) { b && b.data && b.data.route && a.success({ paths: b.data.route.paths }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) }, AMapWX.prototype.getTransitRoute = function (a) { var b = this, c = b.requestConfig, d = { key: b.key, s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }; a.origin && (d["origin"] = a.origin), a.destination && (d["destination"] = a.destination), a.strategy && (d["strategy"] = a.strategy), a.city && (d["city"] = a.city), a.cityd && (d["cityd"] = a.cityd), wx.request({ url: "https://restapi.amap.com/v3/direction/transit/integrated", data: d, method: "GET", header: { "content-type": "application/json" }, success: function (b) { if (b && b.data && b.data.route) { var c = b.data.route; a.success({ distance: c.distance || "", taxi_cost: c.taxi_cost || "", transits: c.transits }) } }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) }, AMapWX.prototype.getRidingRoute = function (a) { var b = this, c = b.requestConfig, d = { key: b.key, s: c.s, platform: c.platform, appname: b.key, sdkversion: c.sdkversion, logversion: c.logversion }; a.origin && (d["origin"] = a.origin), a.destination && (d["destination"] = a.destination), wx.request({ url: "https://restapi.amap.com/v3/direction/riding", data: d, method: "GET", header: { "content-type": "application/json" }, success: function (b) { b && b.data && b.data.route && a.success({ paths: b.data.route.paths }) }, fail: function (b) { a.fail({ errCode: "0", errMsg: b.errMsg || "" }) } }) }, module.exports.AMapWX = AMapWX; \ No newline at end of file diff --git a/src/project.config.json b/src/project.config.json new file mode 100644 index 0000000..6b21332 --- /dev/null +++ b/src/project.config.json @@ -0,0 +1,79 @@ +{ + "miniprogramRoot": "miniprogram/", + "cloudfunctionRoot": "cloudfunctions/", + "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": "wx98d60f2aee3668c3", + "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..97b7f7e --- /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": "campus_leader" +} \ No newline at end of file diff --git a/src/uploadCloudFunction.sh b/src/uploadCloudFunction.sh new file mode 100644 index 0000000..df311b3 --- /dev/null +++ b/src/uploadCloudFunction.sh @@ -0,0 +1 @@ +${installPath} cloud functions deploy --e ${envId} --n quickstartFunctions --r --project ${projectPath} \ No newline at end of file