e5b57447
杨鑫
'分包问卷'
|
1
2
3
4
5
6
7
|
<template>
<!-- 商务合作详情 -->
<view class="page">
<view class="page-info">
<view class="banner">
<view class="title">{{tableData.title}}</view>
<view class="banner-info-top">
|
60cd6339
杨鑫
'最新'
|
8
|
<view class="times">{{tableData.createTime}}</view>
|
72e22e26
杨鑫
最新修改
|
9
|
<view><u-icon name="eye"></u-icon>{{tableData.viewsNumber || 0}}人</view>
|
e5b57447
杨鑫
'分包问卷'
|
10
11
12
13
14
|
</view>
<view class="banner-info-item">
<u-parse :html="tableData.content"></u-parse>
</view>
</view>
|
60cd6339
杨鑫
'最新'
|
15
|
<view class="info-box banner good-item" v-if="tableData.cereBasicInformationVenue.venueName">
|
e5b57447
杨鑫
'分包问卷'
|
16
|
<view class="img">
|
f692f3a5
wesley88
1
|
17
|
<u-image width="100%" height="100%" borderRadius="10" :src="imgurl+tableData.cereBasicInformationVenue.displayImage"></u-image>
|
e5b57447
杨鑫
'分包问卷'
|
18
|
</view>
|
fa21ce0f
杨鑫
最新更改bug
|
19
|
<view class="info" @click="gomapApp(latitude,longitude)">
|
57b010a3
杨鑫
最新1
|
20
21
22
|
<view class="title" style="margin-bottom: 28px;">{{tableData.cereBasicInformationVenue.venueName}}</view>
<view>所属区域:{{tableData.cereBasicInformationVenue.district}}</view>
<!-- <view class="info-item">
|
fa21ce0f
杨鑫
最新更改bug
|
23
24
25
26
|
<image :src="$imgUrl('/kefu.png')" style="margin-top: 8px;"></image>
<map style="width: 100%; height: 70rpx;" longitude="104.06730651855469" latitude="30.65681556429287" >
<text>{{tableData.cereBasicInformationVenue.district}}</text>
</map>
|
57b010a3
杨鑫
最新1
|
27
|
</view> -->
|
e5b57447
杨鑫
'分包问卷'
|
28
29
30
31
32
|
</view>
</view>
<view class="info-box banner">
<view class="title">场地往期活动回顾</view>
<u-row gutter="16">
|
844aa73a
杨鑫
'最新'
|
33
|
<u-col span="4" v-for="(item,index) in tableData.previousEvents">
|
f692f3a5
wesley88
1
|
34
|
<image :src="imgurl+item" mode="heightFix" style="height:90px; border-radius: 10rpx;" ></image>
|
e5b57447
杨鑫
'分包问卷'
|
35
|
</u-col>
|
e5b57447
杨鑫
'分包问卷'
|
36
37
|
</u-row>
</view>
|
844aa73a
杨鑫
'最新'
|
38
|
<view class="info-box banner">
|
e5b57447
杨鑫
'分包问卷'
|
39
|
<view class="title">联系我们</view>
|
844aa73a
杨鑫
'最新'
|
40
41
42
43
44
|
<view class="info-item">合作类型:{{tableData.cooperationType}}</view>
<view class="info-item">联系人:{{tableData.contactPerson}}</view>
<view class="info-item">联系方式:{{tableData.contactPhone}}</view>
<view class="info-item">邮箱:{{tableData.email}}</view>
</view>
|
e5b57447
杨鑫
'分包问卷'
|
45
46
47
48
49
50
51
52
53
54
|
</view>
</view>
</template>
<script>
export default {
data() {
return {
tableData:{},
|
fa21ce0f
杨鑫
最新更改bug
|
55
56
57
|
imgurl:'',
latitude: null,
longitude: null,
|
e5b57447
杨鑫
'分包问卷'
|
58
59
60
|
};
},
onLoad(option){
|
866d1a6a
wesley88
1
|
61
|
|
f692f3a5
wesley88
1
|
62
|
this.imgurl = this.$img
|
866d1a6a
wesley88
1
|
63
64
|
let ce = decodeURIComponent(option.item)
this.tableData = JSON.parse(ce)
|
844aa73a
杨鑫
'最新'
|
65
66
67
|
if (typeof this.tableData.previousEvents === 'string') {
this.tableData.previousEvents = this.tableData.previousEvents.split(',');
}
|
e5b57447
杨鑫
'分包问卷'
|
68
|
console.log(this.tableData)
|
ff404ccf
杨鑫
最新
|
69
70
71
72
|
if (this.tableData.cereBasicInformationVenue.mapMarker&& this.tableData.cereBasicInformationVenue.mapMarker!='') {
this.latitude = parseFloat(this.tableData.cereBasicInformationVenue.mapMarker.split(',')[0])
this.longitude = parseFloat(this.tableData.cereBasicInformationVenue.mapMarker.split(',')[1])
|
fa21ce0f
杨鑫
最新更改bug
|
73
|
}
|
60cd6339
杨鑫
'最新'
|
74
75
76
77
78
79
80
|
let obj ={
id:this.tableData.id,
viewsNumber:Number(this.tableData.viewsNumber) +1
}
this.$http.sendRequest('/cereBusinessCooperation/edit', 'POST', obj,1).then(res => {
})
|
e5b57447
杨鑫
'分包问卷'
|
81
82
|
},
methods: {
|
e5b57447
杨鑫
'分包问卷'
|
83
84
85
86
87
|
leaseAdd(){
uni.navigateTo({
url: '/pages/leaseAdd/leaseAdd'
})
},
|
fa21ce0f
杨鑫
最新更改bug
|
88
|
// 打开的点击事件,传经纬度和地点名
|
ff404ccf
杨鑫
最新
|
89
90
|
gomapApp(latitude, longitude ) {
console.log(latitude, longitude);
|
fa21ce0f
杨鑫
最新更改bug
|
91
92
93
94
95
96
97
98
99
|
let url = "";
uni.openLocation({
latitude: latitude,
longitude: longitude,
success: function() {
console.log('success');
}
});
},
|
e5b57447
杨鑫
'分包问卷'
|
100
101
102
103
104
105
106
|
}
};
</script>
<style scoped lang="scss">
@import 'businessDetail.scss';
</style>
|