|
@@ -13,14 +13,22 @@
|
|
|
<view class="site-distance">距离{{getDistance(info.distance)}}</view>
|
|
|
<view class="site-time">
|
|
|
<text class="time-lable">办公时间</text>
|
|
|
- <text class="site-time-val">{{info.workTimeRemark}}</text>
|
|
|
+ <!-- <text class="site-time-val">{{getVal(info.workTimeRemark)}}</text> -->
|
|
|
+ <view class="site-time-val">
|
|
|
+ <view class="" v-for="item in getVal(info.workTimeRemark)">
|
|
|
+ {{ item }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- <text class="site-time-val">{{info.workTimeRemark}}</text> -->
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
<view class="sever-box" :style="{'height':serveH +'px' }">
|
|
|
- <template v-if="serveH">
|
|
|
- <siteServe v-if="$config.type === 'H5'" :height="serveH" :mapLocationId="info.mapLocationId" />
|
|
|
-
|
|
|
- <siteServeH6 v-if="$config.type === 'H6'" :height="serveH" :mapLocationId="info.mapLocationId" />
|
|
|
+ <template v-if="serveH">
|
|
|
+ <siteServe v-if="$config.type === 'H5'" :height="serveH"
|
|
|
+ :mapLocationId="info.mapLocationId" />
|
|
|
+
|
|
|
+ <siteServeH6 v-if="$config.type === 'H6'" :height="serveH"
|
|
|
+ :mapLocationId="info.mapLocationId" />
|
|
|
</template>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -64,7 +72,9 @@
|
|
|
import telList from "./telList.vue"
|
|
|
import siteServe from "./siteServe.vue"
|
|
|
import siteServeH6 from "./siteServeH6.vue"
|
|
|
+ import map from "./../map.js"
|
|
|
export default {
|
|
|
+ mixins: [map],
|
|
|
data() {
|
|
|
return {
|
|
|
contentH: 0,
|
|
@@ -72,7 +82,7 @@
|
|
|
info: null,
|
|
|
}
|
|
|
},
|
|
|
- components: { telList, siteServe , siteServeH6 },
|
|
|
+ components: { telList, siteServe, siteServeH6 },
|
|
|
created() {
|
|
|
|
|
|
},
|
|
@@ -161,7 +171,7 @@
|
|
|
openMap({ name, code: code, type: "baidu" })
|
|
|
},
|
|
|
openDetails(res) {
|
|
|
- console.log('openDetails = ' , res)
|
|
|
+ console.log('openDetails = ', res)
|
|
|
this.info = res;
|
|
|
this.serveH = 0;
|
|
|
this.contentH = 0;
|