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
a4fb8839
Commit
a4fb8839
authored
Dec 26, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车型详情
parent
f3aa2a3d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
footer.vue
components/footer.vue
+3
-3
aboutXx.vue
pages/aboutXx.vue
+2
-2
index.vue
pages/index.vue
+4
-4
vehicle.vue
pages/vehicle.vue
+1
-1
_id.vue
pages/vehicleList/_id.vue
+1
-1
No files found.
components/footer.vue
View file @
a4fb8839
This diff is collapsed.
Click to expand it.
pages/aboutXx.vue
View file @
a4fb8839
This source diff could not be displayed because it is too large. You can
view the blob
instead.
pages/index.vue
View file @
a4fb8839
...
@@ -432,13 +432,13 @@
...
@@ -432,13 +432,13 @@
item
.
startTime
=
timestamp2DateNoTime
(
item
.
startTime
);
item
.
startTime
=
timestamp2DateNoTime
(
item
.
startTime
);
item
.
endTime
=
timestamp2DateNoTime
(
item
.
endTime
);
item
.
endTime
=
timestamp2DateNoTime
(
item
.
endTime
);
});
});
let
link1
=
encodeURI
(
"/vehicleList/1?
name=【上汽】大通RV80旅居车
"
);
let
link1
=
encodeURI
(
"/vehicleList/1?
id=48
"
);
link1
=
encodeURI
(
link1
);
link1
=
encodeURI
(
link1
);
let
link2
=
encodeURI
(
"/vehicleList/2?
name=【金冠】格林卡诺C2
"
);
let
link2
=
encodeURI
(
"/vehicleList/2?
id=51
"
);
link2
=
encodeURI
(
link2
);
link2
=
encodeURI
(
link2
);
let
link3
=
encodeURI
(
"/vehicleList/3?
name=【齐星】依维柯
"
);
let
link3
=
encodeURI
(
"/vehicleList/3?
id=53
"
);
link3
=
encodeURI
(
link3
);
link3
=
encodeURI
(
link3
);
let
link4
=
encodeURI
(
"/vehicleList/4?
name=【奔驰】斯宾特
"
);
let
link4
=
encodeURI
(
"/vehicleList/4?
id=55
"
);
link4
=
encodeURI
(
link4
);
link4
=
encodeURI
(
link4
);
return
{
return
{
bannerList
:
banner
,
bannerList
:
banner
,
...
...
pages/vehicle.vue
View file @
a4fb8839
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
t
.
totalCount
=
response
.
data
.
data
.
totalCount
;
t
.
totalCount
=
response
.
data
.
data
.
totalCount
;
let
list
=
response
.
data
.
data
.
data
;
let
list
=
response
.
data
.
data
.
data
;
list
.
map
(
function
(
item
){
list
.
map
(
function
(
item
){
item
.
link
=
encodeURI
(
'/vehicleList/'
+
item
.
id
+
'?
name='
+
item
.
name
);
item
.
link
=
encodeURI
(
'/vehicleList/'
+
item
.
id
+
'?
id='
+
item
.
id
);
item
.
link
=
encodeURI
(
item
.
link
);
item
.
link
=
encodeURI
(
item
.
link
);
item
.
pictureList
=
item
.
picture
.
split
(
","
);
item
.
pictureList
=
item
.
picture
.
split
(
","
);
item
.
coverPic
=
item
.
coverPic
?
item
.
coverPic
:
item
.
pictureList
.
length
>
0
?
item
.
pictureList
[
0
]:
''
;
item
.
coverPic
=
item
.
coverPic
?
item
.
coverPic
:
item
.
pictureList
.
length
>
0
?
item
.
pictureList
[
0
]:
''
;
...
...
pages/vehicleList/_id.vue
View file @
a4fb8839
...
@@ -210,7 +210,7 @@
...
@@ -210,7 +210,7 @@
};
};
},
},
async
asyncData
({
route
})
{
async
asyncData
({
route
})
{
const
{
data
}
=
await
axios
.
get
(
'/api/uccn/vehicleModel/app/unauth/detail
/'
+
route
.
query
.
name
);
const
{
data
}
=
await
axios
.
get
(
'/api/uccn/vehicleModel/app/unauth/detail
?id='
+
route
.
query
.
id
);
let
user
=
data
.
data
;
let
user
=
data
.
data
;
data
.
data
.
modelsDetails
=
data
.
data
.
modelsDetails
.
replace
(
/<img/g
,
"<img style='width:100%'"
);
data
.
data
.
modelsDetails
=
data
.
data
.
modelsDetails
.
replace
(
/<img/g
,
"<img style='width:100%'"
);
data
.
data
.
modelParam
=
JSON
.
parse
(
data
.
data
.
modelParam
);
data
.
data
.
modelParam
=
JSON
.
parse
(
data
.
data
.
modelParam
);
...
...
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