Fix:2457 【商城小程序】圣地分类改为左右滑动,不要换行
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view class="v12-justify-between v12-align-center v12-px-3 v12-mt-3">
|
||||
<view class="v12-justify-between v12-align-center v12-px-3 v12-mt-3 tabs-wrap">
|
||||
<view
|
||||
class="tab v12-font-bold v12-font-34 v12-dark-text "
|
||||
class="tab v12-font-bold v12-font-34 v12-dark-text v12-mr-3"
|
||||
v-for="(tab, index) in tabs"
|
||||
@click="handleTab(index,tab)"
|
||||
:key="index">
|
||||
@@ -151,7 +151,13 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
|
||||
.tabs-wrap{
|
||||
white-space: nowrap;
|
||||
overflow: scroll;
|
||||
.tab:last-child{
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
.map-icon{
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
|
||||
Reference in New Issue
Block a user