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

91 lines
1.6 KiB

  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>
  11. <view class="change-top"></view>
  12. <view class="change-bottom">兑换</view>
  13. </view>
  14. <view>
  15. <view class="change-top"></view>
  16. <view class="change-bottom">兑换</view>
  17. </view>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. </script>
  23. <style lang="scss">
  24. page {
  25. background-color: #F5F5F5;
  26. }
  27. .tips-top {
  28. width: 686rpx;
  29. height: 252rpx;
  30. background: #FFFFFF;
  31. border-radius: 20rpx;
  32. margin: 0 auto;
  33. position: relative;
  34. top: 60rpx;
  35. padding: 50rpx 40rpx;
  36. display: flex;
  37. flex-direction: column;
  38. justify-content: center;
  39. align-items: center;
  40. }
  41. .change-tag {
  42. width: 686rpx;
  43. margin: 133rpx auto;
  44. height: 338rpx;
  45. display: flex;
  46. justify-content: space-around;
  47. align-content: center;
  48. }
  49. .change-top {
  50. width: 333rpx;
  51. height: 250rpx;
  52. background: #FFFFFF;
  53. border-radius: 10rpx 10rpx 0 0;
  54. }
  55. .change-bottom {
  56. width: 333rpx;
  57. height: 88rpx;
  58. background: #E21196;
  59. border-radius: 0 0 10rpx 10rpx;
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. font-size: 32rpx;
  64. color: white;
  65. }
  66. .pure_top {
  67. width: 100%;
  68. height: 210rpx;
  69. position: relative;
  70. z-index: -1;
  71. }
  72. .pure_top::after {
  73. content: '';
  74. width: 140%;
  75. height: 210rpx;
  76. position: absolute;
  77. left: -20%;
  78. top: 0;
  79. z-index: -1;
  80. border-radius: 0 0 55% 55%;
  81. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  82. }
  83. </style>