homePage.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. return{
  29. }
  30. },
  31. mounted() {
  32. },
  33. methods: {
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. page {
  39. width: 100vw;
  40. height: 100vh;
  41. }
  42. .content {
  43. width: 100%;
  44. height: 100%;
  45. background-color: #F5F5F7;
  46. position: relative;
  47. .liveContent {
  48. width: 100%;
  49. height: 470rpx;
  50. z-index: 100;
  51. display: flex;
  52. flex-direction: column;
  53. align-items: center;
  54. position: relative;
  55. .backDiv {
  56. top: 0;
  57. left: 0;
  58. position: absolute;
  59. width: 100%;
  60. height: 100%;
  61. background-color: rgba($color: #000000, $alpha: 0.1);
  62. z-index: 1;
  63. }
  64. .title {
  65. margin-top: 96rpx;
  66. font-size: 44rpx;
  67. font-family: Verdana, Verdana-Bold;
  68. font-weight: 700;
  69. text-align: center;
  70. color: #ffffff;
  71. z-index: 2;
  72. }
  73. .subTitle {
  74. font-size: 28rpx;
  75. font-family: Verdana, Verdana-Regular;
  76. font-weight: 400;
  77. text-align: left;
  78. color: #ffffff;
  79. margin-top: 20rpx;
  80. z-index: 2;
  81. }
  82. .levelDiv {
  83. margin-top: 82rpx;
  84. width: calc(100% - 60rpx);
  85. height: 152rpx;
  86. z-index: 2;
  87. display: flex;
  88. flex-direction: column;
  89. padding: 25rpx 30rpx;
  90. box-sizing: border-box;
  91. .level_top {
  92. width: 100%;
  93. display: flex;
  94. justify-content: space-between;
  95. flex-wrap: nowrap;
  96. align-items: center;
  97. .level_icon {
  98. width: 37rpx;
  99. min-width: 37rpx;
  100. max-width: 37rpx;
  101. height: 35rpx;
  102. margin-right: 13rpx;
  103. margin-top: -5rpx;
  104. }
  105. .level_text {
  106. font-size: 48rpx;
  107. font-family: FontName, FontName-Regular;
  108. font-weight: 500;
  109. text-align: left;
  110. font-style: oblique;
  111. color: #f5c8a8;
  112. line-height: 40rpx;
  113. letter-spacing: 1.92rpx;
  114. margin-right: 8rpx;
  115. margin-top: -7rpx;
  116. }
  117. .level_des {
  118. font-size: 22rpx;
  119. font-family: Verdana, Verdana-Regular;
  120. font-weight: 400;
  121. text-align: left;
  122. color: #f5c8a8;
  123. white-space: nowrap;
  124. flex-grow: 1;
  125. }
  126. .level_update {
  127. font-size: 24rpx;
  128. font-family: Verdana, Verdana-Bold;
  129. font-weight: 700;
  130. text-align: right;
  131. color: #f5c8a8;
  132. letter-spacing: 0.96rpx;
  133. display: flex;
  134. align-items: center;
  135. .level_right_icon {
  136. margin-left: 8rpx;
  137. width: 6rpx;
  138. height: 7rpx;
  139. }
  140. }
  141. }
  142. }
  143. }
  144. }
  145. </style>