Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
42ff409a
Commit
42ff409a
authored
Dec 26, 2019
by
刘泽奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
4f73ec9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
30 deletions
+30
-30
igirl-channel-web/app/front/entry/index.ejs
+2
-2
igirl-channel-web/app/front/entry/public/js/index.js
+28
-27
igirl-channel-web/app/front/vues/pages/jdtrademark/jdtrademark.js
+0
-1
No files found.
igirl-channel-web/app/front/entry/index.ejs
View file @
42ff409a
...
@@ -56,13 +56,13 @@
...
@@ -56,13 +56,13 @@
<body>
<body>
<div
id=
"app"
v-loading
.
fullscreen
.
lock=
"loading"
customClass=
"global-loading"
<div
id=
"app"
v-loading
.
fullscreen
.
lock=
"loading"
customClass=
"global-loading"
element-loading-background=
"rgba(0, 0, 0, 0.8)"
class=
"app-main"
style=
"visibility:hidden"
>
element-loading-background=
"rgba(0, 0, 0, 0.8)"
class=
"app-main"
style=
"visibility:hidden"
>
<div
class=
"jd_header_box"
>
<div
class=
"jd_header_box"
v-show=
"selfHeaderShow"
>
<div
class=
"jc_hd"
></div>
<div
class=
"jc_hd"
></div>
</div>
</div>
<transition
name=
"slide-fade"
>
<transition
name=
"slide-fade"
>
<router-view></router-view>
<router-view></router-view>
</transition>
</transition>
<div
class=
"jd_footer_box"
>
<div
class=
"jd_footer_box"
v-show=
"selfFooterShow"
>
<div
class=
"jdc-footer"
></div>
<div
class=
"jdc-footer"
></div>
</div>
</div>
</div>
</div>
...
...
igirl-channel-web/app/front/entry/public/js/index.js
View file @
42ff409a
...
@@ -74,10 +74,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -74,10 +74,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
});
});
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
console
.
log
(
from
,
"vvvvvvvvvvvvvvvvvvvvvvvvv"
);
console
.
log
(
to
,
"vvvvvvvvvvvvvvvvvvvvvvvvv"
);
console
.
log
(
router
,
location
.
hostname
);
if
(
to
.
path
==
"/"
&&
location
.
hostname
==
"tm.plus.jdcloud.com"
)
{
if
(
to
.
path
==
"/"
&&
location
.
hostname
==
"tm.plus.jdcloud.com"
)
{
router
.
replace
({
path
:
'/jd/jdtrademark'
});
router
.
replace
({
path
:
'/jd/jdtrademark'
});
}
}
...
@@ -162,10 +158,9 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -162,10 +158,9 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
showPhoneNum
:
false
,
showPhoneNum
:
false
,
rsData
:
[],
rsData
:
[],
channelUserId
:
""
,
channelUserId
:
""
,
headerHidden
:
null
,
channelName
:
''
,
channelName
:
''
,
selfFooterShow
:
true
,
selfFooterShow
:
true
,
selfHeaderShow
:
true
,
};
};
},
},
created
()
{
created
()
{
...
@@ -175,6 +170,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -175,6 +170,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
$
(
"#app"
).
css
(
"visibility"
,
'visible'
);
$
(
"#app"
).
css
(
"visibility"
,
'visible'
);
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
channelName
=
location
.
hash
.
split
(
'/'
)[
1
];
this
.
channelName
=
location
.
hash
.
split
(
'/'
)[
1
];
},
},
updated
()
{
updated
()
{
...
@@ -198,29 +194,34 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -198,29 +194,34 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
},
},
handleHeader
()
{
handleHeader
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
if
(
location
.
hash
.
split
(
'/'
)[
1
]
==
"jd"
)
{
let
hideHeader
=
location
.
hash
.
split
(
'/'
)[
1
];
console
.
log
(
"xxxxxxxxxxxxxxxxxxxx"
,
location
.
hash
.
split
(
'/'
)[
1
],
this
.
headerHidden
);
switch
(
hideHeader
)
{
$
(
'.jd_footer_box'
).
show
();
case
"jd"
:
var
selftmreg
=
location
.
hash
.
includes
(
'/selftmreg'
);
console
.
log
(
"xxxxxxxxxxxxxxxxxxxx"
,
location
.
hash
.
split
(
'/'
)[
1
],
location
);
var
OAjdlist
=
location
.
hash
.
includes
(
'/OAjdlist'
);
var
selftmreg
=
location
.
hash
.
includes
(
'/selftmreg'
);
var
jdindentlist
=
location
.
hash
.
includes
(
'/jdindentlist'
);
var
OAjdlist
=
location
.
hash
.
includes
(
'/OAjdlist'
);
var
jdindentdetail
=
location
.
hash
.
includes
(
'/jdindentdetail'
);
var
jdindentlist
=
location
.
hash
.
includes
(
'/jdindentlist'
);
var
OAjddetails
=
location
.
hash
.
includes
(
'/OAjddetails'
);
var
jdindentdetail
=
location
.
hash
.
includes
(
'/jdindentdetail'
);
var
OAjdcompany
=
location
.
hash
.
includes
(
'/OAjdcompany'
);
var
OAjddetails
=
location
.
hash
.
includes
(
'/OAjddetails'
);
console
.
log
(
find
,
"lllllllllllllllllllllllllllllll"
);
var
OAjdcompany
=
location
.
hash
.
includes
(
'/OAjdcompany'
);
if
(
OAjdlist
||
selftmreg
||
jdindentlist
||
jdindentdetail
||
OAjddetails
||
OAjdcompany
)
{
if
(
OAjdlist
||
selftmreg
||
jdindentlist
||
jdindentdetail
||
OAjddetails
||
OAjdcompany
)
{
$
(
'.jd_footer_box'
).
hide
();
this
.
selfFooterShow
=
false
;
}
}
if
(
OAjdlist
||
jdindentlist
||
jdindentdetail
||
OAjddetails
||
OAjdcompany
)
{
if
(
OAjdlist
||
jdindentlist
||
jdindentdetail
||
OAjddetails
||
OAjdcompany
)
{
$
(
'.jd_header_box'
).
hide
();
this
.
selfHeaderShow
=
false
;
}
}
}
else
{
break
;
$
(
'.jd_header_box'
).
hide
();
$
(
'.jd_footer_box'
).
hide
();
default
:
console
.
log
(
"zzzzzzzzzzzzzzz"
,
location
.
hash
.
split
(
'/'
)[
1
],
this
.
headerHidden
);
if
(
location
.
hostname
!=
"tm.plus.jdcloud.com"
)
{
this
.
selfHeaderShow
=
false
;
this
.
selfFooterShow
=
false
;
}
break
;
}
}
})
});
},
},
// 处理参数方法
// 处理参数方法
copyParams
(
actionBody
,
actionType
,
url
,
isUser
=
"no"
,
isDecryptUser
=
"no"
)
{
copyParams
(
actionBody
,
actionType
,
url
,
isUser
=
"no"
,
isDecryptUser
=
"no"
)
{
...
...
igirl-channel-web/app/front/vues/pages/jdtrademark/jdtrademark.js
View file @
42ff409a
...
@@ -150,7 +150,6 @@
...
@@ -150,7 +150,6 @@
},
},
centeredSlides
:
false
,
centeredSlides
:
false
,
});
});
$
(
'.jd_footer_box'
).
show
();
},
},
created
:
function
()
{
created
:
function
()
{
...
...
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