index.vue 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <route lang="yaml">
  2. style:
  3. navigationBarTitleText: 扫码
  4. navigationBarBackgroundColor: '#fff'
  5. </route>
  6. <script lang="ts" setup>
  7. import { bookIcon, scanIcon } from '@designer-hub/assets/src/svgs'
  8. </script>
  9. <template>
  10. <view>
  11. <div
  12. class="bg-white backdrop-blur-[60px] my-[16px] flex flex-col justify-center items-center p-[16px] mt-[20px]"
  13. >
  14. <div
  15. class="w-[68px] h-[68px] bg-[#2357e9] rounded-full mt-[37px] flex items-center justify-center"
  16. >
  17. <wd-img width="36px" height="36px" :src="scanIcon"></wd-img>
  18. </div>
  19. <div class="w-full mt-[45px]">
  20. <wd-button block :round="false">
  21. <div
  22. class="text-center text-white text-base font-normal font-['PingFang SC'] leading-normal"
  23. >
  24. 扫码验券
  25. </div>
  26. </wd-button>
  27. </div>
  28. </div>
  29. <div
  30. class="bg-white backdrop-blur-[60px] flex flex-col justify-center items-center p-[16px] mt-[20px]"
  31. >
  32. <div
  33. class="w-[68px] h-[68px] bg-[#2357e9] rounded-full mt-[34px] flex items-center justify-center"
  34. >
  35. <wd-img width="36px" height="36px" :src="bookIcon"></wd-img>
  36. </div>
  37. <div class="w-full flex items-center mt-[40px]">
  38. <div
  39. class="text-black/90 text-base font-normal font-['PingFang SC'] leading-relaxed width-[96px]"
  40. >
  41. 输入订单金额
  42. </div>
  43. <div class="bg-[#f5f7f9] rounded-lg flex items-center flex-1 ml-[16px]">
  44. <wd-input type="number" placeholder="请输金额" />
  45. </div>
  46. </div>
  47. <div class="w-full flex items-center mt-[20px]">
  48. <div
  49. class="text-black/90 text-base font-normal font-['PingFang SC'] leading-relaxed width-[96px]"
  50. >
  51. 需支付积分
  52. </div>
  53. <div
  54. class="text-[#ff2d2d] text-base font-normal font-['PingFang SC'] leading-relaxed ml-[20px]"
  55. >
  56. 3400 积分
  57. </div>
  58. </div>
  59. <div class="w-full mt-[45px]">
  60. <wd-button block :round="false">
  61. <div
  62. class="text-center text-white text-base font-normal font-['PingFang SC'] leading-normal"
  63. >
  64. 积分结账
  65. </div>
  66. </wd-button>
  67. </div>
  68. </div>
  69. </view>
  70. </template>
  71. <style lang="scss" scoped>
  72. :deep(.wd-input) {
  73. background: transparent;
  74. height: 100%;
  75. border: none;
  76. width: 100%;
  77. }
  78. </style>