homePage.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <view class="content">
  3. <view class="topSection" style="background: url('https://dm.static.elab-plus.com/yezhu/h5/backgroundImg.png') center/100% 100% no-repeat;">
  4. <view class="liveContent">
  5. <view class="backDiv"></view>
  6. <view class="title">分享好房 · 躺平赚钱</view>
  7. <view class="subTitle">新手赚钱帮助 ></view>
  8. <view class="levelDiv" style="background: url('https://dm.static.elab-plus.com/yezhu/h5/icon_line_back.png') center/100% 100% no-repeat;">
  9. <view class="level_top">
  10. <image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode=""></image>
  11. <view class="level_text">Lv5</view>
  12. <view class="level_des">/达到 5000 收益可升级</view>
  13. <view class="level_update">
  14. <text>升级攻略</text>
  15. <image class="level_right_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
  16. </view>
  17. </view>
  18. <view class="level_bottom">
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. },
  29. mounted() {
  30. },
  31. methods: {
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. page {
  37. width: 100vw;
  38. height: 100vh;
  39. }
  40. .content {
  41. width: 100%;
  42. height: 100%;
  43. background-color: #F5F5F7;
  44. position: relative;
  45. .liveContent {
  46. width: 100%;
  47. height: 470rpx;
  48. z-index: 100;
  49. display: flex;
  50. flex-direction: column;
  51. align-items: center;
  52. position: relative;
  53. .backDiv {
  54. top: 0;
  55. left: 0;
  56. position: absolute;
  57. width: 100%;
  58. height: 100%;
  59. background-color: rgba($color: #000000, $alpha: 0.1);
  60. z-index: 1;
  61. }
  62. .title {
  63. margin-top: 96rpx;
  64. font-size: 44rpx;
  65. font-family: Verdana, Verdana-Bold;
  66. font-weight: 700;
  67. text-align: center;
  68. color: #ffffff;
  69. z-index: 2;
  70. }
  71. .subTitle {
  72. font-size: 28rpx;
  73. font-family: Verdana, Verdana-Regular;
  74. font-weight: 400;
  75. text-align: left;
  76. color: #ffffff;
  77. margin-top: 20rpx;
  78. z-index: 2;
  79. }
  80. .levelDiv {
  81. margin-top: 82rpx;
  82. width: calc(100% - 60rpx);
  83. height: 152rpx;
  84. z-index: 2;
  85. display: flex;
  86. flex-direction: column;
  87. padding: 25rpx 30rpx;
  88. box-sizing: border-box;
  89. .level_top {
  90. width: 100%;
  91. display: flex;
  92. justify-content: space-between;
  93. flex-wrap: nowrap;
  94. align-items: center;
  95. .level_icon {
  96. width: 37rpx;
  97. min-width: 37rpx;
  98. max-width: 37rpx;
  99. height: 35rpx;
  100. margin-right: 13rpx;
  101. margin-top: -5rpx;
  102. }
  103. .level_text {
  104. font-size: 48rpx;
  105. font-family: FontName, FontName-Regular;
  106. font-weight: 500;
  107. text-align: left;
  108. font-style: oblique;
  109. color: #f5c8a8;
  110. line-height: 40rpx;
  111. letter-spacing: 1.92rpx;
  112. margin-right: 8rpx;
  113. margin-top: -7rpx;
  114. }
  115. .level_des {
  116. font-size: 22rpx;
  117. font-family: Verdana, Verdana-Regular;
  118. font-weight: 400;
  119. text-align: left;
  120. color: #f5c8a8;
  121. white-space: nowrap;
  122. flex-grow: 1;
  123. }
  124. .level_update {
  125. font-size: 24rpx;
  126. font-family: Verdana, Verdana-Bold;
  127. font-weight: 700;
  128. text-align: right;
  129. color: #f5c8a8;
  130. letter-spacing: 0.96rpx;
  131. display: flex;
  132. align-items: center;
  133. .level_right_icon {
  134. margin-left: 8rpx;
  135. width: 6rpx;
  136. height: 7rpx;
  137. }
  138. }
  139. }
  140. }
  141. }
  142. }
  143. </style>