详情小程序
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.

131 lines
2.7 KiB

  1. <template>
  2. <view class="lf-w-100 lf-h-100">
  3. <view class="pure_top">
  4. <view class="tips-top">
  5. <view class="lf-m-r-20">
  6. <image src="../../static/logo.png" style="width: 98rpx;height: 112rpx;" mode="aspectFill"></image>
  7. </view>
  8. <view>
  9. <view class="lf-color-555 lf-font-26">添加专属客服咨询使用问题投诉不正当会员专属人工客服将为您服务</view>
  10. <view class="lf-color-555 lf-font-26 lf-m-t-20">线下红娘服务私人订制服务全方位助您脱单</view>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="qrcode-content">
  15. <view class="lf-row-between lf-p-l-30 lf-p-r-30 content-title">
  16. <view class="lf-flex">
  17. <u-icon name="weixin-fill lf-m-r-15 lf-font-38"></u-icon><text class="lf-font-28 lf-color-222">gyw38283</text>
  18. </view>
  19. <view class="content-btn" @click="copy(gyw38283)">
  20. 复制
  21. </view>
  22. </view>
  23. <view class="qr-code">
  24. <tki-qrcode ref="qrcode" @result="qrR" :val="checkArea" :size="270" unit="px" background="#fff"
  25. foreground="#000" pdground="#000" :onval="true" :loadMake="true" />
  26. </view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. import tkiQrcode from "tki-qrcode" // 二维码生成器
  32. export default {
  33. components: {
  34. tkiQrcode
  35. },
  36. data() {
  37. return {
  38. base64Img: '',
  39. checkArea: 'USI782936437829'
  40. }
  41. },
  42. methods: {
  43. //二维码回调
  44. qrR(data) {
  45. this.base64Img = data;
  46. },
  47. // 点击复制
  48. copy(text) {
  49. uni.setClipboardData({
  50. data: text
  51. });
  52. }
  53. }
  54. }
  55. </script>
  56. <style>
  57. page {
  58. background-color: #F5F5F5;
  59. }
  60. .pure_top {
  61. width: 100%;
  62. height: 210rpx;
  63. position: relative;
  64. z-index: -1;
  65. }
  66. .pure_top::after {
  67. content: '';
  68. width: 140%;
  69. height: 210rpx;
  70. position: absolute;
  71. left: -20%;
  72. top: 0;
  73. z-index: -1;
  74. border-radius: 0 0 55% 55%;
  75. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  76. }
  77. .tips-top {
  78. width: 686rpx;
  79. height: 252rpx;
  80. background: #FFFFFF;
  81. border-radius: 20rpx;
  82. margin: 0 auto;
  83. position: relative;
  84. top: 60rpx;
  85. padding: 50rpx 40rpx;
  86. display: flex;
  87. justify-content: center;
  88. align-items: center;
  89. }
  90. .qrcode-content {
  91. width: 686rpx;
  92. height: 703rpx;
  93. background: #FFFFFF;
  94. border-radius: 20rpx;
  95. margin: 0 auto;
  96. margin-top: 133rpx;
  97. }
  98. .content-btn {
  99. width: 122rpx;
  100. height: 55rpx;
  101. border-radius: 28rpx;
  102. border: 1rpx solid #777777;
  103. font-size: 24rpx;
  104. color: #777;
  105. font-weight: 400;
  106. text-align: center;
  107. display: flex;
  108. align-items: center;
  109. justify-content: center;
  110. letter-spacing: 1rpx;
  111. }
  112. .content-title {
  113. height: 100rpx;
  114. border-bottom: 1rpx solid #F5F5F5;
  115. }
  116. .qr-code {
  117. display: flex;
  118. justify-content: center;
  119. align-items: center;
  120. margin: 30rpx 0;
  121. }
  122. </style>