diff --git a/src/App.vue b/src/App.vue index a0f25bd..69e39cb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -30,10 +30,12 @@ watch(route, (to: RouteLocationNormalizedLoaded) => { * { padding: 0; margin: 0; + box-sizing: border-box; } body { font-size: 14px; + background: #FAFAFA; } #layout { diff --git a/src/api/interfaces/block.ts b/src/api/interfaces/block.ts index cfc1d34..0d98977 100644 --- a/src/api/interfaces/block.ts +++ b/src/api/interfaces/block.ts @@ -1,3 +1,3 @@ import Chain33Rpc from '@33cn/chain33-rpc-api' -export default new Chain33Rpc('http://explorer.cnskl.com/api', null) +export default new Chain33Rpc('http://47.100.214.15:8080/api', null) diff --git a/src/components/Header.vue b/src/components/Header.vue index 99356f5..2efeca6 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -27,7 +27,7 @@ const router = useRouter() .wrap { display: flex; - justify-content: space-around; + justify-content: space-between; .nav { width: 600px; diff --git a/src/store/index.ts b/src/store/index.ts index 0024dea..7cdc1f3 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -30,7 +30,7 @@ export default createStore({ tokenType: '', openId: '', loginAt: 0, - maxHeight:110, + maxHeight: 0, user: {} as BaseInfo }, getters: { @@ -71,7 +71,7 @@ export default createStore({ }, setMaxHeight: (state: State, height: number): void => { state.maxHeight = height - }, + } }, actions: { setUserInfo: ({ commit }, info: BaseInfo): void => { diff --git a/src/views/Address/index.vue b/src/views/Address/index.vue index 8ead53e..59e79b2 100644 --- a/src/views/Address/index.vue +++ b/src/views/Address/index.vue @@ -1,17 +1,16 @@ - + diff --git a/src/views/Block/index.vue b/src/views/Block/index.vue index 67d3627..ecd9fd4 100644 --- a/src/views/Block/index.vue +++ b/src/views/Block/index.vue @@ -13,35 +13,52 @@ - + - - - - + + + + + + + + + diff --git a/src/views/Other/analytical.vue b/src/views/Other/analytical.vue index 84d04f4..909bea7 100644 --- a/src/views/Other/analytical.vue +++ b/src/views/Other/analytical.vue @@ -1,11 +1,14 @@