result.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. <view class="result">
  2. <view class="result-content">
  3. <view class="subtitleColor icon result-icon {{status==1?'icon-zfcg':status==2?'icon-zfsb':'icon-cry'}}"></view>
  4. <view class="mTop20 font14">
  5. <view wx:if="{{status==1}}">
  6. <view>恭喜你,</view>
  7. <text class="weight">【冬夏令营成长卡】</text>领取成功。
  8. </view>
  9. <view wx:elif="{{status==2}}">
  10. <view class="weight">【冬夏令营成长卡】</view>已使用,不能领取。
  11. </view>
  12. <view wx:elif="{{status==3||status==4}}">
  13. <view>你来晚了,</view><text class="weight">【冬夏令营成长卡】</text>{{status==3?"已被领取":"已过期"}}。
  14. </view>
  15. <view wx:elif="{{status==6}}">
  16. <view class="weight">【冬夏令营成长卡】</view>自己不能领取。
  17. </view>
  18. </view>
  19. <view class='buttons-row buttons-gutter'>
  20. <button class='button button-radius button-plain' wx:if="{{status==1}}" bindtap="seeCard">查看我的卡</button>
  21. <button class='button button-radius button-plain' wx:else>
  22. <navigator url="/pages/home/index" hover-class="none" open-type="switchTab">查看活动</navigator>
  23. </button>
  24. <button class='button button-radius button-subtitle' wx:if="{{status==1}}">
  25. <navigator url="/pages/home/index" hover-class="none" open-type="switchTab">立即使用</navigator>
  26. </button>
  27. </view>
  28. </view>
  29. </view>
  30. <recommend/>
  31. <navigator class="common_fix common_home" open-type="reLaunch" url="/pages/home/index" hover-class="none">
  32. <text class="icon icon-home"></text>
  33. </navigator>