Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 713a9a9a
authored
Jul 14, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
排名跳转打开新页签
1 parent
2fe3a373
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
src/views/home/solar/PurchaseRank.vue
src/views/home/solar/PurchaseRank.vue
View file @
713a9a9
...
...
@@ -105,7 +105,16 @@ export default {
// 跳转太阳膜详情页
goDetailPage
(
item
)
{
console
.
log
(
item
)
this
.
$router
.
push
({
path
:
`solarDetail?merchantid=
${
item
.
merchantid
}
&merchantname=
${
item
.
merchantname
}
&purchaseType=
${
this
.
purchase
.
value
}
`
})
// this.$router.push({ path: `solarDetail?merchantid=${item.merchantid}&merchantname=${item.merchantname}&purchaseType=${this.purchase.value}` })
const
routeData
=
this
.
$router
.
resolve
({
name
:
'solarDetail'
,
query
:
{
merchantid
:
item
.
merchantid
,
merchantname
:
item
.
merchantname
,
purchaseType
:
this
.
purchase
.
value
}
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
// 点击外部控制排名下拉隐藏
clickOutside
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment