123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <!-- <wxs src="../../pages/commonWxs/format.wxs" module="format" /> -->
- <template name="my">
- <view class='mine-container'>
- <view class='follow-details'>
- <view class='follow-info'>
- <view class='set-msg' wx:if="{{myData.user.user.wechatName}}">
- <view class='avatar-box'>
- <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>
- <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>
- <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 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>
- </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>
- </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>
- <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>
- <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>
- <text>红花</text>
- </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>
- </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>
- </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>
- </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>
- <text>我的朗读</text>
- </view>
- <view class='wallet-right'>
- <image src='../../static/image/to.png'></image>
- </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>
- </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>
- <text>我的关注</text>
- </view>
- <view class='wallet-right'>
- <image src='../../static/image/to.png'></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
|