-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
109 lines (93 loc) · 1.91 KB
/
Copy pathindex.html
File metadata and controls
109 lines (93 loc) · 1.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>3層感情分析エンジン</title>
<!-- Vue -->
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script src="https://unpkg.com/vue-router@4"></script>
<link rel="icon" href="data:,">
<style>
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
background: #f5f7fa;
}
#app {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.card {
background: white;
padding: 24px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
width: 400px;
}
h2 {
margin-top: 0;
text-align: center;
}
textarea {
width: 100%;
padding: 10px;
border-radius: 8px;
border: 1px solid #ccc;
resize: none;
}
button {
margin-top: 10px;
width: 100%;
padding: 10px;
border: none;
border-radius: 8px;
background: #4CAF50;
color: white;
font-size: 16px;
cursor: pointer;
}
button:hover {
background: #45a049;
}
.result {
margin-top: 15px;
padding: 10px;
border-radius: 8px;
text-align: center;
font-weight: bold;
}
.positive { background: #e8f5e9; color: #2e7d32; }
.negative { background: #ffebee; color: #c62828; }
.neutral { background: #eceff1; color: #37474f; }
.stats {
margin-top: 10px;
font-size: 14px;
color: #666;
text-align: center;
}
ul {
padding-left: 20px;
text-align: left;
}
li {
font-size: 13px;
margin-bottom: 4px;
}
.stats ul {
padding-left: 20px;
text-align: left;
}
.stats li {
margin-bottom: 4px;
}
</style>
</head>
<body>
<div id="app">
<router-view></router-view>
</div>
<script type="module" src="app.js"></script>
</body>
</html>