homePage.vue 30 KB

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