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

133 lines
2.7 KiB

5 years ago
  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. </style>
  61. <style scoped="scoped">
  62. .pure_top {
  63. width: 100%;
  64. height: 210rpx;
  65. position: relative;
  66. z-index: 1;
  67. }
  68. .pure_top::after {
  69. content: '';
  70. width: 140%;
  71. height: 210rpx;
  72. position: absolute;
  73. left: -20%;
  74. top: 0;
  75. z-index: -1;
  76. border-radius: 0 0 55% 55%;
  77. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  78. }
  79. .tips-top {
  80. width: 686rpx;
  81. height: 252rpx;
  82. background: #FFFFFF;
  83. border-radius: 20rpx;
  84. margin: 0 auto;
  85. position: relative;
  86. top: 60rpx;
  87. padding: 50rpx 40rpx;
  88. display: flex;
  89. justify-content: center;
  90. align-items: center;
  91. }
  92. .qrcode-content {
  93. width: 686rpx;
  94. height: 703rpx;
  95. background: #FFFFFF;
  96. border-radius: 20rpx;
  97. margin: 0 auto;
  98. margin-top: 133rpx;
  99. }
  100. .content-btn {
  101. width: 122rpx;
  102. height: 55rpx;
  103. border-radius: 28rpx;
  104. border: 1rpx solid #777777;
  105. font-size: 24rpx;
  106. color: #777;
  107. font-weight: 400;
  108. text-align: center;
  109. display: flex;
  110. align-items: center;
  111. justify-content: center;
  112. letter-spacing: 1rpx;
  113. }
  114. .content-title {
  115. height: 100rpx;
  116. border-bottom: 1rpx solid #F5F5F5;
  117. }
  118. .qr-code {
  119. display: flex;
  120. justify-content: center;
  121. align-items: center;
  122. margin: 30rpx 0;
  123. }
  124. </style>