|
@@ -1,9 +1,11 @@
|
|
|
<view class="worksBox">
|
|
|
<!-- 作品列表 -->
|
|
|
- <canvas id='share' type="2d" > </canvas>
|
|
|
- <block wx:for="{{list}}" wx:key="index">
|
|
|
- <videoPreview videoInfo="{{item}}" index='{{index}}' currentId="{{currentId}}" data-id="{{item.userRead.id}}"
|
|
|
- bind:playVideo="playVideo" bind:changStatus="changStatus" bind:getList="getSelfRead">
|
|
|
+ <canvas id='share' type="2d"> </canvas>
|
|
|
+ <block wx:if="{{list.length>0}}">
|
|
|
+ <videoPreview wx:for="{{list}}" wx:key="index" videoInfo="{{item}}" index='{{index}}' currentId="{{currentId}}"
|
|
|
+ data-id="{{item.userRead.id}}" bind:playVideo="playVideo" bind:changStatus="changStatus"
|
|
|
+ bind:getList="getSelfRead">
|
|
|
</videoPreview>
|
|
|
</block>
|
|
|
+ <emptyBg wx:if="{{list.length==0}}" message='您还没有作品哦,赶快去发表吧!'></emptyBg>
|
|
|
</view>
|