kz-follow-mp.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <view>
  3. <tn-landscape
  4. :show="showFollow"
  5. :closeBtn="true"
  6. closePosition="bottom"
  7. :mask="true"
  8. :maskCloseable="true"
  9. @close="() => showFollow = false"
  10. >
  11. <view class="card_test">
  12. <view class="card_test__content">
  13. 123123123
  14. <image :src="followImage" mode="widthFix"></image>
  15. </view>
  16. <view class="blob">123</view>
  17. <view class="blob">33</view>
  18. <view class="blob">22</view>
  19. </view>
  20. </tn-landscape>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. name:"kz-follow-mp",
  26. props: {
  27. // 显示关注
  28. showFollow: {
  29. type: Boolean,
  30. default: false
  31. },
  32. },
  33. data() {
  34. return {
  35. };
  36. }
  37. }
  38. </script>
  39. <style>
  40. .card_mp {
  41. position: relative;
  42. width: 190px;
  43. height: 254px;
  44. background: lightgrey;
  45. box-shadow: #d11bff42 0 15px 40px -5px;
  46. z-index: 1;
  47. border-radius: 21px;
  48. overflow: hidden;
  49. }
  50. .card_mp__content {
  51. background: linear-gradient(rgba(255, 255, 255, 0.473), rgba(150, 150, 150, 0.25));
  52. z-index: 1;
  53. backdrop-filter: blur(20px);
  54. -webkit-backdrop-filter: blur(20px);
  55. position: absolute;
  56. left: 0;
  57. top: 0;
  58. width: 100%;
  59. height: 100%;
  60. border-radius: 21px;
  61. }
  62. .card_mp .blob {
  63. position: absolute;
  64. z-index: -1;
  65. border-radius: 5em;
  66. width: 200px;
  67. height: 200px;
  68. }
  69. .card_mp .blob:nth-child(2) {
  70. left: -50px;
  71. top: -90px;
  72. background: #ff930f;
  73. }
  74. .card_mp .blob:nth-child(3) {
  75. left: 110px;
  76. top: -20px;
  77. z-index: -1;
  78. background: #bf0fff;
  79. }
  80. .card_mp .blob:nth-child(4) {
  81. left: -40px;
  82. top: 100px;
  83. background: #ff1b6b;
  84. }
  85. .card_mp .blob:nth-child(5) {
  86. left: 100px;
  87. top: 180px;
  88. background: #0061ff;
  89. }
  90. </style>