homePage.vue 32 KB

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