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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<template>
<div class="resource-list">
<div class="title">
素材库
</div>
<div class="content">
<div class="img-block">
<img :src="defaultImgUrl"/>
添加图片
</div>
<div class="img-block">
<img :src="defaultTxtUrl"/>
添加文字
</div>
<div class="img-block">
<img :src="defaultMusicUrl"/>
添加音频
</div>
<div class="img-block">
<img :src="defaultVideoUrl"/>
添加视频
</div>
<div class="img-block">
<img :src="defaultTxtUrl"/>
添加绘本
</div>
</div>
</div>
</template>
<script>
import defaultImgUrl from '../../assets/defaultImg.png'
import defaultTxtUrl from '../../assets/defaultTxt.png'
import defaultMusicUrl from '../../assets/defaultMusic.png'
import defaultVideoUrl from '../../assets/defaultVideo.png'
import defaultBookUrl from '../../assets/defaultBook.png'
export default {
name: "resourcesList",
data(){
return{
defaultImgUrl:defaultImgUrl,
defaultTxtUrl:defaultTxtUrl,
defaultMusicUrl:defaultMusicUrl,
defaultVideoUrl:defaultVideoUrl,
defaultBookUrl:defaultBookUrl
}
}
}
</script>
<style scoped lang="less">
@import "../../util/public";
.resource-list{
height: 100%;
background: @light-line;
position: relative;
.title{
text-align: center;
background: white;
height: 30px;
line-height: 30px;
border-bottom: 1px solid @secondary-font-color;
}
.content{
position: absolute;
top: 31px;
bottom: 0;
left: 0;
right: 0;
overflow: auto;
.img-block{
margin: 10px;
background: white;
text-align: center;
padding: 10px;
img{
width: 60%;
margin: auto;
display: block;
}
}
}
}
</style>