File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
src/layouts/components/VabAd Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 2
2
<div class =" vab-ad" >
3
3
<el-carousel v-if =" adList" :autoplay =" true" :interval =" 3000" direction =" vertical" height =" 30px" indicator-position =" none" >
4
4
<el-carousel-item v-for =" (item, index) in adList" :key =" index" >
5
- <el-tag type =" warning" >Ad</el-tag >
5
+ <el-tag type =" warning" >付费版本 Ad</el-tag >
6
6
<a :href =" item.url" target =" _blank" >{{ item.title }}</a >
7
7
</el-carousel-item >
8
8
</el-carousel >
32
32
</script >
33
33
<style lang="scss" scoped>
34
34
.vab-ad {
35
+ margin-top : 7px ;
35
36
height : 30px ;
36
37
padding-right : $base-padding ;
37
38
padding-left : $base-padding ;
38
39
margin-bottom : -20px ;
39
- line-height : 30 px ;
40
+ line-height : 32 px ;
40
41
cursor : pointer ;
41
42
42
43
a {
43
- color : #999 ;
44
+ margin-left : 5px ;
45
+ color : #888 ;
46
+ }
47
+
48
+ ::v- deep {
49
+ .el- carousel__container {
50
+ display : flex ;
51
+ align-items : center ;
52
+ justify-content : space-between ;
53
+ }
44
54
}
45
55
}
46
56
</style >
You can’t perform that action at this time.
0 commit comments