1234567891011121314151617181920212223242526272829 |
- <!-- 搜索 -->
- <van-search value="{{ searchContent }}" bind:change='searchInput' use-action-slot shape="round" bind:clear='searchClear' background="var(--primary)" placeholder="请输入搜索关键词">
- <view wx:if="{{isInsert}}" class="upload-box" slot='action'>
- <navigator url="#" class="upload" bindtap="addData">
- <text class="iconfont icon-a-tuiguangsucaishangchuan1" />
- 上传
- </navigator>
- </view>
- </van-search>
- <van-action-sheet show="{{ sheetShow }}" actions="{{ actions }}" bind:close="sheetClose" bind:cancel="sheetClose" bind:select="sheetSelect" cancel-text="取消" />
- <!-- tabs -->
- <van-tabs wx:if="{{isTabs}}" sticky color='var(--assist)' title-active-color='var(--assist)' bind:change='tabChange' title-inactive-color='#999' z-index='9'>
- <van-tab title="列表" />
- <van-tab title="我的素材" />
- </van-tabs>
- <!-- 下拉菜单 -->
- <van-dropdown-menu class="menu" activeColor='var(--assist)'>
- <van-dropdown-item id="item" title="{{activeName||'默认'}}">
- <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 bindchange='changeSwitch' sort="{{sort}}" />
- </view>
- </van-dropdown-menu>
- <!-- 列表 -->
- <My_listBox id='ListBox' bindgetlist="getList" height='{{scrollHeight}}'>
- <ProductList id='list' total="{{total}}" list="{{list}}" />
- <view style="height: 50px;" />
- </My_listBox>
|