记住滚动得设置固定高度
<view class="tab">
<scroll-view scroll-y class="scroll_left">
<view v-for="(item,index) in cateNum" :key="item.id" class="left_item" @tap="tab(index)" :class="{active:index===cateIndex}">
<text>{{ item.cat_name }}</text>
</view>
</scroll-view>
<scroll-view scroll-y class="scroll_right">
<view v-for="(item, index) in cateRight" :key="index" class="Right_list">
<view v-for="item2 in item" :key="item2.cat_name">
<view v-if="cateIndex===index" class="item">
<view class="item_title" >
<text class="item_title_item">{{item2.cat_name}}</text>
</view>
<view class="item_image">
<navigator v-for="item3 in item2.children" :key="item3.cat_name" hover-class="none" class="I" :url="`/pages/goods_list/main?id=${item3.cat_pid}`">
<image :src="item3.cat_icon" mode="aspectFit" class="item_n_image" lazy-load></image>
<text>{{item3.cat_name}}</text>
</navigator>
</view>
</view>
</view>
</view>
</scroll-view>
</view>