attract.wxss 3.2 KB
/* pages/attract/attract.wxss */

page {
  background: #fff;
}

.top_banner image {
  width: 100%;
}

.top_view {
  background: #f7f7f7;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 101;
}

/* .top_banner{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101;
} */

.menu_content {
  display: flex;
  position: fixed;
  /* top: 310rpx; */
  left: 0;
  width: 100%;
  z-index: 101;
  border-top: 8rpx solid #f5f5f5;
}

.menu_items {
  display: flex;
  font-size: 26rpx;
  background: #fff;
  border-bottom: 2rpx solid #f5f5f5;
  position: relative;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  line-height: 74rpx;
}

.menu_item {
  padding: 0 20rpx;
  display: inline-block;
  text-align: center;
}

/* .menu_item:first-child{
    padding-left: rpx;
} */

.menu_item.active {
  color: #169bd5;
}

.paixun {
  position: relative;
  display: flex;
  align-items: center;
  height: 74rpx;
  width: 78rpx;
  justify-content: center;
  background-color: #fff;
}

.paixun image {
  width: 32rpx;
}

.paixun:before {
  content: '';
  height: 32rpx;
  width: 2rpx;
  background-color: #f5f5f5;
  top: 50%;
  left: 0;
  position: absolute;
  transform: translateY(-50%);
}

.news_detail_container {
  background: #fff;
  /* margin-top: 390rpx; */
  position: relative;
}

.news_detail_items {
  margin: 0 32rpx;
}

.news_detail_item {
  border-bottom: 2rpx solid #f5f5f5;
  display: flex;
  padding: 15rpx 0;
}

.news_detail_item:last-child {
  border: none;
}

.new_info_image {
  width: 248rpx;
  height: 146rpx;
  border-radius: 8rpx;
  overflow: hidden;
  margin-left: 32rpx;
}

.new_info_image image {
  width: 100%;
}

.new_info {
  flex: 1;
  height: 146rpx;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  font-size: 32rpx;
  color: #333;
}

.new_title {
  display: -webkit-box;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.new_time_address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22rpx;
  color: #999;
}

.zhaoshang_desc {
  margin: 0 30rpx;
}

.none-box {
  top: 600rpx;
}

.recommond {
  font-size: 20rpx;
  padding: 4rpx 8rpx;
  background-color: #e80404;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60rpx;
  box-sizing: border-box;
  border-radius: 8rpx;
  margin-right: 10rpx;
  position: relative;
  top: -4rpx;
}

/* 轮播图 */

.swiper_image {
  font-size: 0;
  position: relative;
}



.swiper_image image {
  width: 100%;
  height: 100%;
}

.swiper_item_img swiper-item {
  border-radius:0!important;
}

.swiper_item_img swiper-item image {
  width: 100%;
  height: 100%;
 
}

.dots {
 
  height: 36rpx;
  display: flex;
  flex-direction: row;
  position: absolute;
  justify-content: center;
  left: 0;
  right: 0;
  bottom: 20rpx;
}

/*未选中时的小圆点样式 */

.dot {
  width: 16rpx;
  height: 16rpx;
  border-radius: 50%;
  margin: 0 14rpx;
  background-color: #b9c0f7;
}

/*选中以后的小圆点样式  */

.active {
  width: 16rpx;
  height: 16rpx;
  border-radius: 50%;
  background-color: #fff;
}
.nameactive{
  color:#169BD5
}