|
@@ -6,7 +6,7 @@
|
|
|
<el-col :span="24" class="one">
|
|
|
<el-row :span="24" class="one_1">
|
|
|
<el-col :span="20" class="title">{{ info.name || '暂无标题' }}</el-col>
|
|
|
- <el-col :span="4" class="file">
|
|
|
+ <el-col :span="4" class="file" @click="toFile">
|
|
|
<el-icon>
|
|
|
<Download />
|
|
|
</el-icon>
|
|
@@ -44,7 +44,7 @@
|
|
|
<div class="money">
|
|
|
参考价格:<span> {{ info.money || '面议' }} </span>
|
|
|
</div>
|
|
|
- <a-button type="primary"> 我要买 </a-button>
|
|
|
+ <a-button type="primary" @click="toBuy"> 我要买 </a-button>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="pointer" v-if="!user && !user._id">
|
|
|
提醒:您还没有登录,登录成功后再对接
|
|
@@ -64,14 +64,14 @@
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="8" class="right">
|
|
|
- <a-button type="primary">
|
|
|
+ <a-button type="primary" @click="toChat">
|
|
|
<template #icon>
|
|
|
<MessageOutlined />
|
|
|
</template>
|
|
|
点击在线洽谈
|
|
|
</a-button>
|
|
|
- <a-button class="button"> 进入单位 </a-button>
|
|
|
- <a-button class="button"> 收藏单位 </a-button>
|
|
|
+ <a-button class="button" @click="toUnit"> 进入单位 </a-button>
|
|
|
+ <a-button class="button" @click="toCollection"> 收藏单位 </a-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-col>
|
|
@@ -159,6 +159,26 @@ const getDict = (data, model) => {
|
|
|
const getArea = (data) => {
|
|
|
if (data) return data.join(',')
|
|
|
}
|
|
|
+// 附件下载
|
|
|
+const toFile = () => {
|
|
|
+ console.log('附件下载')
|
|
|
+}
|
|
|
+// 购买
|
|
|
+const toBuy = () => {
|
|
|
+ console.log('购买')
|
|
|
+}
|
|
|
+// 在线洽谈
|
|
|
+const toChat = () => {
|
|
|
+ console.log('在线洽谈')
|
|
|
+}
|
|
|
+// 进入单位
|
|
|
+const toUnit = () => {
|
|
|
+ console.log('进入单位')
|
|
|
+}
|
|
|
+// 收藏
|
|
|
+const toCollection = () => {
|
|
|
+ console.log('收藏')
|
|
|
+}
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
.main {
|