homePage.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935
  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" @click="setEnv">新手赚钱帮助 ></view>
  9. <view class="levelDiv" v-if="userInfo.ownersUnion"
  10. style="background: url('https://dm.static.elab-plus.com/yezhu/h5/icon_line_back.png') center/100% 100% no-repeat;">
  11. <view class="level_top">
  12. <image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode="">
  13. </image>
  14. <view class="level_text">{{userInfo.curlevel}}</view>
  15. <view class="level_des">/达到 {{userInfo.nextIncome}} 收益可升级</view>
  16. <view class="level_update">
  17. <text>升级攻略</text>
  18. <image class="level_right_icon"
  19. src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
  20. </view>
  21. </view>
  22. <view class="level_bottom">
  23. <levelView :currentLevel='userInfo.curIncome' :nextLevel='userInfo.nextIncome' :currentLevelTxt='userInfo.curlevel' nextLevelTxt='userInfo.nextLevel'>
  24. </levelView>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="content_body" :style="{background:color4}">
  30. <view class="content_beginner_guide">
  31. <view class="title">
  32. <text class="title_txt">- 新手引导 -</text>
  33. <view class="title_right">
  34. <text class="title_right_txt">收起</text>
  35. <image class="title_right_cion" src="https://dm.static.elab-plus.com/yezhu/icon_shouqi.png"
  36. mode=""></image>
  37. </view>
  38. </view>
  39. <view class="guide_content">
  40. <view class="item_guide">
  41. <image class="guide_img" src="https://dm.static.elab-plus.com/yezhu/icon_yezhu.png" mode="">
  42. </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="">
  47. </image>
  48. <view class="item_guide">
  49. <image class="guide_img" style="width: 72rpx;height: 72rpx;margin-top: 5rpx;"
  50. src="https://dm.static.elab-plus.com/yezhu/icon_pyq.png" mode=""></image>
  51. <text class="guide_title">分享项目</text>
  52. <text class="guide_desc">分享到朋友圈\n自动计算收益</text>
  53. </view>
  54. <image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode="">
  55. </image>
  56. <view class="item_guide">
  57. <image class="guide_img" style="width: 58rpx;height: 68rpx;margin-top: 9rpx;"
  58. src="https://dm.static.elab-plus.com/yezhu/icon_yz_money.png" mode=""></image>
  59. <text class="guide_title">提现到微信</text>
  60. <text class="guide_desc">实时查看收益\n快速提现到账</text>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="content_tab">
  65. <view class="tab_item" @click="toYezhu">
  66. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_zcyz.png" mode=""></image>
  67. <text class="txt_tab">注册业主</text>
  68. </view>
  69. <view class="tab_item" @click="toShouYiPage">
  70. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_shouyi.png" mode=""></image>
  71. <text class="txt_tab">收益排行榜</text>
  72. </view>
  73. <view class="tab_item" @click="goReportPage">
  74. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_report.png" mode=""></image>
  75. <text class="txt_tab">效果报表</text>
  76. </view>
  77. <view class="tab_item">
  78. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_myinfo.png" mode=""></image>
  79. <text class="txt_tab">我的信息</text>
  80. </view>
  81. </view>
  82. <view class="content_tuiguang">
  83. <view class="content_tuiguang_city">
  84. <text class="city_num">{{userInfo.taskCount||0}}个</text>
  85. <text class="city_num_desc">推广任务</text>
  86. <view class="city_list">
  87. <text class="city_name">城市</text>
  88. <image class="city_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
  89. mode=""></image>
  90. </view>
  91. </view>
  92. <view class="content_tuiguang_money">
  93. <text class="money_num">¥{{userInfo.surplusTaskAmount||0}}</text>
  94. <text class="money_num_des">剩余任务金额</text>
  95. <view class="money_list">
  96. <text class="money_name">类型</text>
  97. <image class="money_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
  98. mode=""></image>
  99. </view>
  100. <image class="money_bg" src="https://dm.static.elab-plus.com/yezhu/icon_money_bg.png" mode="">
  101. </image>
  102. </view>
  103. </view>
  104. <view class="content_list">
  105. <view class="content_title">
  106. <view class="content_title_poi">
  107. </view>
  108. 任务列表
  109. </view>
  110. <view class="content_hongbao">
  111. <view class="hongbao_left">
  112. <image class="icon_hongbao" src="https://dm.static.elab-plus.com/yezhu/icon_hongbao.png"
  113. mode=""></image>
  114. <view class="hongbao_left_info">
  115. <text class="hongbao_title">邀请好友注册</text>
  116. <text class="hongbao_money">完成邀请,可获得 ¥1/人</text>
  117. </view>
  118. </view>
  119. <view class="hongbao_right">
  120. 邀请好友
  121. </view>
  122. </view>
  123. <view class="list_item" v-for="(item,index) in houseList" :key='index'>
  124. <image class="house_img" :src="item.image" mode=""></image>
  125. <view class="item_content">
  126. <text class="house_name">{{item.name}}</text>
  127. <view class="house_hk" v-if="item.taskCategory">
  128. <text class="house_hk_" v-for="(item1,index1) in item.taskCategory" :key='index1'>{{item1.category}} ¥{{item1.unitPrice}}/人</text>
  129. </view>
  130. <text class="house_hk" v-else></text>
  131. <view class="house_address">
  132. <image src="https://dm.static.elab-plus.com/yezhu/icon_location.png" mode=""></image>
  133. <text>{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}万/m² · {{item.bizFormat}}</text>
  134. </view>
  135. <view class="house_num">
  136. <image src="https://dm.static.elab-plus.com/yezhu/icon_family.png" mode=""></image>
  137. <text>{{item.cusGroup}}</text>
  138. </view>
  139. <text class="house_desc">{{item.shareRemark}}</text>
  140. </view>
  141. <view class="item_share" @click="toShareCard">
  142. <image class="icon_share" src="https://dm.static.elab-plus.com/yezhu/icon_small_share.png"
  143. mode=""></image>
  144. <text class="icon_text">分享</text>
  145. </view>
  146. <view class="item_bg"></view>
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. </template>
  152. <script>
  153. import levelView from '@/components/leve-view/leve-view.vue';
  154. let app = getApp();
  155. export default {
  156. data() {
  157. return {
  158. color4: '#F5F5F7',
  159. houseList: [],
  160. userId: "",
  161. token: "",
  162. clickCount:8,
  163. userInfo: {
  164. "userId": "",
  165. "name": null,
  166. "head": null,
  167. "curlevel": null,
  168. "curIncome": null,
  169. "nextLevel": null,
  170. "nextIncome": null,
  171. "ownersUnion": false,
  172. "totalIncome": null,
  173. "taskCount": null,
  174. "surplusTaskAmount": null
  175. }
  176. }
  177. },
  178. mounted() {
  179. let token = this.$cache.get('_token_owner_union');
  180. let userId = this.$cache.get('_user_id');
  181. if(userId){
  182. app.globalData.userId = userId;
  183. }
  184. if (!token) {
  185. this.regist();
  186. } else {
  187. app.globalData.token = token;
  188. this.getUserInfo();
  189. }
  190. this.color4 = app.globalData.color4;
  191. this.getHomePage();
  192. },
  193. methods: {
  194. async getHomePage() {
  195. let ret = await this.$myRequest({
  196. url: "/project/homePage",
  197. data: {
  198. "city": "",
  199. "pageNo": 1,
  200. "pageSize": 20,
  201. "taskCategoryId": ""
  202. }
  203. })
  204. if (ret.data.success) {
  205. let pageModel = ret.data.pageModel;
  206. this.houseList = pageModel.resultSet || [];
  207. }
  208. },
  209. async regist() {
  210. let ret = await this.$myRequest({
  211. url: "/regist",
  212. data: {
  213. "code": "o08gpwOfRgwnhh1WCBYGLbaszur8",
  214. "shareToken": ""
  215. }
  216. });
  217. if (ret.data.success) {
  218. this.userId = ret.data.single.userId;
  219. this.$cache.set("_user_id",this.userId);
  220. app.globalData.userId = this.userId;
  221. if (ret.data.single.authed == 1) {
  222. this.token = ret.data.single.token;
  223. this.$cache.set('_token_owner_union', this.token);
  224. app.globalData.token = this.token
  225. this.getUserInfo()
  226. } else {
  227. this.getToken()
  228. }
  229. }
  230. },
  231. async getToken() {
  232. let ret = await this.$myRequest({
  233. url: "/authorizedPhone",
  234. data: {
  235. "code": (new Date()).getTime(),
  236. "phone": "18721775127",
  237. "userId": this.userId
  238. }
  239. });
  240. if (ret.data.success) {
  241. this.token = ret.data.single;
  242. this.$cache.set('_token_owner_union', this.token);
  243. app.globalData.token = this.token
  244. this.getUserInfo()
  245. }
  246. },
  247. async getUserInfo() {
  248. let ret = await this.$myRequest({
  249. url: "/user/userInfo",
  250. data: {
  251. },
  252. method: "GET"
  253. });
  254. if (ret.data.success) {
  255. this.userInfo = ret.data.single || null;
  256. }
  257. },
  258. // 跳转至效果报表
  259. goReportPage() {
  260. uni.navigateTo({
  261. url: '../reportPage/reportPage'
  262. })
  263. },
  264. toShouYiPage() {
  265. uni.navigateTo({
  266. url: '../revenueRankingPage/revenueRankingPage'
  267. })
  268. },
  269. async toYezhu(){
  270. let ret = await this.$myRequest({
  271. url: "/user/regist/get",
  272. data: {
  273. "userId": app.globalData.userId,
  274. },
  275. method:"GET"
  276. })
  277. if (ret.data.success) {
  278. let single = ret.data.single||null;//:0待审核1通过2拒绝
  279. if(single.approvalStatus==0||single.approvalStatus==1){
  280. uni.navigateTo({
  281. url: '../certificationResultPage/certificationResultPage'
  282. })
  283. }else{
  284. uni.navigateTo({
  285. url: '../ownerCertification/ownerCertification'
  286. })
  287. }
  288. }
  289. },
  290. setEnv(){
  291. if (this.clickCount < 0) {
  292. this.clickCount = 8;
  293. uni.navigateTo({
  294. url:"../developSetting/developSetting"
  295. })
  296. } else {
  297. this.clickCount--;
  298. }
  299. },
  300. toShareCard(){
  301. uni.navigateTo({
  302. url:'../shareCardPage/shareCardPage'
  303. })
  304. }
  305. },
  306. components: {
  307. levelView
  308. }
  309. }
  310. </script>
  311. <style lang="scss" scoped>
  312. page {
  313. width: 100vw;
  314. height: 100vh;
  315. }
  316. .content {
  317. width: 100%;
  318. height: 100%;
  319. position: relative;
  320. .topSection {
  321. position: relative;
  322. z-index: 100;
  323. }
  324. .bg_top {
  325. width: 100%;
  326. height: 470rpx;
  327. position: absolute;
  328. top: 0;
  329. left: 0;
  330. z-index: 100;
  331. }
  332. .liveContent {
  333. width: 100%;
  334. height: 470rpx;
  335. z-index: 100;
  336. display: flex;
  337. flex-direction: column;
  338. align-items: center;
  339. position: relative;
  340. .backDiv {
  341. top: 0;
  342. left: 0;
  343. position: absolute;
  344. width: 100%;
  345. height: 100%;
  346. background-color: rgba($color: #000000, $alpha: 0.1);
  347. z-index: 1;
  348. }
  349. .title {
  350. margin-top: 96rpx;
  351. font-size: 44rpx;
  352. font-weight: 700;
  353. text-align: center;
  354. color: #ffffff;
  355. z-index: 2;
  356. }
  357. .subTitle {
  358. font-size: 28rpx;
  359. font-family: Verdana, Verdana-Regular;
  360. font-weight: 400;
  361. text-align: left;
  362. color: #ffffff;
  363. margin-top: 20rpx;
  364. z-index: 2;
  365. }
  366. .levelDiv {
  367. margin-top: 82rpx;
  368. width: calc(100% - 60rpx);
  369. height: 152rpx;
  370. z-index: 2;
  371. display: flex;
  372. flex-direction: column;
  373. padding: 25rpx 30rpx;
  374. box-sizing: border-box;
  375. .level_top {
  376. width: 100%;
  377. display: flex;
  378. justify-content: space-between;
  379. flex-wrap: nowrap;
  380. align-items: center;
  381. margin-top: 5rpx;
  382. .level_icon {
  383. width: 37rpx;
  384. min-width: 37rpx;
  385. max-width: 37rpx;
  386. height: 35rpx;
  387. margin-right: 13rpx;
  388. margin-top: -5rpx;
  389. }
  390. .level_text {
  391. font-size: 48rpx;
  392. font-family: FontName, FontName-Regular;
  393. font-weight: 500;
  394. text-align: left;
  395. font-style: oblique;
  396. color: #f5c8a8;
  397. line-height: 40rpx;
  398. letter-spacing: 1.92rpx;
  399. margin-right: 8rpx;
  400. margin-top: -7rpx;
  401. }
  402. .level_des {
  403. font-size: 22rpx;
  404. font-family: Verdana, Verdana-Regular;
  405. font-weight: 400;
  406. text-align: left;
  407. color: #f5c8a8;
  408. white-space: nowrap;
  409. flex-grow: 1;
  410. }
  411. .level_update {
  412. font-size: 24rpx;
  413. font-family: Verdana, Verdana-Bold;
  414. font-weight: 700;
  415. text-align: right;
  416. color: #f5c8a8;
  417. letter-spacing: 0.96rpx;
  418. display: flex;
  419. align-items: center;
  420. .level_right_icon {
  421. margin-left: 8rpx;
  422. width: 6rpx;
  423. height: 7rpx;
  424. }
  425. }
  426. }
  427. }
  428. }
  429. .content_body {
  430. border-radius: 20rpx 20rpx 0rpx 0rpx;
  431. height: calc(100% - 470rpx);
  432. margin-top: -24rpx;
  433. z-index: 102;
  434. position: relative;
  435. padding: 1rpx;
  436. .content_beginner_guide {
  437. height: 354rpx;
  438. margin-left: 30rpx;
  439. margin-right: 30rpx;
  440. margin-top: 40rpx;
  441. background: #ffffff;
  442. border-radius: 16rpx;
  443. box-sizing: border-box;
  444. .title {
  445. width: 100%;
  446. position: relative;
  447. height: 110rpx;
  448. .title_txt {
  449. font-size: 32rpx;
  450. font-family: FontName, FontName-Regular;
  451. font-weight: 400;
  452. text-align: left;
  453. color: #b1b1b1;
  454. font-style: italic;
  455. position: absolute;
  456. left: 50%;
  457. top: 30rpx;
  458. transform: translateX(-50%);
  459. }
  460. .title_right {
  461. position: absolute;
  462. right: 20rpx;
  463. top: 40rpx;
  464. display: flex;
  465. align-items: center;
  466. .title_right_txt {
  467. font-size: 24rpx;
  468. font-family: Verdana, Verdana-Regular;
  469. font-weight: 400;
  470. text-align: right;
  471. color: #b1b1b1;
  472. }
  473. .title_right_cion {
  474. width: 10rpx;
  475. height: 6rpx;
  476. margin-left: 10rpx;
  477. }
  478. }
  479. }
  480. .guide_content {
  481. display: flex;
  482. padding-left: 40rpx;
  483. padding-right: 40rpx;
  484. box-sizing: border-box;
  485. justify-content: space-between;
  486. .item_guide {
  487. display: flex;
  488. flex-direction: column;
  489. align-items: center;
  490. .guide_img {
  491. width: 58rpx;
  492. height: 74rpx;
  493. margin-bottom: 17rpx;
  494. }
  495. .guide_title {
  496. font-size: 26rpx;
  497. font-family: Verdana, Verdana-Bold;
  498. font-weight: 700;
  499. text-align: center;
  500. color: #2c2c2c;
  501. margin-bottom: 8rpx;
  502. }
  503. .guide_desc {
  504. font-size: 22rpx;
  505. font-family: Verdana, Verdana-Regular;
  506. font-weight: 400;
  507. text-align: center;
  508. color: #b1b1b1;
  509. }
  510. }
  511. .icon_guide {
  512. width: 48rpx;
  513. height: 32rpx;
  514. margin-top: 20rpx;
  515. }
  516. }
  517. }
  518. .content_tab {
  519. display: flex;
  520. box-sizing: border-box;
  521. height: 180rpx;
  522. background: #ffffff;
  523. border-radius: 16rpx;
  524. margin-top: 14rpx;
  525. padding-left: 40rpx;
  526. padding-right: 40rpx;
  527. margin-left: 30rpx;
  528. margin-right: 30rpx;
  529. justify-content: space-between;
  530. .tab_item {
  531. display: flex;
  532. flex-direction: column;
  533. align-items: center;
  534. justify-content: center;
  535. .icon_tab {
  536. width: 96rpx;
  537. height: 96rpx;
  538. }
  539. .txt_tab {
  540. font-size: 24rpx;
  541. font-family: Verdana, Verdana-Regular;
  542. font-weight: 400;
  543. text-align: center;
  544. color: #262626;
  545. margin-top: 2rpx;
  546. }
  547. }
  548. }
  549. .content_tuiguang {
  550. height: 220rpx;
  551. display: flex;
  552. box-sizing: border-box;
  553. background: #ffffff;
  554. border-radius: 16rpx;
  555. margin-top: 14rpx;
  556. padding-left: 40rpx;
  557. padding-right: 40rpx;
  558. margin-left: 30rpx;
  559. margin-right: 30rpx;
  560. justify-content: space-between;
  561. position: relative;
  562. .content_tuiguang_city {
  563. display: flex;
  564. flex-direction: column;
  565. justify-content: center;
  566. align-items: center;
  567. width: 50%;
  568. .city_num {
  569. font-size: 40rpx;
  570. font-family: DIN Alternate, DIN Alternate-Bold;
  571. font-weight: 700;
  572. text-align: center;
  573. color: #262626;
  574. }
  575. .city_num_desc {
  576. font-size: 24rpx;
  577. font-family: Verdana, Verdana-Regular;
  578. font-weight: 400;
  579. text-align: center;
  580. color: #b1b1b1;
  581. }
  582. .city_list {
  583. display: flex;
  584. justify-content: center;
  585. margin-top: 52rpx;
  586. align-items: center;
  587. .city_name {
  588. font-size: 26rpx;
  589. font-family: Verdana, Verdana-Regular;
  590. font-weight: 400;
  591. text-align: left;
  592. color: #262626;
  593. }
  594. .city_more {
  595. width: 26rpx;
  596. height: 26rpx;
  597. margin-left: 8rpx;
  598. }
  599. }
  600. }
  601. .content_tuiguang_money {
  602. display: flex;
  603. flex-direction: column;
  604. justify-content: center;
  605. align-items: center;
  606. width: 50%;
  607. .money_num {
  608. font-size: 40rpx;
  609. font-family: DIN Alternate, DIN Alternate-Bold;
  610. font-weight: 700;
  611. text-align: center;
  612. color: #fd8f3c;
  613. }
  614. .money_num_des {
  615. font-size: 24rpx;
  616. font-family: Verdana, Verdana-Regular;
  617. font-weight: 400;
  618. text-align: center;
  619. color: #b1b1b1;
  620. }
  621. .money_list {
  622. display: flex;
  623. justify-content: center;
  624. margin-top: 52rpx;
  625. align-items: center;
  626. .money_name {
  627. font-size: 26rpx;
  628. font-family: Verdana, Verdana-Regular;
  629. font-weight: 400;
  630. text-align: left;
  631. color: #262626;
  632. }
  633. .money_more {
  634. width: 26rpx;
  635. height: 26rpx;
  636. margin-left: 8rpx;
  637. }
  638. }
  639. .money_bg {
  640. position: absolute;
  641. right: 0rpx;
  642. top: 0;
  643. width: 220rpx;
  644. height: 220rpx;
  645. }
  646. }
  647. }
  648. .content_list {
  649. margin-top: 60rpx;
  650. margin-left: 30rpx;
  651. margin-right: 30rpx;
  652. padding-bottom: 50rpx;
  653. .content_title {
  654. display: flex;
  655. font-size: 32rpx;
  656. font-family: Verdana, Verdana-Bold;
  657. font-weight: 700;
  658. text-align: left;
  659. color: #262626;
  660. align-items: center;
  661. .content_title_poi {
  662. width: 8rpx;
  663. height: 12rpx;
  664. background: #f07423;
  665. border-radius: 2rpx;
  666. margin-right: 8rpx;
  667. }
  668. }
  669. .content_hongbao {
  670. margin-top: 20rpx;
  671. height: 140rpx;
  672. background: linear-gradient(108deg, #ffb55f 9%, #f87523 96%);
  673. border-radius: 16rpx;
  674. display: flex;
  675. justify-content: space-between;
  676. align-items: center;
  677. .hongbao_left {
  678. display: flex;
  679. margin-left: 26rpx;
  680. .icon_hongbao {
  681. width: 60rpx;
  682. height: 80rpx;
  683. margin-right: 20rpx;
  684. }
  685. .hongbao_left_info {
  686. display: flex;
  687. flex-direction: column;
  688. .hongbao_title {
  689. font-size: 30rpx;
  690. font-family: Verdana, Verdana-Bold;
  691. font-weight: 700;
  692. text-align: left;
  693. color: #ffffff;
  694. }
  695. .hongbao_money {
  696. font-size: 24rpx;
  697. font-family: Verdana, Verdana-Regular;
  698. font-weight: 400;
  699. text-align: left;
  700. color: #ffead8;
  701. }
  702. }
  703. }
  704. .hongbao_right {
  705. width: 140rpx;
  706. height: 56rpx;
  707. line-height: 56rpx;
  708. background: #ffffff;
  709. border-radius: 12rpx;
  710. font-size: 24rpx;
  711. font-family: Verdana, Verdana-Bold;
  712. font-weight: 700;
  713. text-align: center;
  714. color: #f07423;
  715. margin-right: 20rpx;
  716. }
  717. }
  718. .list_item {
  719. width: 100%;
  720. min-height: 280rpx;
  721. border-radius: 16rpx;
  722. display: flex;
  723. position: relative;
  724. margin-top: 20rpx;
  725. .house_img {
  726. width: 200rpx;
  727. height: 240rpx;
  728. min-width: 200rpx;
  729. z-index: 11;
  730. margin-top: 20rpx;
  731. margin-left: 20rpx;
  732. border-radius: 10rpx;
  733. }
  734. .item_content {
  735. display: flex;
  736. flex-direction: column;
  737. margin-left: 50rpx;
  738. z-index: 11;
  739. max-width: 360rpx;
  740. .house_name {
  741. font-size: 30rpx;
  742. font-family: Verdana, Verdana-Bold;
  743. font-weight: 700;
  744. text-align: left;
  745. color: #262626;
  746. margin-top: 20rpx;
  747. }
  748. .house_hk {
  749. font-size: 26rpx;
  750. font-family: Verdana, Verdana-Regular;
  751. font-weight: 400;
  752. text-align: left;
  753. color: #fd8f3c;
  754. margin-top: 8rpx;
  755. .house_hk_{
  756. margin-right: 10rpx;
  757. }
  758. }
  759. .house_address {
  760. display: flex;
  761. font-size: 24rpx;
  762. font-family: Verdana, Verdana-Regular;
  763. font-weight: 400;
  764. text-align: left;
  765. color: #b1b1b1;
  766. margin-top: 16rpx;
  767. image {
  768. width: 20rpx;
  769. height: 28rpx;
  770. margin-right: 8rpx;
  771. margin-top: 6rpx;
  772. }
  773. text {
  774. width: 80%;
  775. }
  776. }
  777. .house_num {
  778. display: flex;
  779. font-size: 24rpx;
  780. font-family: Verdana, Verdana-Regular;
  781. font-weight: 400;
  782. text-align: left;
  783. color: #b1b1b1;
  784. margin-top: 12rpx;
  785. image {
  786. width: 24rpx;
  787. height: 26rpx;
  788. margin-right: 8rpx;
  789. margin-top: 6rpx;
  790. }
  791. text {
  792. width: 80%;
  793. }
  794. }
  795. .house_desc {
  796. margin-top: 24rpx;
  797. font-size: 24rpx;
  798. font-family: Verdana, Verdana-Regular;
  799. font-weight: 400;
  800. text-align: left;
  801. color: #b1b1b1;
  802. margin-bottom: 20rpx;
  803. }
  804. }
  805. .item_share {
  806. z-index: 11;
  807. display: flex;
  808. flex-direction: column;
  809. width: 70rpx;
  810. height: 100rpx;
  811. background: #f07423;
  812. border-radius: 12rpx;
  813. position: absolute;
  814. right: 0;
  815. top: 50%;
  816. transform: translateY(-50%);
  817. justify-content: center;
  818. align-items: center;
  819. .icon_share {
  820. width: 32rpx;
  821. height: 32rpx;
  822. margin-bottom: 6rpx;
  823. }
  824. .icon_text {
  825. font-size: 24rpx;
  826. font-family: Verdana, Verdana-Bold;
  827. font-weight: 700;
  828. text-align: center;
  829. color: #ffffff;
  830. }
  831. }
  832. .item_bg {
  833. position: absolute;
  834. left: 0;
  835. top: 0;
  836. width: 95%;
  837. height: 100%;
  838. background-color: #FFFFFF;
  839. border-radius: 16rpx;
  840. z-index: 10;
  841. }
  842. }
  843. }
  844. }
  845. }
  846. </style>