收藏
回答

页面布局?

页面不能完全展示

/* 导航栏布局相关 */

.toubu{

  height: 130rpx;

  border-bottom: 1px solid #ccc;

  position: relative;

}

.toubu .title{

  top:70rpx;

  position: relative;

  width: 750rpx;

  text-align: center;

  left: 300rpx;

  bottom: 20rpx;

  font-size: 30rpx;

}

.toubu image{

  top:70rpx;


  position: absolute;

  left: 20rpx;

  bottom: 20rpx;

  width: 40rpx;

  height: 40rpx;

  z-index: 100;

} 

.navbars {

  /* padding-top: 120rpx; */

  /* margin-top:200rpx; */

  width: 100%;

  height: 90rpx;

  /* 文本不换行 */

  white-space: nowrap;

  display: flex;

  box-sizing: border-box;

  border-bottom: 1rpx solid #eee;

  background: #fff;

  align-items: center;

  /* 固定在顶部 */

  position: fixed;

  left: 0rpx;

  top: 130rpx ;

  

}


.nav-item {

  padding-left: 25rpx;

  padding-right: 25rpx;

  height: 100%;

  display: inline-block;

  /* 普通文字大小 */

  font-size: 28rpx;

}


.nav-text {

  width: 100%;

  height: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  letter-spacing: 4rpx;

  box-sizing: border-box;

}


.tab-on {

  color: #000080;

  /* 选中放大 */

  font-size: 38rpx !important;

  font-weight: 600;

  border-bottom: 4rpx solid #000080 !important;

}


/* 正文部分 */

.container {

  position: fixed;

  width: 100%;

  height: 90%;

  top: 220rpx ;

  background-color: #FFF;



}


.nav_left {

  width: 30%;

  height: 100%;

  background: #F2F2F2;

  text-align: center;

  position: absolute;

  top: 0;

  left: 0;

}


.nav_left .nav_left_items {

  height: 100rpx;

  line-height: 100rpx;

  font-size: 28rpx;

}


.nav_left .nav_left_items.active {

  position: relative;

  background: #FFF;

  color: #000080;

}


.nav_left .nav_left_items.active::before {

  display: inline-block;

  width: 6rpx;

  height: 60rpx;

  background: #000080;

  content: '';

  position: absolute;

  top: 20rpx;

  left: 0;

}


.nav_right {

  position:absolute ;

  top: 0;

  right: 0;

  width: 70%;

  height: 100%;

  bottom: 100rpx;


}


.nav_right .nav_right_items {

  float: left;

  width: 33.33%;

  text-align: center;

  padding: 30rpx 0;

}


.nav_right .nav_right_items image {

  width: 120rpx;

  height: 160rpx;



}


.nav_right .nav_right_items text {

  display: block;

  margin-top: 20rpx;

  font-size: 28rpx;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;



}


.nocate {

  padding: 100rpx;

  text-align: center;

}


.nocate image {

  width: 70rpx;

  height: 70rpx;

}


.nocate text {

  font-size: 28rpx;

  display: block;

  color: #BBB;

}


/*隐藏滚动条*/

::-webkit-scrollbar {

  width: 0;

  height: 0;

  color: transparent;

}


.topx {

  width: 90%;

  /* height: 700rpx; */

  margin: 30rpx auto;

  z-index: 1;

  border-radius: 10rpx;

  background-size: cover;

}


回答关注问题邀请回答
收藏
登录 后发表内容