diff --git a/app.js b/app.js index 01b05f9..0061caa 100644 --- a/app.js +++ b/app.js @@ -123,7 +123,7 @@ App({ perms:[], openid:null }, - serverUrl: 'https://safeyun.ctcshe.com/', + serverUrl: 'http://cbma.ctc-gz.com/', //serverUrl: 'http://127.0.0.1:8000/', //serverUrl: 'http://10.21.28.148:8000/', //serverUrl: 'http://192.168.0.103:8000/', diff --git a/app.json b/app.json index 3b1c6da..2d055c4 100644 --- a/app.json +++ b/app.json @@ -100,7 +100,7 @@ "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", - "navigationBarTitleText": "安全生产管理工具", + "navigationBarTitleText": "安全环保专题网络考评", "navigationBarTextStyle": "black" }, "tabBar": { diff --git a/pages/bind/binduser.wxml b/pages/bind/binduser.wxml index 388477c..57a845c 100644 --- a/pages/bind/binduser.wxml +++ b/pages/bind/binduser.wxml @@ -1,12 +1,9 @@ - - 登陆安全生产管理工具 - 首次使用需要绑定账号 - 请输入账号密码 - PC端请访问safeyun.ctcshe.com + + - 登陆 + 登陆 {{msg}} {{name}} @@ -30,7 +27,7 @@ 账号错误或忘记密码? - 获取测试账户请致电15810169371 + @@ -38,5 +35,5 @@ WeUI首页 --> 点击下载系统/小程序文档介绍 - Copyright © 2018-2020 国检集团 + Copyright © 2018-2021 中存大数据 \ No newline at end of file diff --git a/pages/examtest/rate.js b/pages/examtest/rate.js index 4f5d6f2..0976922 100644 --- a/pages/examtest/rate.js +++ b/pages/examtest/rate.js @@ -66,9 +66,9 @@ Page({ */ onReachBottom: function () { //上拉分页,将页码加1,然后调用分页函数 - // this.data.page = this.data.page + 1; - // this.getRatelist(); - // wx.stopPullDownRefresh(); + this.data.page = this.data.page + 1; + this.getRatelist(); + wx.stopPullDownRefresh(); }, /** diff --git a/pages/examtest/rate.json b/pages/examtest/rate.json index ff1efdf..f60ef79 100644 --- a/pages/examtest/rate.json +++ b/pages/examtest/rate.json @@ -1,4 +1,5 @@ { "usingComponents": {}, - "navigationBarTitleText": "考试排名" + "navigationBarTitleText": "考试排名", + "onReachBottomDistance": 50 } \ No newline at end of file diff --git a/pages/examtest/rate.wxml b/pages/examtest/rate.wxml index 949e92f..45580f1 100644 --- a/pages/examtest/rate.wxml +++ b/pages/examtest/rate.wxml @@ -1,6 +1,6 @@ {{examtestname}} -已有{{total}}人参与,前10名如下 +已有{{total}}人参与 diff --git a/pages/images/logo.jpg b/pages/images/logo.jpg new file mode 100644 index 0000000..98eed1b Binary files /dev/null and b/pages/images/logo.jpg differ diff --git a/pages/main/main.js b/pages/main/main.js index 592458d..e9ebb9b 100644 --- a/pages/main/main.js +++ b/pages/main/main.js @@ -19,7 +19,7 @@ Page({ sbtodonum:0, yhgznum:0, serverUrl: getApp().globalData.serverUrl, - isGjjt:false, + showAll:false, // Banner数据 images: [], // 是否显示面板指示点 @@ -39,7 +39,7 @@ Page({ // 后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值 nextMargin: 0, msgList: [ - { title: "欢迎使用安全生产管理工具!" },{title:"每晚10-11点不定期更新,请尽量不在此时间使用"}] + { title: "欢迎参加安全环保专题网络考评!" },{title:"每晚10-11点不定期更新,请尽量不在此时间使用"}] }, /** @@ -61,7 +61,7 @@ Page({ var that = this; if (getApp().globalData.userInfo.companyid == 2681) { this.setData({ - isGjjt: true, + showAll: true, user__name:getApp().globalData.userInfo.name, }) } @@ -101,7 +101,7 @@ Page({ } if (getApp().globalData.userInfo.companyid == 2681) { this.setData({ - isGjjt: true, + showAll: true, user__name: getApp().globalData.userInfo.name, msgList: [ { title: "知识竞赛火热进行中!" },] @@ -416,7 +416,7 @@ Page({ } }, tapexercise: function () { - if (this.data.isGjjt) { //练习功能 + if (this.data.showAll) { //练习功能 wx.showModal({ content: '本次活动该功能不便访问!', showCancel: false @@ -440,6 +440,11 @@ Page({ }) } }, + open: function(e){ + this.setData({ + showAll:e.detail.value + }) + }, tapinspect: function () { if (getApp().globalData.userInfo.perms != undefined) { if (getApp().globalData.userInfo.perms.indexOf(35) != -1) {//设备巡检 diff --git a/pages/main/main.wxml b/pages/main/main.wxml index 7ac0eb8..4bc7c6d 100644 --- a/pages/main/main.wxml +++ b/pages/main/main.wxml @@ -17,8 +17,11 @@ - - + + 打开全部功能 + + + 检查任务 @@ -43,7 +46,7 @@ - + 行为观察 @@ -60,7 +63,7 @@ 合理化建议 - + 公告 @@ -81,7 +84,7 @@ - + 作业许可 @@ -98,8 +101,8 @@