微信小程序 选项卡 窗口顶部TabBar页面切换二:数据在js中定义

一、wxml代码 <!-- 上方tabBar 开始 --> < view class= "swiper-tab"> < block wx:for= "{{cateItems}}" wx:key= "id"> < view class= "swiper-tab-list {{currentTab==item.cate_id ? 'on' : ''}}" data-current= "{{item.c
相关文章
相关标签/搜索