微信小程序 選項卡 窗口頂部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
相關文章
相關標籤/搜索