| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- <template>
- <view class="content">
- <view class="page-section-spacing" style="width: 100%;">
- <swiper class="swiper"
- indicator-dots="true"
- autoplay="true"
- duration="500"
- style="height:300rpx">
- <swiper-item v-for="(item , index) in swiperList" :key="index">
- <image :src="item.img" mode="aspectFill" style="width: 100%;height: 100%;"></image>
- </swiper-item>
- </swiper>
- </view>
-
- <view class="header-detail-box">
-
- <view class="header-title">
- {{detailObj.parkName}}
- </view>
-
- <view class="header-content-box display-around display-wrap">
- <view class="display-between-column items-center width-30 margin-bottom-20">
- <view class="display-flex-start"><image src="/static/park/detail/enterprise.png" mode="aspectFill" class="park-footer-img"></image>{{detailObj.nums}}</view>
- <view class="park-footer-font">入驻企业</view>
- </view>
- <view class="display-between-column items-center width-30 margin-bottom-20">
- <view class="display-flex-start">
- <image src="/static/park/detail/mu.png" mode="aspectFill" class="park-footer-img"></image>
- {{detailObj.area1}}<text style="font-size: 12rpx;">万亩</text>
- </view>
- <view class="park-footer-font">占地亩数</view>
- </view>
- <view class="display-between-column items-center width-30 margin-bottom-20">
- <view class="display-flex-start">
- <image src="/static/park/detail/rent.png" mode="aspectFill" class="park-footer-img"></image>
- {{detailObj.price}}<text style="font-size: 12rpx;">元/㎡/月</text>
- </view>
- <view class="park-footer-font">租赁价格</view>
- </view>
- <view class="display-between-column items-center width-30 margin-bottom-20">
- <view class="display-flex-start">
- <image src="/static/park/detail/area.png" mode="aspectFill" class="park-footer-img"></image>
- {{detailObj.area2}}<text style="font-size: 12rpx;">万㎡</text>
- </view>
- <view class="park-footer-font">建设面积</view>
- </view>
- <view class="display-between-column items-center width-30 margin-bottom-20">
- <view class="display-flex-start">
- <image src="/static/park/detail/area1.png" mode="aspectFill" class="park-footer-img"></image>
- {{detailObj.area3}}<text style="font-size: 12rpx;">万㎡</text>
- </view>
- <view class="park-footer-font">出租面积</view>
- </view>
- <view class="display-between-column items-center width-30 margin-bottom-20">
- <view class="display-flex-start"><image src="/static/park/detail/level.png" mode="aspectFill" class="park-footer-img"></image>{{detailObj.level}}</view>
- <view class="park-footer-font">园区级别</view>
- </view>
- </view>
-
- </view>
-
-
- <view class="header-detail-box">
-
- <view class="header-title">
- 园区基本信息
- </view>
-
- <view class="display-around-column content-font">
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">运营机构</view>
- <view>{{detailObj.parkName}}</view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">产业定位</view>
- <view>{{detailObj.direction}}</view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">园区类型</view>
- <view>{{detailObj.type}}</view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">物业费</view>
- <view>{{detailObj.property}}<text style="font-size: 16rpx;">元/㎡/月</text></view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">电费</view>
- <view>{{detailObj.elePrice}}<text style="font-size: 16rpx;">KW·h</text></view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">水费</view>
- <view>{{detailObj.waterPrice}}<text style="font-size: 16rpx;">m³</text></view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">一层楼高</view>
- <view>{{detailObj.oneHeight}}<text style="font-size: 16rpx;">m</text></view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">最大承重</view>
- <view>{{detailObj.bearing}}<text style="font-size: 16rpx;">kg</text></view>
- </view>
- <view class="display-flex-start items-center margin-bottom-20">
- <view class="width-30 margin-left-60 color-cf">联系电话</view>
- <view @click="makeCall(detailObj.tel)" style="color: #007AFF;">{{detailObj.tel}}</view>
- </view>
- <view class="display-flex-start items-center">
- <view class="width-30 margin-left-60 color-cf">详细地址</view>
- <view>{{detailObj.address}}</view>
- </view>
- </view>
-
- <map style="width: 100%;height: 300rpx;margin-top: 20rpx;" :latitude="latitude" :longitude="longitude" :markers="covers" @tap="goTxMap(latitude,longitude)">
- </map>
-
- </view>
-
- <view class="detail-footer-tabs">
- <v-tabs v-model="current" :tabs="tabs" @change="changeTab"></v-tabs>
- <view class="tabs-box">
- <view v-if="current == 0" class="margin-bottom-20 content-font">
- {{detailObj.introduce}}
- </view>
- <view v-if="current == 1" class="margin-bottom-20 content-font">
- {{detailObj.facilities}}
- </view>
- </view>
- </view>
-
- <footer-share style="width: 100%;" :isCollection="false"></footer-share>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- swiperList:[
- {
- img:'/static/swiper/swiper1.jpg'
- },
- {
- img:'/static/swiper/swiper2.jpg'
- },
- ],
- detailObj:{
- parkName:'新鸿辉工业园',
- nums:484,
- area1:1,
- price:20,
- area2:1.2,
- area3:0.9,
- level:'区级',
- direction:'制造,智能制造',
- type:'工业厂房,办公写字楼,商业综合体',
- property:1,
- elePrice:1.1,
- waterPrice:8,
- oneHeight:4.5,
- bearing:750, //承重
- tel:'81190876',
- address:'西咸新区空港新城底张镇',
- introduce:'新鸿辉工业园坐落于陕西省西安市西咸新区空港新城底张镇,占地面积一万平方米,内有大小企业共484家。',
- facilities:'食堂、停车场、公寓、咖啡厅、便利店' //设施
- },
- latitude: 39.909,
- longitude: 116.39742,
- covers: [{
- latitude: 39.909,
- longitude: 116.39742,
- }],
- current: 0,
- tabs: ['园区介绍', '配套设施']
- }
- },
- onLoad(option) {
- console.log(option)
- },
- methods: {
- makeCall(tel){
- uni.makePhoneCall({
- phoneNumber:tel
- })
- },
- goTxMap(la,lo){
- uni.openLocation({
- latitude:la,
- longitude:lo,
- name:'新鸿辉工业园',
- address:'新鸿辉工业园'
- })
- },
- changeTab(index) {
- console.log('当前选中的项:' + index)
- }
- }
- }
- </script>
- <style>
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .logo {
- height: 200rpx;
- width: 200rpx;
- margin-top: 200rpx;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 50rpx;
- }
- .text-area {
- display: flex;
- justify-content: center;
- }
- .title {
- font-size: 36rpx;
- color: #8f8f94;
- }
- .header-title {
- font-size: 28rpx;
- font-weight: 600;
- line-height: 36rpx;
- letter-spacing: 0.02em;
- color: #0D1937;
- margin: 20rpx 0 25rpx 10rpx;
- }
- .header-content-box {
- font-size: 24rpx;
- }
- .header-detail-box {
- width: 90%;
- border-radius: 10rpx;
- box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
- margin-top: 20rpx;
- padding: 20rpx;
- }
- .park-footer-img{
- width: 24rpx;
- height: 24rpx;
- margin-right: 6rpx;
- }
- .park-footer-font {
- color: #CFCFCF;
- font-size: 19rpx;
- margin-top: 10rpx;
- }
- .width-30 {
- width: 30%;
- }
- .content-font {
- font-size: 20rpx;
- }
- .margin-left-60 {
- margin-left: 60rpx;
- }
- .margin-bottom-20 {
- margin-bottom: 20rpx;
- }
- .color-cf {
- color: #ccc;
- }
- .detail-footer-tabs {
- width: 90%;
- padding: 20rpx;
- margin-bottom:80rpx;
- }
- .tabs-box {
- padding-left: 20rpx;
- margin-top: 20rpx;
- }
- </style>
|