Commit 69ef029f authored by agping's avatar agping

商学院修改

parent 9e5002d6
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
'isBack': false 'isBack': false
}, },
token: _token, token: _token,
seatH: 1.66*4,//占位高度 seatH: 1.58*4,//占位高度
pageSize: 10, pageSize: 10,
initTabNumMain: 0, initTabNumMain: 0,
isLoading: false,//是否正在加载 isLoading: false,//是否正在加载
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
if(response.data.code == 200) { if(response.data.code == 200) {
let _data = response.data.data; let _data = response.data.data;
let _len = _data.length;//标签个数 let _len = _data.length;//标签个数
_this.seatH = Math.ceil((_len+1)/4)*1.66; _this.seatH = Math.ceil((_len+1)/4)*1.58;
for(let i = 0;i<_len;i++){ for(let i = 0;i<_len;i++){
_this.mainData.push({ _this.mainData.push({
'isLoadOnce': false, 'isLoadOnce': false,
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
<style scoped> <style scoped>
nav{ nav{
width: 7.5rem; width: 7.5rem;
margin-bottom: .2rem; margin-bottom: .3rem;
} }
nav>.nav-main { nav>.nav-main {
background-color: white; background-color: white;
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
} }
nav>.nav-main>ul>li { nav>.nav-main>ul>li {
width: 25%; width: 25%;
height: 1.66rem; height: 1.58rem;
font-size: .22rem; font-size: .22rem;
text-align: center; text-align: center;
color: #333; color: #333;
...@@ -261,10 +261,10 @@ ...@@ -261,10 +261,10 @@
/*flex: 1;*/ /*flex: 1;*/
} }
nav>.nav-main>ul>li>p:nth-of-type(1){ nav>.nav-main>ul>li>p:nth-of-type(1){
height: .46rem; height: .72rem;
} }
nav>.nav-main>ul>li>p:nth-of-type(1)>img{ nav>.nav-main>ul>li>p:nth-of-type(1)>img{
width: .46rem; width: .72rem;
} }
nav>.nav-main>ul>li>p:nth-of-type(2){ nav>.nav-main>ul>li>p:nth-of-type(2){
color: #4c4c4c; color: #4c4c4c;
...@@ -273,4 +273,6 @@ ...@@ -273,4 +273,6 @@
nav>.nav-main>ul>li.active { nav>.nav-main>ul>li.active {
background: rgba(252, 194, 50,.1); background: rgba(252, 194, 50,.1);
} }
</style> </style>
\ No newline at end of file
...@@ -75,21 +75,30 @@ ...@@ -75,21 +75,30 @@
} }
li>div>div:nth-of-type(1){ li>div>div:nth-of-type(1){
flex-direction: column; flex-direction: column;
justify-content: center; /*justify-content: center;*/
padding-right: .5rem; padding-right: .38rem;
padding-top: .1rem;
flex: 1; flex: 1;
} }
li>div>div:nth-of-type(1)>p:nth-of-type(1){ li>div>div:nth-of-type(1)>p:nth-of-type(1){
color: #343434; color: #414443 ;
font-size: .3rem; font-size: .28rem;
font-weight: 600;
height: .76rem;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
} }
li>div>div:nth-of-type(1)>p:nth-of-type(2){ li>div>div:nth-of-type(1)>p:nth-of-type(2){
color: #999; color: #999;
font-size: .24rem; font-size: .22rem;
padding-top: .2rem; padding-top: .46rem;
} }
li>div>div:nth-of-type(2){ li>div>div:nth-of-type(2){
flex: 2.2rem 0 0; flex: 1.8rem 0 0;
} }
li>div>div:nth-of-type(2)>img{ li>div>div:nth-of-type(2)>img{
width: 1.7rem; width: 1.7rem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment