1.干就完了
2.写点代码
<!-- 头部 -->
<view class="navbar">
<view v-for="(item, index) in navList" :key="index" class="nav-item" :class="{ current: tabCurrentIndex === index }" @click="tabClick(index)">
{{ item.text }}
</view>
</view>
1.干就完了
2.写点代码
<!-- 头部 -->
<view class="navbar">
<view v-for="(item, index) in navList" :key="index" class="nav-item" :class="{ current: tabCurrentIndex === index }" @click="tabClick(index)">
{{ item.text }}
</view>
</view>
本文标题:uni-app使用经验
本文链接:https://www.haomeiwen.com/subject/mhaduhtx.html
网友评论