1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030 |
- <template>
- <view class="houses-info">
- <view class="index-bg"></view>
- <view class="swiper-box">
- <u-swiper :list="swiperlisi" height="367" border-radius="20"></u-swiper>
- </view>
- <view class="houses-tabs u-flex u-row-between">
- <view class="tabs-item u-flex-col u-col-center" @click="opendijia">
- <image src="../../static/images/tabs1.png" mode=""></image>
- <text>底价详情</text>
- </view>
- <view class="tabs-item u-flex-col u-col-center" @click="torizhao">
- <image src="../../static/images/tabs2.png" mode=""></image>
- <text>日照测评</text>
- </view>
- <view class="tabs-item u-flex-col u-col-center" @click="toyifang">
- <image src="../../static/images/tabs3.png" mode=""></image>
- <text>一房一价</text>
- </view>
- <view class="tabs-item u-flex-col u-col-center" @click="tovideo">
- <image src="../../static/images/tabs4.png" mode=""></image>
- <text>抖音视频</text>
- </view>
- </view>
- <view class="houses-box">
- <view class="box-header u-flex u-row-between">
- <text>{{detail.name}}</text>
- <text @click="toinfo()">详情>></text>
- </view>
- <view class="box-tips">
- 备案名:{{detail.record_name}}
- </view>
- <view class="u-flex price">
- <text>参考均价</text>
- <text>{{detail.avg_price}}元/㎡</text>
- </view>
- <view class="houses-data u-flex u-flex-wrap u-row-between">
- <view class="data-item u-flex-col u-col-center">
- <text>{{detail.floor_area}}</text>
- <text>占地面积</text>
- </view>
- <view class="data-item u-flex-col u-col-center">
- <text>{{detail.covered_area}}</text>
- <text>总建筑面积</text>
- </view>
- <view class="data-item u-flex-col u-col-center">
- <text>{{detail.house_min_area}}㎡-{{detail.house_max_area}}㎡</text>
- <text>户型面积</text>
- </view>
- <view class="data-item u-flex-col u-col-center">
- <text>{{detail.greening_rate}}</text>
- <text>绿化率</text>
- </view>
- <view class="data-item u-flex-col u-col-center">
- <text>{{detail.plot_ratio}}</text>
- <text>容积率</text>
- </view>
- </view>
- <view class="houses-label u-flex u-flex-wrap">
- <text v-for="(item,index) in detail.trait" :key="index"
- :style="{color:color[index % 5],border:`2rpx solid ${color[index % 4]}`}">{{item}}</text>
- </view>
- <view class="kaifa-box">
- <view style="margin-bottom: 24rpx;">开盘日期: {{detail.sale_time}}</view>
- <view>开发商: {{detail.developers}}</view>
- </view>
- </view>
- <view class="address-box u-flex">
- <u-icon name="map-fill" color="#131415"></u-icon>
- <text class="text">{{detail.project_address}}</text>
- </view>
- <view class="fangchan-wenda" v-if="detail.comment_switch == 1">
- <view class="wenda-title u-flex u-row-between">
- <text>房产问答</text>
- <text @click="tomore" v-if="pinglundata.id">更多问答>></text>
- </view>
- <view v-if="pinglundata.id" @click="topingluninfo">
- <view class="wenda-box">
- <view class="box-top u-flex u-row-between">
- <text class="text1">问</text>
- <image class="img" :src="pinglundata.user_headimg" mode=""></image>
- <text class="text2 u-flex-1">{{pinglundata.user_name}}</text>
- <text class="text3">{{pinglundata.create_time}}</text>
- </view>
- <view class="table-header u-flex u-row-center" v-if="pinglundata.quiz_type == 2">
- <input type="text" placeholder="请输入" class="u-flex-1"
- :value="JSON.parse(pinglundata.content).title" :disabled="true">
- </view>
- <scroll-view v-if="pinglundata.quiz_type == 2" scroll-y="true" scroll-x="true" class="wenda-table">
- <view class="table-row" v-for="(a,b) in JSON.parse(pinglundata.content).list" :key="b">
- <view class="table-col u-line-1" v-for="(c,d) in a" :key="d">{{c.value}}</view>
- </view>
- </scroll-view>
- <view v-if="pinglundata.quiz_type == 1" class="wenda-text">
- {{pinglundata.content}}
- </view>
- </view>
- <view class="wenda-box" v-if="pinglundata.apply_info">
- <view class="box-top u-flex u-row-between">
- <text class="text1" style="background-color: #04B578;">答</text>
- <image class="img" :src="pinglundata.apply_info.user_headimg" mode=""></image>
- <text class="text2 u-flex-1">{{pinglundata.apply_info.user_name}}</text>
- <text class="text3">{{pinglundata.apply_info.create_time}}</text>
- </view>
- <view class="wenda-text">
- {{pinglundata.apply_info.content}}
- </view>
- </view>
- <view class="wenda-more">
- {{pinglundata.apply_num}}人参与回复
- </view>
- </view>
- <view v-else class="not-wenda u-flex-col u-col-center u-row-center">
- <image class="img" src="../../static/images/not-wenda.png" mode=""></image>
- <text class="text1">当前楼房还没有问答?</text>
- <text class="text2" @click="tomore">前往发布提问 >></text>
- </view>
- </view>
- <view class="map-box" v-if="detail.latitude && detail.longitude">
- <view class="map-title">
- 区域地图
- </view>
- <map @click="tomap" style="width: 100%;height: 376rpx;" :latitude="latitude" :longitude="longitude"
- :markers="[{id:1,latitude:latitude,longitude:longitude,width:20,height:30}]"></map>
- </view>
- <view class="huxing-box" v-if="detail.house_type.length > 0">
- <view class="huixng-title">
- 在售户型
- </view>
- <view class="scroll-box1" style="position: relative;">
- <u-icon name="arrow-left" style="position: absolute;top: 100rpx;left: -20rpx;z-index: 1;"></u-icon>
- <scroll-view scroll-x="true" class="huxing-list">
- <view class="huxing-item" v-for="(item,index) in detail.house_type" :key="index">
- <image :src="item.logo" @click="openimg(item)" class="huxing-img" mode=""></image>
- <view class="name">
- {{item.house_type_name}}
- </view>
- <view class="jianyi">
- 建面:约{{item.area}}㎡
- </view>
- </view>
- </scroll-view>
- <u-icon name="arrow-right" style="position: absolute;top: 100rpx;right: -20rpx;z-index: 1;"></u-icon>
- </view>
- </view>
- <view class="" style="height: 170rpx;"></view>
- <view class="houses-btn u-flex u-row-between">
- <text @click="opentel" :style="{'width':(preempt_switch != 1 ? '328rpx':'218rpx')}">隐私电话</text>
- <text @click="baobei" v-if="preempt_switch == 1">客户报备</text>
- <text @click="tochat" :style="{'width':(preempt_switch != 1 ? '328rpx':'218rpx')}">在线咨询</text>
- </view>
- <u-popup v-model="showdijia" mode="center" background="rgba(0,0,0,0)">
- <view class="dijia-box u-flex-col u-col-center">
- <image class="dijia-img" src="../../static/images/dijia-bg.png" mode=""></image>
- <view class="u-flex-col u-col-center dijia-text">
- <text>{{detail.discounts_policy}}</text>
- </view>
- <u-icon name="close-circle-fill" color="#fff" size="100" @click="showdijia = false"></u-icon>
- </view>
- </u-popup>
- <u-popup v-model="showtocall" mode="center" background="rgba(0,0,0,0)">
- <view class="tocall-box u-flex-col u-col-center">
- <image class="tocall-img" src="../../static/images/popup1-1.png" mode=""></image>
- <view class="u-flex-col u-col-center tocall-text">您是否进行呼叫?</view>
- <view class="u-flex u-row-between tocall-btn">
- <text @click="showtocall = false">取消</text>
- <text @click="totel">确定</text>
- </view>
- </view>
- </u-popup>
- <u-popup v-model="showlogin" mode="center" background="rgba(0,0,0,0)">
- <view class="tocall-box u-flex-col u-col-center">
- <image class="tocall-img" src="../../static/images/popup1-1.png" mode=""></image>
- <view class="u-flex-col u-col-center tocall-text">你目前处于未登录状态请前往登录</view>
- <view class="u-flex u-row-between tocall-btn">
- <text @click="showlogin = false">取消</text>
- <text @click="tologin">确定</text>
- </view>
- </view>
- </u-popup>
- <u-popup v-model="shownotkaifang" mode="center" background="rgba(0,0,0,0)" :closeable="true" closeTop="80rpx"
- closeIconColor="#fff">
- <view class="tocall-box u-flex-col u-col-center">
- <image class="tocall-img" src="../../static/images/popup1-1.png" mode=""></image>
- <view class="u-flex-col u-col-center tocall-text" style="margin-top: 50rpx;">
- <text>此板块暂未开放</text>
- <text>敬请期待</text>
- </view>
- </view>
- </u-popup>
- <gf-chat ref="chatlist" @over="getuser"></gf-chat>
- <gf-tel ref="tellist" @over="getuser"></gf-tel>
- </view>
- </template>
- <script>
- import {
- mapState
- } from "vuex"
- export default {
- //分享
- onShareAppMessage(res) {
- this.$u.get('/api/Member/transmit').then(res => {
- })
- return {
- title: this.detail.name,
- path: "pages/index/houses-info?id="+this.id ,
- imageUrl: this.swiperlisi[0],
- }
- },
- //分享朋友圈
- onShareTimeline(res) {
- this.$u.get('/api/Member/transmit').then(res => {
- })
- return {
- title: this.detail.name,
- path: "pages/index/houses-info?id="+this.id,
- imageUrl: this.swiperlisi[0],
- }
- },
- data() {
- return {
- swiperlisi: [],
- showdijia: false,
- showtocall: false,
- id: '',
- detail: {
- house_type: []
- },
- showlogin: false,
- pinglundata: {},
- worker_id: 0,
- worker_phone: '',
- worker_hx_username: '',
- sunshine_info: 0,
- build_info: 0,
- video_list: 0,
- configs: {},
- shownotkaifang: false,
- detailName: "",
- preempt_switch:0
- }
- },
- onLoad(option) {
- this.id = option.id
- this.detailName = option.name
- this.getdata()
- this.getpinglun()
- this.configs = uni.getStorageSync("config")
- },
- onReady() {
- },
- onShow() {
- if (uni.getStorageSync("token")) {
- this.getuser()
- }
- },
- computed: {
- ...mapState(['config', 'defaultcity']),
- latitude() {
- return Number(this.detail.latitude) > Number(this.detail.longitude) ? this.detail.longitude : this.detail
- .latitude
- },
- longitude() {
- return Number(this.detail.latitude) > Number(this.detail.longitude) ? this.detail.latitude : this.detail
- .longitude
- },
- color() {
- return this.$color
- },
- },
- methods: {
- opendijia() {
- if (!this.detail.discounts_policy) {
- // this.$u.toast("此板块暂未开放,敬请期待")
- this.shownotkaifang = true
- return
- }
- if (!uni.getStorageSync("token")) {
- if (this.configs.floor_price_switch == 1) {
- if (this.configs.floor_price_num > 0) {
- this.configs.floor_price_num = this.configs.floor_price_num - 1
- this.showdijia = true
- uni.setStorageSync("config", this.configs)
- this.$u.post('/api/Property/click_discounts_policy', {
- id: this.id
- })
- } else {
- this.showlogin = true
- }
- } else {
- this.showlogin = true
- }
- return
- }
- this.$u.post('/api/Property/click_discounts_policy', {
- id: this.id
- })
- this.showdijia = true
- },
- getuser() {
- this.$u.post('/api/Member/member_info').then(res => {
- this.worker_id = res.data.worker_id
- this.worker_phone = res.data.worker_phone
- this.worker_hx_username = res.data.worker_hx_username
- })
- },
- topingluninfo() {
- uni.navigateTo({
- url: "/pagesA/index/wenda-info?id=" + this.pinglundata.id + "&louid=" + this.id
- })
- },
- getpinglun() {
- this.$u.post('/api/Comment/consult_comment_list', {
- id: this.id
- }).then(res => {
- if (res.code == 1) {
- this.pinglundata = res.data[0] || {}
- }
- })
- },
- tomore() {
- uni.navigateTo({
- url: "/pagesA/index/wenda-list?id=" + this.id
- })
- },
- tomap() {
- uni.openLocation({
- latitude: Number(this.latitude),
- longitude: Number(this.longitude)
- })
- },
- openimg(item) {
- uni.previewImage({
- urls: [item.logo]
- })
- },
- tologin() {
- this.showlogin = false
- uni.navigateTo({
- url: "/pages/mine/login"
- })
- },
- opentel() {
- if (uni.getStorageSync("token")) {
- this.showtocall = true
- } else {
- this.showlogin = true
- }
- },
- getdata() {
- this.$u.post('/api/Property/property_detail', {
- id: this.id
- }).then(res => {
- this.swiperlisi = res.data.banner
- this.detail = res.data
- this.detailName = res.data.name
- this.preempt_switch = res.data.preempt_switch
- })
- this.$u.get('/api/Property/sunshine_info', {
- id: this.id
- }).then(res => {
- this.sunshine_info = res.data.build_info.length
- })
- this.$u.post('/api/Property/build_info', {
- id: this.id
- }).then(res => {
- this.build_info = res.data.length
- })
- this.$u.post('/api/Property/video_list', {
- id: this.id,
- page: 1,
- page_num: 20
- }).then(res => {
- this.video_list = res.data.length
- })
- },
- tovideo() {
- if (this.video_list == 0) {
- // this.$u.toast("此板块暂未开放,敬请期待")
- this.shownotkaifang = true
- return
- }
- uni.navigateTo({
- url: "./video?id=" + this.id
- })
- },
- toinfo() {
- uni.navigateTo({
- url: "./info?id=" + this.id
- })
- },
- tochat() {
- if (uni.getStorageSync("token")) {
- if (this.worker_id == 0) {
- this.$refs.chatlist.open(this.id)
- } else {
- this.$u.post('/api/Member/consult_record', {
- type: 2
- })
- uni.navigateTo({
- url: "/pages/index/chat?hx_username=" + this.worker_hx_username + "&worker_id=" + this
- .worker_id
- })
- }
- } else {
- this.showlogin = true
- }
- },
- baobei() {
- uni.setStorageSync('detailName', this.detail.name);
- if (uni.getStorageSync("token")) {
- uni.navigateTo({
- url: "/pages/index/report?id=" + this.id
- })
- } else {
- this.showlogin = true
- }
- },
- toyifang() {
- if (this.build_info == 0) {
- // this.$u.toast("此板块暂未开放,敬请期待")
- this.shownotkaifang = true
- return
- }
- if (!uni.getStorageSync("token")) {
- if (this.configs.room_price_switch == 1) {
- if (this.configs.room_price_num > 0) {
- this.configs.room_price_num = this.configs.room_price_num - 1
- uni.navigateTo({
- url: "/pagesA/index/yifang?id=" + this.id
- })
- uni.setStorageSync("config", this.configs)
- } else {
- this.showlogin = true
- }
- } else {
- this.showlogin = true
- }
- return
- }
- uni.navigateTo({
- url: "/pagesA/index/yifang?id=" + this.id
- })
- },
- torizhao() {
- if (this.sunshine_info == 0) {
- // this.$u.toast("此板块暂未开放,敬请期待")
- this.shownotkaifang = true
- return
- }
- if (!uni.getStorageSync("token")) {
- if (this.configs.sunlight_appraisal_switch == 1) {
- if (this.configs.sunlight_appraisal_num > 0) {
- this.configs.sunlight_appraisal_num = this.configs.sunlight_appraisal_num - 1
- uni.navigateTo({
- url: "/pagesA/index/rizhao?id=" + this.id
- })
- uni.setStorageSync("config", this.configs)
- } else {
- this.showlogin = true
- }
- } else {
- this.showlogin = true
- }
- return
- }
- uni.navigateTo({
- url: "/pagesA/index/rizhao?id=" + this.id
- })
- },
- totel() {
- if (uni.getStorageSync("token")) {
- this.showtocall = false
- if (this.worker_id == 0) {
- this.$refs.tellist.open(this.id)
- } else {
- this.$u.post('/api/Member/consult_record', {
- type: 1
- })
- uni.makePhoneCall({
- phoneNumber: this.worker_phone
- })
- }
- } else {
- this.showlogin = true
- }
- }
- }
- }
- </script>
- <style lang="scss">
- page {
- background-color: #F6F6F6;
- }
- .houses-info {
- position: relative;
- padding: 1rpx 0;
- .fangchan-wenda {
- width: 702rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- margin: 20rpx auto;
- padding: 0 24rpx 20rpx 24rpx;
- .wenda-more {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- padding: 0 20rpx;
- }
- .not-wenda {
- height: 280rpx;
- .img {
- width: 142rpx;
- height: 142rpx;
- }
- .text1 {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #CCCCCC;
- margin-bottom: 8rpx;
- }
- .text2 {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #1677FF;
- }
- }
- .wenda-box {
- padding: 0 20rpx;
- .table-header {
- width: 620rpx;
- height: 94rpx;
- border: 2rpx solid #F0F0F0;
- input {
- text-align: center;
- color: red;
- }
- }
- .wenda-table {
- width: 620rpx;
- max-height: 378rpx;
- border-radius: 16rpx;
- margin-bottom: 20rpx;
- .table-row {
- white-space: nowrap;
- height: 94rpx;
- .table-col {
- width: 155rpx;
- line-height: 94rpx;
- height: 94rpx;
- border-bottom: 2rpx solid #F0F0F0;
- border-left: 2rpx solid #F0F0F0;
- padding: 0 16rpx;
- display: inline-block;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: rgba(102, 102, 102, 0.88);
- }
- .table-col:last-child {
- border-right: 2rpx solid #F0F0F0;
- }
- }
- .table-row:last-child {
- .table-col {
- border-bottom: 2rpx solid #F0F0F0;
- }
- }
- }
- .wenda-text {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- margin-bottom: 20rpx;
- }
- .box-top {
- margin-bottom: 20rpx;
- .text2 {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- margin-right: 20rpx;
- }
- .text3 {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- }
- .img {
- width: 36rpx;
- height: 36rpx;
- border-radius: 100rpx;
- margin: 0 20rpx;
- }
- .text1 {
- width: 36rpx;
- line-height: 36rpx;
- background: #1677FF;
- border-radius: 8rpx;
- text-align: center;
- font-size: 24rpx;
- font-family: PingFangSC-Semibold, PingFang SC;
- font-weight: 600;
- color: #FFFFFF;
- }
- }
- }
- .wenda-title {
- padding: 20rpx 0 30rpx 0;
- text:first-child {
- font-size: 28rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #131415;
- }
- text:last-child {
- font-size: 24rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #1677FF;
- }
- }
- }
- .tocall-box {
- position: relative;
- .tocall-img {
- width: 650rpx;
- height: 476rpx;
- }
- .tocall-btn {
- position: absolute;
- bottom: 70rpx;
- left: 0;
- width: 100%;
- padding: 0 48rpx;
- text:first-child {
- width: 254rpx;
- line-height: 80rpx;
- background: #FFA120;
- border-radius: 20rpx;
- text-align: center;
- font-size: 34rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- }
- text:last-child {
- width: 254rpx;
- line-height: 80rpx;
- background: #1F7EFF;
- border-radius: 20rpx;
- text-align: center;
- font-size: 34rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- }
- }
- .tocall-text {
- text-align: center;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- position: absolute;
- top: 244rpx;
- left: 0;
- z-index: 10;
- width: 100%;
- }
- }
- .dijia-box {
- position: relative;
- .dijia-text {
- position: absolute;
- z-index: 10;
- top: 120rpx;
- left: 0;
- width: 100%;
- font-size: 28rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #EC9234;
- padding: 0 150rpx;
- }
- .dijia-img {
- width: 650rpx;
- height: 520rpx;
- margin-bottom: 52rpx;
- }
- }
- .houses-btn {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 750rpx;
- height: 166rpx;
- background: #FFFFFF;
- padding: 0 24rpx 54rpx 24rpx;
- z-index: 1;
- text:first-child {
- width: 218rpx;
- line-height: 84rpx;
- background: #FFA120;
- border-radius: 20rpx;
- text-align: center;
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- }
-
- text:nth-child(2) {
- width: 218rpx;
- line-height: 84rpx;
- background: #5BC22A;
- border-radius: 20rpx;
- text-align: center;
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- }
- text:last-child {
- width: 218rpx;
- line-height: 84rpx;
- background: #1F7EFF;
- border-radius: 20rpx;
- text-align: center;
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- }
- }
- .huxing-box {
- width: 702rpx;
- // height: 450rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- margin: 20rpx auto;
- padding: 0 20rpx 30rpx 20rpx;
- .huxing-list {
- white-space: nowrap;
- .huxing-item {
- margin-right: 20rpx;
- display: inline-block;
- .jianyi {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- }
- .name {
- margin: 24rpx 0 10rpx 0;
- font-size: 24rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- .huxing-img {
- width: 206rpx;
- height: 206rpx;
- }
- }
- }
- .huixng-title {
- padding: 24rpx 0;
- font-size: 28rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #131415;
- }
- }
- .map-box {
- width: 702rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- margin: 20rpx auto;
- padding: 0 20rpx 24rpx 20rpx;
- .map-title {
- padding: 24rpx 0;
- font-size: 28rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #131415;
- }
- }
- .address-box {
- width: 702rpx;
- height: 82rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- margin: 20rpx auto;
- padding: 0 22rpx;
- .text {
- flex: 1;
- margin-left: 10rpx;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #131415;
- }
- }
- .houses-box {
- width: 702rpx;
- height: 594rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- margin: 20rpx auto;
- padding: 0 20rpx;
- .kaifa-box {
- padding: 24rpx 20rpx;
- background: #F5F5F5;
- border-radius: 20rpx;
- view {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- }
- }
- .houses-label {
- padding: 24rpx 0 14rpx 0;
- text {
- line-height: 40rpx;
- background: #fff;
- border-radius: 8rpx;
- padding: 0 10rpx;
- font-size: 20rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- margin-right: 10rpx;
- margin-bottom: 10rpx;
- }
- }
- .houses-data {
- padding: 20rpx 0;
- // height: 126rpx;
- border-bottom: 2rpx solid #F5F5F5;
- .data-item {
- // width: 134rpx;
- // flex: 1;
- // margin-right: 22rpx;
- // margin-right: 10rpx;
- text:first-child {
- font-size: 30rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #131415;
- margin-bottom: 8rpx;
- white-space: nowrap;
- }
- text:last-child {
- font-size: 18rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- }
- }
- .data-item:last-child {
- margin-right: 0;
- }
- }
- .price {
- padding-bottom: 24rpx;
- border-bottom: 2rpx solid #F5F5F5;
- text:first-child {
- font-size: 20rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- margin-right: 8rpx;
- }
- text:last-child {
- font-size: 32rpx;
- font-family: DINAlternate-Bold, DINAlternate;
- font-weight: bold;
- color: #FF3B30;
- }
- }
- .box-tips {
- font-size: 24rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #666666;
- margin-bottom: 20rpx;
- }
- .box-header {
- padding: 24rpx 0 12rpx 0;
- text:first-child {
- font-size: 36rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #131415;
- }
- text:last-child {
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #1F7EFF;
- }
- }
- }
- .houses-tabs {
- width: 702rpx;
- height: 218rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- margin: 20rpx auto;
- .tabs-item {
- flex: 1;
- image {
- width: 84rpx;
- height: 84rpx;
- margin-bottom: 20rpx;
- }
- text {
- // margin-top: -34rpx;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #131415;
- }
- }
- }
- .swiper-box {
- width: 702rpx;
- margin: 20rpx auto;
- }
- .index-bg {
- position: absolute;
- top: 0;
- left: 0;
- width: 750rpx;
- height: 556rpx;
- background: linear-gradient(180deg, #1E7DFF 0%, #F6F6F6 100%);
- z-index: -1;
- }
- }
- </style>
|