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

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