index.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <template>
  2. <view class="add_follow" catchtouchmove="true">
  3. <view class="info_alter">
  4. <text v-show="follow_linkurl">点击二维码添加客服</text>
  5. <text v-show="!follow_linkurl">长按二维码添加客服</text>
  6. </view>
  7. <view class="qr_code_area">
  8. <image :src="followQrcode" class="qr_code" mode="" show-menu-by-longpress> </image>
  9. </view>
  10. <!-- <view class="rule_info">
  11. <view class="">报单规则:</view>
  12. <view class="">1、预约报单需要添加客服人员</view>
  13. <view class="">2、添加完客服人员后填写小程序当前登录手机号以绑定账号</view>
  14. <view class="">3、开始预约报单</view>
  15. </view> -->
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. follow_linkurl: this.$checkAccess.getFollowLinkUrl(),
  23. followQrcode: this.$checkAccess.getFollowQrcode(),
  24. };
  25. },
  26. };
  27. </script>
  28. <style lang="less" scoped>
  29. .add_follow {
  30. display: block;
  31. color: #ffffff;
  32. width: 100vw;
  33. height: 100vh;
  34. margin: 0 auto;
  35. font-size: 26rpx;
  36. background: linear-gradient(to bottom, #ff0091 0%, #2c82ff 100%);
  37. padding-top: 200rpx;
  38. .close_area {
  39. height: 80rpx;
  40. display: block;
  41. line-height: 80rpx;
  42. .close_btn {
  43. color: #ffffff;
  44. float: right;
  45. width: 80rpx;
  46. height: 80rpx;
  47. font-size: 26rpx;
  48. text-align: center;
  49. line-height: 80rpx;
  50. padding: 0rpx 0rpx;
  51. border: 0rpx solid transparent;
  52. background-color: transparent;
  53. }
  54. .close_btn::after {
  55. border: 0rpx solid transparent;
  56. }
  57. }
  58. .info_alter {
  59. display: block;
  60. height: 100rpx;
  61. font-size: 42rpx;
  62. font-weight: bold;
  63. text-align: center;
  64. line-height: 100rpx;
  65. }
  66. .qr_code_area {
  67. display: block;
  68. width: 300rpx;
  69. height: 300rpx;
  70. margin: 30rpx auto;
  71. .qr_code {
  72. float: left;
  73. width: 300rpx;
  74. height: 300rpx;
  75. }
  76. }
  77. .save_btn {
  78. color: #333333;
  79. display: block;
  80. width: 260rpx;
  81. height: 80rpx;
  82. font-size: 26rpx;
  83. text-align: center;
  84. line-height: 80rpx;
  85. padding: 0rpx 0rpx;
  86. margin: 40rpx auto;
  87. border-radius: 40rpx;
  88. background-color: #ffffff;
  89. border: 0rpx solid transparent;
  90. }
  91. .rule_info {
  92. width: 600rpx;
  93. display: block;
  94. font-size: 26rpx;
  95. margin: 20rpx auto;
  96. overflow: hidden;
  97. line-height: 40rpx;
  98. }
  99. }
  100. </style>