homePage.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. <template>
  2. <view class="content">
  3. <view class="topSection">
  4. <image class="bg_top" src="https://dm.static.elab-plus.com/yezhu/h5/backgroundImg.png" mode=""></image>
  5. <view class="liveContent">
  6. <view class="backDiv"></view>
  7. <view class="title">分享好房 · 躺平赚钱</view>
  8. <view class="subTitle">新手赚钱帮助 ></view>
  9. <view class="levelDiv" style="background: url('https://dm.static.elab-plus.com/yezhu/h5/icon_line_back.png') center/100% 100% no-repeat;">
  10. <view class="level_top">
  11. <image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode=""></image>
  12. <view class="level_text">Lv5</view>
  13. <view class="level_des">/达到 5000 收益可升级</view>
  14. <view class="level_update">
  15. <text>升级攻略</text>
  16. <image class="level_right_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
  17. </view>
  18. </view>
  19. <view class="level_bottom">
  20. <levelView currentLevel='3500' nextLevel='5000' currentLevelTxt='lv5' nextLevelTxt='lv6'></levelView>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="content_body" :style="{background:color4}">
  26. <view class="content_beginner_guide">
  27. <view class="title">
  28. <text class="title_txt">- 新手引导 -</text>
  29. <view class="title_right">
  30. <text class="title_right_txt">收起</text>
  31. <image class="title_right_cion" src="https://dm.static.elab-plus.com/yezhu/icon_shouqi.png" mode=""></image>
  32. </view>
  33. </view>
  34. <view class="guide_content">
  35. <view class="item_guide">
  36. <image class="guide_img" src="https://dm.static.elab-plus.com/yezhu/icon_yezhu.png" mode=""></image>
  37. <text class="guide_title">注册业主</text>
  38. <text class="guide_desc">业主注册审核\n实时等级升级</text>
  39. </view>
  40. <image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode=""></image>
  41. <view class="item_guide">
  42. <image class="guide_img" style="width: 72rpx;height: 72rpx;margin-top: 5rpx;" src="https://dm.static.elab-plus.com/yezhu/icon_pyq.png" mode=""></image>
  43. <text class="guide_title">分享项目</text>
  44. <text class="guide_desc">分享到朋友圈\n自动计算收益</text>
  45. </view>
  46. <image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode=""></image>
  47. <view class="item_guide">
  48. <image class="guide_img" style="width: 58rpx;height: 68rpx;margin-top: 9rpx;" src="https://dm.static.elab-plus.com/yezhu/icon_yz_money.png" mode=""></image>
  49. <text class="guide_title">提现到微信</text>
  50. <text class="guide_desc">实时查看收益\n快速提现到账</text>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="content_tab">
  55. <view class="tab_item">
  56. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_zcyz.png" mode=""></image>
  57. <text class="txt_tab">注册业主</text>
  58. </view>
  59. <view class="tab_item">
  60. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_shouyi.png" mode=""></image>
  61. <text class="txt_tab">收益排行榜</text>
  62. </view>
  63. <view class="tab_item">
  64. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_report.png" mode=""></image>
  65. <text class="txt_tab">效果报表</text>
  66. </view>
  67. <view class="tab_item">
  68. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_myinfo.png" mode=""></image>
  69. <text class="txt_tab">我的信息</text>
  70. </view>
  71. </view>
  72. <view class="content_tuiguang">
  73. <view class="content_tuiguang_city">
  74. <text class="city_num">4个</text>
  75. <text class="city_num_desc">推广任务</text>
  76. <view class="city_list">
  77. <text class="city_name">城市</text>
  78. <image class="city_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png" mode=""></image>
  79. </view>
  80. </view>
  81. <view class="content_tuiguang_money">
  82. <text class="money_num">¥50,176.00</text>
  83. <text class="money_num_des">剩余任务金额</text>
  84. <view class="money_list">
  85. <text class="money_name">类型</text>
  86. <image class="money_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png" mode=""></image>
  87. </view>
  88. <image class="money_bg" src="https://dm.static.elab-plus.com/yezhu/icon_money_bg.png" mode=""></image>
  89. </view>
  90. </view>
  91. <view class="content_list">
  92. <view class="content_title">
  93. <view class="content_title_poi">
  94. </view>
  95. 任务列表
  96. </view>
  97. <view class="content_hongbao">
  98. <view class="hongbao_left">
  99. <image class="icon_hongbao" src="https://dm.static.elab-plus.com/yezhu/icon_hongbao.png" mode=""></image>
  100. <view class="hongbao_left_info">
  101. <text class="hongbao_title">邀请好友注册</text>
  102. <text class="hongbao_money">完成邀请,可获得 ¥1/人</text>
  103. </view>
  104. </view>
  105. <view class="hongbao_right">
  106. 邀请好友
  107. </view>
  108. </view>
  109. <view class="list_item">
  110. <image class="house_img" src="https://dm.static.elab-plus.com/yezhu/icon_house_test.png" mode=""></image>
  111. <view class="item_content">
  112. <text class="house_name">南京青龙山项目</text>
  113. <text class="house_hk">获客 ¥2/人、获电 ¥5/人</text>
  114. <view class="house_address">
  115. <image src="https://dm.static.elab-plus.com/yezhu/icon_location.png" mode=""></image>
  116. 南京 · 4.5万/m² · 住宅
  117. </view>
  118. <view class="house_num">
  119. <image src="https://dm.static.elab-plus.com/yezhu/icon_family.png" mode=""></image>
  120. 三口之家
  121. </view>
  122. <text class="house_desc">11月6日前推广赚佣金</text>
  123. </view>
  124. <view class="item_share">
  125. <image class="icon_share" src="https://dm.static.elab-plus.com/yezhu/icon_small_share.png" mode=""></image>
  126. <text class="icon_text">分享</text>
  127. </view>
  128. <view class="item_bg"></view>
  129. </view>
  130. </view>
  131. </view>
  132. </view>
  133. </template>
  134. <script>
  135. import levelView from '@/components/leve-view/leve-view.vue';
  136. let app = getApp();
  137. export default {
  138. data() {
  139. return{
  140. color4:'#F5F5F7'
  141. }
  142. },
  143. mounted() {
  144. this.color4 = app.globalData.color4;
  145. },
  146. methods: {
  147. },
  148. components:{
  149. levelView
  150. }
  151. }
  152. </script>
  153. <style lang="scss" scoped>
  154. page {
  155. width: 100vw;
  156. height: 100vh;
  157. }
  158. .content {
  159. width: 100%;
  160. height: 100%;
  161. position: relative;
  162. .topSection{
  163. position: relative;
  164. z-index: 100;
  165. }
  166. .bg_top{
  167. width: 100%;
  168. height: 470rpx;
  169. position: absolute;
  170. top:0;
  171. left:0;
  172. z-index: 100;
  173. }
  174. .liveContent {
  175. width: 100%;
  176. height: 470rpx;
  177. z-index: 100;
  178. display: flex;
  179. flex-direction: column;
  180. align-items: center;
  181. position: relative;
  182. .backDiv {
  183. top: 0;
  184. left: 0;
  185. position: absolute;
  186. width: 100%;
  187. height: 100%;
  188. background-color: rgba($color: #000000, $alpha: 0.1);
  189. z-index: 1;
  190. }
  191. .title {
  192. margin-top: 96rpx;
  193. font-size: 44rpx;
  194. font-weight: 700;
  195. text-align: center;
  196. color: #ffffff;
  197. z-index: 2;
  198. }
  199. .subTitle {
  200. font-size: 28rpx;
  201. font-family: Verdana, Verdana-Regular;
  202. font-weight: 400;
  203. text-align: left;
  204. color: #ffffff;
  205. margin-top: 20rpx;
  206. z-index: 2;
  207. }
  208. .levelDiv {
  209. margin-top: 82rpx;
  210. width: calc(100% - 60rpx);
  211. height: 152rpx;
  212. z-index: 2;
  213. display: flex;
  214. flex-direction: column;
  215. padding: 25rpx 30rpx;
  216. box-sizing: border-box;
  217. .level_top {
  218. width: 100%;
  219. display: flex;
  220. justify-content: space-between;
  221. flex-wrap: nowrap;
  222. align-items: center;
  223. margin-top: 5rpx;
  224. .level_icon {
  225. width: 37rpx;
  226. min-width: 37rpx;
  227. max-width: 37rpx;
  228. height: 35rpx;
  229. margin-right: 13rpx;
  230. margin-top: -5rpx;
  231. }
  232. .level_text {
  233. font-size: 48rpx;
  234. font-family: FontName, FontName-Regular;
  235. font-weight: 500;
  236. text-align: left;
  237. font-style: oblique;
  238. color: #f5c8a8;
  239. line-height: 40rpx;
  240. letter-spacing: 1.92rpx;
  241. margin-right: 8rpx;
  242. margin-top: -7rpx;
  243. }
  244. .level_des {
  245. font-size: 22rpx;
  246. font-family: Verdana, Verdana-Regular;
  247. font-weight: 400;
  248. text-align: left;
  249. color: #f5c8a8;
  250. white-space: nowrap;
  251. flex-grow: 1;
  252. }
  253. .level_update {
  254. font-size: 24rpx;
  255. font-family: Verdana, Verdana-Bold;
  256. font-weight: 700;
  257. text-align: right;
  258. color: #f5c8a8;
  259. letter-spacing: 0.96rpx;
  260. display: flex;
  261. align-items: center;
  262. .level_right_icon {
  263. margin-left: 8rpx;
  264. width: 6rpx;
  265. height: 7rpx;
  266. }
  267. }
  268. }
  269. }
  270. }
  271. .content_body{
  272. border-radius: 20rpx 20rpx 0rpx 0rpx;
  273. height: calc(100% - 470rpx);
  274. margin-top: -24rpx;
  275. z-index: 102;
  276. position: relative;
  277. padding: 1rpx;
  278. .content_beginner_guide{
  279. height: 354rpx;
  280. margin-left: 30rpx;
  281. margin-right: 30rpx;
  282. margin-top: 40rpx;
  283. background: #ffffff;
  284. border-radius: 16rpx;
  285. box-sizing: border-box;
  286. .title{
  287. width: 100%;
  288. position: relative;
  289. height: 110rpx;
  290. .title_txt{
  291. font-size: 32rpx;
  292. font-family: FontName, FontName-Regular;
  293. font-weight: 400;
  294. text-align: left;
  295. color: #b1b1b1;
  296. font-style: italic;
  297. position: absolute;
  298. left: 50%;
  299. top: 30rpx;
  300. transform: translateX(-50%);
  301. }
  302. .title_right{
  303. position: absolute;
  304. right: 20rpx;
  305. top: 40rpx;
  306. display: flex;
  307. align-items: center;
  308. .title_right_txt{
  309. font-size: 24rpx;
  310. font-family: Verdana, Verdana-Regular;
  311. font-weight: 400;
  312. text-align: right;
  313. color: #b1b1b1;
  314. }
  315. .title_right_cion{
  316. width: 10rpx;
  317. height: 6rpx;
  318. margin-left: 10rpx;
  319. }
  320. }
  321. }
  322. .guide_content{
  323. display: flex;
  324. padding-left: 40rpx;
  325. padding-right: 40rpx;
  326. box-sizing: border-box;
  327. justify-content: space-between;
  328. .item_guide{
  329. display: flex;
  330. flex-direction: column;
  331. align-items: center;
  332. .guide_img{
  333. width: 58rpx;
  334. height: 74rpx;
  335. margin-bottom: 17rpx;
  336. }
  337. .guide_title{
  338. font-size: 26rpx;
  339. font-family: Verdana, Verdana-Bold;
  340. font-weight: 700;
  341. text-align: center;
  342. color: #2c2c2c;
  343. margin-bottom: 8rpx;
  344. }
  345. .guide_desc{
  346. font-size: 22rpx;
  347. font-family: Verdana, Verdana-Regular;
  348. font-weight: 400;
  349. text-align: center;
  350. color: #b1b1b1;
  351. }
  352. }
  353. .icon_guide{
  354. width: 48rpx;
  355. height: 32rpx;
  356. margin-top: 20rpx;
  357. }
  358. }
  359. }
  360. .content_tab{
  361. display: flex;
  362. box-sizing: border-box;
  363. height: 180rpx;
  364. background: #ffffff;
  365. border-radius: 16rpx;
  366. margin-top: 14rpx;
  367. padding-left: 40rpx;
  368. padding-right: 40rpx;
  369. margin-left: 30rpx;
  370. margin-right: 30rpx;
  371. justify-content: space-between;
  372. .tab_item{
  373. display: flex;
  374. flex-direction: column;
  375. align-items: center;
  376. justify-content: center;
  377. .icon_tab{
  378. width: 96rpx;
  379. height: 96rpx;
  380. }
  381. .txt_tab{
  382. font-size: 24rpx;
  383. font-family: Verdana, Verdana-Regular;
  384. font-weight: 400;
  385. text-align: center;
  386. color: #262626;
  387. margin-top: 2rpx;
  388. }
  389. }
  390. }
  391. .content_tuiguang{
  392. height: 220rpx;
  393. display: flex;
  394. box-sizing: border-box;
  395. background: #ffffff;
  396. border-radius: 16rpx;
  397. margin-top: 14rpx;
  398. padding-left: 40rpx;
  399. padding-right: 40rpx;
  400. margin-left: 30rpx;
  401. margin-right: 30rpx;
  402. justify-content: space-between;
  403. position: relative;
  404. .content_tuiguang_city{
  405. display: flex;
  406. flex-direction: column;
  407. justify-content: center;
  408. align-items: center;
  409. width: 50%;
  410. .city_num{
  411. font-size: 40rpx;
  412. font-family: DIN Alternate, DIN Alternate-Bold;
  413. font-weight: 700;
  414. text-align: center;
  415. color: #262626;
  416. }
  417. .city_num_desc{
  418. font-size: 24rpx;
  419. font-family: Verdana, Verdana-Regular;
  420. font-weight: 400;
  421. text-align: center;
  422. color: #b1b1b1;
  423. }
  424. .city_list{
  425. display: flex;
  426. justify-content: center;
  427. margin-top: 52rpx;
  428. align-items: center;
  429. .city_name{
  430. font-size: 26rpx;
  431. font-family: Verdana, Verdana-Regular;
  432. font-weight: 400;
  433. text-align: left;
  434. color: #262626;
  435. }
  436. .city_more{
  437. width: 26rpx;
  438. height: 26rpx;
  439. margin-left: 8rpx;
  440. }
  441. }
  442. }
  443. .content_tuiguang_money{
  444. display: flex;
  445. flex-direction: column;
  446. justify-content: center;
  447. align-items: center;
  448. width: 50%;
  449. .money_num{
  450. font-size: 40rpx;
  451. font-family: DIN Alternate, DIN Alternate-Bold;
  452. font-weight: 700;
  453. text-align: center;
  454. color: #fd8f3c;
  455. }
  456. .money_num_des{
  457. font-size: 24rpx;
  458. font-family: Verdana, Verdana-Regular;
  459. font-weight: 400;
  460. text-align: center;
  461. color: #b1b1b1;
  462. }
  463. .money_list{
  464. display: flex;
  465. justify-content: center;
  466. margin-top: 52rpx;
  467. align-items: center;
  468. .money_name{
  469. font-size: 26rpx;
  470. font-family: Verdana, Verdana-Regular;
  471. font-weight: 400;
  472. text-align: left;
  473. color: #262626;
  474. }
  475. .money_more{
  476. width: 26rpx;
  477. height: 26rpx;
  478. margin-left: 8rpx;
  479. }
  480. }
  481. .money_bg{
  482. position: absolute;
  483. right: 0rpx;
  484. top: 0;
  485. width: 220rpx;
  486. height: 220rpx;
  487. }
  488. }
  489. }
  490. .content_list{
  491. margin-top: 60rpx;
  492. margin-left: 30rpx;
  493. margin-right: 30rpx;
  494. padding-bottom: 50rpx;
  495. .content_title{
  496. display: flex;
  497. font-size: 32rpx;
  498. font-family: Verdana, Verdana-Bold;
  499. font-weight: 700;
  500. text-align: left;
  501. color: #262626;
  502. align-items: center;
  503. .content_title_poi{
  504. width: 8rpx;
  505. height: 12rpx;
  506. background: #f07423;
  507. border-radius: 2rpx;
  508. margin-right: 8rpx;
  509. }
  510. }
  511. .content_hongbao{
  512. margin-top: 20rpx;
  513. height: 140rpx;
  514. background: linear-gradient(108deg,#ffb55f 9%, #f87523 96%);
  515. border-radius: 16rpx;
  516. display: flex;
  517. justify-content: space-between;
  518. align-items: center;
  519. .hongbao_left{
  520. display: flex;
  521. margin-left: 26rpx;
  522. .icon_hongbao{
  523. width: 60rpx;
  524. height: 80rpx;
  525. margin-right: 20rpx;
  526. }
  527. .hongbao_left_info{
  528. display: flex;
  529. flex-direction: column;
  530. .hongbao_title{
  531. font-size: 30rpx;
  532. font-family: Verdana, Verdana-Bold;
  533. font-weight: 700;
  534. text-align: left;
  535. color: #ffffff;
  536. }
  537. .hongbao_money{
  538. font-size: 24rpx;
  539. font-family: Verdana, Verdana-Regular;
  540. font-weight: 400;
  541. text-align: left;
  542. color: #ffead8;
  543. }
  544. }
  545. }
  546. .hongbao_right{
  547. width: 140rpx;
  548. height: 56rpx;
  549. line-height: 56rpx;
  550. background: #ffffff;
  551. border-radius: 12rpx;
  552. font-size: 24rpx;
  553. font-family: Verdana, Verdana-Bold;
  554. font-weight: 700;
  555. text-align: center;
  556. color: #f07423;
  557. margin-right: 20rpx;
  558. }
  559. }
  560. .list_item{
  561. width: 100%;
  562. height: 280rpx;
  563. border-radius: 16rpx;
  564. display: flex;
  565. position: relative;
  566. margin-top: 20rpx;
  567. .house_img{
  568. width: 200rpx;
  569. height: 240rpx;
  570. z-index: 11;
  571. margin-top: 20rpx;
  572. }
  573. .item_content{
  574. display: flex;
  575. flex-direction: column;
  576. margin-left: 50rpx;
  577. z-index: 11;
  578. .house_name{
  579. font-size: 30rpx;
  580. font-family: Verdana, Verdana-Bold;
  581. font-weight: 700;
  582. text-align: left;
  583. color: #262626;
  584. margin-top: 20rpx;
  585. }
  586. .house_hk{
  587. font-size: 26rpx;
  588. font-family: Verdana, Verdana-Regular;
  589. font-weight: 400;
  590. text-align: left;
  591. color: #fd8f3c;
  592. margin-top: 8rpx;
  593. }
  594. .house_address{
  595. display: flex;
  596. font-size: 24rpx;
  597. font-family: Verdana, Verdana-Regular;
  598. font-weight: 400;
  599. text-align: left;
  600. color: #b1b1b1;
  601. margin-top: 16rpx;
  602. align-items: center;
  603. image{
  604. width: 20rpx;
  605. height: 28rpx;
  606. margin-right: 8rpx;
  607. }
  608. }
  609. .house_num{
  610. display: flex;
  611. font-size: 24rpx;
  612. font-family: Verdana, Verdana-Regular;
  613. font-weight: 400;
  614. text-align: left;
  615. color: #b1b1b1;
  616. margin-top: 12rpx;
  617. align-items: center;
  618. image{
  619. width: 24rpx;
  620. height: 26rpx;
  621. margin-right: 8rpx;
  622. }
  623. }
  624. .house_desc{
  625. margin-top: 24rpx;
  626. font-size: 24rpx;
  627. font-family: Verdana, Verdana-Regular;
  628. font-weight: 400;
  629. text-align: left;
  630. color: #b1b1b1;
  631. }
  632. }
  633. .item_share{
  634. z-index: 11;
  635. display: flex;
  636. flex-direction: column;
  637. width: 70rpx;
  638. height: 100rpx;
  639. background: #f07423;
  640. border-radius: 12rpx;
  641. position: absolute;
  642. right: 0;
  643. top: 50%;
  644. transform: translateY(-50%);
  645. justify-content: center;
  646. align-items: center;
  647. .icon_share{
  648. width: 32rpx;
  649. height: 32rpx;
  650. margin-bottom: 6rpx;
  651. }
  652. .icon_text{
  653. font-size: 24rpx;
  654. font-family: Verdana, Verdana-Bold;
  655. font-weight: 700;
  656. text-align: center;
  657. color: #ffffff;
  658. }
  659. }
  660. .item_bg{
  661. position: absolute;
  662. left: 0;
  663. top: 0;
  664. width: 95%;
  665. height: 100%;
  666. background-color: #FFFFFF;
  667. border-radius: 16rpx;
  668. z-index: 10;
  669. }
  670. }
  671. }
  672. }
  673. }
  674. </style>