|
@@ -3,156 +3,153 @@
|
|
<view class='mine-container'>
|
|
<view class='mine-container'>
|
|
<view class='follow-details'>
|
|
<view class='follow-details'>
|
|
<view class='follow-info'>
|
|
<view class='follow-info'>
|
|
|
|
+ <view class="info-placerholder"></view>
|
|
<view class='set-msg' wx:if="{{myData.user.user.wechatName}}">
|
|
<view class='set-msg' wx:if="{{myData.user.user.wechatName}}">
|
|
<view class='avatar-box'>
|
|
<view class='avatar-box'>
|
|
<image class='avatar-image' src='{{ myData.user.user.avatar }}'></image>
|
|
<image class='avatar-image' src='{{ myData.user.user.avatar }}'></image>
|
|
- <view class='occupation-title' wx:if="{{myData.user.user.profession}}">{{ myData.user.user.profession }}</view>
|
|
|
|
|
|
+ <!-- <view class='occupation-title' wx:if="{{myData.user.user.profession}}">{{ myData.user.user.profession }}</view> -->
|
|
</view>
|
|
</view>
|
|
<view class='avatar-msg'>
|
|
<view class='avatar-msg'>
|
|
- <view class='avatar-nickname'>
|
|
|
|
- <text>{{ myData.user.user.wechatName }}</text>
|
|
|
|
- <view class='flowers-box' wx:if='{{ myData.user.user.gender === 2 }}'>
|
|
|
|
- <image src='../../static/image/flowers.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <view class='flowers-box' wx:elif='{{ myData.user.user.gender === 1 }}'>
|
|
|
|
- <image src='../../static/image/boy.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <!-- <view wx:else class='gender-size'>未知</view> -->
|
|
|
|
|
|
+ <view class='avatar-nickname'>微信昵称:{{ myData.user.user.wechatName }}</view>
|
|
|
|
+ <view class='avatar-nickname'>宝贝昵称:{{ myData.user.user.wechatName }}的宝贝</view>
|
|
|
|
+ <view class='mine-category'>
|
|
|
|
+ <view class='amount-text'>{{ myData.user.playAmount || 0 }} 播放</view>
|
|
|
|
+ <view class='amount-text'>{{ myData.user.likeAmount || 0 }} 赞</view>
|
|
|
|
+ <view class='amount-text'>{{ myData.user.fansAmount || 0 }} 粉丝</view>
|
|
</view>
|
|
</view>
|
|
- <view class='avatar-birthday'>{{ myData.user.user.birthday }}</view>
|
|
|
|
- <view class='avatar-address'>{{ myData.user.user.schoolName }}</view>
|
|
|
|
- </view>
|
|
|
|
- <view class='mine-edit' bindtap='toMyEdit' data-title='{{ myData.title }}'>
|
|
|
|
- <!-- <view class='edit-image'> -->
|
|
|
|
- <image class='edit-img' src='../../static/image/reset.png'></image>
|
|
|
|
- <!-- </view> -->
|
|
|
|
- <view class='edit-text'>修改</view>
|
|
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class='set-msg-temp' hidden="{{myData.user.user.wechatName}}">
|
|
|
|
- <view class="placerholder line1"></view>
|
|
|
|
- <view class="placerholder line2"></view>
|
|
|
|
- <view class="placerholder line3"></view>
|
|
|
|
|
|
+ <!-- <view class='avatar-birthday'>{{ myData.user.user.birthday }}</view>
|
|
|
|
+ <view class='avatar-address'>{{ myData.user.user.schoolName }}</view> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class='mine-category'>
|
|
|
|
- <view class='play-count'>
|
|
|
|
- <view class='color' style="padding-right:38rpx;" >{{ myData.user.playAmount || 0 }}</view>
|
|
|
|
- <view class='border-right'>
|
|
|
|
- <view class='play-img'>
|
|
|
|
- <image src='../../static/image/play.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <text>播放量</text>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <!-- ios只显示红花 -->
|
|
|
|
+ <view class="only-flower" wx:if="{{myData.isIOS}}">
|
|
|
|
+ <view class="grey-point"></view>
|
|
|
|
+ <view class="flower-amount">
|
|
|
|
+ <image class="" src='../../static/image/flower_small.png' />
|
|
|
|
+ <view>小红花:{{myData.user.pointAmount || 0 }}</view>
|
|
</view>
|
|
</view>
|
|
- <view class='follow-count'>
|
|
|
|
- <view class='color' style="padding-right:48rpx;">{{ myData.user.fansAmount || 0 }}</view>
|
|
|
|
- <view class='border-right'>
|
|
|
|
- <view class='red-heart'>
|
|
|
|
- <image src='../../static/image/purple_heart.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <text>粉丝</text>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="flower-tips">
|
|
|
|
+ <text class="flower-last">{{myData.user.taskAmount }}</text>
|
|
|
|
+ 个任务福利还没有领哦
|
|
</view>
|
|
</view>
|
|
- <view class='point-count'>
|
|
|
|
- <view class='color' style="padding-right:60rpx;">{{ myData.user.likeAmount || 0 }}</view>
|
|
|
|
- <view class='border-right'>
|
|
|
|
- <view class='point-img'>
|
|
|
|
- <image src='../../static/image/point.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <text>赞</text>
|
|
|
|
- </view>
|
|
|
|
|
|
+ </view>
|
|
|
|
+ <!-- android 显示两个 -->
|
|
|
|
+ <view class="wallet-section" wx:if="{{!myData.isIOS}}">
|
|
|
|
+ <view class="wallet-box" bindtap="toWalletDetail">
|
|
|
|
+ <view class="grey-point"></view>
|
|
|
|
+ <image class="wallet-icon" src='../../static/image/wallet.png' />
|
|
|
|
+ <view>钱包:{{myData.user.walletAmount / 100 || 0 }}</view>
|
|
</view>
|
|
</view>
|
|
- <view class='flower-count'>
|
|
|
|
- <view class='color'>{{ myData.user.pointAmount || 0 }}</view>
|
|
|
|
- <view class='border-right'>
|
|
|
|
- <view class='play-img'>
|
|
|
|
- <image src='../../static/image/flower.png'></image>
|
|
|
|
|
|
+ <view class="flower-box">
|
|
|
|
+ <view class="grey-point"></view>
|
|
|
|
+ <image class="flower-icon" src='../../static/image/flower_small.png' />
|
|
|
|
+ <view class="flower-text">
|
|
|
|
+ <view>小红花:{{myData.user.pointAmount || 0 }}</view>
|
|
|
|
+ <view class="flower-tips-text">
|
|
|
|
+ <text class="flower-last">{{myData.user.taskAmount }}</text>
|
|
|
|
+ 个任务福利还没有领哦
|
|
</view>
|
|
</view>
|
|
- <text>红花</text>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class='wallet-module' bindtap='toMyWallet' data-title='{{ myData.wallet }}' wx:if="{{!myData.isIOS}}">
|
|
|
|
- <!-- <view class='wallet-module' bindtap='toMyWallet' data-title='{{ myData.wallet }}'> -->
|
|
|
|
- <view class='wallet-center'>
|
|
|
|
- <view class='wallet-left'>
|
|
|
|
- <view class='icon-box'>
|
|
|
|
- <image src='../../static/image/wallet.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <text>钱包</text>
|
|
|
|
- </view>
|
|
|
|
- <view class='wallet-right'>
|
|
|
|
- <image src='../../static/image/to.png'></image>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="btn-section">
|
|
|
|
+ <view class="btn" bindtap='toMyConcern'>
|
|
|
|
+ <image src="../../static/image/concern.png" />
|
|
|
|
+ <view class="btn-title">我的关注</view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class='course-module' bindtap='toMyCourse' data-title='{{ myData.course }}'>
|
|
|
|
- <view class='wallet-center'>
|
|
|
|
- <view class='wallet-left'>
|
|
|
|
- <view class='icon-box'>
|
|
|
|
- <image src='../../static/image/courses.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <text>我的课程</text>
|
|
|
|
- </view>
|
|
|
|
- <view class='wallet-right'>
|
|
|
|
- <image src='../../static/image/to.png'></image>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="btn" bindtap='toMyKeep' data-title='{{ myData.keep }}'>
|
|
|
|
+ <image src="../../static/image/collect.png" />
|
|
|
|
+ <view class="btn-title">我的收藏</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="btn" bindtap='toMyCollage' data-title='{{ myData.collage }}'>
|
|
|
|
+ <image src="../../static/image/firends.png" />
|
|
|
|
+ <view class="btn-title">我的{{myData.isIOS? '助力' : '拼团'}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="btn">
|
|
|
|
+ <image src="../../static/image/message.png" />
|
|
|
|
+ <view class="btn-title">消息通知</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <!-- <view class='group-module' bindtap='toMyCollage' data-title='{{ myData.collage }}' wx:if="{{!myData.isIOS}}"> -->
|
|
|
|
- <view class='group-module' bindtap='toMyCollage' data-title='{{ myData.collage }}'>
|
|
|
|
- <view class='wallet-center'>
|
|
|
|
- <view class='wallet-left'>
|
|
|
|
- <view class='icon-box'>
|
|
|
|
- <image src='../../static/image/group.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <text>我的{{myData.isIOS? '助力' : '拼团'}}</text>
|
|
|
|
- </view>
|
|
|
|
- <view class='wallet-right'>
|
|
|
|
- <image src='../../static/image/to.png'></image>
|
|
|
|
|
|
+ <view class="my-reading-section">
|
|
|
|
+ <view class="my-reading-title">
|
|
|
|
+ <view class="title-left">我的作品</view>
|
|
|
|
+ <view class="title-right" bindtap="toMyRead">
|
|
|
|
+ 更多
|
|
|
|
+ <image src="../../static/image/black_to.png" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class='reading-module' bindtap='toMyRead' data-title='{{ myData.read }}'>
|
|
|
|
- <view class='wallet-center'>
|
|
|
|
- <view class='wallet-left'>
|
|
|
|
- <view class='icon-box'>
|
|
|
|
- <image src='../../static/image/record.png'></image>
|
|
|
|
|
|
+ <view class="my-reading-gut">
|
|
|
|
+ <view class="worksCard" style="margin-bottom: 0;" bindtap="openWorks" data-readId="{{myData.user.myRead.id}}" data-title="{{myData.user.myRead.title}}">
|
|
|
|
+ <view class="topData">
|
|
|
|
+ <view class="worksLeft">
|
|
|
|
+ <image class="authorAvatar" lazy-load="true" src="{{myData.user.user.avatar}}" />
|
|
|
|
+ <view class="profession" wx:if="{{item.profession}}">{{item.profession}}</view>
|
|
|
|
+ <view class="worksInfo">
|
|
|
|
+ <view class="authorName">{{myData.user.user.wechatName}}</view>
|
|
|
|
+ <view class="time">{{myData.user.myRead.gmtCreated}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="numberInfo">
|
|
|
|
+ <view class="wareCardPlays">
|
|
|
|
+ <image class="wareCardPlaysImg" lazy-load="true" src="../../static/image/hotPlays.png" />
|
|
|
|
+ <text>{{myData.user.myRead.playAmount}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="wareCardLikes">
|
|
|
|
+ <image class="wareCardLikesImg" lazy-load="true" src="../../static/image/flower_small.png" />
|
|
|
|
+ <text>{{myData.user.myRead.likeAmount}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <image class="wareCardImg" src="{{myData.user.myRead.iconImg}}" />
|
|
|
|
+ <view class="titleSummary">
|
|
|
|
+ <text class="wareCardTitle">{{myData.user.myRead.title}}</text>
|
|
|
|
+ <text class="wareCardTip">{{myData.user.myRead.summary}}</text>
|
|
</view>
|
|
</view>
|
|
- <text>我的朗读</text>
|
|
|
|
- </view>
|
|
|
|
- <view class='wallet-right'>
|
|
|
|
- <image src='../../static/image/to.png'></image>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class='keep-module' bindtap='toMyKeep' data-title='{{ myData.keep }}'>
|
|
|
|
- <view class='wallet-center'>
|
|
|
|
- <view class='wallet-left'>
|
|
|
|
- <view class='icon-box'>
|
|
|
|
- <image src='../../static/image/keep.png'></image>
|
|
|
|
- </view>
|
|
|
|
- <text>我的收藏</text>
|
|
|
|
- </view>
|
|
|
|
- <view class='wallet-right'>
|
|
|
|
- <image src='../../static/image/to.png'></image>
|
|
|
|
|
|
+ <view class="my-reading-section ">
|
|
|
|
+ <view class="my-reading-title">
|
|
|
|
+ <view class="title-left">关注的人的作品</view>
|
|
|
|
+ <view class="title-right">
|
|
|
|
+ 更多
|
|
|
|
+ <image src="../../static/image/black_to.png" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class='myfollow-module' bindtap='toMyConcern' data-title='{{ myData.concern }}'>
|
|
|
|
- <view class='wallet-center'>
|
|
|
|
- <view class='wallet-left'>
|
|
|
|
- <view class='icon-box'>
|
|
|
|
- <image src='../../static/image/myfollow.png'></image>
|
|
|
|
|
|
+ <view class="my-reading-gut">
|
|
|
|
+ <view wx:for="{{followData}}" wx:key="{{index}}" class="worksCard" bindtap="openWorks" data-readid="{{item.id}}" data-title="{{item.title}}">
|
|
|
|
+ <view class="topData">
|
|
|
|
+ <view class="worksLeft" catchtap="goToUsers" data-uid="{{item.uid}}">
|
|
|
|
+ <image class="authorAvatar" lazy-load="true" src="{{item.avatar}}" />
|
|
|
|
+ <view class="profession" wx:if="{{item.profession}}">{{item.profession}}</view>
|
|
|
|
+ <view class="worksInfo">
|
|
|
|
+ <view class="authorName">{{item.nickName}}</view>
|
|
|
|
+ <view class="time">{{item.time}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="numberInfo">
|
|
|
|
+ <view class="wareCardPlays">
|
|
|
|
+ <image class="wareCardPlaysImg" lazy-load="true" src="../../static/image/hotPlays.png" />
|
|
|
|
+ <text>{{item.plays}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="wareCardLikes">
|
|
|
|
+ <image class="wareCardLikesImg" lazy-load="true" src="../../static/image/flower_small.png" />
|
|
|
|
+ <text>{{item.likes}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <image class="wareCardImg" src="{{item.img}}" />
|
|
|
|
+ <view class="titleSummary">
|
|
|
|
+ <text class="wareCardTitle">{{item.title}}</text>
|
|
|
|
+ <text class="wareCardTip">{{item.summary}}</text>
|
|
</view>
|
|
</view>
|
|
- <text>我的关注</text>
|
|
|
|
- </view>
|
|
|
|
- <view class='wallet-right'>
|
|
|
|
- <image src='../../static/image/to.png'></image>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="footer-section" wx:if="{{ifHaveMore}}">
|
|
|
|
+ 加载更多
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|