-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
115 lines (110 loc) · 5.91 KB
/
index.html
File metadata and controls
115 lines (110 loc) · 5.91 KB
1
2
3
4
5
6
7
8
9
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>BDFZ导航</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="./css/materialize.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="./css/main.css">
<link href="./img/nav_favicon.png" rel="icon" type="image/png" sizes="272x272">
<script src="./js/materialize.js"></script>
<script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>
<script src="./js/main.js"></script>
</head>
<body class="grey lighten-3">
<nav id="container" class="blue-grey darken-1">
<div class="nav-wrapper blue-grey darken-1">
<a href="#" class="brand-logo titletxt" style="font-size: 25px;">BDFZ导航</a>
<ul class="right hide-on-med-and-down">
<li><a href="https://github.com/pkuschool/BDFZ_Navigation"><img src="./img/github.png" alt="" style="margin-top: 20px;" height="25px" width="25px"></a></li>
<li><a href="https://github.com/pkuschool/BDFZ_Navigation/issues/new/choose"><i class="material-icons">feedback</i></a></li>
<li><a href="./about.html"><i class="material-icons">info</i></a></li>
</ul>
</div>
</nav>
<div style="margin-top: 20px;" class="mainsection" id="top3">
<div class="row hide-on-small-and-down">
<!--Top 3, large-->
<div class="col s4 c_main">
<div class="btn blue lighten-1 white-text waves-ripple waves-effect col s12 c_full z-depth-2 hoverable zoom" onclick="GoTo('https://bdfz.seiue.com')">
<img class="img" src="./img/seiue.png" height="100px" width="auto">
<p class="large-plate hide-on-small-and-down">希悦</p>
</div>
</div>
<div class="col s4 c_main">
<div class="btn grey darken-3 white-text waves-ripple waves-effect col s12 c_clock z-depth-2 hoverable zoom" onclick="window.open('clock.html','_self')">
<p class="centered large dt clocktitle" id="time-desktop" onclick="clicktime()"></p>
<p class="centered dt" id="date-desktop"></p>
<script>
uptime();
window.setInterval(uptime, 1000);
</script>
</div>
</div>
<div class="col s4 c_main">
<div class="btn deep-orange darken-1 white-text waves-ripple waves-effect col s12 c_full z-depth-2 office hoverable zoom" onclick="GoTo('https://portal.office.com')">
<img class="img" src="./img/office.png" height="100px" width="auto">
<p class="large-plate hide-on-small-and-down">O<span class="gridhide">ffice </span>365</p>
</div>
</div>
</div>
<div class="row hide-on-med-and-up mobile-view">
<!--Top 3, Mobile-->
<div class="col s12 c_main_m">
<div class="btn blue lighten-1 white-text waves-ripple waves-effect col s12 c_full_minus z-depth-2" onclick="GoTo('https://bdfz.seiue.com')">
<img class="img_m" src="./img/seiue.png" height="100px" width="auto">
<p class="large-plate ">希悦</p>
</div>
</div>
<div class="col s12 c_main_m">
<div class="btn red darken-4 white-text waves-ripple waves-effect col s12 c_full_minus z-depth-2" onclick="GoTo('http://bdfz-cas.pkuschool.edu.cn')">
<img class="img_m" src="./img/BDFZ.png" height="100px" width="auto">
<p class="large-plate">单点登录</p>
</div>
</div>
<div class="col s12 c_main_m">
<div class="btn deep-orange darken-1 white-text waves-ripple waves-effect col s12 c_full_minus z-depth-2 office" onclick="GoTo('https://portal.office.com')">
<img class="img_m" src="./img/office.png" height="100px" width="auto">
<p class="large-plate">Office 365</p>
</div>
</div>
<div class="col s12 c_main">
<div class="btn yue darken-1 white-text waves-ripple waves-effect col s12 c_full c_full_minus z-depth-2" onclick="GoTo('http://sj2020.bdfz.seiue.com/')">
<img class="img" src="./img/yueshijian.png" height="100px" width="auto">
<p class="large-plate">悦实践</p>
</div>
</div>
</div>
</div>
<div class="mainsection row centered center center-align hide-on-small-and-down" style="margin-top: 20px;margin: 0 auto" >
<second-grid id="grid002" v-for="item in weblist"></second-grid>
</div>
</div>
</div>
</body>
<script>
M.AutoInit();
window.setInterval(uptime, 1000);
Vue.component('second-grid', {
template: '<button class="btn customgrid white col black-text plus hoverable waves-effect s2 centered" v-on:click="GoTo(item.url)"><img class="gridimg" v-bind:src="item.gridimg"><p class="gridtext">{{ item.gridtext }}</p></button>'
})
var grid2 = new Vue({
el: '#grid002',
data: {
weblist: [
{ id: 0, gridimg: 'img/BDFZ.png', gridtext: '单点登录', url: 'https://bdfz-cas.pkuschool.edu.cn'},
{ id: 1, gridimg: 'img/BDFZ.png', gridtext: '内网登录', url: 'https://portal.pkuschool.edu.cn'},
{ id: 2, gridimg: 'img/BDFZ.png', gridtext: '校内邮箱', url: 'https://mail.pkuschool.edu.cn'},
{ id: 3 ,gridimg: 'img/BDFZ.png', gridtext: 'OA系统', url: 'https://oa.pkuschool.edu.cn'}
]
},
methods:{
clicklink: function(){
GoTo(this.url)
}
}
})
</script>
</html>