59 lines
952 B
Vue
59 lines
952 B
Vue
<template>
|
|
<view>
|
|
<view v-if="minishow" class="fuchuang" style="width: 750rpx;">
|
|
我是浮窗
|
|
|
|
<view class="libTitle">播放列表</view>
|
|
|
|
<view class="libTitle"v-for="(item,index) in libLIst">{{item.chapterName}}</view>
|
|
|
|
<view class="tanchu playList">
|
|
<!-- <u-button>显示目录</u-button> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "miniPlay",
|
|
props: {
|
|
LibVisible:{
|
|
Type: Boolean,
|
|
default: false,
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
minishow:true,
|
|
|
|
playid:1,
|
|
libLIst:[
|
|
{
|
|
'chapterName':1,
|
|
'chapterId':1
|
|
},
|
|
{
|
|
'chapterName':2,
|
|
'chapterId':1
|
|
},
|
|
{
|
|
'chapterName':3,
|
|
'chapterId':1
|
|
},
|
|
|
|
]
|
|
}
|
|
},
|
|
methods: {
|
|
showLib(){
|
|
this.LibVisible = true
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.fuchuang{font-size: 20px; position:fixed; right: 0; bottom: 70px; background: green; z-index: 55;}
|
|
</style>
|