-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (59 loc) · 1.85 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
<!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" />
<script src="libs/vue.min.js"></script>
<script src="libs/pusher.min.js"></script>
<script src="libs/axios.min.js"></script>
<link rel="stylesheet" href="style/main.css" />
<title>□□□□□</title>
</head>
<body>
<div
id="diary"
style="display: none"
:style="{display: ready ? 'block' : 'none', color: normal ? '#333': ''}"
>
<transition name="in" appear>
<div class="loading" v-if="loading">
<div class="animation">
<div class="ball-1"></div>
<div class="ball-2"></div>
</div>
</div>
</transition>
<div class="bg" :style="{'background': normal ? '#fff': '#000'}"></div>
<transition name="in" appear>
<div>
<div
class="title"
:class="{'error-text': !normal}"
:style="{filter: normal ? 'blur(0) !important' : ''}"
>
DIARY
</div>
<div
v-for="(item, index) in msgList"
:key="index"
class="card"
:style="{filter: item.normal ? 'blur(0) !important' : '', 'border-color': item.normal ? '#333' : ''}"
@click="change(index)"
>
<div class="date">{{item.date}}</div>
<hr />
<div
class="text"
:class="{'error-text': !item.normal}"
:style="{filter: `blur(${item.blur}px)`}"
>
{{item.msg}}
</div>
</div>
</div>
</transition>
</div>
<script src="script/main.js"></script>
</body>
</html>