homePage.vue 30 KB

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