-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
118 lines (111 loc) · 4.5 KB
/
search.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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="aecra,博客,blog" />
<meta name="description" content="一个不愿意放弃博客而继续码代码写博客的沙雕的博客,记录学习内容,分享沙雕思想" />
<title>搜索 | AECRA BLOG</title>
<link href="./css/bootstrap-grid.min.css" rel="stylesheet">
<link rel="stylesheet" href="./css/search.css" />
<link rel="stylesheet" href="./css/common.css" />
<link rel="shortcut icon" href="./images/logo.png" type="image/x-icon" />
</head>
<body>
<div class="previer">
<div class="img" style="background-image: url(./images/background.png)"></div>
<div class="content">
<div class="container inner">
<div class="search-outer">
<div class="search-box">
<input class="search-content" type="search" name="搜索" id="search" />
<button class="search-button">搜索</button>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<section class="side d-none d-sm-none col-md-4 d-md-block col-lg-4 d-lg-block col-xl-4 d-xl-block">
<div class="about-me">
<div class="portrait">
<a href="./index.html">
<img src="./images/portrait.png" alt="my portrait" />
</a>
</div>
<div class="name">AECRA的博客</div>
</div>
<div id="hot-article" class="hot-article">
<div class="card-title">
<img src="./images/item-blue.png" />
<span>热门文章</span>
</div>
<div v-for="item in articleList" class="card">
<img src="./images/hot-red.png" />
<a :href="'./article.html?id='+item.id">{{item.title}}</a>
</div>
</div>
</section>
<section id="article-cards" class="article-cards col-sm-12 col-md-8 col-lg-8 clo-xl-8">
<div v-for="item in articleList" :class="item.toped=='1'?'toped':''" class="article-card">
<div class="img">
<a :href="'./article.html?id='+item.id">
<img :src="item.img_url+'?imageMogr2/crop/720x400/gravity/center'" alt="article image" />
</a>
</div>
<div class="content">
<div class="title">
<a :href="'./article.html?id='+item.id">{{item.title}}</a>
</div>
<div class="tags">
<div v-for="item2 in item.tags" class="tag">
<a :href="'./tag.html?tag='+item2">{{item2}}</a>
</div>
</div>
<div class="time">
<span>
<img src="./images/time-blue.png" />
{{item.publish_time.slice(0,10)}} PUBLISH
</span>
<span>
<img src="./images/time-blue.png" />
{{item.update_time.slice(0,10)}} UPDATE
</span>
</div>
</div>
</div>
<div v-if="hasSearchData==false || articleList.length==0" class="no-result">
<img src="./images/no-result.png" alt="" />
</div>
</section>
</div>
</div>
<div class="to-top">
<img src="./images/top-white.png" />
</div>
<div class="footer">
<div class="container">
<div class="row">
<div class="left row col-sm-12 col-md-12 col-lg-8 col-xl-8">
<div class="logocol-sm-12 d-none d-md-block d-lg-block d-xl-block col-md-4 col-lg-4 col-xl-4">
<img src="./images/logo.png" alt="logo" />
</div>
<div class="description col-sm-12 col-md-8 col-lg-8 col-xl-8">
<p class="title">AECRA | BLOG</p>
<p class="content">一个不愿意放弃博客而继续码代码写博客的沙雕的博客,记录学习内容,分享沙雕思想</p>
<p class="content">© 2017-2021 www.aecra.cn 版权所有。</p>
</div>
</div>
<div class="right col-sm-12 col-md-12 col-lg-4 col-xl-4"></div>
</div>
</div>
</div>
<script src="./js/vue.min.js"></script>
<script src="./js/background.js"></script>
<script src="./js/common.js"></script>
<script src="./js/search.js"></script>
<script></script>
</body>
</html>