Fix:2987 【商城小程序】寻趣味分类,古镇应该始终固定在左侧,现在往右滑动会把古镇分类挤掉,详情见视频附件
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</view>
|
||||
<view>
|
||||
|
||||
<scroll-view class="type-box flex" scroll-x enable-flex>
|
||||
<view class="type-box flex" >
|
||||
<view class="first-box">
|
||||
<view class="first-box__inner">
|
||||
<view
|
||||
@@ -57,6 +57,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view style="padding-left: 0" class="type-box flex " scroll-x enable-flex>
|
||||
<view class="scroll-box">
|
||||
<view
|
||||
v-for="(item, index) in typeList"
|
||||
@@ -64,7 +65,7 @@
|
||||
:class="{
|
||||
'active': typeIndex === index
|
||||
}"
|
||||
class="item flex-0 flex flex-col jc-center ai-center"
|
||||
class="item flex-0 flex flex-col jc-center ai-center v12-white"
|
||||
@click="tapType(index)"
|
||||
>
|
||||
<image :src="item.icon" mode="scaleToFill"/>
|
||||
@@ -74,6 +75,7 @@
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="type-banner-wrap">
|
||||
<view v-if="currType.titleImage" class="title">
|
||||
<image
|
||||
|
||||
Reference in New Issue
Block a user