Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr-mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lixy
vue-ssr-mobile
Commits
7c9b54d8
Commit
7c9b54d8
authored
Sep 11, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页四款车型
parent
81fb76ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
index.vue
pages/index.vue
+18
-6
No files found.
pages/index.vue
View file @
7c9b54d8
...
...
@@ -225,7 +225,7 @@
class=
"flex-aic-fww-jcb"
style=
"padding:0 0.4rem;justify-content: space-around;"
>
<router-link
:to=
"
{ path: 'vehicleList', query:{name:'【上汽】大通RV80旅居车'}}
"
:to=
"
link1
"
class=
"hot-vehicle-home"
>
<div
class=
"flex-aic-jcc-fdc vehicle-home-item"
...
...
@@ -236,7 +236,7 @@
</div>
</router-link>
<router-link
:to=
"
{ path: 'vehicleList', query:{name:'【金冠】格林卡诺C2'}}
"
:to=
"
link2
"
class=
"hot-vehicle-home"
>
<div
class=
"flex-aic-jcc-fdc vehicle-home-item"
...
...
@@ -247,7 +247,7 @@
</div>
</router-link>
<router-link
:to=
"
{ path: 'vehicleDetail', query:{name:'【齐星】依维柯'}}
"
:to=
"
link3
"
class=
"hot-vehicle-home"
>
<div
class=
"flex-aic-jcc-fdc vehicle-home-item"
...
...
@@ -258,7 +258,7 @@
</div>
</router-link>
<router-link
:to=
"
{ path: 'vehicleList', query:{name:'【奔驰】斯宾特'}}
"
:to=
"
link4
"
class=
"hot-vehicle-home"
>
<div
class=
"flex-aic-jcc-fdc vehicle-home-item"
...
...
@@ -332,7 +332,7 @@
return
{
isShowMenu
:
false
,
cityNum
:
0
,
companyNum
:
0
companyNum
:
0
,
};
},
created
(){
...
...
@@ -432,11 +432,23 @@
item
.
startTime
=
timestamp2DateNoTime
(
item
.
startTime
);
item
.
endTime
=
timestamp2DateNoTime
(
item
.
endTime
);
});
let
link1
=
encodeURI
(
"/vehicleList/1?name=【上汽】大通RV80旅居车"
);
link1
=
encodeURI
(
link1
);
let
link2
=
encodeURI
(
"/vehicleList/2?name=【金冠】格林卡诺C2"
);
link2
=
encodeURI
(
link2
);
let
link3
=
encodeURI
(
"/vehicleList/3?name=【齐星】依维柯"
);
link3
=
encodeURI
(
link3
);
let
link4
=
encodeURI
(
"/vehicleList/4?name=【奔驰】斯宾特"
);
link4
=
encodeURI
(
link4
);
return
{
bannerList
:
banner
,
newsList
:
news
,
tourList
:
tour
,
activityList
:
cc
activityList
:
cc
,
link1
:
link1
,
link2
:
link2
,
link3
:
link3
,
link4
:
link4
};
},
head
()
{
...
...
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