<navigationBar bind:reload='requestAgain'></navigationBar>
<view class="worksBox">
    <!-- 切换类型 -->
    <view class="selectType {{isFixed?'isFixed isFixed2':''}}" style="top:{{navBarHeight}}px;" bindtap="changeType">
        <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 wx:if="{{currentType!='7'}}" id="worksList"
        videoType="{{currentType=='4'||currentType=='6'?'follow':'my'}}" worksList="{{list}}" tabBarPadding='true'
        autoPlay='{{false}}' />
    <emptyBg wx:if="{{nullList}}"
        message="{{currentType=='4'?'您还没有关注的用户哦':currentType=='5'?'您还没有作品哦，赶快去发表吧':'您还没有收藏作品哦'}}"></emptyBg>
</view>
<canvas id='share' type="2d"> </canvas>