homePage.vue 29 KB

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