Skip to content

Commit 0afecfe

Browse files
authored
Merge pull request #268 from jamebal/search
style: 优化移动端视频播放器关闭按钮的位置
2 parents e97475c + 7b54f98 commit 0afecfe

File tree

2 files changed

+27
-14
lines changed

2 files changed

+27
-14
lines changed

src/components/preview/VideoPreview.vue

+23-10
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,10 @@ export default {
296296
.close-bar {
297297
z-index: 2006;
298298
position: relative;
299-
top: -25px;
300-
right: -25px;
299+
top: -30px;
300+
right: -30px;
301301
float: right;
302+
font-size: 18px;
302303
color: #fff0f0;
303304
background: #d4d4d475;
304305
border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #69696975;
@@ -309,15 +310,27 @@ export default {
309310
border-color: #fff0f0;
310311
}
311312
312-
.audio-player-close {
313-
transform: rotate(315deg);
314-
z-index: 2009;
315-
position: absolute;
316-
font-size: 18px;
317-
top: -8px;
318-
right: 13px;
319-
}
313+
}
320314
315+
@media screen and (max-width: 768px) {
316+
.block {
317+
.close-bar {
318+
z-index: 2006;
319+
position: relative;
320+
top: 0;
321+
right: 0;
322+
font-size: 18px;
323+
float: right;
324+
color: #fff0f0;
325+
background: #d4d4d475;
326+
border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #69696975;
327+
}
328+
329+
.close-bar:hover {
330+
cursor: pointer;
331+
border-color: #fff0f0;
332+
}
333+
}
321334
}
322335
323336
.wrapper {

src/views/setting/articles/blogManager.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
<span class="instruction">给您的网站取一个响亮的名字。</span>
3030
<div class="config-itme-label">站点地址:</div>
3131
<el-input autosize type="textarea" width="100%" v-model="form.siteUrl"></el-input>
32-
<span class="instruction">在这里填入站点的地址或域名。例如:<a href="https://blog.jmal.top" target="_blank">https://blog.jmal.top</a></span>
32+
<span class="instruction">在这里填入站点的地址或域名</span>
3333
<div class="config-itme-label">站点背景大图:</div><upload-image-input v-model="form.backgroundSite"/>
3434
<span class="instruction">在这里填入图片的URL地址, 以在网站首页显示一个背景大图。</span>
3535
<div class="config-itme-label">首页大图内文字:
3636
<el-button type="text" @click="heartwings">历史记录</el-button>
3737
</div>
3838
<el-input autosize type="textarea" v-model="form.backgroundTextSite"></el-input>
39-
<span class="instruction">显示在博客首页大图内的描述。</span>
39+
<span class="instruction">显示在博客首页大图内的主要文字。</span>
4040
<div class="config-itme-label">首页大图内描述:</div>
4141
<el-input autosize type="textarea" v-model="form.backgroundDescSite"></el-input>
42-
<span class="instruction">显示在博客首页大图内的描述。</span>
42+
<span class="instruction">显示在博客首页大图内的次要文字。</span>
4343
</el-tab-pane>
4444
<el-tab-pane label="导航栏" name="2">
4545
<div class="config-itme-label">导航栏顶部 - 网站 Logo:</div>
@@ -53,7 +53,7 @@
5353
<a href="https://fontawesome.com/icons?d=gallery" target="_blank">Font-awesome</a>
5454
图标标签和链接,使用':'隔开(标签里的内容为该图标的简述)。
5555
<br>
56-
列如:{{ example }}:https://github.com/jamebal (建议不超过5项)
56+
列如:{{ example }}:https://github.com/jamebal/jmal-cloud-view (建议不超过5项)
5757
</span>
5858
<div>
5959
<el-divider content-position="center">预览</el-divider>

0 commit comments

Comments
 (0)