|
@@ -4,13 +4,16 @@
|
|
|
<banner classify='{{currentType}}' />
|
|
|
<!-- 切换类型 -->
|
|
|
<view class="selectType {{isFixed?'isFixed isFixed2':''}}" style="top:{{navBarHeight}}px;" bindtap="changeType">
|
|
|
+ <view class="type {{currentType=='7'?'currentType':''}}" data-type='7'>排行榜</view>
|
|
|
<view class="type {{currentType=='4'?'currentType':''}}" data-type='4'>关注作品</view>
|
|
|
<view class="type {{currentType=='5'?'currentType':''}}" data-type='5'>我的作品</view>
|
|
|
<view class="type {{currentType=='6'?'currentType':''}}" data-type='6'>收藏作品</view>
|
|
|
</view>
|
|
|
<!-- 优秀作品展播及官方推荐列表组件 -->
|
|
|
- <worksList id="worksList" videoType="{{currentType=='4'||currentType=='6'?'follow':'my'}}" worksList="{{list}}"
|
|
|
- tabBarPadding='true' autoPlay='{{false}}' />
|
|
|
+ <worksList wx:if="{{currentType!='7'}}" id="worksList"
|
|
|
+ videoType="{{currentType=='4'||currentType=='6'?'follow':'my'}}" worksList="{{list}}" tabBarPadding='true'
|
|
|
+ autoPlay='{{false}}' />
|
|
|
+ <activityList wx:if="{{currentType=='7'}}" />
|
|
|
<emptyBg wx:if="{{nullList}}"
|
|
|
message="{{currentType=='4'?'您还没有关注的用户哦':currentType=='5'?'您还没有作品哦,赶快去发表吧':'您还没有收藏作品哦'}}"></emptyBg>
|
|
|
</view>
|