vip.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <skeleton />
  2. <view class='card_bg'>
  3. <block wx:if="{{isvip}}">
  4. <view class="card_id green">
  5. <view class='card-face'>
  6. <open-data type="userAvatarUrl"></open-data>
  7. </view>
  8. <view class='card-title'>
  9. <view class='card-name'>
  10. <open-data class="user-admin onelist-hidden" type="userNickName"></open-data>
  11. </view>
  12. <view class='card-text'>尊敬的专享会员您好</view>
  13. </view>
  14. <view class='card-no'>No.{{ucode}}</view>
  15. <view class='card-store'>用众人智慧,为你谋实惠</view>
  16. </view>
  17. </block>
  18. <block wx:else>
  19. <view class='card_id red' url='../card/reg' hover-class="none">
  20. <view class='card-face'>
  21. <open-data type="userAvatarUrl"></open-data>
  22. </view>
  23. <view class='card-title'>
  24. <view class='card-name'>
  25. <open-data type="userNickName"></open-data>
  26. </view>
  27. <view class='card-text'>未加入会员</view>
  28. </view>
  29. <view class='card-open'>
  30. <view class='card-open-text'>专享会员,享会员专属福利</view>
  31. <button bindtap="openVip">立即加入</button>
  32. </view>
  33. <view class='card-level'>¥{{price}}</view>
  34. <view class='card-bg'></view>
  35. </view>
  36. </block>
  37. </view>
  38. <view class='title'>会员必读</view>
  39. <van-cell-group>
  40. <van-cell title="我的账单" icon="orders-o" url="/pages/money/index" is-link/>
  41. <van-cell title="我的粉丝" icon="like-o" url="customer" is-link/>
  42. <van-cell title="服务协议" icon="completed" bind:click="contract" is-link/>
  43. <van-cell title="会员特权" icon="sign" bind:click="service" is-link/>
  44. </van-cell-group>
  45. <!-- 古德云支付组件 -->
  46. <goodpay wx:if="{{ chickPayBtn }}" params="{{ orderParams }}" bindSuccess="goodPaySuccess" bindFail="goodPayFail" bindComplete="goodPayComplete" bind:Change="goodPayChange"/>