新增专区,调整分页bug

This commit is contained in:
2024-09-05 14:05:14 +08:00
parent b990456593
commit 9a6c4d30f4
24 changed files with 448 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
<!--pages/encyclopedia/index.wxml-->
<navigator title="电力百科" canBack="{{true}}" />
<van-tabs active="{{ active }}" bind:change="onChange">
<van-tab wx:for="{{categoryList}}" wx:key="id" title="{{item.name}}">
<item id="{{item.id}}" wx:if="{{index === active}}" />
</van-tab>
</van-tabs>