aboutMe.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!-- 关于作者 -->
  2. <template>
  3. <view class="about">
  4. <like-fx ref="likeFx" :height="height" :width="width"></like-fx>
  5. <view class="titleZ text-center align-center">
  6. <text class="text-bold" style="font-size: 28px;">关于我们</text>
  7. <view class="contentZ">
  8. <text class="text-xl">
  9. 我们专注提供专业的软件产品和技术。为合作伙伴提供安全可靠的软件产品与解决方案,共同帮助终端用户实现业务创新、快速发展。
  10. </text>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. import LikeFx from '@/components/likeFx/likeFx.vue'
  17. export default {
  18. components: {
  19. LikeFx
  20. },
  21. data() {
  22. return {
  23. animation_timer: null, // 动画定时器
  24. width: 375,
  25. height: 1920
  26. }
  27. },
  28. onLoad() {
  29. this._startLikeAnimation();
  30. },
  31. onUnload() {
  32. clearTimeout(this.animation_timer)
  33. },
  34. methods: {
  35. _startLikeAnimation() {
  36. this.animation_timer = setInterval(() => {
  37. this.$refs.likeFx.likeClick()
  38. }, 300)
  39. }
  40. }
  41. }
  42. </script>
  43. <style scoped>
  44. .align-center {
  45. text-align: center;
  46. }
  47. .titleZ {
  48. width: 750 rpx;
  49. font-size: 42 rpx;
  50. margin-top: 60 rpx;
  51. }
  52. .contentZ {
  53. width: 650 rpx;
  54. margin: 10 rpx auto 0;
  55. text-align: left;
  56. }
  57. .about-bg {
  58. background-size: cover;
  59. width: 100vw;
  60. height: 100vh;
  61. justify-content: center;
  62. flex-direction: column;
  63. color: #fff;
  64. }
  65. .edit-fixed {
  66. position: fixed;
  67. width: 100%;
  68. bottom: 0;
  69. z-index: 1024;
  70. box-shadow: 0 1 rpx 6 rpx rgba(0, 0, 0, 0.1);
  71. }
  72. .detail-imgs image {
  73. width: 100%;
  74. float: left;
  75. /* height:400rpx; 不定高了*/
  76. border: 0;
  77. padding: 0;
  78. margin: 0
  79. }
  80. .share-img {
  81. position: fixed;
  82. padding: 10 rpx;
  83. width: 100 rpx;
  84. height: 100 rpx;
  85. /* top: 680rpx; */
  86. bottom: 200 rpx;
  87. right: 20 rpx;
  88. z-index: 1024;
  89. opacity: 0.8;
  90. box-shadow: 0 rpx 8 rpx 30 rpx 0 rpx rgba(0, 0, 0, 0.3);
  91. border: none;
  92. }
  93. .about {
  94. margin: 0;
  95. width: 100%;
  96. height: 100vh;
  97. padding-top: 20%;
  98. color: #fff;
  99. background: linear-gradient(-120deg, #F15BB5, #9A5CE5, #01BEFF, #00F5D4);
  100. /* background: linear-gradient(-120deg, #0976ea, #c471f5, #f956b6, #ea7e0a); */
  101. background-size: 500% 500%;
  102. animation: gradientBG 15s ease infinite;
  103. }
  104. @keyframes gradientBG {
  105. 0% {
  106. background-position: 0% 50%;
  107. }
  108. 50% {
  109. background-position: 100% 50%;
  110. }
  111. 100% {
  112. background-position: 0% 50%;
  113. }
  114. }
  115. .container {
  116. width: 100%;
  117. position: absolute;
  118. text-align: center;
  119. }
  120. .like-fx {
  121. position: fixed;
  122. right: 0;
  123. z-index: 1024;
  124. pointer-events: none;
  125. /* background-color: red; */
  126. }
  127. </style>