第一次提交
This commit is contained in:
58
components/cx-audio-play/miniplay.vue
Normal file
58
components/cx-audio-play/miniplay.vue
Normal file
@@ -0,0 +1,58 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user