homePage.vue 31 KB

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