提交 99a1bb5a 编写于 作者: guangjun.yang's avatar guangjun.yang

样式优化等

上级 069a61a5
此差异已折叠。
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<CardBanner :hasLogin="hasLogin"></CardBanner> <CardBanner :hasLogin="hasLogin"></CardBanner>
</section> </section>
<section class="body"> <section class="body">
<ul class="left"> <ul class="left fixed" :class="{'top': !existBind}">
<li <li
v-for="(model, mIndex) in titleTestModelList" v-for="(model, mIndex) in titleTestModelList"
:key="mIndex" :key="mIndex"
...@@ -23,6 +23,16 @@ ...@@ -23,6 +23,16 @@
> >
<span>{{model.title}}</span> <span>{{model.title}}</span>
</li> </li>
</ul>
<ul class="left">
<!-- <li
v-for="(model, mIndex) in titleTestModelList"
:key="mIndex"
:class="{active: currentModelIndex == mIndex}"
@click="selectModel(model, mIndex)"
>
<span>{{model.title}}</span>
</li> -->
</ul> </ul>
<article class="right"> <article class="right">
<ul class="list-wrapper"> <ul class="list-wrapper">
...@@ -53,6 +63,18 @@ ...@@ -53,6 +63,18 @@
</ul> </ul>
</article> </article>
</section> </section>
<!-- <section class="body">
<ul class="left-fixed">
<li
v-for="(model, mIndex) in titleTestModelList"
:key="mIndex"
:class="{active: currentModelIndex == mIndex}"
@click="selectModel(model, mIndex)"
>
<span>{{model.title}}</span>
</li>
</ul>
</section> -->
</section> </section>
<transition name="fade"> <transition name="fade">
...@@ -345,14 +367,14 @@ export default { ...@@ -345,14 +367,14 @@ export default {
padding-top: px2rem(74px); padding-top: px2rem(74px);
min-height: 100vh; min-height: 100vh;
.body { .body {
min-height: 90vh; // min-height: 90vh;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
font-size: px2rem(14px); font-size: px2rem(14px);
color: #676869; color: #676869;
.left { .left {
width: px2rem(130px); width: px2rem(130px);
background: #f8f9fa; background: red;
li { li {
position: relative; position: relative;
display: block; display: block;
...@@ -375,6 +397,18 @@ export default { ...@@ -375,6 +397,18 @@ export default {
} }
} }
} }
&.fixed {
position: fixed;
top: px2rem(74px);
left: 0;
bottom: 0;
right: px2rem(130px);
z-index: 1;
background: #f8f9fa;
&.top {
top: px2rem(114px);
}
}
} }
.right { .right {
flex: 1; flex: 1;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册