Commit 095da818 by 李伟康

修改样式

1 parent 9914ce6e
......@@ -7,7 +7,9 @@
:key="index"
@click="change(index)"
>
{{i}}
<div class="text text-hide">
{{i}}
</div>
<template v-if="index == 1">
<div class="arrow"></div>
</template>
......@@ -23,7 +25,9 @@
:class="['options-item flex',{'active':i.active}]"
:key="index"
@click="chooseBrand({i,index})"
>{{i.brandName}}</div>
>
<div class="text-hide">{{i.brandName}}</div>
</div>
</template>
</div>
</div>
......@@ -131,6 +135,9 @@ export default {
.brand {
padding: 0 16px;
border-radius: 0 4px 4px 0;
.text {
width: calc(100% - 20px);
}
&:hover ~ .options-box {
display: block;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!