mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-06-14 22:25:51 +08:00
嵌入播放时添加关闭按钮
This commit is contained in:
@@ -167,6 +167,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.box{
|
.box{
|
||||||
|
.title{
|
||||||
|
.right{
|
||||||
|
color: var(--d-fc-2);
|
||||||
|
svg{
|
||||||
|
stroke: var(--d-c-5);
|
||||||
|
stroke-width: 1;
|
||||||
|
fill: none;
|
||||||
|
&:hover{
|
||||||
|
stroke: var(--d-c-8);
|
||||||
|
stroke-width: 1.5;
|
||||||
|
fill: var(--d-c-2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.more{
|
.more{
|
||||||
span{
|
span{
|
||||||
svg{
|
svg{
|
||||||
|
|||||||
@@ -161,6 +161,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.box{
|
.box{
|
||||||
|
.title{
|
||||||
|
.right{
|
||||||
|
color: var(--g-fc-2);
|
||||||
|
svg{
|
||||||
|
stroke: var(--g-c-5);
|
||||||
|
stroke-width: 1;
|
||||||
|
fill: none;
|
||||||
|
&:hover{
|
||||||
|
stroke: var(--g-c-8);
|
||||||
|
stroke-width: 1.5;
|
||||||
|
fill: var(--g-c-2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.more{
|
.more{
|
||||||
span{
|
span{
|
||||||
svg{
|
svg{
|
||||||
|
|||||||
@@ -161,6 +161,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.box{
|
.box{
|
||||||
|
.title{
|
||||||
|
.right{
|
||||||
|
color: var(--l-fc-2);
|
||||||
|
svg{
|
||||||
|
stroke: var(--l-c-5);
|
||||||
|
stroke-width: 1;
|
||||||
|
fill: none;
|
||||||
|
&:hover{
|
||||||
|
stroke: var(--l-c-8);
|
||||||
|
stroke-width: 1.5;
|
||||||
|
fill: var(--l-c-2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.more{
|
.more{
|
||||||
span{
|
span{
|
||||||
svg{
|
svg{
|
||||||
|
|||||||
@@ -161,6 +161,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.box{
|
.box{
|
||||||
|
.title{
|
||||||
|
.right{
|
||||||
|
color: var(--p-fc-2);
|
||||||
|
svg{
|
||||||
|
stroke: var(--p-c-5);
|
||||||
|
stroke-width: 1;
|
||||||
|
fill: none;
|
||||||
|
&:hover{
|
||||||
|
stroke: var(--p-c-8);
|
||||||
|
stroke-width: 1.5;
|
||||||
|
fill: var(--p-c-2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.more{
|
.more{
|
||||||
span{
|
span{
|
||||||
svg{
|
svg{
|
||||||
|
|||||||
@@ -3,6 +3,12 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<span v-if="this.right.list.length > 1">『第 {{(video.info.index + 1)}} 集』</span>{{name}}
|
<span v-if="this.right.list.length > 1">『第 {{(video.info.index + 1)}} 集』</span>{{name}}
|
||||||
|
<span class="right" v-if="onlineUrl" @click="() => { onlineUrl = ''; state.showChannelList = true}">
|
||||||
|
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" aria-labelledby="closeIconTitle">
|
||||||
|
<title id="closeIconTitle">关闭</title>
|
||||||
|
<path d="M6.34314575 6.34314575L17.6568542 17.6568542M6.34314575 17.6568542L17.6568542 6.34314575"></path>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="player" v-show="!onlineUrl">
|
<div class="player" v-show="!onlineUrl">
|
||||||
<div id="xgplayer"></div>
|
<div id="xgplayer"></div>
|
||||||
@@ -1731,6 +1737,7 @@ export default {
|
|||||||
.right {
|
.right {
|
||||||
float: right;
|
float: right;
|
||||||
svg {
|
svg {
|
||||||
|
display: inline-block;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user