homePage.vue 32 KB

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