1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!-- <wxs src="../../pages/commonWxs/format.wxs" module="format" /> -->
- <wxs src="../../utils/filter.wxs" module="filters" />
- <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.nickName }}" 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.nickName }}</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.fansAmount || 0 }}</view>
- <view class='amount-text'>作品 {{ myData.user.readAmount || 0 }} </view>
- </view>
- </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>
- </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>
- </template>
|