Authored by ccbikai

侧边栏修改

... ... @@ -7,7 +7,8 @@
</div>
</template>
<a class="item ellipsis" href="{{item.sortUrl}}">
{{(item.sortNameEn || '').trim()}}{{item.sortName}}
<span class="en">{{(item.sortNameEn || '').trim()}}</span>
<span class="cn">{{item.sortName}}</span>
</a>
</template>
</div>
... ... @@ -54,6 +55,7 @@
left: 0;
overflow-x: hidden;
overflow-y: auto;
background: #f6f6f6;
}
.sidebar {
... ... @@ -65,11 +67,20 @@
padding: 0 30px;
height: 124px;
line-height: 124px;
font-size: 36px;
font-size: 30px;
font-weight: bold;
font-family: "BrownStd-Bold", "PingFang SC", Helvetica, Roboto, "Heiti SC", "黑体", Arial;
.en {
font-size: 36px;
}
.cn {
margin-left: -6px;
}
&:first-child {
font-size: 36px;
height: 142px;
line-height: 142px;
font-family: "PingFang SC", Helvetica, Roboto, "Heiti SC", "黑体", Arial;
... ... @@ -85,10 +96,14 @@
border-bottom: 1px solid #eee;
}
&:last-child:after {
&:last-child {
border-bottom: 1px solid #eee;
&:after {
content: none;
}
}
}
.sep {
margin-top: -1px;
... ... @@ -99,6 +114,7 @@
border-bottom: 1px solid #eee;
& + .item {
font-size: 36px;
height: 142px;
line-height: 142px;
font-family: "PingFang SC", Helvetica, Roboto, "Heiti SC", "黑体", Arial;
... ...