Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglw
sensorConsult
Commits
4bef0bcf
Commit
4bef0bcf
authored
Jul 06, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人中心-收藏产品
parent
6a2b5b7d
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
492 additions
and
3 deletions
+492
-3
routers.js
src/router/routers.js
+8
-0
titleMenus.vue
src/views/homepage/components/titleMenus.vue
+1
-1
titleMenusV2.vue
src/views/homepage/components/titleMenusV2.vue
+1
-1
userMenus.vue
src/views/homepage/components/userMenus.vue
+1
-1
collectPro.vue
src/views/homepage/console/collectPro.vue
+481
-0
No files found.
src/router/routers.js
View file @
4bef0bcf
...
@@ -172,6 +172,14 @@ export const constantRouterMap = [
...
@@ -172,6 +172,14 @@ export const constantRouterMap = [
},
},
hidden
:
true
hidden
:
true
},
},
{
path
:
'
/console/collectPro
'
,
meta
:
{
title
:
'
个人中心-收藏的产品
'
,
noCache
:
true
},
component
:
(
resolve
)
=>
{
return
require
([
'
@/views/homepage/console/collectPro
'
],
resolve
)
},
hidden
:
true
},
{
{
path
:
'
/backstage
'
,
path
:
'
/backstage
'
,
component
:
Layout
,
component
:
Layout
,
...
...
src/views/homepage/components/titleMenus.vue
View file @
4bef0bcf
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
currentMenuObj
=
this
.
menu
s
[
0
]
this
.
currentMenuObj
=
this
.
menu
Index
>
this
.
menus
.
length
?
{
name
:
'
个人中心
'
,
url
:
'
/console
'
}
:
this
.
menus
[
this
.
menuIndex
]
this
.
$store
.
dispatch
(
'
app/setCurrentMenu
'
,
this
.
currentMenuObj
)
this
.
$store
.
dispatch
(
'
app/setCurrentMenu
'
,
this
.
currentMenuObj
)
})
})
},
},
...
...
src/views/homepage/components/titleMenusV2.vue
View file @
4bef0bcf
...
@@ -24,7 +24,7 @@ export default {
...
@@ -24,7 +24,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
currentMenuObj
=
this
.
menus
[
this
.
menuIndex
]
this
.
currentMenuObj
=
this
.
menu
Index
>
this
.
menus
.
length
?
{
name
:
'
个人中心
'
,
url
:
'
/console
'
}
:
this
.
menu
s
[
this
.
menuIndex
]
this
.
$store
.
dispatch
(
'
app/setCurrentMenu
'
,
this
.
currentMenuObj
)
this
.
$store
.
dispatch
(
'
app/setCurrentMenu
'
,
this
.
currentMenuObj
)
})
})
},
},
...
...
src/views/homepage/components/userMenus.vue
View file @
4bef0bcf
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<img
src=
"@/assets/home_images/mark_pro.png"
>
<img
src=
"@/assets/home_images/mark_pro.png"
>
<span>
供应
</span>
<span>
供应
</span>
</div>
</div>
<div
class=
"vertical-menu-label touch"
><span
:class=
"menuIndex==='3'?'active':''"
@
click=
"menuClick('/
home
')"
>
收藏的产品
</span></div>
<div
class=
"vertical-menu-label touch"
><span
:class=
"menuIndex==='3'?'active':''"
@
click=
"menuClick('/
console/collectPro
')"
>
收藏的产品
</span></div>
<div
class=
"vertical-menu-label touch"
><span
:class=
"menuIndex==='4'?'active':''"
@
click=
"menuClick('/home')"
>
收藏的供应商
</span></div>
<div
class=
"vertical-menu-label touch"
><span
:class=
"menuIndex==='4'?'active':''"
@
click=
"menuClick('/home')"
>
收藏的供应商
</span></div>
<div
class=
"vertical-menu-label touch"
><span
:class=
"menuIndex==='5'?'active':''"
@
click=
"menuClick('/home')"
>
询价记录
</span></div>
<div
class=
"vertical-menu-label touch"
><span
:class=
"menuIndex==='5'?'active':''"
@
click=
"menuClick('/home')"
>
询价记录
</span></div>
</div>
</div>
...
...
src/views/homepage/console/collectPro.vue
0 → 100644
View file @
4bef0bcf
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment