homePage.vue 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058
  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="https://dm.static.elab-plus.com/yezhu/icon_zcyz.png" mode=""></image>
  86. <text class="txt_tab">注册业主</text>
  87. </view>
  88. <view class="tab_item" @click="toShouYiPage">
  89. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_shouyi.png" mode=""></image>
  90. <text class="txt_tab">收益排行榜</text>
  91. </view>
  92. <view class="tab_item" @click="goReportPage">
  93. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_report.png" mode=""></image>
  94. <text class="txt_tab">效果报表</text>
  95. </view>
  96. <view class="tab_item" @click="showMine">
  97. <image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_myinfo.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=""></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>{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}万/m² · {{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>{{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: 360rpx;
  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. font-size: 26rpx;
  832. font-family: Verdana, Verdana-Regular;
  833. font-weight: 400;
  834. text-align: left;
  835. color: #fd8f3c;
  836. margin-top: 8rpx;
  837. .house_hk_{
  838. margin-right: 10rpx;
  839. }
  840. }
  841. .house_address {
  842. display: flex;
  843. font-size: 24rpx;
  844. font-family: Verdana, Verdana-Regular;
  845. font-weight: 400;
  846. text-align: left;
  847. color: #b1b1b1;
  848. margin-top: 16rpx;
  849. image {
  850. width: 20rpx;
  851. height: 28rpx;
  852. margin-right: 8rpx;
  853. margin-top: 6rpx;
  854. }
  855. text {
  856. width: 80%;
  857. }
  858. }
  859. .house_num {
  860. display: flex;
  861. font-size: 24rpx;
  862. font-family: Verdana, Verdana-Regular;
  863. font-weight: 400;
  864. text-align: left;
  865. color: #b1b1b1;
  866. margin-top: 12rpx;
  867. image {
  868. width: 24rpx;
  869. height: 26rpx;
  870. margin-right: 8rpx;
  871. margin-top: 6rpx;
  872. }
  873. text {
  874. width: 80%;
  875. }
  876. }
  877. .house_desc {
  878. margin-top: 24rpx;
  879. font-size: 24rpx;
  880. font-family: Verdana, Verdana-Regular;
  881. font-weight: 400;
  882. text-align: left;
  883. color: #b1b1b1;
  884. margin-bottom: 20rpx;
  885. word-break:break-all;
  886. }
  887. }
  888. .item_share {
  889. z-index: 11;
  890. display: flex;
  891. flex-direction: column;
  892. width: 70rpx;
  893. height: 100rpx;
  894. background: #f07423;
  895. border-radius: 12rpx;
  896. position: absolute;
  897. right: 0;
  898. top: 50%;
  899. transform: translateY(-50%);
  900. justify-content: center;
  901. align-items: center;
  902. .icon_share {
  903. width: 32rpx;
  904. height: 32rpx;
  905. margin-bottom: 6rpx;
  906. }
  907. .icon_text {
  908. font-size: 24rpx;
  909. font-family: Verdana, Verdana-Bold;
  910. font-weight: 700;
  911. text-align: center;
  912. color: #ffffff;
  913. }
  914. }
  915. .item_bg {
  916. position: absolute;
  917. left: 0;
  918. top: 0;
  919. width: 95%;
  920. height: 100%;
  921. background-color: #FFFFFF;
  922. border-radius: 16rpx;
  923. z-index: 10;
  924. }
  925. }
  926. }
  927. }
  928. .com_noMore_text{
  929. margin-top: 40rpx;
  930. font-size: 24rpx;
  931. font-family: Verdana, Verdana-Regular;
  932. font-weight: 400;
  933. text-align: center;
  934. color: #999999;
  935. }
  936. .empty {
  937. display: flex;
  938. flex-direction: column;
  939. align-items: center;
  940. .emptyImg {
  941. width: 283rpx;
  942. height: 227rpx;
  943. }
  944. .text {
  945. margin-top: -20rpx;
  946. font-size: 28rpx;
  947. font-family: PingFang SC, PingFang SC-Medium;
  948. font-weight: 500;
  949. text-align: center;
  950. color: #b1b3ba;
  951. }
  952. }
  953. }
  954. </style>