|
@@ -1,3 +1,4 @@
|
|
|
+<!-- 搜索 -->
|
|
|
<van-search value="{{ searchContent }}" use-action-slot shape="round" background="var(--primary)" placeholder="请输入搜索关键词">
|
|
|
<view class="upload-box" slot='action'>
|
|
|
<navigator url="/pages/promotional/upload" class="upload">
|
|
@@ -6,13 +7,22 @@
|
|
|
</navigator>
|
|
|
</view>
|
|
|
</van-search>
|
|
|
-
|
|
|
-<van-tabs swipeable sticky color='var(--assist)' title-active-color='var(--assist)' title-inactive-color='#999999'>
|
|
|
- <van-tab title="列表">
|
|
|
- <ProductList></ProductList>
|
|
|
- </van-tab>
|
|
|
- <van-tab title="我的素材">
|
|
|
- <ProductList></ProductList>
|
|
|
- </van-tab>
|
|
|
- <van-tab title="拉新清单">内容 3</van-tab>
|
|
|
-</van-tabs>
|
|
|
+<!-- tabs -->
|
|
|
+<van-tabs sticky color='var(--assist)' title-active-color='var(--assist)' title-inactive-color='#999' z-index='9'>
|
|
|
+ <van-tab title="列表" />
|
|
|
+ <van-tab title="我的素材" />
|
|
|
+ <van-tab title="拉新清单" />
|
|
|
+</van-tabs>
|
|
|
+<!-- 下拉菜单 -->
|
|
|
+<van-dropdown-menu class="menu" activeColor='var(--assist)'>
|
|
|
+ <van-dropdown-item id="item" title="{{activeId||'默认'}}">
|
|
|
+ <van-tree-select items="{{ items }}" main-active-class='main-active' content-active-class='content-active' main-active-index="{{ mainActiveIndex }}" active-id="{{activeId}}" bind:click-nav="onClickNav" bind:click-item="onClickItem" />
|
|
|
+ </van-dropdown-item>
|
|
|
+ <view class="switch">
|
|
|
+ <My_switch></My_switch>
|
|
|
+ </view>
|
|
|
+</van-dropdown-menu>
|
|
|
+<!-- 列表 -->
|
|
|
+<My_listBox height='{{scrollHeight}}'>
|
|
|
+ <ProductList />
|
|
|
+</My_listBox>
|