修改代客下单分类样式限制最大三行
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
:scroll-top="data.scrollTop" :scroll-into-view="data.itemId">
|
:scroll-top="data.scrollTop" :scroll-into-view="data.itemId">
|
||||||
<view v-for="(item,index) in data.tabbar" :key="index" class="u-tab-item"
|
<view v-for="(item,index) in data.tabbar" :key="index" class="u-tab-item"
|
||||||
:class="[data.current == index ? 'u-tab-item-active' : '']" @tap.stop="swichMenu(index)">
|
:class="[data.current == index ? 'u-tab-item-active' : '']" @tap.stop="swichMenu(index)">
|
||||||
<text class="u-line-1">{{item.name}}</text>
|
<text class="u-line-3">{{item.name}}</text>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<scroll-view :scroll-top="data.scrollRightTop" scroll-y scroll-with-animation class="right-box"
|
<scroll-view :scroll-top="data.scrollRightTop" scroll-y scroll-with-animation class="right-box"
|
||||||
@@ -1171,6 +1171,8 @@
|
|||||||
color: #444;
|
color: #444;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-tab-item-active {
|
.u-tab-item-active {
|
||||||
|
|||||||
Reference in New Issue
Block a user