|
@@ -1,3 +1,80 @@
|
|
|
<template name="my">
|
|
|
- <view> my {{myData.title}} </view>
|
|
|
+ <view>
|
|
|
+ <view class='mine-top'>
|
|
|
+ <view class='avatar-box'>
|
|
|
+ <image src="{{ myData.imgUrl }}" background-size="cover"></image>
|
|
|
+ </view>
|
|
|
+ <view class='mine-info'>
|
|
|
+ <view>用户昵称{{ myData.name }}</view>
|
|
|
+ <view>{{ myData.address[0] }},{{ myData.address[1] }},{{ myData.address[2] }}</view>
|
|
|
+ </view>
|
|
|
+ <view class='edit'>
|
|
|
+ <view class='icon'></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class='category'>
|
|
|
+ <view class='play'>
|
|
|
+ <view>{{ myData.playNum }}</view>
|
|
|
+ <text>播放</text>
|
|
|
+ </view>
|
|
|
+ <view class='attention'>
|
|
|
+ <view>{{ myData.attentionCount }}</view>
|
|
|
+ <text>关注</text>
|
|
|
+ <view class='attentionCount' bindtap='attentionCountAdd'>+5</view>
|
|
|
+ </view>
|
|
|
+ <view class='point'>
|
|
|
+ <view>{{ myData.point }}</view>
|
|
|
+ <text>赞</text>
|
|
|
+ </view>
|
|
|
+ <view class='red-flower'>
|
|
|
+ <view>{{ myData.flowerNum }}</view>
|
|
|
+ <text>红花</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class='wallet'>
|
|
|
+ <view class='wallet-title'>
|
|
|
+ <view class='image-box'>
|
|
|
+ <image src='{{ myData.imgUrl }}'></image>
|
|
|
+ </view>
|
|
|
+ <text class='text'>钱包</text>
|
|
|
+ </view>
|
|
|
+ <view class='wallet-detail'> > </view>
|
|
|
+ </view>
|
|
|
+ <view class='grouping'>
|
|
|
+ <view class='grouping-title'>
|
|
|
+ <view class='image-box'>
|
|
|
+ <image src='{{ myData.imgUrl }}'></image>
|
|
|
+ </view>
|
|
|
+ <text class='text'>我的拼团</text>
|
|
|
+ </view>
|
|
|
+ <view class='grouping-detail'> > </view>
|
|
|
+ </view>
|
|
|
+ <view class='reader'>
|
|
|
+ <view class='reader-title'>
|
|
|
+ <view class='image-box'>
|
|
|
+ <image src='{{ myData.imgUrl }}'></image>
|
|
|
+ </view>
|
|
|
+ <text class='text'>我的朗读</text>
|
|
|
+ </view>
|
|
|
+ <view class='reader-detail'> > </view>
|
|
|
+ </view>
|
|
|
+ <view class='keep'>
|
|
|
+ <view class='keep-title'>
|
|
|
+ <view class='image-box'>
|
|
|
+ <image src='{{ myData.imgUrl }}'></image>
|
|
|
+ </view>
|
|
|
+ <text class='text'>我的收藏</text>
|
|
|
+ </view>
|
|
|
+ <view class='keep-detail'> > </view>
|
|
|
+ </view>
|
|
|
+ <view class='attention-me'>
|
|
|
+ <view class='attention-me-title'>
|
|
|
+ <view class='image-box'>
|
|
|
+ <image src='{{ myData.imgUrl }}'></image>
|
|
|
+ </view>
|
|
|
+ <text class='text'>我的关注</text>
|
|
|
+ </view>
|
|
|
+ <view class='attention-me-detail'> > </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</template>
|