homePage.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089
  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. <login-notice></login-notice>
  176. <dmMine ref='mine' :userInfo='userInfo'></dmMine>
  177. </view>
  178. </template>
  179. <script>
  180. import levelView from '@/components/leve-view/leve-view.vue';
  181. import dmMine from '@/components/subComponents/dmMine.vue'
  182. let app = getApp();
  183. export default {
  184. data() {
  185. return {
  186. color4: '#F5F5F7',
  187. houseList: [],
  188. userId: "",
  189. token: "",
  190. clickCount:8,
  191. userInfo: {
  192. "userId": "",
  193. "name": null,
  194. "head": null,
  195. "curlevel": null,
  196. "curIncome": null,
  197. "nextLevel": null,
  198. "nextIncome": null,
  199. "ownersUnion": false,
  200. "totalIncome": null,
  201. "taskCount": null,
  202. "surplusTaskAmount": null,
  203. "cardNo":"",
  204. "phone":"",
  205. "room":"",
  206. "sex":""
  207. },
  208. showGuide:true,
  209. total:0,
  210. pageNo:1,
  211. pageSize:10,
  212. noMore:false
  213. }
  214. },
  215. mounted() {
  216. this.color4 = app.globalData.color4;
  217. this.getData();
  218. uni.$on("request",()=>{
  219. this.getData();
  220. })
  221. let projectId = this.getQueryString('projectId');
  222. if(projectId){
  223. let e = {
  224. projectId
  225. }
  226. this.goDetailAction(e)
  227. }
  228. },
  229. onReachBottom() {
  230. if(this.houseList.length<this.total){
  231. this.pageNo ++;
  232. this.getHomePage();
  233. }
  234. },
  235. methods: {
  236. getQueryString(name){
  237. var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i");
  238. return reg.test(location.href) ? unescape(RegExp.$2.replace(/\+/g, " ")) : ""
  239. },
  240. clearToken(){
  241. this.$cache.delete('_token_owner_union')
  242. },
  243. getData(){
  244. this.pageNo = 1;
  245. this.getUserInfo();
  246. this.getHomePage();
  247. },
  248. async getHomePage() {
  249. let ret = await this.$myRequest({
  250. url: "/project/homePage",
  251. data: {
  252. "city": "",
  253. "pageNo": this.pageNo,
  254. "pageSize": this.pageSize,
  255. "taskCategoryId": ""
  256. }
  257. })
  258. if (ret.data.success) {
  259. let pageModel = ret.data.pageModel;
  260. let houseList = pageModel.resultSet || [];
  261. if(this.pageNo==1){
  262. this.houseList = [];
  263. }
  264. this.houseList = this.houseList.concat(houseList);
  265. this.total = pageModel.total||0;
  266. this.noMore = this.houseList.length==this.total
  267. }
  268. },
  269. async getUserInfo() {
  270. let ret = await this.$myRequest({
  271. url: "/user/userInfo",
  272. data: {
  273. },
  274. method: "GET"
  275. });
  276. if (ret.data.success) {
  277. this.userInfo = ret.data.single || null;
  278. this.showGuide = this.userInfo.userId?this.userInfo.ownersUnion?false:true:true;
  279. }
  280. },
  281. // 调准项目详情
  282. goDetailAction(e) {
  283. if(this.userInfo.userId){
  284. uni.navigateTo({
  285. url: '../houseDetail/houseDetail?projectId='+e.projectId
  286. })
  287. }else{
  288. uni.$emit('unLogin')
  289. }
  290. },
  291. // 跳转至效果报表
  292. goReportPage() {
  293. if(this.userInfo.userId){
  294. uni.navigateTo({
  295. url: '../reportPage/reportPage'
  296. })
  297. }else{
  298. uni.$emit('unLogin')
  299. }
  300. },
  301. toShouYiPage() {
  302. if(this.userInfo.userId){
  303. uni.navigateTo({
  304. url: '../revenueRankingPage/revenueRankingPage'
  305. })
  306. }else{
  307. uni.$emit('unLogin')
  308. }
  309. },
  310. async toYezhu(){
  311. if(this.userInfo.userId){
  312. let ret = await this.$myRequest({
  313. url: "/user/regist/get",
  314. data: {
  315. "userId": app.globalData.userId,
  316. },
  317. method:"GET"
  318. })
  319. if (ret.data.success) {
  320. let single = ret.data.single||null;//:0待审核1通过2拒绝
  321. if(single){
  322. if(single.approvalStatus==0||single.approvalStatus==1){
  323. uni.navigateTo({
  324. url: '../certificationResultPage/certificationResultPage'
  325. })
  326. }
  327. }else{
  328. uni.navigateTo({
  329. url: '../ownerCertification/ownerCertification'
  330. })
  331. }
  332. }else{
  333. uni.showToast({
  334. icon:"none",
  335. title:ret.data.message
  336. })
  337. }
  338. }else{
  339. uni.$emit('unLogin')
  340. }
  341. },
  342. setEnv(){
  343. if (this.clickCount < 0) {
  344. this.clickCount = 8;
  345. uni.navigateTo({
  346. url:"../developSetting/developSetting"
  347. })
  348. } else {
  349. this.clickCount--;
  350. }
  351. },
  352. toShareCard(projectId,type){
  353. if(this.userInfo.userId){
  354. let href = location.href;
  355. if (href.indexOf("?")){
  356. href = href.split('?')[0]
  357. }
  358. uni.navigateTo({
  359. url:'../shareCardPage/shareCardPage?page='+href+"&projectId="+projectId+"&type="+type
  360. })
  361. }else{
  362. uni.$emit('unLogin')
  363. }
  364. },
  365. toLogin(){
  366. uni.$emit('login')
  367. },
  368. upLoadView(isShow){
  369. this.showGuide = isShow;
  370. },
  371. showMine(){
  372. if(this.userInfo.userId){
  373. this.$refs.mine.show()
  374. }else{
  375. uni.$emit('unLogin')
  376. }
  377. }
  378. },
  379. components: {
  380. levelView,
  381. dmMine
  382. }
  383. }
  384. </script>
  385. <style lang="scss" scoped>
  386. .content {
  387. width: 100%;
  388. height: 100%;
  389. position: relative;
  390. .topSection {
  391. position: relative;
  392. z-index: 100;
  393. }
  394. .bg_top {
  395. width: 100%;
  396. height: 470rpx;
  397. position: absolute;
  398. top: 0;
  399. left: 0;
  400. z-index: 100;
  401. }
  402. .liveContent {
  403. width: 100%;
  404. height: 470rpx;
  405. z-index: 100;
  406. display: flex;
  407. flex-direction: column;
  408. align-items: center;
  409. position: relative;
  410. .backDiv {
  411. top: 0;
  412. left: 0;
  413. position: absolute;
  414. width: 100%;
  415. height: 100%;
  416. background-color: rgba($color: #000000, $alpha: 0.1);
  417. z-index: 1;
  418. }
  419. .title {
  420. margin-top: 96rpx;
  421. font-size: 44rpx;
  422. font-weight: 700;
  423. text-align: center;
  424. color: #ffffff;
  425. z-index: 2;
  426. }
  427. .subTitle {
  428. font-size: 28rpx;
  429. font-family: Verdana, Verdana-Regular;
  430. font-weight: 400;
  431. text-align: left;
  432. color: #ffffff;
  433. margin-top: 20rpx;
  434. z-index: 2;
  435. }
  436. .levelDiv {
  437. margin-top: 82rpx;
  438. width: calc(100% - 60rpx);
  439. height: 152rpx;
  440. z-index: 2;
  441. display: flex;
  442. flex-direction: column;
  443. padding: 25rpx 30rpx;
  444. box-sizing: border-box;
  445. .level_top {
  446. width: 100%;
  447. display: flex;
  448. justify-content: space-between;
  449. flex-wrap: nowrap;
  450. align-items: center;
  451. margin-top: 5rpx;
  452. .level_icon {
  453. width: 37rpx;
  454. min-width: 37rpx;
  455. max-width: 37rpx;
  456. height: 35rpx;
  457. margin-right: 13rpx;
  458. margin-top: -5rpx;
  459. }
  460. .level_text {
  461. font-size: 48rpx;
  462. font-family: FontName, FontName-Regular;
  463. font-weight: 500;
  464. text-align: left;
  465. font-style: oblique;
  466. color: #f5c8a8;
  467. line-height: 40rpx;
  468. letter-spacing: 1.92rpx;
  469. margin-right: 8rpx;
  470. margin-top: -7rpx;
  471. }
  472. .level_text_login{
  473. font-size: 40rpx;
  474. font-family: FontName, FontName-Regular;
  475. font-weight: 400;
  476. text-align: left;
  477. color: #f5c8a8;
  478. }
  479. .level_des {
  480. font-size: 22rpx;
  481. font-family: Verdana, Verdana-Regular;
  482. font-weight: 400;
  483. text-align: left;
  484. color: #f5c8a8;
  485. white-space: nowrap;
  486. flex-grow: 1;
  487. }
  488. .level_update {
  489. font-size: 24rpx;
  490. font-family: Verdana, Verdana-Bold;
  491. font-weight: 700;
  492. text-align: right;
  493. color: #f5c8a8;
  494. letter-spacing: 0.96rpx;
  495. display: flex;
  496. align-items: center;
  497. .level_right_icon {
  498. margin-left: 8rpx;
  499. width: 6rpx;
  500. height: 7rpx;
  501. }
  502. }
  503. }
  504. .level_bottom_login{
  505. font-size: 22rpx;
  506. font-family: Verdana, Verdana-Regular;
  507. font-weight: 400;
  508. text-align: left;
  509. color: #f5c8a8;
  510. margin-top: 20rpx;
  511. }
  512. }
  513. }
  514. .content_body {
  515. border-radius: 20rpx 20rpx 0rpx 0rpx;
  516. height: calc(100% - 470rpx);
  517. margin-top: -24rpx;
  518. z-index: 102;
  519. position: relative;
  520. padding: 1rpx;
  521. .content_beginner_guide {
  522. height: 354rpx;
  523. margin-left: 30rpx;
  524. margin-right: 30rpx;
  525. margin-top: 40rpx;
  526. background: #ffffff;
  527. border-radius: 16rpx;
  528. box-sizing: border-box;
  529. .title {
  530. width: 100%;
  531. position: relative;
  532. height: 110rpx;
  533. .title_txt {
  534. font-size: 32rpx;
  535. font-family: FontName, FontName-Regular;
  536. font-weight: 400;
  537. text-align: left;
  538. color: #b1b1b1;
  539. font-style: italic;
  540. position: absolute;
  541. left: 50%;
  542. top: 30rpx;
  543. transform: translateX(-50%);
  544. }
  545. .title_right {
  546. position: absolute;
  547. right: 20rpx;
  548. top: 40rpx;
  549. display: flex;
  550. align-items: center;
  551. .title_right_txt {
  552. font-size: 24rpx;
  553. font-family: Verdana, Verdana-Regular;
  554. font-weight: 400;
  555. text-align: right;
  556. color: #b1b1b1;
  557. }
  558. .title_right_cion {
  559. width: 10rpx;
  560. height: 6rpx;
  561. margin-left: 10rpx;
  562. }
  563. }
  564. }
  565. .guide_content {
  566. display: flex;
  567. padding-left: 40rpx;
  568. padding-right: 40rpx;
  569. box-sizing: border-box;
  570. justify-content: space-between;
  571. .item_guide {
  572. display: flex;
  573. flex-direction: column;
  574. align-items: center;
  575. .guide_img {
  576. width: 58rpx;
  577. height: 74rpx;
  578. margin-bottom: 17rpx;
  579. }
  580. .guide_title {
  581. font-size: 26rpx;
  582. font-family: Verdana, Verdana-Bold;
  583. font-weight: 700;
  584. text-align: center;
  585. color: #2c2c2c;
  586. margin-bottom: 8rpx;
  587. }
  588. .guide_desc {
  589. font-size: 22rpx;
  590. font-family: Verdana, Verdana-Regular;
  591. font-weight: 400;
  592. text-align: center;
  593. color: #b1b1b1;
  594. }
  595. }
  596. .icon_guide {
  597. width: 48rpx;
  598. height: 32rpx;
  599. margin-top: 20rpx;
  600. }
  601. }
  602. }
  603. .content_beginner_guide_{
  604. width: 100%;
  605. position: relative;
  606. margin-left: 30rpx;
  607. margin-right: 30rpx;
  608. margin-top: 20rpx;
  609. margin-bottom: 30rpx;
  610. display: flex;
  611. justify-content: center;
  612. align-items: center;
  613. .title_txt {
  614. font-size: 24rpx;
  615. font-family: FontName, FontName-Regular;
  616. font-weight: 400;
  617. text-align: left;
  618. color: #b1b1b1;
  619. font-style: italic;
  620. }
  621. .title_right_cion {
  622. width: 10rpx;
  623. height: 6rpx;
  624. margin-left: 10rpx;
  625. }
  626. }
  627. .content_tab {
  628. display: flex;
  629. box-sizing: border-box;
  630. height: 180rpx;
  631. background: #ffffff;
  632. border-radius: 16rpx;
  633. margin-top: 14rpx;
  634. padding-left: 40rpx;
  635. padding-right: 40rpx;
  636. margin-left: 30rpx;
  637. margin-right: 30rpx;
  638. justify-content: space-between;
  639. .tab_item {
  640. display: flex;
  641. flex-direction: column;
  642. align-items: center;
  643. justify-content: center;
  644. .icon_tab {
  645. width: 96rpx;
  646. height: 96rpx;
  647. }
  648. .txt_tab {
  649. font-size: 24rpx;
  650. font-family: Verdana, Verdana-Regular;
  651. font-weight: 400;
  652. text-align: center;
  653. color: #262626;
  654. margin-top: 2rpx;
  655. }
  656. }
  657. }
  658. .content_tuiguang {
  659. height: 220rpx;
  660. display: flex;
  661. box-sizing: border-box;
  662. background: #ffffff;
  663. border-radius: 16rpx;
  664. margin-top: 14rpx;
  665. padding-left: 40rpx;
  666. padding-right: 40rpx;
  667. margin-left: 30rpx;
  668. margin-right: 30rpx;
  669. justify-content: space-between;
  670. position: relative;
  671. .content_tuiguang_city {
  672. display: flex;
  673. flex-direction: column;
  674. justify-content: center;
  675. align-items: center;
  676. width: 50%;
  677. .city_num {
  678. font-size: 40rpx;
  679. font-family: DIN Alternate, DIN Alternate-Bold;
  680. font-weight: 700;
  681. text-align: center;
  682. color: #262626;
  683. }
  684. .city_num_desc {
  685. font-size: 24rpx;
  686. font-family: Verdana, Verdana-Regular;
  687. font-weight: 400;
  688. text-align: center;
  689. color: #b1b1b1;
  690. }
  691. .city_list {
  692. display: flex;
  693. justify-content: center;
  694. margin-top: 52rpx;
  695. align-items: center;
  696. .city_name {
  697. font-size: 26rpx;
  698. font-family: Verdana, Verdana-Regular;
  699. font-weight: 400;
  700. text-align: left;
  701. color: #262626;
  702. }
  703. .city_more {
  704. width: 26rpx;
  705. height: 26rpx;
  706. margin-left: 8rpx;
  707. }
  708. }
  709. }
  710. .content_tuiguang_money {
  711. display: flex;
  712. flex-direction: column;
  713. justify-content: center;
  714. align-items: center;
  715. width: 50%;
  716. .money_num {
  717. font-size: 40rpx;
  718. font-family: DIN Alternate, DIN Alternate-Bold;
  719. font-weight: 700;
  720. text-align: center;
  721. color: #fd8f3c;
  722. }
  723. .money_num_des {
  724. font-size: 24rpx;
  725. font-family: Verdana, Verdana-Regular;
  726. font-weight: 400;
  727. text-align: center;
  728. color: #b1b1b1;
  729. }
  730. .money_list {
  731. display: flex;
  732. justify-content: center;
  733. margin-top: 52rpx;
  734. align-items: center;
  735. .money_name {
  736. font-size: 26rpx;
  737. font-family: Verdana, Verdana-Regular;
  738. font-weight: 400;
  739. text-align: left;
  740. color: #262626;
  741. }
  742. .money_more {
  743. width: 26rpx;
  744. height: 26rpx;
  745. margin-left: 8rpx;
  746. }
  747. }
  748. .money_bg {
  749. position: absolute;
  750. right: 0rpx;
  751. top: 0;
  752. width: 220rpx;
  753. height: 220rpx;
  754. }
  755. }
  756. }
  757. .content_list {
  758. margin-top: 60rpx;
  759. margin-left: 30rpx;
  760. margin-right: 30rpx;
  761. padding-bottom: 50rpx;
  762. .content_title {
  763. display: flex;
  764. font-size: 32rpx;
  765. font-family: Verdana, Verdana-Bold;
  766. font-weight: 700;
  767. text-align: left;
  768. color: #262626;
  769. align-items: center;
  770. .content_title_poi {
  771. width: 8rpx;
  772. height: 12rpx;
  773. background: #f07423;
  774. border-radius: 2rpx;
  775. margin-right: 8rpx;
  776. }
  777. }
  778. .content_hongbao {
  779. margin-top: 20rpx;
  780. height: 140rpx;
  781. background: linear-gradient(108deg, #ffb55f 9%, #f87523 96%);
  782. border-radius: 16rpx;
  783. display: flex;
  784. justify-content: space-between;
  785. align-items: center;
  786. .hongbao_left {
  787. display: flex;
  788. margin-left: 26rpx;
  789. .icon_hongbao {
  790. width: 60rpx;
  791. height: 80rpx;
  792. margin-right: 20rpx;
  793. }
  794. .hongbao_left_info {
  795. display: flex;
  796. flex-direction: column;
  797. .hongbao_title {
  798. font-size: 30rpx;
  799. font-family: Verdana, Verdana-Bold;
  800. font-weight: 700;
  801. text-align: left;
  802. color: #ffffff;
  803. }
  804. .hongbao_money {
  805. font-size: 24rpx;
  806. font-family: Verdana, Verdana-Regular;
  807. font-weight: 400;
  808. text-align: left;
  809. color: #ffead8;
  810. }
  811. }
  812. }
  813. .hongbao_right {
  814. width: 140rpx;
  815. height: 56rpx;
  816. line-height: 56rpx;
  817. background: #ffffff;
  818. border-radius: 12rpx;
  819. font-size: 24rpx;
  820. font-family: Verdana, Verdana-Bold;
  821. font-weight: 700;
  822. text-align: center;
  823. color: #f07423;
  824. margin-right: 20rpx;
  825. }
  826. }
  827. .list_item {
  828. width: 100%;
  829. min-height: 280rpx;
  830. border-radius: 16rpx;
  831. display: flex;
  832. position: relative;
  833. margin-top: 20rpx;
  834. .house_img {
  835. width: 200rpx;
  836. height: 240rpx;
  837. min-width: 200rpx;
  838. z-index: 11;
  839. margin-top: 20rpx;
  840. margin-left: 20rpx;
  841. border-radius: 10rpx;
  842. }
  843. .item_content {
  844. display: flex;
  845. flex-direction: column;
  846. margin-left: 50rpx;
  847. z-index: 11;
  848. max-width: 51%;
  849. .house_name {
  850. width: 100%;
  851. word-break:break-all;
  852. font-size: 30rpx;
  853. font-family: Verdana, Verdana-Bold;
  854. font-weight: 700;
  855. text-align: left;
  856. color: #262626;
  857. margin-top: 20rpx;
  858. }
  859. .house_hk {
  860. width: 100%;
  861. font-size: 26rpx;
  862. font-family: Verdana, Verdana-Regular;
  863. font-weight: 400;
  864. text-align: left;
  865. color: #fd8f3c;
  866. margin-top: 8rpx;
  867. .house_hk_{
  868. margin-right: 10rpx;
  869. }
  870. }
  871. .house_address {
  872. width: 100%;
  873. display: flex;
  874. font-size: 24rpx;
  875. font-family: Verdana, Verdana-Regular;
  876. font-weight: 400;
  877. text-align: left;
  878. color: #b1b1b1;
  879. margin-top: 16rpx;
  880. image {
  881. width: 20rpx;
  882. height: 28rpx;
  883. margin-right: 8rpx;
  884. margin-top: 6rpx;
  885. }
  886. text {
  887. width: 80%;
  888. }
  889. }
  890. .house_num {
  891. display: flex;
  892. font-size: 24rpx;
  893. font-family: Verdana, Verdana-Regular;
  894. font-weight: 400;
  895. text-align: left;
  896. color: #b1b1b1;
  897. margin-top: 12rpx;
  898. image {
  899. width: 24rpx;
  900. height: 26rpx;
  901. margin-right: 8rpx;
  902. margin-top: 6rpx;
  903. }
  904. text {
  905. width: 80%;
  906. }
  907. }
  908. .house_desc {
  909. margin-top: 24rpx;
  910. font-size: 24rpx;
  911. font-family: Verdana, Verdana-Regular;
  912. font-weight: 400;
  913. text-align: left;
  914. color: #b1b1b1;
  915. margin-bottom: 20rpx;
  916. word-break:break-all;
  917. }
  918. }
  919. .item_share {
  920. z-index: 11;
  921. display: flex;
  922. flex-direction: column;
  923. width: 70rpx;
  924. height: 100rpx;
  925. background: #f07423;
  926. border-radius: 12rpx;
  927. position: absolute;
  928. right: 0;
  929. top: 50%;
  930. transform: translateY(-50%);
  931. justify-content: center;
  932. align-items: center;
  933. .icon_share {
  934. width: 32rpx;
  935. height: 32rpx;
  936. margin-bottom: 6rpx;
  937. }
  938. .icon_text {
  939. font-size: 24rpx;
  940. font-family: Verdana, Verdana-Bold;
  941. font-weight: 700;
  942. text-align: center;
  943. color: #ffffff;
  944. }
  945. }
  946. .item_bg {
  947. position: absolute;
  948. left: 0;
  949. top: 0;
  950. width: 95%;
  951. height: 100%;
  952. background-color: #FFFFFF;
  953. border-radius: 16rpx;
  954. z-index: 10;
  955. }
  956. }
  957. }
  958. }
  959. .com_noMore_text{
  960. margin-top: 40rpx;
  961. font-size: 24rpx;
  962. font-family: Verdana, Verdana-Regular;
  963. font-weight: 400;
  964. text-align: center;
  965. color: #999999;
  966. }
  967. .empty {
  968. display: flex;
  969. flex-direction: column;
  970. align-items: center;
  971. .emptyImg {
  972. width: 283rpx;
  973. height: 227rpx;
  974. }
  975. .text {
  976. margin-top: -20rpx;
  977. font-size: 28rpx;
  978. font-family: PingFang SC, PingFang SC-Medium;
  979. font-weight: 500;
  980. text-align: center;
  981. color: #b1b3ba;
  982. }
  983. }
  984. }
  985. </style>