homePage.vue 28 KB

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