homePage.vue 31 KB

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