/**index.wxss**/
@import '../../../app.wxss';

.nav {
  position: absolute;
  z-index: 100;
  left: 0;
  top: 34rpx;
  width: 100%;
  overflow: visible;
}

.nav > view {
  padding: 0 30rpx;
  position: relative;
  overflow: visible;
}

.nav > view > view {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border: 1rpx solid #bb9c79;
  border-radius: 70rpx;
  background: #fff;
  box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05);
}

.nav .flex-item {
  text-align: center;
  font-size: 28rpx;
  color: #666;
  line-height: 70rpx;
  position: relative;
}

.nav .flex-item::after {
  content: '';
  width: 1rpx;
  height: 30%;
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  background: #ccc;
}

.nav .flex-item:first-child:after {
  display: none;
}

.nav .flex-item.active {
  color: #fff;
  background: #bb9c79;
}

.MainPage {
  z-index: 1;
}

.list {
  margin: 130rpx auto 0;
  position: relative;
  overflow: visible;
  padding: 0 25rpx;
}

.list > view {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 10rpx;
  box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05);
  margin-bottom: 20rpx;
  padding: 20rpx;
  align-items: center;
}

.list .img {
  width: 270rpx;
  height: 160rpx;
  position: relative;
  overflow: hidden;
  border-radius: 10rpx;
  background: #eee;
}

.list .flex-item {
  margin-left: 25rpx;
}

.list .flex-item text {
  width: 100%;
  display: block;
}

.list .flex-item text:nth-child(1){
  font-size: 26rpx;
  line-height: 38rpx;
  font-weight: bold;
}

.list .flex-item text:nth-child(2){
  font-size: 20rpx;
  line-height: 32rpx;
  color: #999;
  margin-top: 10rpx;
}
