homePage.vue 34 KB

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