homePage.vue 31 KB

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