homePage.vue 32 KB

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