双级联动:
<template>
<view>
<!-- <view class="box1"></view>
<view class="box2"></view> -->
<view class="ld">
<view class="left">
<view v-for="
(item,index) in list"
:key="index"
@click="setId(index)"
:class="{active:index===cu}"
>
{
{item.title}}
</view>
</view>
<view class="right">
<scroll-view
scroll-y="true"
style="white-space: nowrap;height:200px;"
:scroll-into-view="clickId"
scroll-with-animation
@scroll="scroll"
@scrolltolower="scrolltolower"
><!-- scroll-with-animation在设置滚动条位置时使用动画过渡 -->
<!--@scroll滚动时触发-->
<view v-for="(item,index) in list" :key=