1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<template>
<div>
<div class="guide" v-if="show" @click="show=false">
<img :src="bgUrl" class="bg"/>
<div class="tips">
需要先在课程中将歌曲<span class="color-red">加入收藏</span>
才可以使用哦
</div>
</div>
</div>
</template>
<script>
import {getGuideApi,setGuideApi} from "../../service/api";
import bgUrl from '../../assets/guide/collect.png'
export default {
name: "guide",
data(){
return{
bgUrl:bgUrl,
show:false
}
},
mounted(){
let json = {
page_name:'collection'
};
this.show=true;
}
}
</script>
<style scoped lang="less">
@import "../../util/public";
.color-red{
color:#FF5050 ;
}
.guide{
position: fixed;
top: 0;
left: 0;
bottom: 0;
overflow: hidden;
right: 0;
background-size: 100% 100%;
color: white;
z-index: 9999;
background:rgba(0,0,0,0.8);
.bg{
margin-top: -60*@toVw;
width: 100%;
}
.tips{
width: 196*@toVw;
position: absolute;
top: 440*@toVw;
left: 20*@toVw;
font-size:14*@toVw;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,255,255,1);
text-align: center;
padding: 10*@toVw;
border: 1*@toVw solid #fff;
border-radius: 8*@toVw;
}
}
</style>