|
@@ -156,7 +156,7 @@ const handleApply=()=>{
|
|
|
company_name:noAuth.data.customer_info.company_name,
|
|
|
real_name:noAuth.data.customer_info.name,
|
|
|
source:2,
|
|
|
- fromPage:'活动详情'
|
|
|
+ from_page:'活动详情'
|
|
|
}).then((res)=>{
|
|
|
if(res.code===200){
|
|
|
console.log('主动申请成功');
|
|
@@ -185,7 +185,9 @@ const handleApply=()=>{
|
|
|
<span class="status-box status-end" v-if="info.activityState===3">已结束</span>
|
|
|
<h2 class="type-title">{{ info.activityTypeName }}</h2>
|
|
|
<div>主讲人:{{ info.speaker }}</div>
|
|
|
- <div style="color: #b6b6b6; margin: 12px 0"> 活动时间:{{ formatActivityTime(info.startTime, info.endTime) }}</div>
|
|
|
+ <div style="color: #b6b6b6; margin: 12px 0"> 活动时间:{{ formatActivityTime(info.startTime, info.endTime) }}
|
|
|
+ <span class="city-box" v-if="info.city">{{info.city}}</span>
|
|
|
+ </div>
|
|
|
<div class="report-name"> {{ info.reportName ? info.reportName.split("】")[1] : info.activityName }} </div>
|
|
|
</div>
|
|
|
<div class="con">
|
|
@@ -215,7 +217,16 @@ const handleApply=()=>{
|
|
|
item.type == 'copy' && 'link',
|
|
|
]"
|
|
|
>
|
|
|
- {{ item.text }}
|
|
|
+ <template v-if="item.type=='tel'||item.type=='copy'">
|
|
|
+ <el-popover
|
|
|
+ placement="right-end"
|
|
|
+ trigger="hover"
|
|
|
+ >
|
|
|
+ <template #reference> {{ item.text }} </template>
|
|
|
+ <template #default><span @click="handleCopyTel(item.text)">复制{{item.type=='tel'?'号码':'链接'}}</span></template>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ <template v-else>{{item.text}}</template>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -254,6 +265,9 @@ const handleApply=()=>{
|
|
|
</template>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+:deep(.el-popper){
|
|
|
+ min-width: 50px;
|
|
|
+}
|
|
|
.activity-detail-page {
|
|
|
padding-top: 30px;
|
|
|
.main-box {
|
|
@@ -281,6 +295,22 @@ const handleApply=()=>{
|
|
|
.status-end{
|
|
|
color: #333;
|
|
|
}
|
|
|
+ .city-box{
|
|
|
+ color: #DAB37C;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 10px;
|
|
|
+ &::before{
|
|
|
+ content: '';
|
|
|
+ display: inline-block;
|
|
|
+ width: 12px;
|
|
|
+ height: 15px;
|
|
|
+ background-image: url('../../assets/location.png');
|
|
|
+ background-size: cover;
|
|
|
+ margin-right: 5px;
|
|
|
+ position: relative;
|
|
|
+ top: 3px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.type-title {
|
|
|
font-size: 16px;
|