Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
cad08a2d
authored
2020-02-13 23:20:16 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
73f51faa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
8 deletions
src/components/date-picker/date-picker.scss
src/components/home/dropdown/dropdown.js
src/pages/clarms/clarms.vue
src/components/date-picker/date-picker.scss
View file @
cad08a2
...
...
@@ -10,6 +10,7 @@
font-family
:
Arial
;
font-size
:
14px
;
// 日历
.calendar-wrap
{
...
...
src/components/home/dropdown/dropdown.js
View file @
cad08a2
...
...
@@ -18,25 +18,25 @@ export default {
props
:
{
type
:
{
type
:
String
,
default
()
{
default
()
{
return
"nav"
;
}
},
dataObj
:
{
type
:
Object
,
default
()
{
default
()
{
return
{};
}
},
dataList
:
{
type
:
Array
,
default
()
{
default
()
{
return
[];
}
},
labelProperty
:
{
type
:
String
,
default
()
{
default
()
{
return
"name"
;
}
}
...
...
@@ -96,6 +96,11 @@ export default {
let
path
=
item
&&
item
.
path
||
""
;
this
.
$root
.
eventBus
.
$emit
(
item
.
path
);
if
(
path
)
{
console
.
log
(
"path:"
,
path
);
// modify
if
(
path
==
"/custom/service?q=m5"
)
{
path
=
"/clarms"
}
this
.
$router
.
push
({
path
:
path
})
...
...
@@ -125,10 +130,14 @@ export default {
if
(
this
.
$route
.
name
==
"login"
)
{
return
;
}
else
if
(
this
.
$route
.
name
==
"register"
||
this
.
$route
.
name
==
"passwordFind"
)
{
this
.
$router
.
push
({
path
:
"/login"
});
this
.
$router
.
push
({
path
:
"/login"
});
}
else
{
let
callback
=
this
.
$route
.
fullPath
;
this
.
$router
.
push
({
path
:
"/login?callback="
+
callback
});
this
.
$router
.
push
({
path
:
"/login?callback="
+
callback
});
}
},
logoutHandler
()
{
...
...
@@ -152,5 +161,5 @@ export default {
return
this
.
dataList
[
this
.
activeIndex
][
this
.
labelProperty
];
}
},
created
()
{
},
created
()
{},
};
...
...
src/pages/clarms/clarms.vue
View file @
cad08a2
<
template
>
<div>
<div
class=
"navigate"
>
...
...
Please
register
or
sign in
to post a comment