12345678910111213141516171819202122232425262728293031323334 |
- <van-search value="{{ content.where.condition }}" bind:change='searchInput' bind:clear='searchClear' shape="round" background="var(--bgColor)" placeholder="搜索文件" />
- <van-tabs class="tabs" color='var(--assist)' bind:change='tabsChange' title-active-color='var(--assist)' sticky>
- <van-tab title="列表" />
- <van-tab title="收藏夹" />
- <view slot='nav-right' class="switch">
- <My_switch bindchange='changeSwitch' />
- </view>
- </van-tabs>
- <My_listBox id="ListBox" height='{{listHeight}}' bind:getlist='getList'>
- <view class="unread">总共{{inTotal}}个,有1个更新</view>
- <My_files list="{{list}}" checkedId='{{fileSelected.attachmentid}}' bindchangeId='changeId' />
- <My_empty wx:if="{{list.length==0}}" />
- <view style="height: 200rpx;" />
- </My_listBox>
- <van-action-sheet show="{{ show }}" bind:click-overlay='closeShow'>
- <view class="sheet-header">
- <image src="/static/image/file/{{fileSelected.postfix}}.png" />
- <view class="line-1">{{fileSelected.document}}</view>
- </view>
- <navigator url='#' class="option" bindtap="isCollect">
- <block wx:if="{{fileSelected.isCollect==0}}">
- <van-icon class="icon star-o" name="star-o" />收藏
- </block>
- <block wx:else>
- <van-icon class="icon star" name="star" />取消收藏
- </block>
- </navigator>
- <navigator wx:if="{{fileSelected.postfix!='folder'}}" url='#' class="option">
- <text class="iconfont icon-a-tonggaoshujuxiazailiang icon" />下载
- </navigator>
- <view style="height: 115rpx;" />
- </van-action-sheet>
|