diff --git a/app.js b/app.js index 2399833..b0803ea 100644 --- a/app.js +++ b/app.js @@ -1,4 +1,4 @@ -var daraObj=require("data/data.js") +var daraObj = require("data/data.js") import { DBPost } from 'db/DBpost.js'; @@ -10,26 +10,30 @@ App({ /** * 当小程序初始化完成时,会触发 onLaunch(全局只触发一次) */ - onLaunch: function () { + onLaunch: function() { var dbPost = new DBPost(); - var loginTime=dbPost.getloginTimeData();//获取上次登陆时间,没有记录为0 - if(loginTime){ - var timestamp = + new Date(); + var loginTime = dbPost.getloginTimeData(); //获取上次登陆时间,没有记录为0 + if (loginTime) { + var timestamp = +new Date(); timestamp = timestamp / 1000; timestamp = parseInt(timestamp); - var difference=timestamp-loginTime;//两次时间差 - if(difference>=86400){ + var difference = timestamp - loginTime; //两次时间差 + if (difference >= 86400) { wx.clearStorageSync(); - wx.redirectTo({ url: 'welcome/login/login' }) + wx.redirectTo({ + url: 'welcome/login/login' + }) console.log("登录超时") - }else{ + } else { wx.switchTab({ url: 'pages/post/post' }) console.log("校验通过") } - }else{ - wx.redirectTo({ url: 'welcome/login/login' }) + } else { + wx.redirectTo({ + url: 'welcome/login/login' + }) console.log("无登录记录") } }, @@ -37,45 +41,45 @@ App({ /** * 当小程序启动,或从后台进入前台显示,会触发 onShow */ - onShow: function (options) { - + onShow: function(options) { + }, /** * 当小程序从前台进入后台,会触发 onHide */ - onHide: function () { - + onHide: function() { + }, /** * 当小程序发生脚本错误,或者 api 调用失败时,会触发 onError 并带上错误信息 */ - onError: function (msg) { - + onError: function(msg) { + }, - - globalData:{ + + globalData: { xingming: "", xuehao: "", zhuanye: "", xueyuan: "", UQ: "", - nicheng:"", - mima:"", - shijian:"", - didian:"", - renyuan1:"", - renyuan2:"", - shijianchuo:"", - banji1:'', - banji2:'', - banji3:'', - banji4:'', - banji5:'', + nicheng: "", + mima: "", + shijian: "", + didian: "", + renyuan1: "", + renyuan2: "", + shijianchuo: "", + banji1: '', + banji2: '', + banji3: '', + banji4: '', + banji5: '', queqin: [0], bingjia: [0], shijia: [0] } - -}) + +}) \ No newline at end of file diff --git a/app.wxss b/app.wxss index ebdc8c7..e48b56d 100644 --- a/app.wxss +++ b/app.wxss @@ -1,4 +1,5 @@ /**app.wxss**/ + .container { height: 100%; display: flex; @@ -7,5 +8,4 @@ justify-content: space-between; padding: 200rpx 0; box-sizing: border-box; -} - +} diff --git a/manage/absent/absent.js b/manage/absent/absent.js index 24510b6..6ffbe84 100644 --- a/manage/absent/absent.js +++ b/manage/absent/absent.js @@ -83,7 +83,7 @@ Page({ }, bindMultiPickerChange1: function(e) { - this.data.xuehaonum= 1; + this.data.xuehaonum = 1; if (this.data.xuehaonum && this.data.yuanyinnum) { this.setData({ disabled: false @@ -237,7 +237,7 @@ Page({ this.setData(data); }, bindMultiPickerChange2: function(e) { - this.data.yuanyinnum= 1; + this.data.yuanyinnum = 1; if (this.data.xuehaonum && this.data.yuanyinnum) { this.setData({ disabled: false @@ -252,14 +252,14 @@ Page({ this.setData({ yuanyinIndex: e.detail.value }) - this.data.yuanyin= this.data.yuanyinArray[0][this.data.yuanyinIndex[0]] //原因!!!!! + this.data.yuanyin = this.data.yuanyinArray[0][this.data.yuanyinIndex[0]] //原因!!!!! console.log('原因', this.data.yuanyin); }, sumit1: function() { var a = this.data.xueyuan var b = this.data.banji var c = this.data.geren - this.data.newxuehao= (a + b + c) + this.data.newxuehao = (a + b + c) console.log("学号为", this.data.newxuehao) console.log("原因为", this.data.yuanyin) var dbPost = new DBPost(); diff --git a/manage/absent/absent.wxml b/manage/absent/absent.wxml index 1f25465..e5e59f2 100644 --- a/manage/absent/absent.wxml +++ b/manage/absent/absent.wxml @@ -1,10 +1,6 @@ - - - - 学号 @@ -23,16 +19,12 @@ - - - - - + - + \ No newline at end of file diff --git a/manage/absent/absent.wxss b/manage/absent/absent.wxss index df173b0..cbb001e 100644 --- a/manage/absent/absent.wxss +++ b/manage/absent/absent.wxss @@ -1,13 +1,16 @@ /* manage/absent/absent.wxss */ -.allpage{ + +.allpage { display: flex; flex-direction: column; align-items: center; } -.SRCS{ + +.SRCS { height: 350rpx; width: 500rpx; } + .section { display: flex; flex-direction: row; @@ -22,23 +25,28 @@ margin-left: 100rpx; width: 410rpx; } -.xuehao-png{ + +.xuehao-png { height: 30rpx; width: 40rpx; margin-right: 20rpx; } + .txt { font-size: 120%; } + .btn-area { margin-top: 40rpx; box-sizing: border-box; width: 80%; padding: 0 30rpx; } -.kongbai{ + +.kongbai { margin-top: 100rpx; } + .signin { height: 462rpx; width: 750rpx; diff --git a/manage/manage.wxml b/manage/manage.wxml index 907fe8d..6d1aaad 100644 --- a/manage/manage.wxml +++ b/manage/manage.wxml @@ -4,12 +4,10 @@ 时间 - + {{multiArray[0][multiIndex[0]]}}_{{multiArray[1][multiIndex[1]]}}_{{multiArray[2][multiIndex[2]]}} - - 地点 @@ -20,18 +18,14 @@ 教师 - - + 人员 - + {{renyuanArray[0][renyuanIndex[0]]}}_{{renyuanArray[1][renyuanIndex[1]]}} - - - diff --git a/manage/manage.wxss b/manage/manage.wxss index b45444a..82f3c72 100644 --- a/manage/manage.wxss +++ b/manage/manage.wxss @@ -30,9 +30,10 @@ height: 40rpx; width: 30rpx; margin-right: 25rpx; - margin-left: 5rpx; + margin-left: 5rpx; } -.jiaoshi-png{ + +.jiaoshi-png { height: 32rpx; width: 48rpx; margin-right: 12rpx; diff --git a/manage/rollcall/rollcall.js b/manage/rollcall/rollcall.js index 21f86dc..8593418 100644 --- a/manage/rollcall/rollcall.js +++ b/manage/rollcall/rollcall.js @@ -1,73 +1,75 @@ // manage/rollcall/rollcall.js -import { DBPost } from '../../db/DBpost.js'; +import { + DBPost +} from '../../db/DBpost.js'; Page({ /** * 页面的初始数据 */ data: { - + }, /** * 生命周期函数--监听页面加载 */ - onLoad: function (options) { - + onLoad: function(options) { + }, /** * 生命周期函数--监听页面初次渲染完成 */ - onReady: function () { - + onReady: function() { + }, /** * 生命周期函数--监听页面显示 */ - onShow: function () { - + onShow: function() { + }, /** * 生命周期函数--监听页面隐藏 */ - onHide: function () { - + onHide: function() { + }, /** * 生命周期函数--监听页面卸载 */ - onUnload: function () { - + onUnload: function() { + }, /** * 页面相关事件处理函数--监听用户下拉动作 */ - onPullDownRefresh: function () { - + onPullDownRefresh: function() { + }, /** * 页面上拉触底事件的处理函数 */ - onReachBottom: function () { - + onReachBottom: function() { + }, /** * 用户点击右上角分享 */ - onShareAppMessage: function () { - + onShareAppMessage: function() { + }, - scanQRCode: function () { + scanQRCode: function() { var that = this; wx.scanCode({ - success: function (res) { + success: function(res) { var dbPost = new DBPost(); var res1 = res.result; console.log(res.result); @@ -86,8 +88,7 @@ Page({ mask: true, icon: "success" }) - } - else if (res1.length != 19) { + } else if (res1.length != 19) { wx.showModal({ title: "警告", content: "您扫描了错误的二维码!请检查!", @@ -96,12 +97,14 @@ Page({ }) } }, - fail: function (e) { + fail: function(e) { console.log(e); } }) }, - sumit: function () { - wx.redirectTo({ url: '../absent/absent' }) + sumit: function() { + wx.redirectTo({ + url: '../absent/absent' + }) } }) \ No newline at end of file diff --git a/manage/rollcall/rollcall.json b/manage/rollcall/rollcall.json index 8cef94d..66fb06a 100644 --- a/manage/rollcall/rollcall.json +++ b/manage/rollcall/rollcall.json @@ -1,4 +1,4 @@ { - "navigationBarBackgroundColor": "#14aeee", - "navigationBarTitleText": "正在查课中……" + "navigationBarBackgroundColor": "#14aeee", + "navigationBarTitleText": "正在查课中……" } \ No newline at end of file diff --git a/manage/rollcall/rollcall.wxml b/manage/rollcall/rollcall.wxml index 29b4077..1eca4bb 100644 --- a/manage/rollcall/rollcall.wxml +++ b/manage/rollcall/rollcall.wxml @@ -2,23 +2,16 @@ - + - + - + - - - - - - - - + \ No newline at end of file diff --git a/manage/rollcall/rollcall.wxss b/manage/rollcall/rollcall.wxss index 6622459..571364c 100644 --- a/manage/rollcall/rollcall.wxss +++ b/manage/rollcall/rollcall.wxss @@ -1,4 +1,5 @@ /* manage/rollcall/rollcall.wxss */ + /* welcome/signin/signin.wxss */ page { @@ -16,16 +17,17 @@ page { width: 750rpx; } - .btn-area { margin-top: 40rpx; box-sizing: border-box; width: 80%; padding: 0 30rpx; } -.kongbai{ + +.kongbai { margin-top: 300rpx; } -.kongbai1{ + +.kongbai1 { margin-top: 20rpx; -} \ No newline at end of file +} diff --git a/manage/select/select.js b/manage/select/select.js index bf0e1f7..aab3591 100644 --- a/manage/select/select.js +++ b/manage/select/select.js @@ -224,7 +224,7 @@ Page({ case "": { app.globalData.queqin.push(i); - this.data.querennum= this.data.querennum + 1 + this.data.querennum = this.data.querennum + 1 console.log(this.data.querennum) } break; @@ -622,7 +622,7 @@ Page({ case "病假": { app.globalData.bingjia.push(i); - this.data.bingjianum= this.data.bingjianum + 1 + this.data.bingjianum = this.data.bingjianum + 1 console.log(this.data.bingjianum) } break; diff --git a/manage/select/select.wxml b/manage/select/select.wxml index 5bef28b..54c3bb0 100644 --- a/manage/select/select.wxml +++ b/manage/select/select.wxml @@ -13,13 +13,7 @@ - - - - - - - + diff --git a/manage/select/select.wxss b/manage/select/select.wxss index d5507ad..63283b1 100644 --- a/manage/select/select.wxss +++ b/manage/select/select.wxss @@ -1,4 +1,5 @@ /* manage/select/select.wxss */ + /* welcome/signin/signin.wxss */ page { @@ -55,7 +56,8 @@ page { width: 40rpx; margin-right: 20rpx; } -.xuehao-png{ + +.xuehao-png { height: 30rpx; width: 40rpx; margin-right: 20rpx; @@ -71,27 +73,32 @@ page { align-items: center; margin-top: 60rpx; } -.mima-input{ - border-bottom-color: #000; + +.mima-input { + border-bottom-color: #000; border-bottom-style: solid; border-bottom-width: thin; margin-left: 30rpx; width: 410rpx; } + .btn-area { margin-top: 40rpx; box-sizing: border-box; width: 80%; padding: 0 30rpx; } -.kongbai1{ + +.kongbai1 { margin-top: 50rpx; } -.kongbai2{ + +.kongbai2 { margin-top: 150rpx; } /* manage/rollcall/rollcall.wxss */ + /* welcome/signin/signin.wxss */ page { @@ -109,7 +116,6 @@ page { width: 750rpx; } - .btn-area1 { margin-top: 40rpx; box-sizing: border-box; @@ -117,8 +123,8 @@ page { padding: 0 30rpx; } -.btn2{ +.btn2 { display: flex; flex-direction: row; align-items: center; -} \ No newline at end of file +} diff --git a/manage/show/show.js b/manage/show/show.js index f8ae584..33d3a1f 100644 --- a/manage/show/show.js +++ b/manage/show/show.js @@ -1,5 +1,7 @@ // manage/show1/show1.js -import { DBPost } from '../../db/DBpost.js'; +import { + DBPost +} from '../../db/DBpost.js'; var app = getApp(); Page({ @@ -16,7 +18,7 @@ Page({ /** * 生命周期函数--监听页面加载 */ - onLoad: function (options) { + onLoad: function(options) { var dbPost = new DBPost(); this.setData({ xingming: dbPost.getxingmingData(), @@ -24,7 +26,7 @@ Page({ zhuanye: dbPost.getzhuanyeData(), xueyuan: dbPost.getxueyuanData(), admin: dbPost.getadminData(), - loginTime:dbPost.getloginTimeData(), + loginTime: dbPost.getloginTimeData(), }); this.setData({ jiaoshi: dbPost.getjiaoshiData() @@ -66,84 +68,84 @@ Page({ newbingjia: app.globalData.bingjia.join(' ') }) console.log(this.data.jiaoshi, this.data.shijian, this.data.didian, this.data.renyuan1, this.data.renyuan2) - console.log('1', this.data.banji1,'2',this.data.banji2,'3',this.data.banji3,'4',this.data.banji4,'5',this.data.banji5) + console.log('1', this.data.banji1, '2', this.data.banji2, '3', this.data.banji3, '4', this.data.banji4, '5', this.data.banji5) }, /** * 生命周期函数--监听页面初次渲染完成 */ - onReady: function () { + onReady: function() { }, /** * 生命周期函数--监听页面显示 */ - onShow: function () { + onShow: function() { }, /** * 生命周期函数--监听页面隐藏 */ - onHide: function () { + onHide: function() { }, /** * 生命周期函数--监听页面卸载 */ - onUnload: function () { + onUnload: function() { }, /** * 页面相关事件处理函数--监听用户下拉动作 */ - onPullDownRefresh: function () { + onPullDownRefresh: function() { }, /** * 页面上拉触底事件的处理函数 */ - onReachBottom: function () { + onReachBottom: function() { }, /** * 用户点击右上角分享 */ - onShareAppMessage: function () { + onShareAppMessage: function() { }, - post:function(){ - var that=this; + post: function() { + var that = this; var dbPost = new DBPost(); wx.request({ url: 'https://powerrain.cn/rcs/API/shangchuan.php', //仅为示例,并非真实的接口地址 data: { - time:that.data.shijian, - add:that.data.didian, - teacher:that.data.jiaoshi, - ren1:that.data.renyuan1, - ren2:that.data.renyuan2, - class1:that.data.banji1, + time: that.data.shijian, + add: that.data.didian, + teacher: that.data.jiaoshi, + ren1: that.data.renyuan1, + ren2: that.data.renyuan2, + class1: that.data.banji1, class2: that.data.banji2, class3: that.data.banji3, class4: that.data.banji4, class5: that.data.banji5, - queqin:that.data.newqueqin, - bingjia:that.data.newbingjia, - shijia:that.data.newshijia + queqin: that.data.newqueqin, + bingjia: that.data.newbingjia, + shijia: that.data.newshijia }, header: { 'content-type': 'application/json' // 默认值 }, - success: function (res) { - app.globalData.queqin=""; - app.globalData.shijia=""; - app.globalData.bingjia=""; + success: function(res) { + app.globalData.queqin = ""; + app.globalData.shijia = ""; + app.globalData.bingjia = ""; app.globalData.banji1 = ""; app.globalData.banji2 = ""; app.globalData.banji3 = ""; @@ -157,11 +159,13 @@ Page({ dbPost.newxueyuan(that.data.xueyuan); dbPost.newadmin(that.data.admin); dbPost.newloginTime(that.data.loginTime); - wx.switchTab({ url: '../../pages/post/post' }); + wx.switchTab({ + url: '../../pages/post/post' + }); console.log(res.data); } }) - + } }) \ No newline at end of file diff --git a/manage/show/show.wxml b/manage/show/show.wxml index b1d3a01..4958690 100644 --- a/manage/show/show.wxml +++ b/manage/show/show.wxml @@ -48,7 +48,7 @@ - + diff --git a/manage/show/show.wxss b/manage/show/show.wxss index 1ea5ed6..5eaf515 100644 --- a/manage/show/show.wxss +++ b/manage/show/show.wxss @@ -1,7 +1,5 @@ /* manage/show/show.wxss */ - - .detail-item { display: flex; margin-left: 30rpx; @@ -69,6 +67,7 @@ margin-bottom: 20rpx; border-bottom: 3rpx dashed #d9d9d9; } + .btn-area1 { margin-top: 40rpx; box-sizing: border-box; @@ -77,8 +76,8 @@ margin-bottom: 50rpx; } -.btn2{ +.btn2 { display: flex; - flex-direction:column; + flex-direction: column; align-items: center; } diff --git a/pages/feedBack/feedBack.wxml b/pages/feedBack/feedBack.wxml index dd787d0..558aa5b 100644 --- a/pages/feedBack/feedBack.wxml +++ b/pages/feedBack/feedBack.wxml @@ -11,14 +11,13 @@ - 请输入反馈* - 请输入内容 + 请输入反馈* + 请输入内容 - - 联系方式(选填) - 请输入正确的qq号 + 联系方式(选填) + 请输入正确的qq号 diff --git a/pages/post/QRcode/QRcode.js b/pages/post/QRcode/QRcode.js index a8f6e16..f3b1b7c 100644 --- a/pages/post/QRcode/QRcode.js +++ b/pages/post/QRcode/QRcode.js @@ -1,5 +1,7 @@ // pages/main/index.js -import { DBPost } from '../../../db/DBpost.js'; +import { + DBPost +} from '../../../db/DBpost.js'; var app = getApp(); var QR = require("../../../data/QRcode.js"); Page({ @@ -7,18 +9,18 @@ Page({ canvasHidden: false, maskHidden: true, imagePath: '', - placeholder: '1525873266' //默认二维码生成文本 + placeholder: '1525873266' //默认二维码生成文本 }, - onLoad: function (options) { + onLoad: function(options) { // 页面初始化 options为页面跳转所带来的参数 var dbPost = new DBPost(); var xuehao1 = dbPost.getxuehaoData(); - var shijianchuo1 = xuehao1+dbPost.getshijianchuoData(); + var shijianchuo1 = xuehao1 + dbPost.getshijianchuoData(); this.setData({ placeholder: shijianchuo1.toString() //数字转字符串 }); console.log(this.data.placeholder) - var size = this.setCanvasSize();//动态设置画布大小 + var size = this.setCanvasSize(); //动态设置画布大小 var initUrl = this.data.placeholder; this.createQrCode(initUrl, "mycanvas", size.w, size.h); wx.setScreenBrightness({ @@ -26,28 +28,27 @@ Page({ }) }, - onReady: function () { - }, - onShow: function () { + onReady: function() {}, + onShow: function() { // 页面显示 }, - onHide: function () { + onHide: function() { // 页面隐藏 }, - onUnload: function () { + onUnload: function() { // 页面关闭 }, //适配不同屏幕大小的canvas - setCanvasSize: function () { + setCanvasSize: function() { var size = {}; try { var res = wx.getSystemInfoSync(); - var scale = 750 / 686;//不同屏幕下canvas的适配比例;设计稿是750宽 + var scale = 750 / 686; //不同屏幕下canvas的适配比例;设计稿是750宽 var width = res.windowWidth / scale; - var height = width;//canvas画布为正方形 + var height = width; //canvas画布为正方形 size.w = width; size.h = height; } catch (e) { @@ -56,18 +57,20 @@ Page({ } return size; }, - createQrCode: function (url, canvasId, cavW, cavH) { + createQrCode: function(url, canvasId, cavW, cavH) { //调用插件中的draw方法,绘制二维码图片 QR.api.draw(url, canvasId, cavW, cavH); - setTimeout(() => { this.canvasToTempImage(); }, 1000); + setTimeout(() => { + this.canvasToTempImage(); + }, 1000); }, //获取临时缓存照片路径,存入data中 - canvasToTempImage: function () { + canvasToTempImage: function() { var that = this; wx.canvasToTempFilePath({ canvasId: 'mycanvas', - success: function (res) { + success: function(res) { var tempFilePath = res.tempFilePath; console.log(tempFilePath); that.setData({ @@ -75,13 +78,13 @@ Page({ // canvasHidden:true }); }, - fail: function (res) { + fail: function(res) { console.log(res); } }); }, //点击图片进行预览,长按保存分享图片 - previewImg: function (e) { + previewImg: function(e) { var img = this.data.imagePath; console.log(img); wx.previewImage({ @@ -89,7 +92,7 @@ Page({ urls: [img] // 需要预览的图片http链接列表 }) }, - formSubmit: function (e) { + formSubmit: function(e) { var that = this; var url = e.detail.value.url; that.setData({ @@ -100,7 +103,7 @@ Page({ icon: 'loading', duration: 2000 }); - var st = setTimeout(function () { + var st = setTimeout(function() { wx.hideToast() var size = that.setCanvasSize(); //绘制二维码 @@ -112,7 +115,9 @@ Page({ }, 2000) }, - sumit: function () { - wx.switchTab({ url: '../post' }) + sumit: function() { + wx.switchTab({ + url: '../post' + }) } }) \ No newline at end of file diff --git a/pages/post/QRcode/QRcode.json b/pages/post/QRcode/QRcode.json index bc7c1d4..1d75f8c 100644 --- a/pages/post/QRcode/QRcode.json +++ b/pages/post/QRcode/QRcode.json @@ -1,4 +1,4 @@ { -"navigationBarBackgroundColor": "#0061bf", + "navigationBarBackgroundColor": "#0061bf", "navigationBarTitleText": "正在签到" } \ No newline at end of file diff --git a/pages/post/QRcode/QRcode.wxml b/pages/post/QRcode/QRcode.wxml index 7d2cbd9..8fc9c86 100644 --- a/pages/post/QRcode/QRcode.wxml +++ b/pages/post/QRcode/QRcode.wxml @@ -9,7 +9,6 @@ - - Designed by Rain Sun - 计算机科学技术学院 团委学生会学习部 - All Rights Reserved + Designed by Rain Sun + 计算机科学技术学院 团委学生会学习部 + All Rights Reserved \ No newline at end of file diff --git a/pages/user/guanyu/guanyu.wxss b/pages/user/guanyu/guanyu.wxss index 6912dca..4c67ee7 100644 --- a/pages/user/guanyu/guanyu.wxss +++ b/pages/user/guanyu/guanyu.wxss @@ -83,7 +83,6 @@ color: #7f8389; font-size: 20rpx; flex: 1; - } .banquan { diff --git a/pages/user/user.js b/pages/user/user.js index 66f100d..d09d45b 100644 --- a/pages/user/user.js +++ b/pages/user/user.js @@ -1,82 +1,82 @@ // pages/user/user.js var app = getApp(); -import { DBPost } from '../../db/DBpost.js'; +import { + DBPost +} from '../../db/DBpost.js'; Page({ /** * 页面的初始数据 */ - data: { - }, + data: {}, /** * 生命周期函数--监听页面加载 */ - onLoad: function (options) { - + onLoad: function(options) { + }, /** * 生命周期函数--监听页面初次渲染完成 */ - onReady: function () { + onReady: function() { }, /** * 生命周期函数--监听页面显示 */ - onShow: function () { - }, + onShow: function() {}, /** * 生命周期函数--监听页面隐藏 */ - onHide: function () { + onHide: function() { }, /** * 生命周期函数--监听页面卸载 */ - onUnload: function () { + onUnload: function() { }, /** * 页面相关事件处理函数--监听用户下拉动作 */ - onPullDownRefresh: function () { + onPullDownRefresh: function() { }, /** * 页面上拉触底事件的处理函数 */ - onReachBottom: function () { + onReachBottom: function() { }, /** * 用户点击右上角分享 */ - onShareAppMessage: function () { + onShareAppMessage: function() { }, - xinxi:function(event){ + xinxi: function(event) { wx.navigateTo({ url: 'xinxi/xinxi', }) }, - guanyu: function (event) { + guanyu: function(event) { wx.navigateTo({ url: 'guanyu/guanyu', }) }, - fankui: function (event) { + fankui: function(event) { wx.navigateTo({ url: '../feedBack/feedBack', }) } - + }) \ No newline at end of file diff --git a/pages/user/user.wxml b/pages/user/user.wxml index 9bdd3d0..998355d 100644 --- a/pages/user/user.wxml +++ b/pages/user/user.wxml @@ -8,7 +8,7 @@ {{userInfo.country}}--> - + 校训: 明德博学,求是创新 @@ -20,7 +20,8 @@ 账号信息 - + + 反馈中心 diff --git a/pages/user/user.wxss b/pages/user/user.wxss index c363a45..5a1f4e8 100644 --- a/pages/user/user.wxss +++ b/pages/user/user.wxss @@ -9,7 +9,7 @@ display: flex; flex-direction: row; align-items: center; - background-color: #003b97; + background-color: #003b97; } .UP { @@ -17,7 +17,7 @@ width: 150rpx; border-radius: 50%; margin: 30rpx; - overflow:hidden; + overflow: hidden; } .NQ { @@ -30,7 +30,6 @@ font-weight: bold; font-size: 130%; margin-bottom: 20rpx; - } .UQ { @@ -38,56 +37,60 @@ font-size: small; font-weight: 200; } -page{ + +page { background-color: #eee; } - - .category-item { - width: 100%; - margin: 20rpx 0; - border-top: 1rpx solid #d9d9d9; - border-bottom: 1rpx solid #d9d9d9; - background-color: #fff; + width: 100%; + margin: 20rpx 0; + border-top: 1rpx solid #d9d9d9; + border-bottom: 1rpx solid #d9d9d9; + background-color: #fff; } -.detail-item{ - display: flex; - margin-left: 30rpx; - border-bottom: 1px solid RGBA(217, 217, 217, .4); - height:85rpx; - align-items: center; -} -.detail-item:last-child{ - border-bottom:none; -} -.detail-item image{ - height: 40rpx; - width:40rpx; +.detail-item { + display: flex; + margin-left: 30rpx; + border-bottom: 1px solid RGBA(217, 217, 217, 0.4); + height: 85rpx; + align-items: center; } -.detail-item text{ - color:#7F8389; - font-size:24rpx; - flex:1; - margin-left: 30rpx; + +.detail-item:last-child { + border-bottom: none; } -.detail-item .detail-item-btn{ - width: 50rpx; - color: #d9d9d9; - height: 40rpx; - margin-right: 20rpx; - text-align: center; + +.detail-item image { + height: 40rpx; + width: 40rpx; +} + +.detail-item text { + color: #7f8389; + font-size: 24rpx; + flex: 1; + margin-left: 30rpx; +} + +.detail-item .detail-item-btn { + width: 50rpx; + color: #d9d9d9; + height: 40rpx; + margin-right: 20rpx; + text-align: center; +} + +.detail-item .detail-item-btn::after { + display: inline-block; + content: ''; + width: 16rpx; + height: 16rpx; + color: #d9d9d9; + margin-top: 8rpx; + border: 3rpx #d9d9d9 solid; + border-top-color: transparent; + border-left-color: transparent; + transform: rotate(-45deg); } -.detail-item .detail-item-btn::after{ - display: inline-block; - content:''; - width: 16rpx; - height: 16rpx; - color: #d9d9d9; - margin-top: 8rpx; - border:3rpx #d9d9d9 solid; - border-top-color:transparent; - border-left-color:transparent; - transform: rotate(-45deg); -} \ No newline at end of file diff --git a/pages/user/xinxi/xinxi.js b/pages/user/xinxi/xinxi.js index 38736c4..647fb42 100644 --- a/pages/user/xinxi/xinxi.js +++ b/pages/user/xinxi/xinxi.js @@ -1,6 +1,8 @@ // pages/user/xinxi/xinxi.js var app = getApp(); -import { DBPost } from '../../../db/DBpost.js'; +import { + DBPost +} from '../../../db/DBpost.js'; Page({ /** @@ -13,76 +15,76 @@ Page({ /** * 生命周期函数--监听页面加载 */ - onLoad: function (options) { - + onLoad: function(options) { + var dbPost = new DBPost(); this.setData({ - xingming:dbPost.getxingmingData(), - xuehao:dbPost.getxuehaoData(), - zhuanye:dbPost.getzhuanyeData(), - xueyuan:dbPost.getxueyuanData(), + xingming: dbPost.getxingmingData(), + xuehao: dbPost.getxuehaoData(), + zhuanye: dbPost.getzhuanyeData(), + xueyuan: dbPost.getxueyuanData(), }); }, /** * 生命周期函数--监听页面初次渲染完成 */ - onReady: function () { - + onReady: function() { + }, /** * 生命周期函数--监听页面显示 */ - onShow: function () { + onShow: function() { }, /** * 生命周期函数--监听页面隐藏 */ - onHide: function () { - + onHide: function() { + }, /** * 生命周期函数--监听页面卸载 */ - onUnload: function () { - + onUnload: function() { + }, /** * 页面相关事件处理函数--监听用户下拉动作 */ - onPullDownRefresh: function () { - + onPullDownRefresh: function() { + }, /** * 页面上拉触底事件的处理函数 */ - onReachBottom: function () { - + onReachBottom: function() { + }, /** * 用户点击右上角分享 */ - onShareAppMessage: function () { - + onShareAppMessage: function() { + }, - bangDingError(){ + bangDingError() { wx.showModal({ title: '联系客服', content: 'QQ:1144131090', confirmText: '复制', confirmColor: '#003b97', - success: function (res) { + success: function(res) { if (res.confirm) { wx.setClipboardData({ data: '1144131090', - success: function (res) { + success: function(res) { wx.showToast({ title: '复制成功', icon: 'success' diff --git a/pages/user/xinxi/xinxi.wxml b/pages/user/xinxi/xinxi.wxml index 1b5f2b3..43e5bcf 100644 --- a/pages/user/xinxi/xinxi.wxml +++ b/pages/user/xinxi/xinxi.wxml @@ -29,6 +29,6 @@ 校训:明德博学,求是创新 - - 绑定错误?快速戳我! + + 绑定错误?快速戳我! \ No newline at end of file diff --git a/pages/user/xinxi/xinxi.wxss b/pages/user/xinxi/xinxi.wxss index 8000a3b..cc31810 100644 --- a/pages/user/xinxi/xinxi.wxss +++ b/pages/user/xinxi/xinxi.wxss @@ -1,4 +1,5 @@ /* pages/user/xinxi/xinxi.wxss */ + /* pages/user/user.wxss */ .allPage { @@ -10,7 +11,7 @@ display: flex; flex-direction: row; align-items: center; - background-color: #003b97; + background-color: #003b97; } .UP { @@ -18,7 +19,7 @@ width: 150rpx; border-radius: 50%; margin: 30rpx; - overflow:hidden; + overflow: hidden; } .NQ { @@ -32,67 +33,71 @@ font-size: 130%; } - -page{ +page { background-color: #eee; } - - .category-item { - width: 100%; - margin: 20rpx 0; - border-top: 1rpx solid #d9d9d9; - border-bottom: 1rpx solid #d9d9d9; - background-color: #fff; + width: 100%; + margin: 20rpx 0; + border-top: 1rpx solid #d9d9d9; + border-bottom: 1rpx solid #d9d9d9; + background-color: #fff; } -.detail-item{ - display: flex; - margin-left: 30rpx; - border-bottom: 1px solid RGBA(217, 217, 217, .4); - height:85rpx; - align-items: center; -} -.detail-item:last-child{ - border-bottom:none; -} -.detail-item image{ - height: 40rpx; - width:40rpx; +.detail-item { + display: flex; + margin-left: 30rpx; + border-bottom: 1px solid RGBA(217, 217, 217, 0.4); + height: 85rpx; + align-items: center; } -.detail-item text{ - color:#7F8389; - font-size:24rpx; - flex:1; - margin-left: 30rpx; + +.detail-item:last-child { + border-bottom: none; } -.detail-item .detail-item-btn{ - width: 50rpx; - color: #d9d9d9; - height: 40rpx; - margin-right: 20rpx; - text-align: center; + +.detail-item image { + height: 40rpx; + width: 40rpx; } -.detail-item .detail-item-btn::after{ - display: inline-block; - content:''; - width: 16rpx; - height: 16rpx; - color: #d9d9d9; - margin-top: 8rpx; - border:3rpx #d9d9d9 solid; - border-top-color:transparent; - border-left-color:transparent; - transform: rotate(-45deg); + +.detail-item text { + color: #7f8389; + font-size: 24rpx; + flex: 1; + margin-left: 30rpx; } -.btn-area{ + +.detail-item .detail-item-btn { + width: 50rpx; + color: #d9d9d9; + height: 40rpx; + margin-right: 20rpx; + text-align: center; +} + +.detail-item .detail-item-btn::after { + display: inline-block; + content: ''; + width: 16rpx; + height: 16rpx; + color: #d9d9d9; + margin-top: 8rpx; + border: 3rpx #d9d9d9 solid; + border-top-color: transparent; + border-left-color: transparent; + transform: rotate(-45deg); +} + +.btn-area { margin-top: 60rpx; box-sizing: border-box; width: 100%; padding: 0 30rpx; } -.kongbai{ + +.kongbai { margin-bottom: 200rpx; } @@ -103,6 +108,6 @@ page{ height: 50rpx; line-height: 50rpx; position: fixed; - bottom: 15px; - width:100%; -} \ No newline at end of file + bottom: 15px; + width: 100%; +} diff --git a/welcome/login/login.js b/welcome/login/login.js index b52a0cd..f1185f9 100644 --- a/welcome/login/login.js +++ b/welcome/login/login.js @@ -16,7 +16,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function(options) { - + }, /** @@ -96,7 +96,7 @@ Page({ dbPost.newadmin(result.data.admin); that.data.xuehao = result.data.xueHao; console.log(that.data.xuehao); - var timestamp = + new Date(); + var timestamp = +new Date(); timestamp = timestamp / 1000; timestamp = parseInt(timestamp); dbPost.newloginTime(timestamp); @@ -151,7 +151,7 @@ Page({ }) } }, - fail: function () { + fail: function() { wx.hideLoading(); wx.showToast({ title: "登录失败", diff --git a/welcome/login/login.wxml b/welcome/login/login.wxml index 81c984a..42fb487 100644 --- a/welcome/login/login.wxml +++ b/welcome/login/login.wxml @@ -3,10 +3,10 @@ - + - + Design by RainSun diff --git a/welcome/login/login.wxss b/welcome/login/login.wxss index ce76248..b2cc2e7 100644 --- a/welcome/login/login.wxss +++ b/welcome/login/login.wxss @@ -11,12 +11,10 @@ page { } .SRCS { - height: 900rpx; width: 100%; } - .btn-area { margin-top: 40rpx; box-sizing: border-box; @@ -24,19 +22,20 @@ page { padding: 0 30rpx; } -.btn2{ +.btn2 { display: flex; flex-direction: row; align-items: center; } + .txt { margin-top: 100rpx; color: #7f8389; font-size: 15rpx; flex: 1; } -.txt1 { +.txt1 { color: #7f8389; font-size: 15rpx; flex: 1; diff --git a/welcome/signin/signin.js b/welcome/signin/signin.js index 426e993..dfe4c35 100644 --- a/welcome/signin/signin.js +++ b/welcome/signin/signin.js @@ -122,18 +122,18 @@ Page({ }; data.multiIndex[e.detail.column] = e.detail.value; - switch (e.detail.column) {//选择改变的列 + switch (e.detail.column) { //选择改变的列 case 0: switch (data.multiIndex[0]) { //判断第一列目前的值 - case 0://1705 + case 0: //1705 data.multiArray[1] = ['111', '112', '113', '114', '115', '116', '117', '121', '122', '211', '212', '213', '221', '222']; //1.2 data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30']; //1.2.1 break; - case 1://1805 + case 1: //1805 data.multiArray[1] = ['112', '113', '114', '115', '116', '117', '121', '122', '123', '211', '212', '213', '214', '221', '222']; //1.2 data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39']; //1.2.1 break; - case 2://其他学院 + case 2: //其他学院 data.multiArray[1] = ['暂缓开通']; //2.2 data.multiArray[2] = ['暂缓开通']; //2.2.1 break; @@ -144,7 +144,7 @@ Page({ case 1: switch (data.multiIndex[0]) { case 0: - switch (data.multiIndex[1]) {//选择班级 + switch (data.multiIndex[1]) { //选择班级 case 0: data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38']; break; @@ -194,51 +194,51 @@ Page({ break; case 1: - switch (data.multiIndex[1]) {//选择班级 + switch (data.multiIndex[1]) { //选择班级 case 0: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38','39']; //1805112 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39']; //1805112 break; case 1: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38','39','40'];//1805113 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40']; //1805113 break; case 2: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40','41'];//1805114 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41']; //1805114 break; case 3: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39'];//1805115 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39']; //1805115 break; case 4: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39'];//1805116 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39']; //1805116 break; case 5: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39'];//1805117 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39']; //1805117 break; case 6: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37'];//1805121 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37']; //1805121 break; case 7: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37'];//1805122 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37']; //1805122 break; case 8: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36'];//1805123 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36']; //1805123 break; case 9: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36','37'];//1805211 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37']; //1805211 break; case 10: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36','37'];//1805212 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37']; //1805212 break; case 11: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36'];//1805213 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36']; //1805213 break; case 12: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36'];//1805214 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36']; //1805214 break; case 13: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37','38'];//1805221 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38']; //1805221 break; case 14: - data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37'];//1805222 + data.multiArray[2] = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37']; //1805222 break; } @@ -328,7 +328,7 @@ Page({ dbPost.newadmin(result.data.admin); that.data.xuehao = result.data.xueHao; console.log(that.data.xuehao); - if(that.data.xuehao){ + if (that.data.xuehao) { wx.switchTab({ url: '../../pages/post/post' }) @@ -337,15 +337,15 @@ Page({ icon: 'success', duration: 2000 }) - }else{ + } else { wx.showToast({ title: "注册失败,请重试", icon: "none" }) } - + }, - fail:function(){ + fail: function() { wx.showToast({ title: "网络不畅,注册失败", icon: "none" @@ -484,11 +484,11 @@ Page({ content: 'QQ:1144131090', confirmText: '复制', confirmColor: '#10aeff', - success: function (res) { + success: function(res) { if (res.confirm) { wx.setClipboardData({ data: '1144131090', - success: function (res) { + success: function(res) { wx.showToast({ title: '复制成功', icon: 'success' diff --git a/welcome/signin/signin.json b/welcome/signin/signin.json index bee992f..7f43cca 100644 --- a/welcome/signin/signin.json +++ b/welcome/signin/signin.json @@ -1,4 +1,4 @@ { "navigationBarBackgroundColor": "#10aeff", - "navigationBarTitleText": "欢迎加入RCS大家庭" + "navigationBarTitleText": "欢迎加入RCS大家庭" } \ No newline at end of file diff --git a/welcome/signin/signin.wxml b/welcome/signin/signin.wxml index 61790ef..e1305b5 100644 --- a/welcome/signin/signin.wxml +++ b/welcome/signin/signin.wxml @@ -1,7 +1,6 @@ - 学号 @@ -10,10 +9,7 @@ - - - diff --git a/welcome/signin/signin.wxss b/welcome/signin/signin.wxss index 4686802..555490f 100644 --- a/welcome/signin/signin.wxss +++ b/welcome/signin/signin.wxss @@ -54,7 +54,8 @@ page { width: 40rpx; margin-right: 20rpx; } -.xuehao-png{ + +.xuehao-png { height: 30rpx; width: 40rpx; margin-right: 20rpx; @@ -70,22 +71,26 @@ page { align-items: center; margin-top: 60rpx; } -.mima-input{ - border-bottom-color: #000; + +.mima-input { + border-bottom-color: #000; border-bottom-style: solid; border-bottom-width: thin; margin-left: 30rpx; width: 410rpx; } + .btn-area { margin-top: 40rpx; box-sizing: border-box; width: 80%; padding: 0 30rpx; } -.kongbai{ + +.kongbai { margin-top: 170rpx; } + .foot { font-size: 25rpx; color: #10aeff; @@ -93,6 +98,6 @@ page { height: 50rpx; line-height: 50rpx; position: fixed; - bottom: 15px; - width:100%; -} \ No newline at end of file + bottom: 15px; + width: 100%; +}