|
@@ -7,7 +7,8 @@ export default {
|
|
name: 'navTitle',
|
|
name: 'navTitle',
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
- navTitle: '首页'
|
|
|
|
|
|
+ navTitle: '首页',
|
|
|
|
+ iconLocal: 'http://oduj3utzz.bkt.clouddn.com/icon_local.png'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -19,5 +20,23 @@ export default {
|
|
text-align: center;
|
|
text-align: center;
|
|
padding: 0.2rem 0;
|
|
padding: 0.2rem 0;
|
|
background-color: #FFF;
|
|
background-color: #FFF;
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
|
|
+.navTitle::after{
|
|
|
|
+ content: '';
|
|
|
|
+ width: 25px;
|
|
|
|
+ height: 25px;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top:5px;
|
|
|
|
+ left: 5px;
|
|
|
|
+ background: url('http://oduj3utzz.bkt.clouddn.com/icon_local.png');
|
|
|
|
+ background-size: 25px;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ /*border: 1px solid;*/
|
|
|
|
+}
|
|
|
|
+.navTitle img{
|
|
|
|
+ display: block;
|
|
|
|
+ width: 25px;
|
|
|
|
+ margin-left: 15px;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|