homePage.vue 29 KB

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