homePage.vue 26 KB

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