homePage.vue 26 KB

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