homePage.vue 31 KB

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