homePage.vue 34 KB

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