|
@@ -1,30 +1,30 @@
|
|
<!-- <wxs src="../../pages/commonWxs/format.wxs" module="format" /> -->
|
|
<!-- <wxs src="../../pages/commonWxs/format.wxs" module="format" /> -->
|
|
-<wxs src="../../utils/filter.wxs" module="filters"/>
|
|
|
|
|
|
+<wxs src="../../utils/filter.wxs" module="filters" />
|
|
<template name="my">
|
|
<template name="my">
|
|
- <view class='mine-container'>
|
|
|
|
- <view class='follow-details'>
|
|
|
|
- <view class='follow-info'>
|
|
|
|
- <view class="info-placerholder"></view>
|
|
|
|
- <view class='set-msg' wx:if="{{myData.userInfo.wechatName }}" bindtap="toMyEdit">
|
|
|
|
- <view class='avatar-box'>
|
|
|
|
- <image class='avatar-image' src='{{ myData.userInfo.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'>昵称:{{ myData.userInfo.wechatName }}</view>
|
|
|
|
- <view class='avatar-nickname'>年级:{{myData.userInfo.gradeText }}</view>
|
|
|
|
- <image class="edit-img" src="../../static/index/edit.png" />
|
|
|
|
- <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 class='amount-text'>作品 {{ myData.user.readAmount || 0 }} </view>
|
|
|
|
|
|
+ <view class='mine-container'>
|
|
|
|
+ <view class='follow-details'>
|
|
|
|
+ <view class='follow-info'>
|
|
|
|
+ <view class="info-placerholder"></view>
|
|
|
|
+ <view class='set-msg' wx:if="{{myData.userInfo.wechatName }}" bindtap="toMyEdit">
|
|
|
|
+ <view class='avatar-box'>
|
|
|
|
+ <image class='avatar-image' src='{{ myData.userInfo.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'>昵称:{{ myData.userInfo.wechatName }}</view>
|
|
|
|
+ <view class='avatar-nickname'>年级:{{myData.userInfo.gradeText }}</view>
|
|
|
|
+ <image class="edit-img" src="../../static/index/edit.png" />
|
|
|
|
+ <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 class='amount-text'>作品 {{ myData.user.readAmount || 0 }} </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <!-- ios只显示红花 -->
|
|
|
|
- <!-- <view class="only-flower" wx:if="{{myData.isIOS}}" bindtap="goToFlower">
|
|
|
|
|
|
+ <!-- ios只显示红花 -->
|
|
|
|
+ <!-- <view class="only-flower" wx:if="{{myData.isIOS}}" bindtap="goToFlower">
|
|
<view class="grey-point"></view>
|
|
<view class="grey-point"></view>
|
|
<view class="flower-amount">
|
|
<view class="flower-amount">
|
|
<image class="" src='../../static/image/flower_small.png' />
|
|
<image class="" src='../../static/image/flower_small.png' />
|
|
@@ -37,70 +37,71 @@
|
|
<view class="flower-tips" wx:if="{{myData.user.unfinishedAmount <= 0}}">今天任务全部完成,真棒</view>
|
|
<view class="flower-tips" wx:if="{{myData.user.unfinishedAmount <= 0}}">今天任务全部完成,真棒</view>
|
|
</view> -->
|
|
</view> -->
|
|
|
|
|
|
- <view class="vip-con" wx:if="{{myData.isIOS}}">
|
|
|
|
- <image src="http://reader-wx.ai160.com/images/reader/pay/vip_bg.png" />
|
|
|
|
- <view class="invite" wx:if="{{!myData.isVIP}}" bindtap="myPlase">快去邀请好友 免费领取会员></view>
|
|
|
|
- <view wx:else>
|
|
|
|
- <view class="vip-end-time">{{filters.formatDate(myData.date)}}到期</view>
|
|
|
|
- <view class="order-buy vip-buy" bindtap="myPlase">
|
|
|
|
- 邀请有礼>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="vip-con" wx:else>
|
|
|
|
- <image src="http://reader-wx.ai160.com/images/reader/pay/vip_bg.png" />
|
|
|
|
- <view wx:if="{{!myData.isVIP}}">
|
|
|
|
- <view class="price">
|
|
|
|
- <text >{{myData.price}}</text>元/月
|
|
|
|
- </view>
|
|
|
|
- <view class="flase-price">
|
|
|
|
- 原价:29.9元/月
|
|
|
|
- </view>
|
|
|
|
- <view class="order-buy" bindtap="moneyBuy">
|
|
|
|
- 限时抢购>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view wx:else>
|
|
|
|
- <view class="vip-end-time">{{filters.formatDate(myData.date)}}到期</view>
|
|
|
|
- <view class="order-buy vip-buy" bindtap="moneyBuy">
|
|
|
|
- 立即续费>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <!-- android 显示两个 -->
|
|
|
|
- <view class="wallet-section">
|
|
|
|
- <view class="flower-box" bindtap="goToFlower">
|
|
|
|
- <view class="grey-point"></view>
|
|
|
|
- <view class="flower-box-box">
|
|
|
|
- <image class="flower-icon" src='../../static/image/flower_small.png' />
|
|
|
|
- <view class="flower-text">
|
|
|
|
- <view>小红花:{{myData.user.integralAmount || 0 }}</view>
|
|
|
|
|
|
+ <view class="vip-con" wx:if="{{myData.isIOS}}">
|
|
|
|
+ <image src="http://reader-wx.ai160.com/images/reader/pay/vip_bg.png" />
|
|
|
|
+ <view class="invite" wx:if="{{!myData.isVIP}}" bindtap="myPlase">快去邀请好友 免费领取会员></view>
|
|
|
|
+ <view wx:else>
|
|
|
|
+ <view class="vip-end-time">{{filters.formatDate(myData.date)}}到期</view>
|
|
|
|
+ <view class="order-buy vip-buy" bindtap="myPlase">
|
|
|
|
+ 邀请有礼>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="vip-con" wx:else>
|
|
|
|
+ <image src="http://reader-wx.ai160.com/images/reader/pay/vip_bg.png" />
|
|
|
|
+ <view wx:if="{{!myData.isVIP}}">
|
|
|
|
+ <view class="price">
|
|
|
|
+ <text>{{myData.price}}</text>元/月
|
|
|
|
+ </view>
|
|
|
|
+ <view class="flase-price">
|
|
|
|
+ 原价:29.9元/月
|
|
|
|
+ </view>
|
|
|
|
+ <view class="order-buy" bindtap="moneyBuy">
|
|
|
|
+ 限时抢购>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view wx:else>
|
|
|
|
+ <view class="vip-end-time">{{filters.formatDate(myData.date)}}到期</view>
|
|
|
|
+ <view class="order-buy vip-buy" bindtap="moneyBuy">
|
|
|
|
+ 立即续费>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- android 显示两个 -->
|
|
|
|
+ <view class="wallet-section">
|
|
|
|
+ <view class="flower-box" bindtap="goToFlower">
|
|
|
|
+ <view class="grey-point"></view>
|
|
|
|
+ <view class="flower-box-box">
|
|
|
|
+ <image class="flower-icon" src='../../static/image/flower_small.png' />
|
|
|
|
+ <view class="flower-text">
|
|
|
|
+ <view>小红花:{{myData.user.integralAmount || 0 }}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="flower-tips-text">
|
|
|
|
+ <text class="flower-last">{{myData.user.unfinishedAmount }}</text>
|
|
|
|
+ 个任务福利还没有完成
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="btn-section">
|
|
|
|
+ <view class="btn" bindtap='toMyConcern'>
|
|
|
|
+ <image class="btn-icon" src="../../static/image/concern.png" />
|
|
|
|
+ <view class="btn-title">我的关注</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="btn" bindtap='toMyKeep'>
|
|
|
|
+ <image class="btn-icon" src="../../static/image/collect.png" />
|
|
|
|
+ <view class="btn-title">我的收藏</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="btn">
|
|
|
|
+ <image class="btn-icon" src="../../static/image/message.png" bindtap="goToMessage" />
|
|
|
|
+ <view class="btn-title">消息通知</view>
|
|
|
|
+ </view>
|
|
|
|
+ <button class="btn" bindtap="goToService" open-type="contact" plain="true" hover-class="none"
|
|
|
|
+ style="border: none;">
|
|
|
|
+ <image class="btn-icon" src="../../static/index/contact.png"></image>
|
|
|
|
+ <view class="btn-title">联系客服</view>
|
|
|
|
+ </button>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="flower-tips-text">
|
|
|
|
- <text class="flower-last">{{myData.user.unfinishedAmount }}</text>
|
|
|
|
- 个任务福利还没有完成
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="btn-section">
|
|
|
|
- <view class="btn" bindtap='toMyConcern'>
|
|
|
|
- <image class="btn-icon" src="../../static/image/concern.png" />
|
|
|
|
- <view class="btn-title">我的关注</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="btn" bindtap='toMyKeep'>
|
|
|
|
- <image class="btn-icon" src="../../static/image/collect.png" />
|
|
|
|
- <view class="btn-title">我的收藏</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="btn">
|
|
|
|
- <image class="btn-icon" src="../../static/image/message.png" bindtap="goToMessage" />
|
|
|
|
- <view class="btn-title">消息通知</view>
|
|
|
|
</view>
|
|
</view>
|
|
- <button class="btn" bindtap="goToService" open-type="contact" plain="true" hover-class="none" style="border: none;">
|
|
|
|
- <image class="btn-icon" src="../../static/index/contact.png"></image>
|
|
|
|
- <view class="btn-title">联系客服</view>
|
|
|
|
- </button>
|
|
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
</template>
|
|
</template>
|