-
Notifications
You must be signed in to change notification settings - Fork 0
/
record.html
92 lines (79 loc) · 3.26 KB
/
record.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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link rel="stylesheet" media = "screen and (min-width: 1050px)" href="record-style-laptop.css">
<link rel="stylesheet" media = "(max-width: 1049px)" href ="record-style-phone.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cute+Font&family=Orbit&display=swap" rel="stylesheet">
<script src = "https:cdn.jsdelivr.net/npm/vue@2"></script>
<script type="module" src="record-vue.js"></script>
</head>
<body>
<div id = "container">
<header>
<div id = "start">
<div id = "logo">
<ul>
<li><img id = "logo" src = "images/home.png" onclick = "location.replace('home.html')"></li>
</ul>
</div>
<div id = "title">
<h3>나만의 전시회</h3>
<h5>누구나 쉽게 여는 온라인 전시회</h5>
</div>
</div>
<div id = "nav">
<ul id = "topMenu">
<li><a href = "#"><span> </span></a>
<ul>
<li><a href = "home.html">전시 탐색</a></li>
</ul>
</li>
<li><a href = "#"><span> </span></a>
<ul>
<li><a href = "record.html">기록하기</a></li>
</ul>
</li>
<li><a href = "#"><span> </span></a>
<ul>
<li><a href = "history.html">내 전시</a></li>
</ul>
</li>
<li><a href="#"><span> </span></a>
<ul>
<li><a href="#">설정</a></li>
</ul>
</li>
</ul>
</div>
</header>
<div id = "mainslide">
<section id = "bodytitle"><h5>기록하기</h5></section>
<div id = "contents">
<button id = "modify" onclick="fnAppear()">수정하기</button>
<button id = "done" onclick="fnDisappear(); sendData()">완료하기</button>
<p v-html="formattedText"> {{ userText }} </p>
<textarea id = "record-input" v-model:value="userText" placeholder = "나만의 작품을 등록해보세요."></textarea>
</div>
</div>
<footer>
</footer>
</div>
<script>
const imported_record_vue = record;
imported_record_vue.$mount('#contents');
function fnAppear () {
var record_input = document.querySelector('#record-input');
record_input.style.display = "block";
}
function fnDisappear () {
var record_input = document.querySelector('#record-input');
record_input.style.display = "none";
}
</script>
</body>
</html>