Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
binhai-people
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
binhai-jiaoguan
binhai-people
Commits
d08b7a20
Commit
d08b7a20
authored
Nov 22, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
99c7d963
dcfa7b5d
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
760 additions
and
17 deletions
+760
-17
header.vue
src/layout/components/header.vue
+2
-3
routes.js
src/router/routes.js
+13
-1
btn.scss
src/styles/btn.scss
+1
-1
index.vue
src/views/Home/components/NavList/index.vue
+2
-2
index.vue
src/views/Home/index.vue
+3
-3
index.vue
src/views/homePage/index.vue
+733
-0
addComplaint.vue
src/views/myService/addComplaint.vue
+1
-1
index.vue
src/views/myService/index.vue
+1
-1
serviceDetials.vue
src/views/myService/serviceDetials.vue
+1
-1
login.vue
src/views/personalCenter/login.vue
+3
-3
registration.vue
src/views/personalCenter/registration.vue
+0
-1
No files found.
src/layout/components/header.vue
View file @
d08b7a20
...
...
@@ -36,7 +36,6 @@
<
script
>
import
Cookies
from
'js-cookie'
import
logo
from
'@/assets/image/logo.png'
import
axios
from
'axios'
import
{
headerWeather
}
from
'@/api/baidu'
export
default
{
...
...
@@ -83,9 +82,9 @@ export default {
// })
},
toHome
()
{
if
(
this
.
$route
.
path
!==
'/
Hom
e'
)
{
if
(
this
.
$route
.
path
!==
'/
homePag
e'
)
{
this
.
$router
.
replace
({
name
:
'Home'
,
name
:
'Home
Page
'
,
parmas
:
{
batchRecordSingle
:
this
.
$route
.
name
===
'BatchRecordDetail'
}
...
...
src/router/routes.js
View file @
d08b7a20
...
...
@@ -254,6 +254,18 @@ const USER_VISITOR_ROUTES = [
},
component
:
()
=>
import
(
'@/views/Home/index'
)
},
{
path
:
'/homePage'
,
name
:
'HomePage'
,
meta
:
{
showFooter
:
true
,
title
:
'首页'
,
USER_LEVEL
:
USER_LEVEL
.
USER_VISITOR
,
showHeader
:
true
,
animation
:
false
},
component
:
()
=>
import
(
'@/views/homePage/index.vue'
)
},
/* 客运服务界面*/
{
path
:
'/passengerTransport/index'
,
...
...
@@ -388,7 +400,7 @@ const USER_LOGIN_ROUTES = [
{
path
:
'/personalCenter/registration'
,
name
:
'resetPwd'
,
meta
:
{
title
:
'立即注册'
,
showFooter
:
true
,
showHeader
:
fals
e
},
meta
:
{
title
:
'立即注册'
,
showFooter
:
true
,
showHeader
:
tru
e
},
component
:
()
=>
import
(
'@/views/personalCenter/registration'
)
},
{
...
...
src/styles/btn.scss
View file @
d08b7a20
...
...
@@ -36,7 +36,7 @@
.queryBtn
{
padding
:
7px
13px
7px
11px
;
width
:
124px
;
height
:
40
px
;
height
:
38
px
;
background
:
#419E83
;
border-radius
:
4px
4px
4px
4px
;
border
:
1px
solid
#419E83
;
...
...
src/views/Home/components/NavList/index.vue
View file @
d08b7a20
...
...
@@ -25,7 +25,7 @@ export default {
type
:
Array
,
default
()
{
return
[
{
menuName
:
'首页'
,
path
:
'/'
,
query
:
{
isBlank
:
true
},
imag
:
tabHome
},
{
menuName
:
'首页'
,
path
:
'/
homePage
'
,
query
:
{
isBlank
:
true
},
imag
:
tabHome
},
{
menuName
:
'天气情况'
,
path
:
'/weatherCondition/index'
,
query
:
{
isBlank
:
true
},
imag
:
tabTianqi
},
{
menuName
:
'出行服务'
,
path
:
'/mobilityServices/index'
,
query
:
{
isBlank
:
true
},
imag
:
tabTianqi
},
{
menuName
:
'交通资讯'
,
path
:
'/trafficInformation/index'
,
query
:
{
isBlank
:
true
},
imag
:
tabChuxing
},
...
...
@@ -40,7 +40,7 @@ export default {
currentMenu
:
{
type
:
String
,
default
()
{
return
'/'
return
'/
homePage
'
}
}
},
...
...
src/views/Home/index.vue
View file @
d08b7a20
<
template
>
<div
class=
"home-content"
>
<div
style=
"position: fixed;z-index: 100;right: 0;left: 0;"
>
<nav-list
current-menu=
"/"
/>
<nav-list
current-menu=
"/
Home
"
/>
</div>
<div
class=
"block"
style=
"padding-top: 80px;position: relative"
>
<div
class=
"scroll"
>
...
...
@@ -309,7 +309,7 @@ export default {
travelServicesForm
:
{
start
:
''
,
endL
:
''
,
type
:
'1'
type
:
'1'
},
onData
:
onData
,
// 导航Image
...
...
@@ -357,9 +357,9 @@ export default {
}
},
created
()
{
this
.
getRoadConditionsList
()
this
.
getPublicService
()
this
.
getTrafficInformation
()
this
.
getRoadConditionsList
()
},
methods
:
{
// 出行服务选择地点
...
...
src/views/homePage/index.vue
0 → 100644
View file @
d08b7a20
This diff is collapsed.
Click to expand it.
src/views/myService/addComplaint.vue
View file @
d08b7a20
...
...
@@ -217,7 +217,7 @@ export default {
this
.
$router
.
push
({
name
:
'myServiceIndex'
})
},
goHome
()
{
this
.
$router
.
push
({
name
:
'Home'
})
this
.
$router
.
push
({
name
:
'Home
Page
'
})
},
searchcomplete
(
arr
)
{
this
.
restaurants
=
arr
.
Yr
...
...
src/views/myService/index.vue
View file @
d08b7a20
...
...
@@ -107,7 +107,7 @@ export default {
methods
:
{
parseTime
,
goHome
()
{
this
.
$router
.
push
({
name
:
'Home'
}
)
this
.
$router
.
push
({
name
:
'Home
Page
'
}
)
}
,
// 查看详情
goServiceDetais
(
item
)
{
...
...
src/views/myService/serviceDetials.vue
View file @
d08b7a20
...
...
@@ -79,7 +79,7 @@ export default {
this
.
$router
.
push
({
name
:
'myServiceIndex'
})
},
goHome
()
{
this
.
$router
.
push
({
name
:
'Home'
})
this
.
$router
.
push
({
name
:
'Home
Page
'
})
},
// 服务类型
serviceType
(
value
)
{
...
...
src/views/personalCenter/login.vue
View file @
d08b7a20
<
template
>
<div
class=
"p-login"
>
<div
style=
"position: fixed;z-index: 100;right: 0;left: 0;"
>
<nav-list
current-menu=
"/"
/>
<nav-list
/>
</div>
<div
class=
"header-banner-container"
style=
"padding-top: 80px"
/>
<div
class=
"content-container"
>
...
...
@@ -135,7 +135,7 @@ export default {
goBack
()
{
// this.$router.go(-1)
this
.
$router
.
push
({
path
:
'/
Hom
e'
path
:
'/
homePag
e'
})
},
...
...
@@ -162,7 +162,7 @@ export default {
Cookies
.
set
(
'information'
,
this
.
loginPwdForm
)
}
this
.
$store
.
dispatch
(
'user/SetToken'
,
loginRes
.
token
)
this
.
routerReplace
({
path
:
'/'
})
this
.
routerReplace
({
path
:
'/
homePage
'
})
this
.
loginLoading
=
false
}
else
{
this
.
loginLoading
=
false
...
...
src/views/personalCenter/registration.vue
View file @
d08b7a20
<
template
>
<div
class=
"resetPwdList"
>
<Header
/>
<nav-list></nav-list>
<!--
<com-layout-wrapper
class=
"resetPwd"
>
-->
...
...
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