<template>
<view style="display: flex;">
<view class="detail-items">
<view v-for="(item,index) in items" :class="index == current ? 'active' : ''" @click="onClickItem(index)" class="detail-item">
<text class="text">{
{item}}</text>
</view>
</view>
<view class="per_content">
<view class="detail-content" v-if="current == 0 ? 'hide' : ''">
<view v-for="i in 15">
<view style="margin-top: 50px;">122222</view>
</view>
</view>
<view class="detail-
uniapp使用swiper组件自定义左侧菜单栏和切换菜单
于 2022-10-13 20:59:04 首次发布