diff --git a/public/react/src/modules/user/usersInfo/banks/BanksIndex.js b/public/react/src/modules/user/usersInfo/banks/BanksIndex.js index 4b755365f..916601420 100644 --- a/public/react/src/modules/user/usersInfo/banks/BanksIndex.js +++ b/public/react/src/modules/user/usersInfo/banks/BanksIndex.js @@ -93,7 +93,7 @@ class BanksIndex extends Component{ { crumbData && - 题库 + { crumbData && crumbData.is_public == true ? '公共' : '我的' }题库 { crumbData.crumbArray && crumbData.crumbArray.map((item,key)=>{ return( @@ -107,7 +107,11 @@ class BanksIndex extends Component{ { crumbData &&

{crumbData && crumbData.title} - {crumbData.is_public == true ? '公开':'私有'} + { crumbData.is_public == true ? + 公开 + : + 私有 + }

} diff --git a/public/react/src/modules/user/usersInfo/usersInfo.css b/public/react/src/modules/user/usersInfo/usersInfo.css index f3dda84d0..bddb627aa 100644 --- a/public/react/src/modules/user/usersInfo/usersInfo.css +++ b/public/react/src/modules/user/usersInfo/usersInfo.css @@ -241,14 +241,28 @@ cursor: default; } .bank_is_public{ - background: #E4F2FE; + background: #84B6EB; float: left; - height: 30px; - line-height: 30px; + height: 24px; + line-height: 24px; + padding:0px 20px; + color: #fff; + font-size: 16px; + margin-left: 10px; + border-radius:20px; + margin-top:3px; +} +.bank_is_private{ + background: #56B998; + float: left; + height: 24px; + line-height: 24px; padding:0px 20px; - color: #4CACFF; + color: #fff; font-size: 16px; margin-left: 10px; + border-radius:20px; + margin-top:3px; } .topicsbox{ width: 1200px;