share_01.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <template>
  2. <view class="content" id="share-content">
  3. <view class="share-top">
  4. <image class="share-logo" src="@/static/share/img_02.png" mode="aspectFit"></image>
  5. <text class="share-title">注册会员</text>
  6. <text class="share-title">获取高额奖励</text>
  7. <view class="share-list">
  8. <view class="share-list-item"><text class="item-icon"></text><text class="item-text">安全的钱包技术</text>
  9. </view>
  10. <view class="share-list-item"><text class="item-icon"></text><text class="item-text">交易流畅顶级风控</text>
  11. </view>
  12. <view class="share-list-item"><text class="item-icon"></text><text class="item-text">丰富的加密资产业务</text>
  13. </view>
  14. <view class="share-list-item"><text class="item-icon"></text><text class="item-text">分布在世界各地的客户</text>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="footer">
  19. <view class="share-code">
  20. <!-- https://ext.dcloud.net.cn/plugin?id=39 -->
  21. <!-- <tki-qrcode ref="qrcodeRef" :size="100" :showLoading="false" :val="qrcodeVal" /> -->
  22. <slot name="qrcode"></slot>
  23. </view>
  24. <!-- <image class="share-code" src="@/static/share/img_03.png" mode="aspectFit"></image> -->
  25. <view class="share-btns">
  26. <view class="share-btn">
  27. 邀请您加入[币王]
  28. </view>
  29. <view class="share-btn-hint">
  30. <<<长按识别二维码 </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. name: 'login',
  39. data() {
  40. return {
  41. };
  42. },
  43. mounted() {
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. .content {
  49. flex-shrink: 0;
  50. width: 100%;
  51. height: 100%;
  52. background: url("@/static/share/img_01.png") no-repeat center center;
  53. background-size: 100% 100%;
  54. display: flex;
  55. flex-direction: column;
  56. justify-content: space-between;
  57. padding: 30rpx 30rpx 20rpx;
  58. .share-top {
  59. display: flex;
  60. flex-direction: column;
  61. align-items: flex-start;
  62. .share-logo {
  63. display: inline-block;
  64. width: 322rpx;
  65. height: 80rpx;
  66. // margin-bottom: 14rpx;
  67. }
  68. .share-title {
  69. font-size: 56rpx;
  70. font-family: PingFang SC, PingFang SC-Bold;
  71. font-weight: 700;
  72. color: #ffffff;
  73. line-height: 1.1;
  74. letter-spacing: 1.2px;
  75. }
  76. .share-list {
  77. width: 100%;
  78. padding-top: 20rpx;
  79. display: flex;
  80. flex-direction: column;
  81. .share-list-item {
  82. font-size: 20rpx;
  83. font-family: PingFang SC, PingFang SC-Regular;
  84. font-weight: 400;
  85. color: #ffffff;
  86. line-height: 1.5;
  87. // transform: scale(0.8);
  88. display: flex;
  89. align-items: center;
  90. justify-content: flex-start;
  91. .item-icon {
  92. display: inline-block;
  93. width: 14rpx;
  94. height: 14rpx;
  95. border-radius: 50%;
  96. background-color: #fff;
  97. }
  98. .item-text {
  99. padding-left: 3px;
  100. }
  101. }
  102. }
  103. }
  104. .footer {
  105. width: 100%;
  106. display: flex;
  107. align-items: center;
  108. padding: 0 20rpx;
  109. .share-code {
  110. width: 140rpx;
  111. height: 140rpx;
  112. background-color: #fff;
  113. padding: 5rpx;
  114. }
  115. .share-btns {
  116. width: calc(100% - 130rpx);
  117. padding-left: 45rpx;
  118. color: #fff;
  119. .share-btn {
  120. width: 100%;
  121. height: 50rpx;
  122. background: linear-gradient(180deg, #faae3d, #f9d159);
  123. border-radius: 29rpx;
  124. text-align: center;
  125. line-height: 50rpx;
  126. font-size: 24rpx;
  127. font-family: PingFang SC, PingFang SC-Regular;
  128. font-weight: 400;
  129. }
  130. .share-btn-hint {
  131. padding-top: 22rpx;
  132. font-size: 24rpx;
  133. font-family: PingFang SC, PingFang SC-Regular;
  134. font-weight: 400;
  135. color: #ffffff;
  136. letter-spacing: 0.56rpx;
  137. }
  138. }
  139. }
  140. }
  141. </style>