Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
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
华国豪
Athena
Commits
6f0fb34f
Commit
6f0fb34f
authored
Jan 13, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加手机版
parent
5387b678
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1210 additions
and
3 deletions
+1210
-3
App.vue
src/App.vue
+1
-1
swiper.min.css
src/assets/css/swiper.min.css
+15
-0
newTrip.vue
src/components/mall/newTrip.vue
+17
-0
tripMobile.vue
src/components/mall/tripMobile.vue
+1168
-0
router.js
src/router.js
+9
-2
No files found.
src/App.vue
View file @
6f0fb34f
...
...
@@ -101,7 +101,7 @@ export default {
<
style
>
@import
'./assets/global/font.css'
;
@import
'//at.alicdn.com/t/font_863923_
4bpjepv71zd
.css'
;
@import
'//at.alicdn.com/t/font_863923_
vbuuda0uxl8
.css'
;
@import
'./assets/global/global.css'
;
@import
'./assets/css/common.css'
;
body
,
html
{
...
...
src/assets/css/swiper.min.css
0 → 100644
View file @
6f0fb34f
This diff is collapsed.
Click to expand it.
src/components/mall/newTrip.vue
View file @
6f0fb34f
...
...
@@ -1303,6 +1303,23 @@
this
.
scrollobj
=
document
.
getElementsByClassName
(
'el-scrollbar__wrap'
)[
0
];
this
.
scrollobj
.
addEventListener
(
'scroll'
,
this
.
handleScroll
);
this
.
getTrip
();
let
userAgentInfo
=
navigator
.
userAgent
;
let
Agents
=
[
"Android"
,
"iPhone"
,
"SymbianOS"
,
"Windows Phone"
,
"iPad"
,
"iPod"
];
for
(
let
v
=
0
;
v
<
Agents
.
length
;
v
++
)
{
if
(
userAgentInfo
.
indexOf
(
Agents
[
v
])
>
0
)
{
this
.
$router
.
push
({
name
:
'tripMobile'
,
query
:
{
ID
:
decodeURIComponent
(
this
.
msg
.
ID
),
tcid
:
decodeURIComponent
(
this
.
msg
.
tcid
),
}
});
}
}
},
components
:
{
tripMap
...
...
src/components/mall/tripMobile.vue
0 → 100644
View file @
6f0fb34f
This diff is collapsed.
Click to expand it.
src/router.js
View file @
6f0fb34f
...
...
@@ -16,7 +16,7 @@ import xiazaiAPP from "./components/taskPage/xiazaiAPP";
import
Fire
from
"./components/taskPage/Fire"
;
import
Img5
from
"./components/taskPage/Img5"
;
import
Juanski
from
"./components/taskPage/Juanski"
;
import
tripMobile
from
"./components/mall/tripMobile"
Vue
.
use
(
Router
);
...
...
@@ -37,7 +37,14 @@ export default new Router({
title
:
'行程'
}
},
{
path
:
'/tripMobile'
,
name
:
'tripMobile'
,
component
:
tripMobile
,
meta
:
{
title
:
'手机版行程'
}
},
{
path
:
"/"
,
name
:
"index"
,
...
...
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