-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
270 lines (249 loc) · 8.89 KB
/
index.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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>首页·作品集</title>
<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/index1.css">
<link rel="stylesheet" href="css/auto adjust.css">
<link rel="stylesheet" href="css/choice.css">
<link rel="stylesheet" href="css/picexchange.css">
<link rel="stylesheet" href="css/search.css">
<link rel="stylesheet" href="css/card.css">
</head>
<body>
<div id="container">
<div id="banner1">
<div>作品集</div>
<div class="navbar">
<input type="checkbox">
<span></span>
<span></span>
<ul>
<li><a href="item/item (1).html">资源库</a></li>
<li><a href="https://twitter.com/ShiroHitomi">推特</a></li>
<li><a href="https://space.bilibili.com/62145276">B站</a></li>
<li><a href="https://afdian.net/u/7ea5f516884611eba6df52540025c377">爱发电</a></li>
<li><a href="javascript:void(0)">P站</a></li>
</ul>
</div>
<div class="search-box">
<input type="text" class="search-txt" placeholder="想搜啥?" />
<a class="search-btn">
<i class="fa fa-search" aria-hidden="true"></i>
</a>
</div>
<div>
<ul>
<!--<li><a href="#" onclick="search()" id="search" >搜索</a></li>-->
<li><a href="register/01.html">注册</a></li>
<li><a href="register/01.html" name="register">登录</a></li>
</ul>
</div>
</div>
<!--<div id="searchBox" style="display: none;">
<div id="searchBtn">搜 索</div>
<input type="text">
</div>
-->
<!--
<div id="BgImage">
<ul id="point">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
-->
<!-- 轮播图主体 -->
<div class="swipe" id="swipe">
<!-- 模糊背景 -->
<div class="bg" id="swipe_bg"></div>
<!-- 图片区域 -->
<section>
<!-- 图片显示 -->
<div class="img-box" id="swipe_img_box">
<a href="#" class="link" id="swipe_link">
<img src="image/150/1.jpg" alt="" class="img" id="swipe_img">
</a>
</div>
<!-- 指示点 -->
<div class="select" id="swipe_select">
<!-- <a href="#" class="item checked"></a>
<a href="#" class="item"></a>
<a href="#" class="item"></a> -->
</div>
<!-- 左侧翻页按钮 -->
<div class="btn left" id="swipe_btn_left">
<!-- 字体图标:左箭头 -->
<i class="fa fa-angle-left" aria-hidden="true"></i>
</div>
<!-- 右侧翻页按钮 -->
<div class="btn right" id="swipe_btn_right">
<!-- 字体图标:右箭头 -->
<i class="fa fa-angle-right" aria-hidden="true"></i>
</div>
</section>
</div>
<!--
<div id="BgImageLeft">
<p id="BgImageLeftp1" style="text-align:center"> 发布资源</p>
<p id="BgImageLeftp2" style="text-align:center">征集资源</p>
</div>
-->
<!--<div id="Share" style="text-align:center;background-color: rgba(0, 0, 0, 0%)" >
今 日 热 门
</div>
<div id="ShareContent">
<img src="image/[email protected]">
</div>
<div id="ShareTitle">
回 眸
</div>
-->
<div id="downMenuTitle">
<a href="item/item (1).html">按媒体类型查找</a>
</div>
<div id="downMenu">
<ul>
<li><a href="item/item (1).html"><img src="image/p1.png"></a></li>
<li>
<a href="item/item (1).html">视频</a>
</li>
</ul>
<ul>
<li><a href="item/item (2).html"><img src="image/p4.png"></a></li>
<li>
<a href="item/item (2).html">图片</a>
</li>
</ul>
<ul>
<li><a href="item/item (3).html"><img src="image/p2.png"></a></li>
<li>
<a href="item/item (3).html">音乐</a>
</li>
</ul>
<ul>
<li><a href="item/item (4).html"><img src="image/p3.png"></a></li>
<li>
<a href="item/item (4).html">音效</a>
</li>
</ul>
</div>
<div id="downMenuTitle">
<a href="item/item (1).html">按作品主题查找</a>
</div>
<div class="container">
<div class="card">
<div class="img-box" href="https://www.bilibili.com/video/BV1kt411j7mN">
<img src="image/MAD.jpg" alt="https://www.bilibili.com/video/BV1kt411j7mN">
</div>
<div class="text-box" >
<h2>MAD/AMV</h2>
<p>各种动漫的片段剪辑</p>
</div>
</div>
<div class="card">
<div class="img-box" href="https://www.bilibili.com/video/BV1CV4y1s7H9">
<img src="image/游戏.png" alt="" >
</div>
<div class="text-box" >
<h2 >游戏相关</h2>
<p>从初中到大学制作的游戏相关视频。</p>
</div>
</div>
<div class="card">
<div class="img-box" href="https://www.bilibili.com/video/BV12t4y177ny/">
<img src="image/摄影.jpg" alt="">
</div>
<div class="text-box">
<h2>摄影</h2>
<p>包含风景、人物等主题的摄影摄像作品</p>
</div>
</div>
</div>
<div id="footer">
<p id="p3"> ©2015-2023 XX市XXX科技有限公司 版权所有 X ICP备00000000号-1</p>
</div>
</div>
</body>
</html>
<script type="text/javascript">
var num=0;
var arr=["image/pic1.jpg","image/pic2.png","image/pic3.png","image/pic4.jpg"];
var timerImage=window.setInterval(fun_go,3000);
//window.onload=fun_go;
var pot=document.getElementById("point").li;
function fun_go(){
document.getElementById("BgImage").style.backgroundImage="url("+arr[num]+")";
num++;
if(num==arr.length){
num=0;
}
}
var btn=document.getElementById("search");
var a=document.getElementById("searchBox");
var b=document.getElementById("searchBtn");
btn.onclick=function search(){
a.style.display="block";
}
b.onclick=function search1(){
window.open(url="item/item (1).html");
}
for(var i=0;i<5;i++){
document.getElementById("circle").getElementsByTagName("li")[i].style.borderColor="#ACACAC";
document.getElementById("circle").getElementsByTagName("li")[i].style.backgroundColor="#ACACAC";
}
document.getElementById("circle").getElementsByTagName("li")[num].style.borderColor="#006F22";
document.getElementById("circle").getElementsByTagName("li")[num].style.backgroundColor="#FFF";
function search(){
document.getElementById("searchBox").diplay=false;//如何隐藏以及显示box???
}
function register(){
document.getElementById("regiaterBox").display=false;
}
</script>
<script src="js/picexchage.js">
</script>
<script src="./live2dw/lib/L2Dwidget.min.js"></script>
<script>
function readTextFile(file, callback) {
var rawFile = new XMLHttpRequest();
rawFile.overrideMimeType("application/json");
rawFile.open("GET", file, true);
rawFile.onreadystatechange = function () {
if (rawFile.readyState === 4 && rawFile.status == "200") {
callback(rawFile.responseText);
}
}
rawFile.send(null);
}
var jsonData = null;
readTextFile("./live2dw/live2d-widget-model-nito/assets/nito.model.json", function (text) {
jsonData = JSON.parse(text);
})
L2Dwidget.init({
model: {
// 模型
jsonPath: jsonData, //"./live2dw/live2d-widget-model-z16/assets/z16.model.json",
scale: 1 //模型缩放比例
},
display: {
position: "left", //模型的位置(左or右)
width: 200, //模型宽度
height: 400, //模型高度
hOffset: 20, //模型水平偏移量
vOffset: -20 //模型垂直偏移量
},
mobile: {
show: true, //手机端是否显示
scale: 1 //缩放比例
},
react: {
opacity: 1 //模型不透明度
}
})
</script>