-
Notifications
You must be signed in to change notification settings - Fork 14
/
materials.html
202 lines (176 loc) · 9.69 KB
/
materials.html
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!doctype html>
<html lang="en" class="h-100">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Alfie Cheng">
<meta name="generator" content="Hugo 0.88.1">
<title>資科研習教材</title>
<link rel="canonical" href="https://bootstrap5.hexschool.com/docs/5.1/examples/sticky-footer-navbar/">
<!-- Bootstrap core CSS -->
<link href="https://bootstrap5.hexschool.com/docs/5.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<!-- Favicons -->
<link rel="apple-touch-icon" href="https://bootstrap5.hexschool.com/docs/5.1/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
<link rel="icon" href="https://bootstrap5.hexschool.com/docs/5.1/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="https://bootstrap5.hexschool.com/docs/5.1/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="manifest" href="https://bootstrap5.hexschool.com/docs/5.1/assets/img/favicons/manifest.json">
<link rel="mask-icon" href="https://bootstrap5.hexschool.com/docs/5.1/assets/img/favicons/safari-pinned-tab.svg" color="#7952b3">
<link rel="icon" href="https://bootstrap5.hexschool.com/docs/5.1/assets/img/favicons/favicon.ico">
<meta name="theme-color" content="#7952b3">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<!-- Custom styles for this template -->
<link href="sticky-footer-navbar.css" rel="stylesheet">
</head>
<body class="d-flex flex-column h-100" style="margin-top: 10px;">
<header>
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<div class="container-fluid" id="navbar">
<a class="navbar-brand" href="#">資科研習教材</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item" v-for="section in sections">
<m-dropdown :clips="section.clips" @update="updateUrl">{{section.title}}</m-dropdown>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
</div>
</div>
</nav>
</header>
<!-- Begin page content -->
<main class="flex-shrink-0">
<div class="container" id="app">
<p><p><code> </code>
<h1 class="mt-5">{{ title }}</h1>
<p class="lead">
<iframe :src="linkage" width="800" height="600" allow="autoplay"></iframe>
</p>
</div>
</main>
<footer class="footer mt-auto py-3 bg-light">
<div class="container">
<span class="text-muted">資科研習教材僅供個人學習,歡迎加入平台中共同交流與分享,請洽各館資科窗口。</span>
</div>
</footer>
<script src="https://bootstrap5.hexschool.com/docs/5.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
var video = [
{
title: "1120研習教材",
clips: [
{ title: "研習教材(一)前端軟體設計架構介紹", url: "https://drive.google.com/file/d/1I6_kNEVf6W2cn2upUmhmXiNcn-2Rdj84/preview" },
{ title: "研習教材(二)Git 版本控制概念", url: "https://drive.google.com/file/d/1I5TFRokc1OHbPist4LEeoHi_we51lz2a/preview" },
{ title: "研習教材(三)Github程式庫介紹", url: "https://drive.google.com/file/d/1Np6K7_jiU9LbwX8VVqOCCm5bbQxvc8tA/preview" },
{ title: "研習教材(四)創建我的GitHub 遠端程式庫", url: "https://drive.google.com/file/d/1ytMiue5iBfGz-Ht2Sjlxwb-pbqiPXIiY/preview" },
{ title: "研習教材(五)使用VS Code開啟遠端程式庫", url: "https://drive.google.com/file/d/1pnC31F9WLmZKzpfdy1C2cJSepvU3ISFl/preview" },
{ title: "研習教材(六)推送一個靜態網頁", url: "https://drive.google.com/file/d/17OME_shV16E6-MP7EuwOiRmyGUcQKorU/preview" },
{ title: "研習教材(七)套用BootStrap與協作", url: "https://drive.google.com/file/d/1IYBZ5BzQb1_bF5OVfPqFE8gRq5k-Nbx-/preview" },
{ title: "研習教材(八)完成一個Vue動態網頁", url: "https://drive.google.com/file/d/1mTJtv_CfKqUnUetU9dL7xNj1K52neGle/preview" },
{ title: "研習教材(完)使用jsFiddle開發測試", url: "https://drive.google.com/file/d/1fZGrV7b--ozl416MG0Z1AI33cPgSTpNE/preview" }
]
},
{
title: "1204研習教材",
clips: [
{ title: "研習教材(一)軟體組職能介紹-認識軟體業", url: "https://drive.google.com/file/d/1qa8wAPVjI_yJn-ZYEKl1Jx9GMsrZuSn5/preview" },
{ title: "研習教材(二)軟體職能的修己與助人", url: "https://drive.google.com/file/d/10rlEMfQRR3CTBgds3sfii2dYUAsDxMRc/preview" },
{ title: "研習教材(三)軟體開發流程生命週期", url: "https://drive.google.com/file/d/1wQdHrUKVu5DdWwf1Y8RbhFD5DHX1EjMY/preview" },
{ title: "研習教材(四)複習與QrcodeReader預習", url: "https://drive.google.com/file/d/1KbRJu66f2sBVqDWIwemD2nyb_XquCn9v/preview" },
{ title: "研習教材(五)Vue的概念與核心實體", url: "https://drive.google.com/file/d/1p0hzkjjjn_m6dA_aIq68djsLThKxLQS3/preview" },
{ title: "研習教材(六)Vue的核心功能-資料加工與邏輯整合", url: "https://drive.google.com/file/d/1dClF7zAqRInpQlp6b17d1_Ofkga1LDO7/preview" },
{ title: "研習教材(七)Vue的黑魔法-指令", url: "https://drive.google.com/file/d/11nMt7jXjavW1fZC-CgBIIsEAy9R7C5nr/preview" },
{ title: "研習教材(完)用館務創造人生的價值", url: "https://drive.google.com/file/d/1VBthDsIRlHevjI4VNpFGIQSwa-EE4hXi/preview" }
]
},
{
title: "1211研習教材",
clips: [
{ title: "研習教材(一)Vue指令(directive)的自訂", url: "https://drive.google.com/file/d/1N-JXgjuZfvj68282p45S8xXYUpf_M4Fd/preview" },
{ title: "研習教材(二)強大又直覺的事件處理", url: "https://drive.google.com/drive/folders/1g1i4-cY3xbUvHMV525xDw5HP-3KXjdkp/preview" },
{ title: "研習教材(三)好用的內建指令v-if與v-for", url: "https://drive.google.com/file/d/1GFPo7LUCqeY75c0vozB_cYrvmuFrP2s4/preview" },
{ title: "研習教材(四)手把手做出“研習教材”", url: "https://drive.google.com/file/d/1VoTyl0nr35cOzftaq8U6jv8wJqtXnhlB/preview" },
{ title: "研習教材(五)用範例說明Vue元件系統”", url: "https://drive.google.com/file/d/1ZDIc2a-wySFFNVMzlOl1PgnvyzCyq6Tg/preview" },
{ title: "研習教材(六)Qrcode元件與自訂元件之引用”", url: "https://drive.google.com/file/d/12e1bhDIU_LZafsxV6zSDofUmau0WYr4S/preview" }
]
},
{
title: "20230219研習教材",
clips: [
{ title: "研習教材", url: "https://drive.google.com/file/d/1rjEooGMvemE_76VuJueGXlezUf0-Gr_5/preview" },
]
},
{
title: "20230520研習教材",
clips: [
{ title: "全球退休人員調查之操作", url: "https://drive.google.com/file/d/1nSFMbvqM6EOzs1Rf_gmz6IjAyKAvbvte/preview" },
]
},
{
title: "微學堂",
clips: [
{ title: "2023-0223-微學堂-限時動態屬性", url: "https://drive.google.com/file/d/1ovgDLMLB2hzKfjmHlx03ApqmOKU50_O-/preview" },
{ title: "十分鐘學會找到理想中的網站雛形", url: "https://drive.google.com/file/d/1bCELbaV8H1V_IMxG38-MWDumN-kZNBeO/preview" },
{ title: "微學堂__用AI讓網站內容產出變簡單", url: "https://drive.google.com/file/d/1w_mno8gtYqW13PJuHL7j2dd4uGQliH-C/preview" },
]
},
]
Vue.component('m-dropdown',{
props:['clips'],
methods:{
change(url){
this.$emit('update', url);
}
},
template:`
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
<slot></slot>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
<li v-for="clip in clips"><a class="dropdown-item" @click.prevent="change(clip)">{{ clip.title }}</a></li>
</ul>
</div>
`
});
var navbar = new Vue({
data:{
sections: video,
},
methods:{
updateUrl(clip){
app.title = clip.title
app.linkage = clip.url;
}
}
}).$mount("#navbar");
var app = new Vue({
data:{
title: "軟體研習說明",
linkage: "https://drive.google.com/file/d/1en-B5__19k-4sYzwbZIDIWXUW6Z4lJRf/preview"
}
}).$mount("#app");
</script>
</body>
</html>