Commit 9c723cca by 李伟康

修改代码

1 parent d5409e27
<!-- 浏览明细 -->
<!-- 明细 -->
<template>
<div class="edit-share marketing edit-box">
<div class="container edit-container">
......
......@@ -458,16 +458,27 @@ export default {
},
// 明细
handleDetail ({ prop, scope }) {
let option = {
viewAmount: {
type: 1,
name: '浏览'
},
fansAmount: {
type: 2,
name: '访客'
},
shareAmount: {
type: 3,
name: '分享'
}
}[prop]
this.$router.push({
path: '/seckillActivity/browseList',
query: {
id: scope.id,
activityName: scope.activityName,
type: {
'viewAmount': 1,
'fansAmount': 2,
'shareAmount': 3
}[prop]
detailType: option.type,
$title: encodeURI(`${option.name}明细`)
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!