Revert "格式化vue文件"

This reverts commit 8b78aafda4.

# Conflicts:
#	src/components/IPTV.vue
This commit is contained in:
haiyangcui
2020-10-09 17:29:39 +02:00
parent f8b95fe430
commit ee62ae0c8f
11 changed files with 434 additions and 1384 deletions

View File

@@ -4,10 +4,7 @@
<div class="zy-table">
<div class="tHeader">
<span class="btn"></span>
<span
class="btn"
@click="clearAllHistory"
>清空</span>
<span class="btn" @click="clearAllHistory">清空</span>
</div>
<div class="tBody zy-scroll">
<ul>
@@ -23,34 +20,15 @@
<span class="btn"></span>
</span>
</li>
<li
v-for="(i, j) in history"
:key="j"
@click="historyItemEvent(i)"
>
<span
class="name"
@click.stop="detailEvent(i)"
>{{i.name}}</span>
<li v-for="(i, j) in history" :key="j" @click="historyItemEvent(i)">
<span class="name" @click.stop="detailEvent(i)">{{i.name}}</span>
<span class="site">{{getSiteName(i.site)}}</span>
<span class="note">{{i.index+1}}</span>
<span class="operate">
<span
class="btn"
@click.stop="playEvent(i)"
>播放</span>
<span
class="btn"
@click.stop="shareEvent(i)"
>分享</span>
<span
class="btn"
@click.stop="downloadEvent(i)"
>下载</span>
<span
class="btn"
@click.stop="removeHistoryItem(i)"
>删除</span>
<span class="btn" @click.stop="playEvent(i)">播放</span>
<span class="btn" @click.stop="shareEvent(i)">分享</span>
<span class="btn" @click.stop="downloadEvent(i)">下载</span>
<span class="btn" @click.stop="removeHistoryItem(i)">删除</span>
</span>
</li>
</ul>
@@ -231,7 +209,7 @@ export default {
}
</script>
<style lang="scss" scoped>
.history {
.history{
position: relative;
height: calc(100% - 40px);
width: 100%;
@@ -239,7 +217,7 @@ export default {
justify-content: center;
align-items: center;
border-radius: 5px;
.body {
.body{
width: 100%;
height: 100%;
}