Commit 4f3f8878 by 前端

修改顶部标题背景

1 parent e1ffd01f
......@@ -27,6 +27,7 @@
text-align: center;
.title {
position: relative;
flex: 2;
font-family: SourceHanSansCN-Bold;
font-weight: 700;
......@@ -46,6 +47,26 @@
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.title:before,
.title:after{
position: absolute;
display: block;
content:"";
width: 64px;
height: 21px;
top:50%;
transform: translateY(-50%);
}
.title:before{
background:url('../assets/images/title_left.png') no-repeat;
background-size:64px auto;
left:-110px;
}
.title:after{
background:url('../assets/images/title_right.png') no-repeat;
background-size:64px auto;
right:-110px;
}
}
.right_box {
......

164 KB | W: | H:

145 KB | W: | H:

src/assets/images/top_bg.png
src/assets/images/top_bg.png
src/assets/images/top_bg.png
src/assets/images/top_bg.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -46,39 +46,6 @@ export default {
ViewEntireLifecycleOfCar,
EnergyCar
},
computed: {
tabName() {
let sname
switch (this.activeName) {
case 'm_1.0':
sname = 'ViewSolar'
break
case 'm_1.1':
sname = 'ViewBoutique'
break
case 'm_1.3':
sname = 'ViewCrowdfunding'
break
case 'm_2.1':
sname = 'ViewEquity'
break
case 'operational':
sname = 'ViewOperational'
break
case 'interior':
sname = 'ViewLifeSceneData'
break
case 'business':
sname = 'ViewSolar'
break
case 'lifecycleOfCar':
sname = 'viewEntireLifecycleOfCar'
// default:
// sname = 'ViewSolar'
}
return sname
}
},
data() {
return {
activeName: '',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!