houses-info.vue 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030
  1. <template>
  2. <view class="houses-info">
  3. <view class="index-bg"></view>
  4. <view class="swiper-box">
  5. <u-swiper :list="swiperlisi" height="367" border-radius="20"></u-swiper>
  6. </view>
  7. <view class="houses-tabs u-flex u-row-between">
  8. <view class="tabs-item u-flex-col u-col-center" @click="opendijia">
  9. <image src="../../static/images/tabs1.png" mode=""></image>
  10. <text>底价详情</text>
  11. </view>
  12. <view class="tabs-item u-flex-col u-col-center" @click="torizhao">
  13. <image src="../../static/images/tabs2.png" mode=""></image>
  14. <text>日照测评</text>
  15. </view>
  16. <view class="tabs-item u-flex-col u-col-center" @click="toyifang">
  17. <image src="../../static/images/tabs3.png" mode=""></image>
  18. <text>一房一价</text>
  19. </view>
  20. <view class="tabs-item u-flex-col u-col-center" @click="tovideo">
  21. <image src="../../static/images/tabs4.png" mode=""></image>
  22. <text>抖音视频</text>
  23. </view>
  24. </view>
  25. <view class="houses-box">
  26. <view class="box-header u-flex u-row-between">
  27. <text>{{detail.name}}</text>
  28. <text @click="toinfo()">详情>></text>
  29. </view>
  30. <view class="box-tips">
  31. 备案名:{{detail.record_name}}
  32. </view>
  33. <view class="u-flex price">
  34. <text>参考均价</text>
  35. <text>{{detail.avg_price}}元/㎡</text>
  36. </view>
  37. <view class="houses-data u-flex u-flex-wrap u-row-between">
  38. <view class="data-item u-flex-col u-col-center">
  39. <text>{{detail.floor_area}}</text>
  40. <text>占地面积</text>
  41. </view>
  42. <view class="data-item u-flex-col u-col-center">
  43. <text>{{detail.covered_area}}</text>
  44. <text>总建筑面积</text>
  45. </view>
  46. <view class="data-item u-flex-col u-col-center">
  47. <text>{{detail.house_min_area}}㎡-{{detail.house_max_area}}㎡</text>
  48. <text>户型面积</text>
  49. </view>
  50. <view class="data-item u-flex-col u-col-center">
  51. <text>{{detail.greening_rate}}</text>
  52. <text>绿化率</text>
  53. </view>
  54. <view class="data-item u-flex-col u-col-center">
  55. <text>{{detail.plot_ratio}}</text>
  56. <text>容积率</text>
  57. </view>
  58. </view>
  59. <view class="houses-label u-flex u-flex-wrap">
  60. <text v-for="(item,index) in detail.trait" :key="index"
  61. :style="{color:color[index % 5],border:`2rpx solid ${color[index % 4]}`}">{{item}}</text>
  62. </view>
  63. <view class="kaifa-box">
  64. <view style="margin-bottom: 24rpx;">开盘日期: {{detail.sale_time}}</view>
  65. <view>开发商: {{detail.developers}}</view>
  66. </view>
  67. </view>
  68. <view class="address-box u-flex">
  69. <u-icon name="map-fill" color="#131415"></u-icon>
  70. <text class="text">{{detail.project_address}}</text>
  71. </view>
  72. <view class="fangchan-wenda" v-if="detail.comment_switch == 1">
  73. <view class="wenda-title u-flex u-row-between">
  74. <text>房产问答</text>
  75. <text @click="tomore" v-if="pinglundata.id">更多问答>></text>
  76. </view>
  77. <view v-if="pinglundata.id" @click="topingluninfo">
  78. <view class="wenda-box">
  79. <view class="box-top u-flex u-row-between">
  80. <text class="text1">问</text>
  81. <image class="img" :src="pinglundata.user_headimg" mode=""></image>
  82. <text class="text2 u-flex-1">{{pinglundata.user_name}}</text>
  83. <text class="text3">{{pinglundata.create_time}}</text>
  84. </view>
  85. <view class="table-header u-flex u-row-center" v-if="pinglundata.quiz_type == 2">
  86. <input type="text" placeholder="请输入" class="u-flex-1"
  87. :value="JSON.parse(pinglundata.content).title" :disabled="true">
  88. </view>
  89. <scroll-view v-if="pinglundata.quiz_type == 2" scroll-y="true" scroll-x="true" class="wenda-table">
  90. <view class="table-row" v-for="(a,b) in JSON.parse(pinglundata.content).list" :key="b">
  91. <view class="table-col u-line-1" v-for="(c,d) in a" :key="d">{{c.value}}</view>
  92. </view>
  93. </scroll-view>
  94. <view v-if="pinglundata.quiz_type == 1" class="wenda-text">
  95. {{pinglundata.content}}
  96. </view>
  97. </view>
  98. <view class="wenda-box" v-if="pinglundata.apply_info">
  99. <view class="box-top u-flex u-row-between">
  100. <text class="text1" style="background-color: #04B578;">答</text>
  101. <image class="img" :src="pinglundata.apply_info.user_headimg" mode=""></image>
  102. <text class="text2 u-flex-1">{{pinglundata.apply_info.user_name}}</text>
  103. <text class="text3">{{pinglundata.apply_info.create_time}}</text>
  104. </view>
  105. <view class="wenda-text">
  106. {{pinglundata.apply_info.content}}
  107. </view>
  108. </view>
  109. <view class="wenda-more">
  110. {{pinglundata.apply_num}}人参与回复
  111. </view>
  112. </view>
  113. <view v-else class="not-wenda u-flex-col u-col-center u-row-center">
  114. <image class="img" src="../../static/images/not-wenda.png" mode=""></image>
  115. <text class="text1">当前楼房还没有问答?</text>
  116. <text class="text2" @click="tomore">前往发布提问 >></text>
  117. </view>
  118. </view>
  119. <view class="map-box" v-if="detail.latitude && detail.longitude">
  120. <view class="map-title">
  121. 区域地图
  122. </view>
  123. <map @click="tomap" style="width: 100%;height: 376rpx;" :latitude="latitude" :longitude="longitude"
  124. :markers="[{id:1,latitude:latitude,longitude:longitude,width:20,height:30}]"></map>
  125. </view>
  126. <view class="huxing-box" v-if="detail.house_type.length > 0">
  127. <view class="huixng-title">
  128. 在售户型
  129. </view>
  130. <view class="scroll-box1" style="position: relative;">
  131. <u-icon name="arrow-left" style="position: absolute;top: 100rpx;left: -20rpx;z-index: 1;"></u-icon>
  132. <scroll-view scroll-x="true" class="huxing-list">
  133. <view class="huxing-item" v-for="(item,index) in detail.house_type" :key="index">
  134. <image :src="item.logo" @click="openimg(item)" class="huxing-img" mode=""></image>
  135. <view class="name">
  136. {{item.house_type_name}}
  137. </view>
  138. <view class="jianyi">
  139. 建面:约{{item.area}}㎡
  140. </view>
  141. </view>
  142. </scroll-view>
  143. <u-icon name="arrow-right" style="position: absolute;top: 100rpx;right: -20rpx;z-index: 1;"></u-icon>
  144. </view>
  145. </view>
  146. <view class="" style="height: 170rpx;"></view>
  147. <view class="houses-btn u-flex u-row-between">
  148. <text @click="opentel" :style="{'width':(preempt_switch != 1 ? '328rpx':'218rpx')}">隐私电话</text>
  149. <text @click="baobei" v-if="preempt_switch == 1">客户报备</text>
  150. <text @click="tochat" :style="{'width':(preempt_switch != 1 ? '328rpx':'218rpx')}">在线咨询</text>
  151. </view>
  152. <u-popup v-model="showdijia" mode="center" background="rgba(0,0,0,0)">
  153. <view class="dijia-box u-flex-col u-col-center">
  154. <image class="dijia-img" src="../../static/images/dijia-bg.png" mode=""></image>
  155. <view class="u-flex-col u-col-center dijia-text">
  156. <text>{{detail.discounts_policy}}</text>
  157. </view>
  158. <u-icon name="close-circle-fill" color="#fff" size="100" @click="showdijia = false"></u-icon>
  159. </view>
  160. </u-popup>
  161. <u-popup v-model="showtocall" mode="center" background="rgba(0,0,0,0)">
  162. <view class="tocall-box u-flex-col u-col-center">
  163. <image class="tocall-img" src="../../static/images/popup1-1.png" mode=""></image>
  164. <view class="u-flex-col u-col-center tocall-text">您是否进行呼叫?</view>
  165. <view class="u-flex u-row-between tocall-btn">
  166. <text @click="showtocall = false">取消</text>
  167. <text @click="totel">确定</text>
  168. </view>
  169. </view>
  170. </u-popup>
  171. <u-popup v-model="showlogin" mode="center" background="rgba(0,0,0,0)">
  172. <view class="tocall-box u-flex-col u-col-center">
  173. <image class="tocall-img" src="../../static/images/popup1-1.png" mode=""></image>
  174. <view class="u-flex-col u-col-center tocall-text">你目前处于未登录状态请前往登录</view>
  175. <view class="u-flex u-row-between tocall-btn">
  176. <text @click="showlogin = false">取消</text>
  177. <text @click="tologin">确定</text>
  178. </view>
  179. </view>
  180. </u-popup>
  181. <u-popup v-model="shownotkaifang" mode="center" background="rgba(0,0,0,0)" :closeable="true" closeTop="80rpx"
  182. closeIconColor="#fff">
  183. <view class="tocall-box u-flex-col u-col-center">
  184. <image class="tocall-img" src="../../static/images/popup1-1.png" mode=""></image>
  185. <view class="u-flex-col u-col-center tocall-text" style="margin-top: 50rpx;">
  186. <text>此板块暂未开放</text>
  187. <text>敬请期待</text>
  188. </view>
  189. </view>
  190. </u-popup>
  191. <gf-chat ref="chatlist" @over="getuser"></gf-chat>
  192. <gf-tel ref="tellist" @over="getuser"></gf-tel>
  193. </view>
  194. </template>
  195. <script>
  196. import {
  197. mapState
  198. } from "vuex"
  199. export default {
  200. //分享
  201. onShareAppMessage(res) {
  202. this.$u.get('/api/Member/transmit').then(res => {
  203. })
  204. return {
  205. title: this.detail.name,
  206. path: "pages/index/houses-info?id="+this.id ,
  207. imageUrl: this.swiperlisi[0],
  208. }
  209. },
  210. //分享朋友圈
  211. onShareTimeline(res) {
  212. this.$u.get('/api/Member/transmit').then(res => {
  213. })
  214. return {
  215. title: this.detail.name,
  216. path: "pages/index/houses-info?id="+this.id,
  217. imageUrl: this.swiperlisi[0],
  218. }
  219. },
  220. data() {
  221. return {
  222. swiperlisi: [],
  223. showdijia: false,
  224. showtocall: false,
  225. id: '',
  226. detail: {
  227. house_type: []
  228. },
  229. showlogin: false,
  230. pinglundata: {},
  231. worker_id: 0,
  232. worker_phone: '',
  233. worker_hx_username: '',
  234. sunshine_info: 0,
  235. build_info: 0,
  236. video_list: 0,
  237. configs: {},
  238. shownotkaifang: false,
  239. detailName: "",
  240. preempt_switch:0
  241. }
  242. },
  243. onLoad(option) {
  244. this.id = option.id
  245. this.detailName = option.name
  246. this.getdata()
  247. this.getpinglun()
  248. this.configs = uni.getStorageSync("config")
  249. },
  250. onReady() {
  251. },
  252. onShow() {
  253. if (uni.getStorageSync("token")) {
  254. this.getuser()
  255. }
  256. },
  257. computed: {
  258. ...mapState(['config', 'defaultcity']),
  259. latitude() {
  260. return Number(this.detail.latitude) > Number(this.detail.longitude) ? this.detail.longitude : this.detail
  261. .latitude
  262. },
  263. longitude() {
  264. return Number(this.detail.latitude) > Number(this.detail.longitude) ? this.detail.latitude : this.detail
  265. .longitude
  266. },
  267. color() {
  268. return this.$color
  269. },
  270. },
  271. methods: {
  272. opendijia() {
  273. if (!this.detail.discounts_policy) {
  274. // this.$u.toast("此板块暂未开放,敬请期待")
  275. this.shownotkaifang = true
  276. return
  277. }
  278. if (!uni.getStorageSync("token")) {
  279. if (this.configs.floor_price_switch == 1) {
  280. if (this.configs.floor_price_num > 0) {
  281. this.configs.floor_price_num = this.configs.floor_price_num - 1
  282. this.showdijia = true
  283. uni.setStorageSync("config", this.configs)
  284. this.$u.post('/api/Property/click_discounts_policy', {
  285. id: this.id
  286. })
  287. } else {
  288. this.showlogin = true
  289. }
  290. } else {
  291. this.showlogin = true
  292. }
  293. return
  294. }
  295. this.$u.post('/api/Property/click_discounts_policy', {
  296. id: this.id
  297. })
  298. this.showdijia = true
  299. },
  300. getuser() {
  301. this.$u.post('/api/Member/member_info').then(res => {
  302. this.worker_id = res.data.worker_id
  303. this.worker_phone = res.data.worker_phone
  304. this.worker_hx_username = res.data.worker_hx_username
  305. })
  306. },
  307. topingluninfo() {
  308. uni.navigateTo({
  309. url: "/pagesA/index/wenda-info?id=" + this.pinglundata.id + "&louid=" + this.id
  310. })
  311. },
  312. getpinglun() {
  313. this.$u.post('/api/Comment/consult_comment_list', {
  314. id: this.id
  315. }).then(res => {
  316. if (res.code == 1) {
  317. this.pinglundata = res.data[0] || {}
  318. }
  319. })
  320. },
  321. tomore() {
  322. uni.navigateTo({
  323. url: "/pagesA/index/wenda-list?id=" + this.id
  324. })
  325. },
  326. tomap() {
  327. uni.openLocation({
  328. latitude: Number(this.latitude),
  329. longitude: Number(this.longitude)
  330. })
  331. },
  332. openimg(item) {
  333. uni.previewImage({
  334. urls: [item.logo]
  335. })
  336. },
  337. tologin() {
  338. this.showlogin = false
  339. uni.navigateTo({
  340. url: "/pages/mine/login"
  341. })
  342. },
  343. opentel() {
  344. if (uni.getStorageSync("token")) {
  345. this.showtocall = true
  346. } else {
  347. this.showlogin = true
  348. }
  349. },
  350. getdata() {
  351. this.$u.post('/api/Property/property_detail', {
  352. id: this.id
  353. }).then(res => {
  354. this.swiperlisi = res.data.banner
  355. this.detail = res.data
  356. this.detailName = res.data.name
  357. this.preempt_switch = res.data.preempt_switch
  358. })
  359. this.$u.get('/api/Property/sunshine_info', {
  360. id: this.id
  361. }).then(res => {
  362. this.sunshine_info = res.data.build_info.length
  363. })
  364. this.$u.post('/api/Property/build_info', {
  365. id: this.id
  366. }).then(res => {
  367. this.build_info = res.data.length
  368. })
  369. this.$u.post('/api/Property/video_list', {
  370. id: this.id,
  371. page: 1,
  372. page_num: 20
  373. }).then(res => {
  374. this.video_list = res.data.length
  375. })
  376. },
  377. tovideo() {
  378. if (this.video_list == 0) {
  379. // this.$u.toast("此板块暂未开放,敬请期待")
  380. this.shownotkaifang = true
  381. return
  382. }
  383. uni.navigateTo({
  384. url: "./video?id=" + this.id
  385. })
  386. },
  387. toinfo() {
  388. uni.navigateTo({
  389. url: "./info?id=" + this.id
  390. })
  391. },
  392. tochat() {
  393. if (uni.getStorageSync("token")) {
  394. if (this.worker_id == 0) {
  395. this.$refs.chatlist.open(this.id)
  396. } else {
  397. this.$u.post('/api/Member/consult_record', {
  398. type: 2
  399. })
  400. uni.navigateTo({
  401. url: "/pages/index/chat?hx_username=" + this.worker_hx_username + "&worker_id=" + this
  402. .worker_id
  403. })
  404. }
  405. } else {
  406. this.showlogin = true
  407. }
  408. },
  409. baobei() {
  410. uni.setStorageSync('detailName', this.detail.name);
  411. if (uni.getStorageSync("token")) {
  412. uni.navigateTo({
  413. url: "/pages/index/report?id=" + this.id
  414. })
  415. } else {
  416. this.showlogin = true
  417. }
  418. },
  419. toyifang() {
  420. if (this.build_info == 0) {
  421. // this.$u.toast("此板块暂未开放,敬请期待")
  422. this.shownotkaifang = true
  423. return
  424. }
  425. if (!uni.getStorageSync("token")) {
  426. if (this.configs.room_price_switch == 1) {
  427. if (this.configs.room_price_num > 0) {
  428. this.configs.room_price_num = this.configs.room_price_num - 1
  429. uni.navigateTo({
  430. url: "/pagesA/index/yifang?id=" + this.id
  431. })
  432. uni.setStorageSync("config", this.configs)
  433. } else {
  434. this.showlogin = true
  435. }
  436. } else {
  437. this.showlogin = true
  438. }
  439. return
  440. }
  441. uni.navigateTo({
  442. url: "/pagesA/index/yifang?id=" + this.id
  443. })
  444. },
  445. torizhao() {
  446. if (this.sunshine_info == 0) {
  447. // this.$u.toast("此板块暂未开放,敬请期待")
  448. this.shownotkaifang = true
  449. return
  450. }
  451. if (!uni.getStorageSync("token")) {
  452. if (this.configs.sunlight_appraisal_switch == 1) {
  453. if (this.configs.sunlight_appraisal_num > 0) {
  454. this.configs.sunlight_appraisal_num = this.configs.sunlight_appraisal_num - 1
  455. uni.navigateTo({
  456. url: "/pagesA/index/rizhao?id=" + this.id
  457. })
  458. uni.setStorageSync("config", this.configs)
  459. } else {
  460. this.showlogin = true
  461. }
  462. } else {
  463. this.showlogin = true
  464. }
  465. return
  466. }
  467. uni.navigateTo({
  468. url: "/pagesA/index/rizhao?id=" + this.id
  469. })
  470. },
  471. totel() {
  472. if (uni.getStorageSync("token")) {
  473. this.showtocall = false
  474. if (this.worker_id == 0) {
  475. this.$refs.tellist.open(this.id)
  476. } else {
  477. this.$u.post('/api/Member/consult_record', {
  478. type: 1
  479. })
  480. uni.makePhoneCall({
  481. phoneNumber: this.worker_phone
  482. })
  483. }
  484. } else {
  485. this.showlogin = true
  486. }
  487. }
  488. }
  489. }
  490. </script>
  491. <style lang="scss">
  492. page {
  493. background-color: #F6F6F6;
  494. }
  495. .houses-info {
  496. position: relative;
  497. padding: 1rpx 0;
  498. .fangchan-wenda {
  499. width: 702rpx;
  500. background: #FFFFFF;
  501. border-radius: 20rpx;
  502. margin: 20rpx auto;
  503. padding: 0 24rpx 20rpx 24rpx;
  504. .wenda-more {
  505. font-size: 24rpx;
  506. font-family: PingFangSC-Regular, PingFang SC;
  507. font-weight: 400;
  508. color: #666666;
  509. padding: 0 20rpx;
  510. }
  511. .not-wenda {
  512. height: 280rpx;
  513. .img {
  514. width: 142rpx;
  515. height: 142rpx;
  516. }
  517. .text1 {
  518. font-size: 24rpx;
  519. font-family: PingFangSC-Regular, PingFang SC;
  520. font-weight: 400;
  521. color: #CCCCCC;
  522. margin-bottom: 8rpx;
  523. }
  524. .text2 {
  525. font-size: 24rpx;
  526. font-family: PingFangSC-Regular, PingFang SC;
  527. font-weight: 400;
  528. color: #1677FF;
  529. }
  530. }
  531. .wenda-box {
  532. padding: 0 20rpx;
  533. .table-header {
  534. width: 620rpx;
  535. height: 94rpx;
  536. border: 2rpx solid #F0F0F0;
  537. input {
  538. text-align: center;
  539. color: red;
  540. }
  541. }
  542. .wenda-table {
  543. width: 620rpx;
  544. max-height: 378rpx;
  545. border-radius: 16rpx;
  546. margin-bottom: 20rpx;
  547. .table-row {
  548. white-space: nowrap;
  549. height: 94rpx;
  550. .table-col {
  551. width: 155rpx;
  552. line-height: 94rpx;
  553. height: 94rpx;
  554. border-bottom: 2rpx solid #F0F0F0;
  555. border-left: 2rpx solid #F0F0F0;
  556. padding: 0 16rpx;
  557. display: inline-block;
  558. font-size: 24rpx;
  559. font-family: PingFangSC-Regular, PingFang SC;
  560. font-weight: 400;
  561. color: rgba(102, 102, 102, 0.88);
  562. }
  563. .table-col:last-child {
  564. border-right: 2rpx solid #F0F0F0;
  565. }
  566. }
  567. .table-row:last-child {
  568. .table-col {
  569. border-bottom: 2rpx solid #F0F0F0;
  570. }
  571. }
  572. }
  573. .wenda-text {
  574. font-size: 24rpx;
  575. font-family: PingFangSC-Regular, PingFang SC;
  576. font-weight: 400;
  577. color: #666666;
  578. margin-bottom: 20rpx;
  579. }
  580. .box-top {
  581. margin-bottom: 20rpx;
  582. .text2 {
  583. font-size: 24rpx;
  584. font-family: PingFangSC-Regular, PingFang SC;
  585. font-weight: 400;
  586. color: #666666;
  587. margin-right: 20rpx;
  588. }
  589. .text3 {
  590. font-size: 24rpx;
  591. font-family: PingFangSC-Regular, PingFang SC;
  592. font-weight: 400;
  593. color: #999999;
  594. }
  595. .img {
  596. width: 36rpx;
  597. height: 36rpx;
  598. border-radius: 100rpx;
  599. margin: 0 20rpx;
  600. }
  601. .text1 {
  602. width: 36rpx;
  603. line-height: 36rpx;
  604. background: #1677FF;
  605. border-radius: 8rpx;
  606. text-align: center;
  607. font-size: 24rpx;
  608. font-family: PingFangSC-Semibold, PingFang SC;
  609. font-weight: 600;
  610. color: #FFFFFF;
  611. }
  612. }
  613. }
  614. .wenda-title {
  615. padding: 20rpx 0 30rpx 0;
  616. text:first-child {
  617. font-size: 28rpx;
  618. font-family: PingFangSC-Medium, PingFang SC;
  619. font-weight: 500;
  620. color: #131415;
  621. }
  622. text:last-child {
  623. font-size: 24rpx;
  624. font-family: PingFangSC-Medium, PingFang SC;
  625. font-weight: 500;
  626. color: #1677FF;
  627. }
  628. }
  629. }
  630. .tocall-box {
  631. position: relative;
  632. .tocall-img {
  633. width: 650rpx;
  634. height: 476rpx;
  635. }
  636. .tocall-btn {
  637. position: absolute;
  638. bottom: 70rpx;
  639. left: 0;
  640. width: 100%;
  641. padding: 0 48rpx;
  642. text:first-child {
  643. width: 254rpx;
  644. line-height: 80rpx;
  645. background: #FFA120;
  646. border-radius: 20rpx;
  647. text-align: center;
  648. font-size: 34rpx;
  649. font-family: PingFangSC-Medium, PingFang SC;
  650. font-weight: 500;
  651. color: #FFFFFF;
  652. }
  653. text:last-child {
  654. width: 254rpx;
  655. line-height: 80rpx;
  656. background: #1F7EFF;
  657. border-radius: 20rpx;
  658. text-align: center;
  659. font-size: 34rpx;
  660. font-family: PingFangSC-Medium, PingFang SC;
  661. font-weight: 500;
  662. color: #FFFFFF;
  663. }
  664. }
  665. .tocall-text {
  666. text-align: center;
  667. font-size: 24rpx;
  668. font-family: PingFangSC-Regular, PingFang SC;
  669. font-weight: 400;
  670. color: #999999;
  671. position: absolute;
  672. top: 244rpx;
  673. left: 0;
  674. z-index: 10;
  675. width: 100%;
  676. }
  677. }
  678. .dijia-box {
  679. position: relative;
  680. .dijia-text {
  681. position: absolute;
  682. z-index: 10;
  683. top: 120rpx;
  684. left: 0;
  685. width: 100%;
  686. font-size: 28rpx;
  687. font-family: PingFangSC-Medium, PingFang SC;
  688. font-weight: 500;
  689. color: #EC9234;
  690. padding: 0 150rpx;
  691. }
  692. .dijia-img {
  693. width: 650rpx;
  694. height: 520rpx;
  695. margin-bottom: 52rpx;
  696. }
  697. }
  698. .houses-btn {
  699. position: fixed;
  700. bottom: 0;
  701. left: 0;
  702. width: 750rpx;
  703. height: 166rpx;
  704. background: #FFFFFF;
  705. padding: 0 24rpx 54rpx 24rpx;
  706. z-index: 1;
  707. text:first-child {
  708. width: 218rpx;
  709. line-height: 84rpx;
  710. background: #FFA120;
  711. border-radius: 20rpx;
  712. text-align: center;
  713. font-size: 28rpx;
  714. font-family: PingFangSC-Regular, PingFang SC;
  715. font-weight: 400;
  716. color: #FFFFFF;
  717. }
  718. text:nth-child(2) {
  719. width: 218rpx;
  720. line-height: 84rpx;
  721. background: #5BC22A;
  722. border-radius: 20rpx;
  723. text-align: center;
  724. font-size: 28rpx;
  725. font-family: PingFangSC-Regular, PingFang SC;
  726. font-weight: 400;
  727. color: #FFFFFF;
  728. }
  729. text:last-child {
  730. width: 218rpx;
  731. line-height: 84rpx;
  732. background: #1F7EFF;
  733. border-radius: 20rpx;
  734. text-align: center;
  735. font-size: 28rpx;
  736. font-family: PingFangSC-Regular, PingFang SC;
  737. font-weight: 400;
  738. color: #FFFFFF;
  739. }
  740. }
  741. .huxing-box {
  742. width: 702rpx;
  743. // height: 450rpx;
  744. background: #FFFFFF;
  745. border-radius: 20rpx;
  746. margin: 20rpx auto;
  747. padding: 0 20rpx 30rpx 20rpx;
  748. .huxing-list {
  749. white-space: nowrap;
  750. .huxing-item {
  751. margin-right: 20rpx;
  752. display: inline-block;
  753. .jianyi {
  754. font-size: 24rpx;
  755. font-family: PingFangSC-Regular, PingFang SC;
  756. font-weight: 400;
  757. color: #999999;
  758. }
  759. .name {
  760. margin: 24rpx 0 10rpx 0;
  761. font-size: 24rpx;
  762. font-family: PingFangSC-Medium, PingFang SC;
  763. font-weight: 500;
  764. color: #333333;
  765. }
  766. .huxing-img {
  767. width: 206rpx;
  768. height: 206rpx;
  769. }
  770. }
  771. }
  772. .huixng-title {
  773. padding: 24rpx 0;
  774. font-size: 28rpx;
  775. font-family: PingFangSC-Medium, PingFang SC;
  776. font-weight: 500;
  777. color: #131415;
  778. }
  779. }
  780. .map-box {
  781. width: 702rpx;
  782. background: #FFFFFF;
  783. border-radius: 20rpx;
  784. margin: 20rpx auto;
  785. padding: 0 20rpx 24rpx 20rpx;
  786. .map-title {
  787. padding: 24rpx 0;
  788. font-size: 28rpx;
  789. font-family: PingFangSC-Medium, PingFang SC;
  790. font-weight: 500;
  791. color: #131415;
  792. }
  793. }
  794. .address-box {
  795. width: 702rpx;
  796. height: 82rpx;
  797. background: #FFFFFF;
  798. border-radius: 20rpx;
  799. margin: 20rpx auto;
  800. padding: 0 22rpx;
  801. .text {
  802. flex: 1;
  803. margin-left: 10rpx;
  804. font-size: 24rpx;
  805. font-family: PingFangSC-Regular, PingFang SC;
  806. font-weight: 400;
  807. color: #131415;
  808. }
  809. }
  810. .houses-box {
  811. width: 702rpx;
  812. height: 594rpx;
  813. background: #FFFFFF;
  814. border-radius: 20rpx;
  815. margin: 20rpx auto;
  816. padding: 0 20rpx;
  817. .kaifa-box {
  818. padding: 24rpx 20rpx;
  819. background: #F5F5F5;
  820. border-radius: 20rpx;
  821. view {
  822. font-size: 24rpx;
  823. font-family: PingFangSC-Regular, PingFang SC;
  824. font-weight: 400;
  825. color: #666666;
  826. }
  827. }
  828. .houses-label {
  829. padding: 24rpx 0 14rpx 0;
  830. text {
  831. line-height: 40rpx;
  832. background: #fff;
  833. border-radius: 8rpx;
  834. padding: 0 10rpx;
  835. font-size: 20rpx;
  836. font-family: PingFangSC-Regular, PingFang SC;
  837. font-weight: 400;
  838. color: #999999;
  839. margin-right: 10rpx;
  840. margin-bottom: 10rpx;
  841. }
  842. }
  843. .houses-data {
  844. padding: 20rpx 0;
  845. // height: 126rpx;
  846. border-bottom: 2rpx solid #F5F5F5;
  847. .data-item {
  848. // width: 134rpx;
  849. // flex: 1;
  850. // margin-right: 22rpx;
  851. // margin-right: 10rpx;
  852. text:first-child {
  853. font-size: 30rpx;
  854. font-family: PingFangSC-Medium, PingFang SC;
  855. font-weight: 500;
  856. color: #131415;
  857. margin-bottom: 8rpx;
  858. white-space: nowrap;
  859. }
  860. text:last-child {
  861. font-size: 18rpx;
  862. font-family: PingFangSC-Regular, PingFang SC;
  863. font-weight: 400;
  864. color: #999999;
  865. }
  866. }
  867. .data-item:last-child {
  868. margin-right: 0;
  869. }
  870. }
  871. .price {
  872. padding-bottom: 24rpx;
  873. border-bottom: 2rpx solid #F5F5F5;
  874. text:first-child {
  875. font-size: 20rpx;
  876. font-family: PingFangSC-Regular, PingFang SC;
  877. font-weight: 400;
  878. color: #999999;
  879. margin-right: 8rpx;
  880. }
  881. text:last-child {
  882. font-size: 32rpx;
  883. font-family: DINAlternate-Bold, DINAlternate;
  884. font-weight: bold;
  885. color: #FF3B30;
  886. }
  887. }
  888. .box-tips {
  889. font-size: 24rpx;
  890. font-family: PingFangSC-Medium, PingFang SC;
  891. font-weight: 500;
  892. color: #666666;
  893. margin-bottom: 20rpx;
  894. }
  895. .box-header {
  896. padding: 24rpx 0 12rpx 0;
  897. text:first-child {
  898. font-size: 36rpx;
  899. font-family: PingFangSC-Medium, PingFang SC;
  900. font-weight: 500;
  901. color: #131415;
  902. }
  903. text:last-child {
  904. font-size: 24rpx;
  905. font-family: PingFangSC-Regular, PingFang SC;
  906. font-weight: 400;
  907. color: #1F7EFF;
  908. }
  909. }
  910. }
  911. .houses-tabs {
  912. width: 702rpx;
  913. height: 218rpx;
  914. background: #FFFFFF;
  915. border-radius: 20rpx;
  916. margin: 20rpx auto;
  917. .tabs-item {
  918. flex: 1;
  919. image {
  920. width: 84rpx;
  921. height: 84rpx;
  922. margin-bottom: 20rpx;
  923. }
  924. text {
  925. // margin-top: -34rpx;
  926. font-size: 24rpx;
  927. font-family: PingFangSC-Regular, PingFang SC;
  928. font-weight: 400;
  929. color: #131415;
  930. }
  931. }
  932. }
  933. .swiper-box {
  934. width: 702rpx;
  935. margin: 20rpx auto;
  936. }
  937. .index-bg {
  938. position: absolute;
  939. top: 0;
  940. left: 0;
  941. width: 750rpx;
  942. height: 556rpx;
  943. background: linear-gradient(180deg, #1E7DFF 0%, #F6F6F6 100%);
  944. z-index: -1;
  945. }
  946. }
  947. </style>