金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
4.3 KiB

  1. <template>
  2. <view class="head">
  3. <lf-nav :spreadOut="false" :showIcon="true" bgColor="transparent" titleColor="white" title="我的报名"></lf-nav>
  4. <view class="bg-left"></view>
  5. <view class="bg-right"></view>
  6. <view class="margin-auto">
  7. <view class="register-card">
  8. <view class="lf-flex lf-p-l-40 register-content">
  9. <image class="register-head" src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill"></image>
  10. <view class="lf-color-black lf-m-l-21 lf-font-32">
  11. LA MER海蓝之谜
  12. </view>
  13. </view>
  14. <view class="lf-p-l-40" style="position: relative;top: 160rpx;">
  15. <view class="lf-font-36 lf-color-black lf-font-bold ">海蓝之谜美颜会</view>
  16. <view class="lf-m-t-30">
  17. <view class="lf-m-t-20">
  18. <text class="lf-color-777 lf-font-28">活动时间</text><text class="lf-font-28 lf-color-black lf-m-l-10">2021.09.01-2021.09.15</text>
  19. </view>
  20. <view class="lf-m-t-20">
  21. <text class="lf-color-777 lf-font-28">活动地点</text><text class="lf-font-28 lf-color-black lf-m-l-10">海蓝之谜专卖店</text>
  22. </view>
  23. <view class="lf-m-t-20">
  24. <text class="lf-color-777 lf-font-28">报名时间</text><text class="lf-font-28 lf-color-black lf-m-l-10">2021.09.02 18:37:57</text>
  25. </view>
  26. <view class="lf-m-t-20">
  27. <text class="lf-color-777 lf-font-28">报名费用</text><text class="lf-font-28 lf-color-black lf-m-l-10">免费</text>
  28. </view>
  29. <view style="margin-top: 60rpx;display: flex;justify-content: center;">
  30. <view class="lf-flex-column">
  31. <lf-qrcode :options="config.qrc"></lf-qrcode>
  32. <view class="lf-font-28 lf-row-center" style="color: #15716E;">待使用</view>
  33. </view>
  34. </view>
  35. <view style="margin-top: 60rpx;">
  36. <view class="lf-font-32 lf-color-black">
  37. 报名信息
  38. </view>
  39. <view class="lf-m-t-30">
  40. <text class="lf-font-28 lf-color-777">报名人:</text><text class="lf-font-28 lf-color-777 lf-m-l-10">王晓人</text>
  41. </view>
  42. <view class="lf-m-t-30">
  43. <text class="lf-font-28 lf-color-777">手机号码:</text><text class="lf-font-28 lf-color-777 lf-m-l-10">13200000000</text>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. </template>
  52. <script>
  53. import lfQrcode from '@/components/lf-code/lf-qrcode.vue';
  54. export default {
  55. data() {
  56. return {
  57. config: {
  58. bar: {
  59. code: 'E01181016286106',
  60. color: '#000', // 条形码的颜色
  61. bgColor: '#FFFFFF', // 背景色
  62. width: 586, // 宽度
  63. height: 210 // 高度
  64. },
  65. qrc: {
  66. code: "https://weixin.qq.com/g/AwYAAHO3aO4zlasEij6bLsk4hlZd5XNFkkBmqyS55mLPFxmn5c9PaI1omqLhd24fABCD23333",
  67. size: 352, // 二维码大小
  68. level: 4, //等级 0~4
  69. bgColor: '#FFFFFF', //二维码背景色 默认白色
  70. // border: {
  71. // color: ['#8A2387', '#F27121'], //边框颜色支持渐变色
  72. // lineWidth: 3, //边框宽度
  73. // },
  74. // img: '/static/logo.png', //图片
  75. // iconSize: 40, //二维码图标的大小
  76. color: '#000000', //边框颜色支持渐变色
  77. }
  78. },
  79. }
  80. },
  81. components: {lfQrcode}
  82. }
  83. </script>
  84. <style lang="scss" scoped>
  85. .register-content {
  86. position: absolute;
  87. top: -30rpx;
  88. }
  89. .register-head {
  90. width: 160rpx;
  91. height: 160rpx;
  92. box-shadow: 0px 2rpx 8rpx 1rpx rgba(21, 113, 110, 0.2);
  93. border: 5rpx solid #FFFFFF;
  94. border-radius: 50%;
  95. }
  96. .margin-auto {
  97. margin: 0 auto;
  98. position: relative;
  99. top: 0;
  100. }
  101. .register-card {
  102. width: 686rpx;
  103. height: 1266rpx;
  104. background: #FFFFFF;
  105. border-radius: 20rpx;
  106. }
  107. .head {
  108. width: 750rpx;
  109. height: 1624rpx;
  110. background: linear-gradient(270deg, #187B7A 0%, #2FAAA7 100%, #22A2A0 100%);
  111. position: relative;
  112. overflow: hidden;
  113. display: flex;
  114. align-items: flex-end;
  115. box-sizing: border-box;
  116. padding: 60rpx 32rpx 110rpx;
  117. color: #FFFFFF;
  118. }
  119. .bg-left{
  120. position: absolute;
  121. width: 196rpx;
  122. height: 196rpx;
  123. border-radius: 50%;
  124. background-color: rgba(255,255,255,0.04);
  125. left: -92rpx;
  126. bottom: 60rpx;
  127. }
  128. .bg-right{
  129. position: absolute;
  130. width: 520rpx;
  131. height: 520rpx;
  132. border-radius: 50%;
  133. background-color: rgba(255,255,255,0.04);
  134. right: -168rpx;
  135. top: -142rpx;
  136. }
  137. </style>