Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ycc-website
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Website
ycc-website
Commits
687ddbf0
Commit
687ddbf0
authored
Feb 22, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复secene.vue组件的bug。修复菜单的展示
parent
89a38181
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
menu.vue
src/components/mobile/menu.vue
+6
-1
scene.vue
src/components/pc/scene.vue
+4
-0
Header.vue
src/layout/MainPage/Header.vue
+3
-1
index.vue
src/views/pc/blockDetail/index.vue
+1
-1
No files found.
src/components/mobile/menu.vue
View file @
687ddbf0
...
...
@@ -44,7 +44,12 @@
class=
"px-6 text-base text-title-color"
:class=
"
{
'menu-active':
$route.path === '/blockChainBrowser' || $route.path === '/block',
$route.path === '/blockChainBrowser' ||
$route.path === '/block' ||
$route.path === '/blockDetail' ||
$route.path === '/tradeHash' ||
$route.path === '/tradeList' ||
$route.path === '/address',
}"
@click="goPage('/blockChainBrowser')"
>
...
...
src/components/pc/scene.vue
View file @
687ddbf0
...
...
@@ -258,6 +258,9 @@ export default Vue.extend({
},
4000
)
},
},
beforeDestroy
()
{
clearInterval
(
this
.
timer
)
},
created
()
{
this
.
next
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
list
.
slice
(
0
,
this
.
copyNum
)))
},
...
...
@@ -266,6 +269,7 @@ export default Vue.extend({
},
watch
:
{
$route
()
{
clearInterval
(
this
.
timer
)
this
.
next
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
list
.
slice
(
0
,
this
.
copyNum
)))
this
.
initTimer
()
},
...
...
src/layout/MainPage/Header.vue
View file @
687ddbf0
...
...
@@ -77,7 +77,9 @@
$route.path === '/blockChainBrowser' ||
$route.path === '/block' ||
$route.path === '/blockDetail' ||
$route.path === '/tradeHash'
$route.path === '/tradeHash' ||
$route.path === '/tradeList' ||
$route.path === '/address'
"
class=
"absolute block w-7 h-1 bg-active rounded-2xl left-1/2 -bottom-2 transform -translate-x-1/2"
:class=
"
{
...
...
src/views/pc/blockDetail/index.vue
View file @
687ddbf0
...
...
@@ -88,6 +88,6 @@ export default VueTypedMixins(blockDetailMixin).extend({
<
style
scoped
>
.block-detail
{
padding-top
:
6px
;
padding-top
:
6
4
px
;
}
</
style
>
chenqikuai
@chenqikuai
mentioned in commit
748f7ae1
·
Mar 03, 2022
mentioned in commit
748f7ae1
mentioned in commit 748f7ae18ac2f8eb14ee7c2865eaea786342a520
Toggle commit list
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