Browse Source

feat:fix bugs

master
zhaobing 9 months ago
parent
commit
fe66f654a9
  1. 18
      web-screen/client/src/layout/components/header/index.js

18
web-screen/client/src/layout/components/header/index.js

@ -138,7 +138,7 @@ const Header = props => {
{/* <img style={{ marginLeft: 4, display: tab == 'leader' ? 'inline-block' : 'none' }} src="/assets/bigScreen/right.png" /> */}
<img
style={{width:'8.3125rem',height:'5.625rem', position: 'absolute', left: '-1.1875rem', top: '-1.5625rem', display: tab == 'leader' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -155,7 +155,7 @@ const Header = props => {
{/* <img style={{ marginLeft: 4, display: tab == 'run' ? 'inline-block' : 'none' }} src="/assets/bigscreen/right.png" /> */}
<img
style={{width:'8.3125rem',height:'5.625rem', position: 'absolute', left: '-1.75rem', top: '-1.5625rem', display: tab == 'run' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -173,7 +173,7 @@ const Header = props => {
<img
style={{ width:'8.3125rem',height:'5.625rem',position: 'absolute', left: '-1.75rem', top: '-1.5625rem', display: tab == 'error' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -194,7 +194,7 @@ const Header = props => {
left: '-1.75rem', top: '-1.5625rem',
display: tab == 'inspection' ? 'inline-block' : 'none',
}}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -211,7 +211,7 @@ const Header = props => {
{/* <img style={{ marginLeft: 4, display: tab == 'aiot' ? 'inline-block' : 'none' }} src="/assets/bigscreen/right.png" /> */}
<img
style={{width:'8.3125rem',height:'5.625rem', position: 'absolute', left: '-1.75rem', top: '-1.5625rem', display: tab == 'aiot' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -227,7 +227,7 @@ const Header = props => {
{/* <img style={{ marginLeft: 4, display: tab == 'device' ? 'inline-block' : 'none' }} src="/assets/bigscreen/right.png" /> */}
<img
style={{width:'8.3125rem',height:'5.625rem', position: 'absolute',left: '-1.75rem', top: '-1.5625rem', display: tab == 'device' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -243,7 +243,7 @@ const Header = props => {
{/* <img style={{ marginLeft: 4, display: tab == 'expert' ? 'inline-block' : 'none' }} src="/assets/bigscreen/right.png" /> */}
<img
style={{width:'8.3125rem',height:'5.625rem', position: 'absolute', left: '-1.75rem', top: '-1.5625rem', display: tab == 'expert' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -259,7 +259,7 @@ const Header = props => {
{/* <img style={{ marginLeft: 4, display: tab == 'info' ? 'inline-block' : 'none' }} src="/assets/bigscreen/right.png" /> */}
<img
style={{width:'8.3125rem',height:'5.625rem', position: 'absolute', left: '-1.75rem', top: '-1.5625rem', display: tab == 'info' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<a
@ -275,7 +275,7 @@ const Header = props => {
{/* <img style={{ marginLeft: 4, display: tab == 'task' ? 'inline-block' : 'none' }} src="/assets/bigscreen/right.png" /> */}
<img
style={{width:'8.3125rem',height:'5.625rem', position: 'absolute', left: '-1.75rem', top: '-1.5625rem', display: tab == 'task' ? 'inline-block' : 'none' }}
src='/assets/bigscreen/selected-btn.png'
src='/assets/bigScreen/selected-btn.png'
/>
</a>
<ShowTime marginRight={'0.075rem'} />

Loading…
Cancel
Save