add.wxml 1.9 KB

123456789101112131415161718192021222324252627282930
  1. <template name="options">
  2. <view class="options-bg" id="{{cellProductId}}" bindtap="selectAction" hidden="{{hidden}}">
  3. <view class="options-icon-bg">
  4. <image class="options-icon" src="../../resource/ic_brain_coin.png" mode="aspectFit"></image>
  5. </view>
  6. <view class="options-content">
  7. <view class="options-title">{{name}}</view>
  8. <view class="options-menoy">¥ {{fee / 100}}</view>
  9. </view>
  10. <view class="options-welfare-bg">
  11. <view class="options-welfare" hidden="{{type!=1}}">{{top}}</view>
  12. </view>
  13. <image wx:if="{{selected}}" class="options-selected" src="../../resource/add_hook.png"></image>
  14. <view wx:else class="options-check"></view>
  15. </view>
  16. </template>
  17. <view class="top-view"></view>
  18. <view class="tips">脑力值可按一定速度分裂增殖,可分享本小程序给好友攒脑力值,但最快捷的方式是打赏获得更多脑力值</view>
  19. <template is="options" wx:if="{{canPay}}" wx:for="{{options}}" wx:for-index="i" wx:key=" " data="{{...options[i]}}"/>
  20. <view wx:if="{{canPay}}" class="buy" bindtap="buyAction" >立即打赏赚脑力值</view>
  21. <view wx:else class="can-not-pay">
  22. <image src="../../resource/add_on_pay.png" class="can-not-pay-img"></image>
  23. <view class="can-not-pay-text-title">IOS在本页暂不支持支付</view>
  24. <view class="can-not-pay-text">可联系小脑客服,通过打赏获脑力值</view>
  25. <button class="contact" open-type="contact" session-from="{{contact.sfrom}}" show-message-card="{{contact.card}}" send-message-title="{{contact.message[0]}}" send-message-img="{{contact.message[1]}}" send-message-path="{{contact.message[2]}}">联系客服购买脑力值</button>
  26. </view>
  27. <!-- <button class="phone" hidden="{{phone!=''}}" hover-class="none" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">绑定手机号可赚{{getPhoneCell}}脑力值</button> -->
  28. <view class="bottom-tips">更多问题,可添加客服微信“hiachen”咨询</view>