homePage.vue 29 KB

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