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

130 lines
3.1 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-font-60" style="color: #E21196;">10</view>
  6. <view class="lf-font-28 lf-color-555">可用桃花</view>
  7. </view>
  8. </view>
  9. <view class="change-tag">
  10. <view class="lf-p-b-20">
  11. <view class="change-top lf-flex-column welfare-top">
  12. <view>
  13. <text class="lf-iconfont icon-hua" style="color: #FD898E;font-size: 84rpx;"></text>
  14. </view>
  15. <view class="lf-color-333 lf-font-24">1条红线</view>
  16. <view class="lf-font-28" style="color: #E21196;">2900桃花</view>
  17. </view>
  18. <view class="change-bottom">兑换</view>
  19. </view>
  20. <view class="lf-p-b-20">
  21. <view class="change-top lf-flex-column welfare-top">
  22. <view>
  23. <text class="lf-iconfont icon-hua" style="color: #FD898E;font-size: 84rpx;"></text>
  24. </view>
  25. <view class="lf-color-333 lf-font-24">1条红线</view>
  26. <view class="lf-font-28" style="color: #E21196;">2900桃花</view>
  27. </view>
  28. <view class="change-bottom">兑换</view>
  29. </view>
  30. <view class="lf-p-b-20">
  31. <view class="change-top lf-flex-column welfare-top">
  32. <view>
  33. <text class="lf-iconfont icon-hua" style="color: #FD898E;font-size: 84rpx;"></text>
  34. </view>
  35. <view class="lf-color-333 lf-font-24">1条红线</view>
  36. <view class="lf-font-28" style="color: #E21196;">2900桃花</view>
  37. </view>
  38. <view class="change-bottom">兑换</view>
  39. </view>
  40. <view class="lf-p-b-20">
  41. <view class="change-top lf-flex-column welfare-top">
  42. <view>
  43. <text class="lf-iconfont icon-hua" style="color: #FD898E;font-size: 84rpx;"></text>
  44. </view>
  45. <view class="lf-color-333 lf-font-24">1条红线</view>
  46. <view class="lf-font-28" style="color: #E21196;">2900桃花</view>
  47. </view>
  48. <view class="change-bottom">兑换</view>
  49. </view>
  50. </view>
  51. </view>
  52. </template>
  53. <script>
  54. </script>
  55. <style>
  56. page {
  57. background-color: #F5F5F5;
  58. }
  59. </style>
  60. <style lang="scss" scoped="scoped">
  61. .welfare-top {
  62. justify-content: space-evenly;
  63. align-items: center;
  64. text-align: center;
  65. }
  66. .tips-top {
  67. width: 686rpx;
  68. height: 252rpx;
  69. background: #FFFFFF;
  70. border-radius: 20rpx;
  71. margin: 0 auto;
  72. position: relative;
  73. top: 60rpx;
  74. padding: 50rpx 40rpx;
  75. display: flex;
  76. flex-direction: column;
  77. justify-content: center;
  78. align-items: center;
  79. }
  80. .change-tag {
  81. width: 704rpx;
  82. margin: 316rpx auto;
  83. height: 338rpx;
  84. display: flex;
  85. justify-content: space-around;
  86. align-content: center;
  87. flex-wrap: wrap;
  88. }
  89. .change-top {
  90. width: 333rpx;
  91. height: 250rpx;
  92. background: #FFFFFF;
  93. border-radius: 10rpx 10rpx 0 0;
  94. }
  95. .change-bottom {
  96. width: 333rpx;
  97. height: 88rpx;
  98. background: #E21196;
  99. border-radius: 0 0 10rpx 10rpx;
  100. display: flex;
  101. justify-content: center;
  102. align-items: center;
  103. font-size: 32rpx;
  104. color: white;
  105. }
  106. .pure_top {
  107. width: 100%;
  108. height: 210rpx;
  109. position: relative;
  110. z-index: 1;
  111. }
  112. .pure_top::after {
  113. content: '';
  114. width: 140%;
  115. height: 210rpx;
  116. position: absolute;
  117. left: -20%;
  118. top: 0;
  119. z-index: -1;
  120. border-radius: 0 0 55% 55%;
  121. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  122. }
  123. </style>