orderPay.vue 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <template>
  2. <view class="ezy-order-pay-page">
  3. <view class="ezy-navBar-box">
  4. <view class="nav-bar-icon"></view>
  5. <text class="nav-bar-title">订单支付</text>
  6. <view class="text-btn">取消订单</view>
  7. </view>
  8. <view class="order-pay-border-box">
  9. <!-- svip -->
  10. <view class="order-pay-img-box">
  11. <!-- :class="'order-pay-img'+item.cardId" 改到下方 -->
  12. <icon :class="'order-pay-img1'"></icon>
  13. <view class="img-content-box">
  14. <view class="content-name">SVIP终身卡</view>
  15. <text class="content-tag">终身有效</text>
  16. <text class="content-tag">不支持退订</text>
  17. <view class="content-yuanjia">¥598</view>
  18. </view>
  19. </view>
  20. <!-- 价格 -->
  21. <view class="price-box">
  22. <view class="price-row">
  23. <text>原价合计</text>
  24. <text class="price-red">¥598</text>
  25. </view>
  26. <view class="price-row price-line-row">
  27. <text>活动合计</text>
  28. <text class="price-red">-¥400</text>
  29. </view>
  30. <view class="price-row">
  31. <text>合计</text>
  32. <text>¥198</text>
  33. </view>
  34. </view>
  35. <!-- 支付方式 -->
  36. <view class="pay-type-box">
  37. <view class="pay-type-name">支付方式</view>
  38. <radio-group @change="radioChange">
  39. <view class="type-radio-box">
  40. <view class="type-radio-row">
  41. <icon class="wx-radio"></icon>
  42. <view class="radio-content-box">
  43. <view class="radio-title">微信支付</view>
  44. <text class="radio-content">支付信用卡、储蓄卡快捷支付及微信</text>
  45. </view>
  46. <radio value="weixin" :checked="payType==='weixin'" activeBackgroundColor="transparent"
  47. :class="{'radio-checked': payType==='weixin'}"/>
  48. </view>
  49. <view class="type-radio-row">
  50. <icon class="zfb-radio"></icon>
  51. <view class="radio-content-box">
  52. <view class="radio-title">支付宝</view>
  53. <text class="radio-content">支付信用卡、储蓄卡快捷支付及支付宝</text>
  54. </view>
  55. <radio value="zhifubao" :checked="payType==='zhifubao'" activeBackgroundColor="transparent"
  56. :class="{'radio-checked': payType==='zhifubao'}" style="margin-right: 0;"/>
  57. </view>
  58. </view>
  59. </radio-group>
  60. </view>
  61. <!-- 合计 -->
  62. <view class="pay-sum-box">
  63. <view>
  64. <text>合计:</text>
  65. <text class="sum-red">¥198</text>
  66. </view>
  67. <view class="sum-btn">
  68. 支付
  69. <icon></icon>
  70. 29:30
  71. </view>
  72. </view>
  73. </view>
  74. <CustomTabBar></CustomTabBar>
  75. </view>
  76. </template>
  77. <script setup>
  78. import {ref} from "vue";
  79. import CustomTabBar from '@/components/custom-tabbar/custom-tabbar.vue';
  80. let payType = ref('weixin')
  81. function radioChange(data){
  82. payType.value = data.detail.value;
  83. }
  84. </script>
  85. <style>
  86. </style>