vipActivity.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!--pages/vipActivity/vipActivity.wxml-->
  2. <wxs src="../../utils/filter.wxs" module="filters"/>
  3. <view class="vip-activity">
  4. <view class="vip-activity-con">
  5. <view class="vip-rule">
  6. <image class="vip-rule-bg" src="http://reader-wx.ai160.com/images/reader/pay/{{date ? 'vip_explain' : 'no_vip'}}.png" />
  7. <text class="expire-date">{{date && filters.formatDate(date) + '到期'}}</text>
  8. <view class="plase-rule">
  9. <text>邀请规则:</text>
  10. <text class="rule-con">{{isIOS ? '每分享3位好友助力,即可获得1月朗读会员' : '邀请1位好友付费成功,即可免费获得1月朗读会员'}}</text>
  11. </view>
  12. </view>
  13. <image class="plase-friend-bg" src="http://reader-wx.ai160.com/images/reader/pay/please_friend.png" />
  14. <view class="friend" wx:if="{{peopleNumData.length > 0}}">
  15. <view class="friend-title {{isIOS ? 'ios-title' : ''}}">
  16. <text >好友</text>
  17. <text class="name-title">昵称</text>
  18. <text >{{isIOS ? '助力日期' : '会员权益'}}</text>
  19. </view>
  20. <view class="friend-message" wx:for="{{peopleNumData}}" wx:key="{{item.user.uid}}">
  21. <image class="friend-head" src="{{item.user.avatar}}" />
  22. <view class="{{isIOS ? 'ios-name' : 'name'}}">
  23. <text style="font-weight: 500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{item.user.nickName}}</text>
  24. <text class="friend-date" hidden="{{isIOS}}">购买日期:{{filters.formatDate(item.orderInfo.gmtCreated)}}</text>
  25. </view>
  26. <text class="{{isIOS ? 'ios-friend-time' : 'friend-time'}}">{{isIOS ? filters.formatDate(item.userHelp.gmtCreated) : '+1个月'}}</text>
  27. </view>
  28. </view>
  29. <view wx:else class="no-data">
  30. <image src="http://reader-wx.ai160.com/images/reader/pay/no_one.png" />
  31. </view>
  32. </view>
  33. <view class="vip-go-read" bindtap="shareRead">
  34. <text>快喊小伙伴,一起来读课文吧!</text>
  35. </view>
  36. </view>
  37. <shareDialog id="share-dialog" shareType='readActivity' bindShareDialogClose="shareDialogClose" bindaddShareAmount="addShareAmount" shareId="{{id}}" />
  38. <canvas canvas-id="myCanvas" style="width:300px; height: 525px; position: absolute; left: -999rpx; top: -9999rpx;"></canvas>