homePage.vue 30 KB

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