|
@@ -0,0 +1,547 @@
|
|
|
+<!-- -->
|
|
|
+<template>
|
|
|
+ <NConfigProvider :theme-overrides="themeOverrides">
|
|
|
+ <navheader></navheader>
|
|
|
+ <div class="details">
|
|
|
+ <div class="content">
|
|
|
+ <div class="details-title">
|
|
|
+ <div class="name-box">
|
|
|
+ <div class="name">
|
|
|
+ <span>招商云璟揽阅</span>
|
|
|
+ <div class="label-wrap">
|
|
|
+ <div class="label zs">在售</div>
|
|
|
+ <div class="label zz">住宅</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="other-name">别名:璟云雅苑</div>
|
|
|
+ </div>
|
|
|
+ <div class="tel-num">咨询电话: 4008315585转04817</div>
|
|
|
+ </div>
|
|
|
+ <div class="details-top">
|
|
|
+ <div class="banner-box">
|
|
|
+ <div class="swiper-wraper">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide" v-for="i in 4"><img src="" alt="" /></div>
|
|
|
+
|
|
|
+ <!-- 更多幻灯片 -->
|
|
|
+ </div>
|
|
|
+ <!-- 如果需要分页器 -->
|
|
|
+ <!-- <div class="swiper-pagination"></div> -->
|
|
|
+ <div class="swiper-button-prev"></div>
|
|
|
+ <div class="swiper-button-next"></div>
|
|
|
+ </div>
|
|
|
+ <div class="image-box">
|
|
|
+ <div class="item-image"><img src="" alt="" /><span class="name">VR(4)</span></div>
|
|
|
+ <div class="item-image"><img src="" alt="" /><span class="name">效果图(4)</span></div>
|
|
|
+ <div class="item-image"><img src="" alt="" /><span class="name">样板间(4)</span></div>
|
|
|
+ <div class="item-image"><img src="" alt="" /><span class="name">区位(4)</span></div>
|
|
|
+ <div class="item-image"><img src="" alt="" /><span class="name">小区配套(4)</span></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="info-box">
|
|
|
+ <div class="top-info">
|
|
|
+ <span class="title">参考均价</span>
|
|
|
+ <span class="price-number">60000</span>
|
|
|
+ <span class="price-unit">元/平(单价) </span>
|
|
|
+ <span class="price-number">480-765</span>
|
|
|
+ <span class="price-unit">(万/套)(总价)</span>
|
|
|
+ </div>
|
|
|
+ <div class="info-tag">
|
|
|
+ <div class="tag-item">2025北京房展</div>
|
|
|
+ <div class="tag-item">近地铁</div>
|
|
|
+ <div class="tag-item">公交直达</div>
|
|
|
+ <div class="tag-item">综合商场</div>
|
|
|
+ </div>
|
|
|
+ <div class="info-desc">
|
|
|
+ <div class="desc-item">
|
|
|
+ <div class="title">项目地址</div>
|
|
|
+ <div class="text">北京市通州区云景南大街辅路</div>
|
|
|
+ </div>
|
|
|
+ <div class="desc-item">
|
|
|
+ <div class="title">最新开盘</div>
|
|
|
+ <div class="text">2025-03-02</div>
|
|
|
+ </div>
|
|
|
+ <div class="desc-item">
|
|
|
+ <div class="title">楼盘户型</div>
|
|
|
+ <div class="text">
|
|
|
+ <span>三居室({{ 1 }})</span>
|
|
|
+ <span>四居室({{ 2 }})</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="details-bottom">
|
|
|
+ <div class="cad-box">
|
|
|
+ <h2 class="title">户型介绍</h2>
|
|
|
+ <div class="cad-tab">
|
|
|
+ <div class="tab-item active"><span>三居室(3)</span></div>
|
|
|
+ <div class="tab-item"><span>四居室(1)</span></div>
|
|
|
+ </div>
|
|
|
+ <div class="cad-list">
|
|
|
+ <div class="cad-item" v-for="i in 3">
|
|
|
+ <div class="cad-img"><img src="" alt="" /></div>
|
|
|
+ <div class="cad-info">
|
|
|
+ <div class="cad-title">
|
|
|
+ <span> 3室2厅2卫 </span>
|
|
|
+ <div class="label-wrap">
|
|
|
+ <div class="label zs">在售</div>
|
|
|
+ <div class="label zz">住宅</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="area">建面 108m² (南,北朝向)</div>
|
|
|
+ <div class="price">
|
|
|
+ 约<span>645</span>
|
|
|
+ 万/套
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="bottom-info-box">
|
|
|
+ <div class="name-info">
|
|
|
+ <h3>招商云璟揽阅</h3>
|
|
|
+ <div class="label-wrap">
|
|
|
+ <div class="label zs">在售</div>
|
|
|
+ <div class="label zz">住宅</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="top-info">
|
|
|
+ <span class="title">参考均价</span>
|
|
|
+ <span class="price-number">60000</span>
|
|
|
+ <span class="price-unit">元/平(单价) </span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="info-desc">
|
|
|
+ <div class="desc-item">
|
|
|
+ <div class="title">项目地址</div>
|
|
|
+ <div class="text">北京市通州区云景南大街辅路</div>
|
|
|
+ </div>
|
|
|
+ <div class="desc-item">
|
|
|
+ <div class="title">最新开盘</div>
|
|
|
+ <div class="text">2025-03-02</div>
|
|
|
+ </div>
|
|
|
+ <div class="desc-item">
|
|
|
+ <div class="title">楼盘户型</div>
|
|
|
+ <div class="text">
|
|
|
+ <span>三居室({{ 1 }})</span>
|
|
|
+ <span>四居室({{ 2 }})</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="google-map">
|
|
|
+ <gmp-map center="43.4142989,-124.2301242" zoom="4" map-id="DEMO_MAP_ID" style="height: 400px">
|
|
|
+ <gmp-advanced-marker position="37.4220656,-122.0840897" title="Mountain View, CA"></gmp-advanced-marker>
|
|
|
+ <gmp-advanced-marker position="47.648994,-122.3503845" title="Seattle, WA"></gmp-advanced-marker>
|
|
|
+ </gmp-map>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <copyRight
|
|
|
+ /></NConfigProvider>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup>
|
|
|
+import router from "@/router";
|
|
|
+import navheader from "@/components/header/index.vue";
|
|
|
+import copyRight from "@/components/copyRight/index.vue";
|
|
|
+import { reactive, ref, toRefs, onBeforeMount, onMounted, computed } from "vue";
|
|
|
+import Swiper from "swiper";
|
|
|
+import "swiper/css/swiper.css";
|
|
|
+import { NConfigProvider } from "naive-ui";
|
|
|
+
|
|
|
+const themeOverrides = {
|
|
|
+ common: {
|
|
|
+ primaryColor: "#3072f6",
|
|
|
+ primaryColorHover: "#3072f6",
|
|
|
+ },
|
|
|
+
|
|
|
+ // ...
|
|
|
+};
|
|
|
+let swiper = null;
|
|
|
+const initTab = () => {
|
|
|
+ swiper = new Swiper(".swiper-wraper", {
|
|
|
+ navigation: {
|
|
|
+ nextEl: ".swiper-button-next",
|
|
|
+ prevEl: ".swiper-button-prev",
|
|
|
+ // disabledClass: "my-button-disabled",
|
|
|
+ },
|
|
|
+ // Swiper选项...
|
|
|
+ loop: false,
|
|
|
+ on: {
|
|
|
+ slideChange: (e) => {},
|
|
|
+ init: () => {},
|
|
|
+ },
|
|
|
+ });
|
|
|
+};
|
|
|
+onMounted(() => {
|
|
|
+ initTab();
|
|
|
+});
|
|
|
+</script>
|
|
|
+<style lang="scss" scoped>
|
|
|
+.label-wrap {
|
|
|
+ display: flex;
|
|
|
+ .label {
|
|
|
+ width: auto;
|
|
|
+ height: 24px;
|
|
|
+ line-height: 24px;
|
|
|
+ padding: 0 6px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ display: inline-block;
|
|
|
+ font-size: 14px;
|
|
|
+ border-radius: 2px;
|
|
|
+ &.zs {
|
|
|
+ margin-left: 7px;
|
|
|
+ color: #fff;
|
|
|
+ background-image: linear-gradient(-135deg, #6b99f6, #3072f6);
|
|
|
+ }
|
|
|
+ &.zz {
|
|
|
+ margin-left: 5px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #849aad;
|
|
|
+ background: #f2f4f6;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.content {
|
|
|
+ width: 1182px;
|
|
|
+ margin: 0 auto;
|
|
|
+
|
|
|
+ .details-title {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ width: 100%;
|
|
|
+ .name-box {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ .name {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-start;
|
|
|
+ > span {
|
|
|
+ padding-bottom: 0;
|
|
|
+ font-size: 26px;
|
|
|
+ color: #101d37;
|
|
|
+ font-weight: 600;
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: -4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .other-name {
|
|
|
+ padding-top: 7px;
|
|
|
+ font-size: 13px;
|
|
|
+ color: #9399a5;
|
|
|
+ font-weight: 400;
|
|
|
+ vertical-align: unset;
|
|
|
+ padding-bottom: unset;
|
|
|
+ margin-top: unset;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tel-num {
|
|
|
+ position: relative;
|
|
|
+ display: inline-block;
|
|
|
+ color: #101d37;
|
|
|
+ font-weight: bold;
|
|
|
+ height: 22px;
|
|
|
+ overflow: visible;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .details-top {
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
+ justify-content: flex-start;
|
|
|
+ .banner-box {
|
|
|
+ display: inline-block;
|
|
|
+ width: 524px;
|
|
|
+ position: relative;
|
|
|
+ vertical-align: top;
|
|
|
+
|
|
|
+ .swiper-wraper {
|
|
|
+ width: 526px;
|
|
|
+ height: 295px;
|
|
|
+ overflow: hidden;
|
|
|
+ .swiper-wrapper {
|
|
|
+ .swiper-slide {
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ object-fit: cover;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .image-box {
|
|
|
+ width: auto;
|
|
|
+ height: 67px;
|
|
|
+ overflow: hidden;
|
|
|
+ margin-top: 10px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ .item-image {
|
|
|
+ width: 100px;
|
|
|
+ height: 67px;
|
|
|
+ border: none;
|
|
|
+ // margin-right: 6px;
|
|
|
+ display: inline-block;
|
|
|
+ cursor: pointer;
|
|
|
+ background: red;
|
|
|
+ position: relative;
|
|
|
+ .name {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ left: 0;
|
|
|
+ height: 26px;
|
|
|
+ line-height: 26px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #fff;
|
|
|
+ letter-spacing: 0;
|
|
|
+ background: rgba(0, 0, 0, 0.5);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info-box {
|
|
|
+ width: 586px;
|
|
|
+ margin-left: 60px;
|
|
|
+ padding: 20px 30px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border-radius: 4px;
|
|
|
+ background: #fff;
|
|
|
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
|
|
|
+ -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
|
|
|
+
|
|
|
+ .top-info {
|
|
|
+ color: #fe615a;
|
|
|
+ .title {
|
|
|
+ font-family: PingFangSC-Regular;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #9399a5;
|
|
|
+ display: inline-block;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ .price-number {
|
|
|
+ font-family: Tahoma-Bold;
|
|
|
+ font-size: 30px;
|
|
|
+ }
|
|
|
+ .price-unit {
|
|
|
+ font-family: HiraginoSansGB-W6;
|
|
|
+ font-size: 16px;
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info-tag {
|
|
|
+ margin-top: 20px;
|
|
|
+ border-bottom: 1px solid #e4e6f0;
|
|
|
+ padding-bottom: 15.5px;
|
|
|
+ .tag-item {
|
|
|
+ display: inline-block;
|
|
|
+ height: 30px;
|
|
|
+ margin-right: 10px;
|
|
|
+ padding: 0 12px;
|
|
|
+ line-height: 30px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #849aae;
|
|
|
+ background: rgba(132, 154, 174, 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info-desc {
|
|
|
+ border-bottom: 1px solid #e4e6f0;
|
|
|
+ padding-bottom: 15.5px;
|
|
|
+ .desc-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-start;
|
|
|
+ margin-top: 13px;
|
|
|
+ .title {
|
|
|
+ font-family: PingFangSC-Regular;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #9399a5;
|
|
|
+ }
|
|
|
+ .text {
|
|
|
+ font-family: PingFangSC-Regular;
|
|
|
+ font-weight: 300;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #101d37;
|
|
|
+ margin-right: 4px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ vertical-align: bottom;
|
|
|
+ margin-left: 10px;
|
|
|
+ > span {
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .details-bottom {
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-top: 50px;
|
|
|
+ .cad-box {
|
|
|
+ .title {
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #101d37;
|
|
|
+ }
|
|
|
+ .cad-tab {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-start;
|
|
|
+ .tab-item {
|
|
|
+ padding: 10px 20px;
|
|
|
+ float: left;
|
|
|
+
|
|
|
+ span {
|
|
|
+ color: #101d37;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.active {
|
|
|
+ span {
|
|
|
+ color: #3072f6;
|
|
|
+ &::after {
|
|
|
+ content: " ";
|
|
|
+ background: #3072f6;
|
|
|
+ bottom: -11px;
|
|
|
+ height: 1px;
|
|
|
+ left: 0;
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .cad-list {
|
|
|
+ margin-right: 0;
|
|
|
+ width: 724px;
|
|
|
+ display: inline-block;
|
|
|
+ overflow: hidden;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .cad-item {
|
|
|
+ position: relative;
|
|
|
+ width: 230px;
|
|
|
+ // height: 338px;
|
|
|
+ display: inline-block;
|
|
|
+ margin-right: 12px;
|
|
|
+ border: 1px solid #e4e6f0;
|
|
|
+ border-radius: 2px;
|
|
|
+ vertical-align: top;
|
|
|
+
|
|
|
+ .cad-img {
|
|
|
+ height: 169px;
|
|
|
+ width: 100%;
|
|
|
+ border-bottom: 1px solid #e4e6f0;
|
|
|
+ position: relative;
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ object-fit: contain;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .cad-info {
|
|
|
+ padding: 20px 10px 20px;
|
|
|
+ .cad-title {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ span {
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .area {
|
|
|
+ color: #9399a5;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+ .price {
|
|
|
+ margin-bottom: 5px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #fa5741;
|
|
|
+ > span {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .bottom-info-box {
|
|
|
+ width: 400px;
|
|
|
+ position: relative;
|
|
|
+ padding: 20px 30px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border-radius: 4px;
|
|
|
+ background: #fff;
|
|
|
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
|
|
|
+ .name-info {
|
|
|
+ display: flex;
|
|
|
+ font-size: 26px;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ .top-info {
|
|
|
+ color: #fe615a;
|
|
|
+ .title {
|
|
|
+ font-family: PingFangSC-Regular;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #9399a5;
|
|
|
+ display: inline-block;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ .price-number {
|
|
|
+ font-family: Tahoma-Bold;
|
|
|
+ font-size: 30px;
|
|
|
+ }
|
|
|
+ .price-unit {
|
|
|
+ font-family: HiraginoSansGB-W6;
|
|
|
+ font-size: 16px;
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .info-desc {
|
|
|
+ .desc-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-start;
|
|
|
+ margin-top: 13px;
|
|
|
+ .title {
|
|
|
+ font-family: PingFangSC-Regular;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #9399a5;
|
|
|
+ }
|
|
|
+ .text {
|
|
|
+ font-family: PingFangSC-Regular;
|
|
|
+ font-weight: 300;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #101d37;
|
|
|
+ margin-right: 4px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ vertical-align: bottom;
|
|
|
+ margin-left: 10px;
|
|
|
+ > span {
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|