Skip to content

Commit

Permalink
Update Table And Calendar UI & Detail Revise
Browse files Browse the repository at this point in the history
  • Loading branch information
WindRunnerMax committed Mar 31, 2020
1 parent 9cf6e50 commit e0d924c
Show file tree
Hide file tree
Showing 45 changed files with 198 additions and 4,155 deletions.
85 changes: 19 additions & 66 deletions SHST-WEL/App.vue
Original file line number Diff line number Diff line change
@@ -1,82 +1,35 @@
<script>
const dispose = require('@/vector/dispose.js');
"use strict";
export default {
globalData: {
tips: 10,
account: "",
curWeek: "1",
initData: {},
version: "3.2.1",
curTerm: "2019-2020-1",
curTermStart: "2019-08-26",
colorList: dispose.colorList,
url: 'http://219.218.128.228/app.do',
header: {'refer': 'https://com.WindrunnerMax.SHST','content-type': 'application/x-www-form-urlencoded','token':''}
version: "2.0.0"
},
onLaunch: function() {
console.log("APP INIT");
const util = require('@/utils/util.js');
const pubFct = require('@/vector/pubFct.js');
util.extDate(); //拓展Date原型
this.globalData.colorN = this.globalData.colorList.length;
this.globalData.curWeek = pubFct.getCurWeek(this.globalData.curTermStart);
this.extend = dispose.extend;
this.extend({
ajax: dispose.ajax,
toast: dispose.toast,
addIconfont: dispose.addIconfont
});
onPageNotFound(res) {
wx.reLaunch({
url: 'pages/Home/NotFound/notfound'
})
},
onLaunch: () => {
Date.prototype.addDate = function(years = 0, months = 0, days = 0) {
if (days !== 0) this.setDate(this.getDate() + days);
if (months !== 0) this.setMonth(this.getMonth() + months);
if (years !== 0) this.setFullYear(this.getFullYear() + years);
}
}
}
</script>


<style>
.page{
@import '/vector/asse.mini.wxss';
@import '/vector/style/weui.wxss';
page{
font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
font-size: 15px;
padding: 10px;
box-sizing: border-box;
font-size: 15px;
background-color: #F8F8F8;
}
.iconfont{
font-family: iconfont;
}
.x-CenterCon{
justify-content: center;
flex-direction: row;
}
.dot{
width: 8px;
height: 8px;
border-radius: 8px;
margin: 0 5px;
}
.y-CenterCon{
align-items: center;
flex-direction: row;
}
.fill{
flex: 1;
}
.text{
font-size: 13px;
color: #111111;
}
.link{
font-size: 13px;
color: #4C98F7;
text-decoration: underline;
}
.border{
border-style: solid;
border-color: #EEEEEE;
color: #4C98F7;
}
</style>
53 changes: 0 additions & 53 deletions SHST-WEL/components/headslot.nvue

This file was deleted.

63 changes: 0 additions & 63 deletions SHST-WEL/components/layout.nvue

This file was deleted.

30 changes: 0 additions & 30 deletions SHST-WEL/components/scrollpage.nvue

This file was deleted.

39 changes: 0 additions & 39 deletions SHST-WEL/components/sentence.nvue

This file was deleted.

Loading

0 comments on commit e0d924c

Please sign in to comment.