homePage.vue 31 KB

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