homePage.vue 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212
  1. <template>
  2. <view class="content" >
  3. <view class="topSection">
  4. <image class="bg_top" src="https://dm.static.elab-plus.com/yezhu/h5/backgroundImg.png" mode=""></image>
  5. <view class="liveContent">
  6. <view class="backDiv"></view>
  7. <view class="title">分享好房 · 躺平赚钱</view>
  8. <view class="subTitle" @click="setEnv">新手赚钱帮助 ></view>
  9. <view class="levelDiv"
  10. style="background: url('https://dm.static.elab-plus.com/yezhu/h5/icon_line_back.png') center/100% 100% no-repeat;">
  11. <view class="" v-if="userInfo.userId">
  12. <view class="level_top" v-if="userInfo.ownersUnion">
  13. <image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode="">
  14. </image>
  15. <view class="level_text">{{userInfo.curlevel?'Lv'+userInfo.curlevel:''}}</view>
  16. <view class="level_des" v-if="!userInfo.nextIncome">/当前已达到最高等级</view>
  17. <view class="level_des" v-else>/达到 {{userInfo.nextIncome}} 收益可升级</view>
  18. <view class="level_update">
  19. <text>升级攻略</text>
  20. <image class="level_right_icon"
  21. src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
  22. </view>
  23. </view>
  24. <view class="level_top" v-else @click="toYezhu">
  25. <image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode="">
  26. </image>
  27. <view class="level_text_login">业主认证</view>
  28. <view class="level_des"></view>
  29. <view class="level_update">
  30. <text>立即认证</text>
  31. <image class="level_right_icon"
  32. src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="level_top" v-else @click="toLogin">
  37. <image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode="">
  38. </image>
  39. <view class="level_text_login">登录</view>
  40. <view class="level_des"></view>
  41. <view class="level_update">
  42. <text>立即登录</text>
  43. <image class="level_right_icon"
  44. src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
  45. </view>
  46. </view>
  47. <view class="" v-if="userInfo.userId">
  48. <view class="level_bottom" v-if="userInfo.ownersUnion">
  49. <levelView :currentLevel='userInfo.curIncome' :nextLevel='userInfo.nextIncome?userInfo.nextIncome:userInfo.curIncome' :currentLevelTxt='userInfo.curlevel' :nextLevelTxt='userInfo.nextIncome?userInfo.nextLevel:userInfo.curlevel'>
  50. </levelView>
  51. </view>
  52. <view class="level_bottom_login" v-else >
  53. 点此进行业主认证,审核后实时等级升级
  54. </view>
  55. </view>
  56. <view class="level_bottom_login" v-else >
  57. 点此进行登录注册,开始赚钱吧
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. <view class="content_body" :style="{background:color4}">
  63. <view class="content_beginner_guide" v-if="showGuide">
  64. <view class="title">
  65. <text class="title_txt">- 新手引导 -</text>
  66. <view class="title_right">
  67. <text class="title_right_txt" @click="upLoadView(false)">收起</text>
  68. <image class="title_right_cion" src="https://dm.static.elab-plus.com/yezhu/icon_shouqi.png"
  69. mode=""></image>
  70. </view>
  71. </view>
  72. <view class="guide_content">
  73. <view class="item_guide">
  74. <image class="guide_img" src="https://dm.static.elab-plus.com/yezhu/icon_yezhu.png" mode="">
  75. </image>
  76. <text class="guide_title" @click="clearToken">业主认证</text>
  77. <text class="guide_desc">业主认证审核\n实时等级升级</text>
  78. </view>
  79. <image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode="">
  80. </image>
  81. <view class="item_guide">
  82. <image class="guide_img" style="width: 72rpx;height: 72rpx;margin-top: 5rpx;"
  83. src="https://dm.static.elab-plus.com/yezhu/icon_pyq.png" mode=""></image>
  84. <text class="guide_title">分享项目</text>
  85. <text class="guide_desc">分享到朋友圈\n自动计算收益</text>
  86. </view>
  87. <image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode="">
  88. </image>
  89. <view class="item_guide">
  90. <image class="guide_img" style="width: 58rpx;height: 68rpx;margin-top: 9rpx;"
  91. src="https://dm.static.elab-plus.com/yezhu/icon_yz_money.png" mode=""></image>
  92. <text class="guide_title">提现到微信</text>
  93. <text class="guide_desc">实时查看收益\n快速提现到账</text>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="content_beginner_guide_" v-else @click="upLoadView(true)">
  98. <text class="title_txt">展开新手引导</text>
  99. <image class="title_right_cion" src="../../static/icons/icon_down_.png"
  100. mode=""></image>
  101. </view>
  102. <view class="content_tab">
  103. <view class="tab_item" @click="toYezhu">
  104. <image class="icon_tab" src="../../static/icons/icon_zcyz_user.png" mode=""></image>
  105. <text class="txt_tab">业主认证</text>
  106. </view>
  107. <view class="tab_item" @click="toShouYiPage">
  108. <image class="icon_tab" src="../../static/icons/icon_shouyi_user.png" mode=""></image>
  109. <text class="txt_tab">收益排行榜</text>
  110. </view>
  111. <view class="tab_item" @click="goReportPage">
  112. <image class="icon_tab" src="../../static/icons/icon_report_user.png" mode=""></image>
  113. <text class="txt_tab">效果报表</text>
  114. </view>
  115. <view class="tab_item" @click="showMine">
  116. <image class="icon_tab" src="../../static/icons/icon_user_mine.png" mode=""></image>
  117. <text class="txt_tab">我的信息</text>
  118. </view>
  119. </view>
  120. <view class="content_tuiguang" v-if="userInfo.userId">
  121. <view class="content_tuiguang_city">
  122. <text class="city_num">{{userInfo.taskCount||0}}个</text>
  123. <text class="city_num_desc">推广任务</text>
  124. <view class="city_list" @click="showOptions(1)">
  125. <text class="city_name">{{city}}</text>
  126. <image class="city_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
  127. mode=""></image>
  128. </view>
  129. </view>
  130. <view class="content_tuiguang_money">
  131. <text class="money_num">¥{{Number(userInfo.surplusTaskAmount).toFixed(2)||'0.00'}}</text>
  132. <text class="money_num_des">剩余任务金额</text>
  133. <view class="money_list" @click="showOptions(2)">
  134. <text class="money_name" >{{typeName}}</text>
  135. <image class="money_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
  136. mode=""></image>
  137. </view>
  138. <image class="money_bg" src="https://dm.static.elab-plus.com/yezhu/icon_money_bg.png" mode="">
  139. </image>
  140. </view>
  141. </view>
  142. <view class="content_tuiguang" style="height: auto;" v-else>
  143. <view class="content_tuiguang_city">
  144. <view class="city_list" style="margin-top: 30rpx;margin-bottom: 30rpx;" @click="showOptions(1)">
  145. <text class="city_name">{{city}}</text>
  146. <image class="city_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
  147. mode=""></image>
  148. </view>
  149. </view>
  150. <view class="content_tuiguang_money" >
  151. <view class="money_list" style="margin-top: 30rpx;margin-bottom: 30rpx;" @click="showOptions(2)">
  152. <text class="money_name" >{{typeName}}</text>
  153. <image class="money_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
  154. mode=""></image>
  155. </view>
  156. </view>
  157. </view>
  158. <view class="content_list">
  159. <view class="content_title">
  160. <view class="content_title_poi">
  161. </view>
  162. 任务列表
  163. </view>
  164. <view class="content_hongbao" v-if="registAmount">
  165. <view class="hongbao_left">
  166. <image class="icon_hongbao" src="https://dm.static.elab-plus.com/yezhu/icon_hongbao.png"
  167. mode=""></image>
  168. <view class="hongbao_left_info">
  169. <text class="hongbao_title">邀请好友注册</text>
  170. <text class="hongbao_money">完成邀请,可获得 ¥{{registAmount}}/人</text>
  171. </view>
  172. </view>
  173. <view class="hongbao_right" @click="toShareCard('',1)">
  174. 邀请好友
  175. </view>
  176. </view>
  177. <view class="list_item" v-for="(item,index) in houseList" :key='index'>
  178. <view class="list_item" @click="goDetailAction(item,1)">
  179. <image class="house_img" :src="item.image" mode="aspectFill"></image>
  180. <view class="item_content" >
  181. <text class="house_name">{{item.name}}</text>
  182. <view class="house_hk" v-if="item.taskCategory">
  183. <text class="house_hk_" v-for="(item1,index1) in item.taskCategory" :key='index1'>{{item1.category}} ¥{{item1.unitPrice}}/人</text>
  184. </view>
  185. <text class="house_hk" v-else></text>
  186. <view class="house_address">
  187. <image src="https://dm.static.elab-plus.com/yezhu/icon_location.png" mode=""></image>
  188. <text style="width: 100%;">{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}元/m² {{item.bizFormat?'· '+item.bizFormat:''}}</text>
  189. </view>
  190. <view class="house_num">
  191. <image src="https://dm.static.elab-plus.com/yezhu/icon_family.png" mode=""></image>
  192. <text style="width: 100%;">{{item.projectLayout}}</text>
  193. </view>
  194. <text class="house_desc">{{item.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. shareToken:"",
  258. }
  259. },
  260. mounted() {
  261. this.color4 = app.globalData.color4;
  262. this.getData();
  263. uni.$on("request",()=>{
  264. this.getData();
  265. this.$refs.login_notice.hide();
  266. this.$refs.login.hide();
  267. })
  268. let projectId = this.getQueryString('projectId');
  269. this.toPage(projectId);
  270. },
  271. onLoad() {
  272. this.getSingle();
  273. },
  274. onPullDownRefresh() {
  275. this.getData();
  276. },
  277. onReachBottom() {
  278. if(this.houseList.length<this.total){
  279. this.pageNo ++;
  280. this.getHomePage();
  281. }
  282. },
  283. methods: {
  284. toPage(projectId){
  285. if(projectId){
  286. let e = {
  287. projectId
  288. }
  289. this.goDetailAction(e,2)
  290. }
  291. },
  292. getQueryString(name){
  293. var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i");
  294. return reg.test(location.href) ? unescape(RegExp.$2.replace(/\+/g, " ")) : ""
  295. },
  296. clearToken(){
  297. },
  298. getData(){
  299. this.pageNo = 1;
  300. this.getUserInfo();
  301. this.getHomePage();
  302. this.getRegistTask();
  303. },
  304. chooiceType(e){
  305. this.city = e.city==''?"城市":(e.city).split('市')[0];
  306. this.type = e.type;
  307. this.typeName = e.typeName==''?'类型':e.typeName;
  308. this.pageNo = 1;
  309. this.getHomePage();
  310. },
  311. async getRegistTask(){
  312. if(app.globalData.userId){
  313. let res = await this.$myRequest({
  314. url: "/task/registTask",
  315. method:"GET",
  316. data: {
  317. "userId":app.globalData.userId,
  318. }
  319. })
  320. if(res.data.success){
  321. this.registAmount = res.data.single.amount||null
  322. }else{
  323. this.registAmount = null;
  324. }
  325. }
  326. },
  327. async getHomePage() {
  328. let ret = await this.$myRequest({
  329. url: "/project/homePage",
  330. data: {
  331. "city": this.city=='城市'?'':this.city,
  332. "pageNo": this.pageNo,
  333. "pageSize": this.pageSize,
  334. "taskCategoryId": this.type,
  335. "userId":app.globalData.userId,
  336. }
  337. })
  338. if (ret.data.success) {
  339. let pageModel = ret.data.pageModel;
  340. let houseList = pageModel.resultSet || [];
  341. if(this.pageNo==1){
  342. this.houseList = [];
  343. }
  344. this.houseList = this.houseList.concat(houseList);
  345. this.total = pageModel.total||0;
  346. this.noMore = this.houseList.length==this.total
  347. }
  348. },
  349. async getUserInfo() {
  350. if(app.globalData.userId){
  351. let ret = await this.$myRequest({
  352. url: "/user/userInfo",
  353. data: {},
  354. method: "GET"
  355. });
  356. if (ret.data.success) {
  357. this.userInfo = ret.data.single || null;
  358. this.showGuide = this.userInfo.userId?this.userInfo.ownersUnion?false:true:true;
  359. }
  360. }
  361. },
  362. // 调准项目详情
  363. goDetailAction(e,type) {
  364. if(type==1){
  365. if(this.userInfo.userId){
  366. uni.navigateTo({
  367. url: '../houseDetail/houseDetail?projectId='+e.projectId
  368. })
  369. }else{
  370. uni.$emit('unLogin')
  371. }
  372. }else{
  373. uni.navigateTo({
  374. url: '../houseDetail/houseDetail?projectId='+e.projectId
  375. })
  376. }
  377. },
  378. // 跳转至效果报表
  379. goReportPage() {
  380. if(this.userInfo.userId){
  381. uni.navigateTo({
  382. url: '../reportPage/reportPage'
  383. })
  384. }else{
  385. uni.$emit('unLogin')
  386. }
  387. },
  388. toShouYiPage() {
  389. if(this.userInfo.userId){
  390. uni.navigateTo({
  391. url: '../revenueRankingPage/revenueRankingPage'
  392. })
  393. }else{
  394. uni.$emit('unLogin')
  395. }
  396. },
  397. async toYezhu(){
  398. let ret = await this.$myRequest({
  399. url: "/user/regist/get",
  400. data: {
  401. "userId": app.globalData.userId,
  402. },
  403. method:"GET"
  404. })
  405. if (ret.data.success) {
  406. let single = ret.data.single||null;//:0待审核1通过2拒绝
  407. if(single){
  408. if(single.approvalStatus==0||single.approvalStatus==1){
  409. uni.navigateTo({
  410. url: '../certificationResultPage/certificationResultPage'
  411. })
  412. }else if(single.approvalStatus==2){
  413. uni.navigateTo({
  414. url: '../ownerCertification/ownerCertification?mobile='+this.userInfo.phone
  415. })
  416. }
  417. }else{
  418. uni.navigateTo({
  419. url: '../ownerCertification/ownerCertification?mobile='+this.userInfo.phone
  420. })
  421. }
  422. }else{
  423. uni.showToast({
  424. icon:"none",
  425. title:ret.data.message
  426. })
  427. }
  428. },
  429. setEnv(){
  430. if (this.clickCount < 0) {
  431. this.clickCount = 8;
  432. uni.navigateTo({
  433. url:"../developSetting/developSetting"
  434. })
  435. } else {
  436. this.clickCount--;
  437. }
  438. },
  439. toShareCard(projectId,type){
  440. if(this.userInfo.userId){
  441. let href = location.origin+location.pathname;
  442. uni.navigateTo({
  443. url:'../shareCardPage/shareCardPage?page='+href+"&projectId="+projectId+"&type="+type
  444. })
  445. }else{
  446. uni.$emit('unLogin')
  447. }
  448. },
  449. toLogin(){
  450. uni.$emit('login')
  451. },
  452. upLoadView(isShow){
  453. this.showGuide = isShow;
  454. },
  455. showMine(){
  456. if(this.userInfo.userId){
  457. this.$refs.mine.show()
  458. }else{
  459. uni.$emit('unLogin')
  460. }
  461. },
  462. showOptions(option){
  463. this.$refs.chooseType.setOptionType(option);
  464. this.$forceUpdate();
  465. this.$refs.chooseType.show()
  466. },
  467. async getSingle(){
  468. let params = {
  469. "projectId": "",
  470. "userId": getApp().globalData.userId
  471. }
  472. let res = await this.$myRequest({
  473. url: '/share_token/generate',
  474. data: params
  475. });
  476. if(res.data.success){
  477. this.shareToken = res.data.single;
  478. this.queryProtocolConfigView();
  479. }
  480. },
  481. async queryProtocolConfigView(){
  482. let res = await this.$myRequest({
  483. url: "/project/queryProtocolConfigView",
  484. data: {},
  485. });
  486. if(res.data.success){
  487. let single = res.data.single;
  488. uni.showModal({
  489. content:"location.origin+location.pathname"+location.origin+location.pathname
  490. })
  491. this.config(single.shareName,single.shareRemark,location.origin+location.pathname +"?shareToken="+this.shareToken,single.shareLogoImage)
  492. }
  493. }
  494. },
  495. components: {
  496. levelView,
  497. dmMine,
  498. dmHomeChoose
  499. }
  500. }
  501. </script>
  502. <style lang="scss" scoped>
  503. .content {
  504. width: 100%;
  505. height: 100%;
  506. position: relative;
  507. .topSection {
  508. position: relative;
  509. z-index: 100;
  510. }
  511. .bg_top {
  512. width: 100%;
  513. height: 470rpx;
  514. position: absolute;
  515. top: 0;
  516. left: 0;
  517. z-index: 100;
  518. }
  519. .liveContent {
  520. width: 100%;
  521. height: 470rpx;
  522. z-index: 100;
  523. display: flex;
  524. flex-direction: column;
  525. align-items: center;
  526. position: relative;
  527. .backDiv {
  528. top: 0;
  529. left: 0;
  530. position: absolute;
  531. width: 100%;
  532. height: 100%;
  533. background-color: rgba($color: #000000, $alpha: 0.1);
  534. z-index: 1;
  535. }
  536. .title {
  537. margin-top: 96rpx;
  538. font-size: 44rpx;
  539. font-weight: 700;
  540. text-align: center;
  541. color: #ffffff;
  542. z-index: 2;
  543. }
  544. .subTitle {
  545. font-size: 28rpx;
  546. font-family: Verdana, Verdana-Regular;
  547. font-weight: 400;
  548. text-align: left;
  549. color: #ffffff;
  550. margin-top: 20rpx;
  551. z-index: 2;
  552. }
  553. .levelDiv {
  554. margin-top: 82rpx;
  555. width: calc(100% - 60rpx);
  556. height: 152rpx;
  557. z-index: 2;
  558. display: flex;
  559. flex-direction: column;
  560. padding: 25rpx 30rpx;
  561. box-sizing: border-box;
  562. .level_top {
  563. width: 100%;
  564. display: flex;
  565. justify-content: space-between;
  566. flex-wrap: nowrap;
  567. align-items: center;
  568. margin-top: 5rpx;
  569. .level_icon {
  570. width: 37rpx;
  571. min-width: 37rpx;
  572. max-width: 37rpx;
  573. height: 35rpx;
  574. margin-right: 13rpx;
  575. margin-top: -5rpx;
  576. }
  577. .level_text {
  578. font-size: 48rpx;
  579. font-family: FontName, FontName-Regular;
  580. font-weight: 500;
  581. text-align: left;
  582. font-style: oblique;
  583. color: #f5c8a8;
  584. line-height: 40rpx;
  585. letter-spacing: 1.92rpx;
  586. margin-right: 8rpx;
  587. margin-top: -7rpx;
  588. }
  589. .level_text_login{
  590. font-size: 40rpx;
  591. font-family: FontName, FontName-Regular;
  592. font-weight: 400;
  593. text-align: left;
  594. color: #f5c8a8;
  595. }
  596. .level_des {
  597. font-size: 22rpx;
  598. font-family: Verdana, Verdana-Regular;
  599. font-weight: 400;
  600. text-align: left;
  601. color: #f5c8a8;
  602. white-space: nowrap;
  603. flex-grow: 1;
  604. }
  605. .level_update {
  606. font-size: 24rpx;
  607. font-family: Verdana, Verdana-Bold;
  608. font-weight: 700;
  609. text-align: right;
  610. color: #f5c8a8;
  611. letter-spacing: 0.96rpx;
  612. display: flex;
  613. align-items: center;
  614. .level_right_icon {
  615. margin-left: 8rpx;
  616. width: 6rpx;
  617. height: 7rpx;
  618. }
  619. }
  620. }
  621. .level_bottom_login{
  622. font-size: 22rpx;
  623. font-family: Verdana, Verdana-Regular;
  624. font-weight: 400;
  625. text-align: left;
  626. color: #f5c8a8;
  627. margin-top: 20rpx;
  628. }
  629. }
  630. }
  631. .content_body {
  632. border-radius: 20rpx 20rpx 0rpx 0rpx;
  633. height: calc(100% - 470rpx);
  634. margin-top: -24rpx;
  635. z-index: 102;
  636. position: relative;
  637. padding: 1rpx;
  638. .content_beginner_guide {
  639. height: 354rpx;
  640. margin-left: 30rpx;
  641. margin-right: 30rpx;
  642. margin-top: 40rpx;
  643. background: #ffffff;
  644. border-radius: 16rpx;
  645. box-sizing: border-box;
  646. .title {
  647. width: 100%;
  648. position: relative;
  649. height: 110rpx;
  650. .title_txt {
  651. font-size: 32rpx;
  652. font-family: FontName, FontName-Regular;
  653. font-weight: 400;
  654. text-align: left;
  655. color: #b1b1b1;
  656. position: absolute;
  657. left: 50%;
  658. top: 30rpx;
  659. transform: translateX(-50%);
  660. }
  661. .title_right {
  662. position: absolute;
  663. right: 20rpx;
  664. top: 40rpx;
  665. display: flex;
  666. align-items: center;
  667. .title_right_txt {
  668. font-size: 24rpx;
  669. font-family: Verdana, Verdana-Regular;
  670. font-weight: 400;
  671. text-align: right;
  672. color: #b1b1b1;
  673. }
  674. .title_right_cion {
  675. width: 10rpx;
  676. height: 6rpx;
  677. margin-left: 10rpx;
  678. }
  679. }
  680. }
  681. .guide_content {
  682. display: flex;
  683. padding-left: 40rpx;
  684. padding-right: 40rpx;
  685. box-sizing: border-box;
  686. justify-content: space-between;
  687. .item_guide {
  688. display: flex;
  689. flex-direction: column;
  690. align-items: center;
  691. .guide_img {
  692. width: 58rpx;
  693. height: 74rpx;
  694. margin-bottom: 17rpx;
  695. }
  696. .guide_title {
  697. font-size: 26rpx;
  698. font-family: Verdana, Verdana-Bold;
  699. font-weight: 700;
  700. text-align: center;
  701. color: #2c2c2c;
  702. margin-bottom: 8rpx;
  703. }
  704. .guide_desc {
  705. font-size: 22rpx;
  706. font-family: Verdana, Verdana-Regular;
  707. font-weight: 400;
  708. text-align: center;
  709. color: #b1b1b1;
  710. }
  711. }
  712. .icon_guide {
  713. width: 48rpx;
  714. height: 32rpx;
  715. margin-top: 20rpx;
  716. }
  717. }
  718. }
  719. .content_beginner_guide_{
  720. width: 100%;
  721. position: relative;
  722. margin-left: 30rpx;
  723. margin-right: 30rpx;
  724. margin-top: 20rpx;
  725. margin-bottom: 30rpx;
  726. display: flex;
  727. justify-content: center;
  728. align-items: center;
  729. .title_txt {
  730. font-size: 32rpx;
  731. font-family: FontName, FontName-Regular;
  732. font-weight: 400;
  733. text-align: left;
  734. color: #b1b1b1;
  735. }
  736. .title_right_cion {
  737. width: 10rpx;
  738. height: 6rpx;
  739. margin-left: 10rpx;
  740. }
  741. }
  742. .content_tab {
  743. display: flex;
  744. box-sizing: border-box;
  745. height: 180rpx;
  746. background: #ffffff;
  747. border-radius: 16rpx;
  748. margin-top: 14rpx;
  749. padding-left: 40rpx;
  750. padding-right: 40rpx;
  751. margin-left: 30rpx;
  752. margin-right: 30rpx;
  753. justify-content: space-between;
  754. .tab_item {
  755. display: flex;
  756. flex-direction: column;
  757. align-items: center;
  758. justify-content: center;
  759. .icon_tab {
  760. width: 96rpx;
  761. height: 96rpx;
  762. }
  763. .txt_tab {
  764. font-size: 24rpx;
  765. font-family: Verdana, Verdana-Regular;
  766. font-weight: 400;
  767. text-align: center;
  768. color: #262626;
  769. margin-top: 2rpx;
  770. }
  771. }
  772. }
  773. .content_tuiguang {
  774. height: 220rpx;
  775. display: flex;
  776. box-sizing: border-box;
  777. background: #ffffff;
  778. border-radius: 16rpx;
  779. margin-top: 14rpx;
  780. padding-left: 40rpx;
  781. padding-right: 40rpx;
  782. margin-left: 30rpx;
  783. margin-right: 30rpx;
  784. justify-content: space-between;
  785. position: relative;
  786. .content_tuiguang_city {
  787. display: flex;
  788. flex-direction: column;
  789. justify-content: center;
  790. align-items: center;
  791. width: 50%;
  792. .city_num {
  793. font-size: 40rpx;
  794. font-family: DIN Alternate, DIN Alternate-Bold;
  795. font-weight: 700;
  796. text-align: center;
  797. color: #262626;
  798. }
  799. .city_num_desc {
  800. font-size: 24rpx;
  801. font-family: Verdana, Verdana-Regular;
  802. font-weight: 400;
  803. text-align: center;
  804. color: #b1b1b1;
  805. }
  806. .city_list {
  807. display: flex;
  808. justify-content: center;
  809. margin-top: 52rpx;
  810. align-items: center;
  811. .city_name {
  812. font-size: 26rpx;
  813. font-family: Verdana, Verdana-Regular;
  814. font-weight: 400;
  815. text-align: left;
  816. color: #262626;
  817. }
  818. .city_more {
  819. width: 26rpx;
  820. height: 26rpx;
  821. margin-left: 8rpx;
  822. }
  823. }
  824. }
  825. .content_tuiguang_money {
  826. display: flex;
  827. flex-direction: column;
  828. justify-content: center;
  829. align-items: center;
  830. width: 50%;
  831. .money_num {
  832. font-size: 40rpx;
  833. font-family: DIN Alternate, DIN Alternate-Bold;
  834. font-weight: 700;
  835. text-align: center;
  836. color: #fd8f3c;
  837. }
  838. .money_num_des {
  839. font-size: 24rpx;
  840. font-family: Verdana, Verdana-Regular;
  841. font-weight: 400;
  842. text-align: center;
  843. color: #b1b1b1;
  844. }
  845. .money_list {
  846. display: flex;
  847. justify-content: center;
  848. margin-top: 52rpx;
  849. align-items: center;
  850. z-index: 11;
  851. .money_name {
  852. font-size: 26rpx;
  853. font-family: Verdana, Verdana-Regular;
  854. font-weight: 400;
  855. text-align: left;
  856. color: #262626;
  857. }
  858. .money_more {
  859. width: 26rpx;
  860. height: 26rpx;
  861. margin-left: 8rpx;
  862. }
  863. }
  864. .money_bg {
  865. position: absolute;
  866. right: 0rpx;
  867. top: 0;
  868. width: 220rpx;
  869. height: 220rpx;
  870. }
  871. }
  872. }
  873. .content_list {
  874. margin-top: 60rpx;
  875. margin-left: 30rpx;
  876. margin-right: 30rpx;
  877. padding-bottom: 50rpx;
  878. .content_title {
  879. display: flex;
  880. font-size: 32rpx;
  881. font-family: Verdana, Verdana-Bold;
  882. font-weight: 700;
  883. text-align: left;
  884. color: #262626;
  885. align-items: center;
  886. .content_title_poi {
  887. width: 8rpx;
  888. height: 12rpx;
  889. background: #f07423;
  890. border-radius: 2rpx;
  891. margin-right: 8rpx;
  892. }
  893. }
  894. .content_hongbao {
  895. margin-top: 20rpx;
  896. height: 140rpx;
  897. background: linear-gradient(108deg, #ffb55f 9%, #f87523 96%);
  898. border-radius: 16rpx;
  899. display: flex;
  900. justify-content: space-between;
  901. align-items: center;
  902. .hongbao_left {
  903. display: flex;
  904. margin-left: 26rpx;
  905. .icon_hongbao {
  906. width: 60rpx;
  907. height: 80rpx;
  908. margin-right: 20rpx;
  909. }
  910. .hongbao_left_info {
  911. display: flex;
  912. flex-direction: column;
  913. .hongbao_title {
  914. font-size: 30rpx;
  915. font-family: Verdana, Verdana-Bold;
  916. font-weight: 700;
  917. text-align: left;
  918. color: #ffffff;
  919. }
  920. .hongbao_money {
  921. font-size: 24rpx;
  922. font-family: Verdana, Verdana-Regular;
  923. font-weight: 400;
  924. text-align: left;
  925. color: #ffead8;
  926. }
  927. }
  928. }
  929. .hongbao_right {
  930. width: 140rpx;
  931. height: 56rpx;
  932. line-height: 56rpx;
  933. background: #ffffff;
  934. border-radius: 12rpx;
  935. font-size: 24rpx;
  936. font-family: Verdana, Verdana-Bold;
  937. font-weight: 700;
  938. text-align: center;
  939. color: #f07423;
  940. margin-right: 20rpx;
  941. }
  942. }
  943. .list_item {
  944. width: 100%;
  945. min-height: 280rpx;
  946. border-radius: 16rpx;
  947. display: flex;
  948. position: relative;
  949. margin-top: 20rpx;
  950. .house_img {
  951. width: 200rpx;
  952. height: 240rpx;
  953. min-width: 200rpx;
  954. z-index: 11;
  955. margin-top: 20rpx;
  956. margin-left: 20rpx;
  957. border-radius: 10rpx;
  958. }
  959. .item_content {
  960. display: flex;
  961. flex-direction: column;
  962. margin-left: 50rpx;
  963. z-index: 11;
  964. max-width: 51%;
  965. .house_name {
  966. width: 100%;
  967. word-break:break-all;
  968. font-size: 30rpx;
  969. font-family: Verdana, Verdana-Bold;
  970. font-weight: 700;
  971. text-align: left;
  972. color: #262626;
  973. margin-top: 20rpx;
  974. }
  975. .house_hk {
  976. width: 100%;
  977. font-size: 26rpx;
  978. font-family: Verdana, Verdana-Regular;
  979. font-weight: 400;
  980. text-align: left;
  981. color: #fd8f3c;
  982. margin-top: 8rpx;
  983. .house_hk_{
  984. margin-right: 10rpx;
  985. }
  986. }
  987. .house_address {
  988. width: 100%;
  989. display: flex;
  990. font-size: 24rpx;
  991. font-family: Verdana, Verdana-Regular;
  992. font-weight: 400;
  993. text-align: left;
  994. color: #b1b1b1;
  995. margin-top: 16rpx;
  996. image {
  997. width: 20rpx;
  998. height: 28rpx;
  999. margin-right: 8rpx;
  1000. margin-top: 6rpx;
  1001. }
  1002. text {
  1003. width: 80%;
  1004. }
  1005. }
  1006. .house_num {
  1007. display: flex;
  1008. font-size: 24rpx;
  1009. font-family: Verdana, Verdana-Regular;
  1010. font-weight: 400;
  1011. text-align: left;
  1012. color: #b1b1b1;
  1013. margin-top: 12rpx;
  1014. image {
  1015. width: 24rpx;
  1016. height: 26rpx;
  1017. margin-right: 8rpx;
  1018. margin-top: 6rpx;
  1019. }
  1020. text {
  1021. width: 80%;
  1022. }
  1023. }
  1024. .house_desc {
  1025. margin-top: 24rpx;
  1026. font-size: 24rpx;
  1027. font-family: Verdana, Verdana-Regular;
  1028. font-weight: 400;
  1029. text-align: left;
  1030. color: #b1b1b1;
  1031. margin-bottom: 20rpx;
  1032. word-break:break-all;
  1033. }
  1034. }
  1035. .item_share {
  1036. z-index: 11;
  1037. display: flex;
  1038. flex-direction: column;
  1039. width: 70rpx;
  1040. height: 100rpx;
  1041. background: #f07423;
  1042. border-radius: 12rpx;
  1043. position: absolute;
  1044. right: 0;
  1045. top: 50%;
  1046. transform: translateY(-50%);
  1047. justify-content: center;
  1048. align-items: center;
  1049. .icon_share {
  1050. width: 32rpx;
  1051. height: 32rpx;
  1052. margin-bottom: 6rpx;
  1053. }
  1054. .icon_text {
  1055. font-size: 24rpx;
  1056. font-family: Verdana, Verdana-Bold;
  1057. font-weight: 700;
  1058. text-align: center;
  1059. color: #ffffff;
  1060. }
  1061. }
  1062. .item_bg {
  1063. position: absolute;
  1064. left: 0;
  1065. top: 0;
  1066. width: 95%;
  1067. height: 100%;
  1068. background-color: #FFFFFF;
  1069. border-radius: 16rpx;
  1070. z-index: 10;
  1071. }
  1072. }
  1073. }
  1074. }
  1075. .com_noMore_text{
  1076. margin-top: 40rpx;
  1077. font-size: 24rpx;
  1078. font-family: Verdana, Verdana-Regular;
  1079. font-weight: 400;
  1080. text-align: center;
  1081. color: #999999;
  1082. }
  1083. .empty {
  1084. display: flex;
  1085. flex-direction: column;
  1086. align-items: center;
  1087. .emptyImg {
  1088. width: 283rpx;
  1089. height: 227rpx;
  1090. margin-top: 100rpx;
  1091. }
  1092. .text {
  1093. margin-top: -20rpx;
  1094. font-size: 28rpx;
  1095. margin-bottom: 50rpx;
  1096. font-family: PingFang SC, PingFang SC-Medium;
  1097. font-weight: 500;
  1098. text-align: center;
  1099. color: #b1b3ba;
  1100. }
  1101. }
  1102. }
  1103. </style>