detail.wxss 2.6 KB

/* pages/attract/detail/detail.wxss */
page{
  height: 100%;
}
.video_box {
    width: 100%;
    height: 430rpx;
    margin: 0 auto;
    background-color: rgba(0,0,0,.6);
    position: relative;
}
.main_container{
  position: relative;
  min-height: 100%;
}
.video_icon{
    width: 96rpx;
    height: 96rpx;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.video_icon image{
    width: 100%;
}
.video_title{
    margin:0 32rpx; 
    display: -webkit-box;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:1;
    color: #FFF;
    font-size: 30rpx;
    margin-top: 30rpx;
}

.single_item_container{
    margin-top: 30rpx;
}
.main_container .single_item_container::last-child{
  height: auto;
}
.top_label{
    padding: 20rpx 0;
    font-size: 36rpx;
    color: #333;
    font-weight: bold;
    position: relative;
    bottom: 2rpx solid #f5f5f5;
    border-bottom: 2rpx solid #f5f5f5;
}
.top_label_detail{
    margin-left: 32rpx;
    position: relative;
    padding-left: 20rpx;
}
.top_label_detail:before{
    content:'';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8rpx;
    height: 32rpx;
    left: 0;
    background-color: #000;
}
.zixun_container{
    padding-left: 56rpx;
    padding-bottom: 70rpx;
}
.zixun_item{
    display: flex;
    justify-content: flex-start;
    margin: 30rpx 0;
    align-items: center;
}

.zixun_icon{
    width: 46rpx;
    height: 46rpx;
    align-self: flex-start;
}
.chat{
  width: 54rpx;
  position: relative;
  left: -4rpx;
}
.email{
  width: 46rpx;
  position: relative;
  top: 6rpx;
}
.phone{
  width: 46rpx;
}
.zixun_icon image {
    width: 100%;
}
.zixun_content{
    font-size: 28rpx;
    line-height: 1;
    color: #333;  
    margin-left: 20rpx;
}

.erwei_code {
  display: flex;
  margin-bottom: 20rpx;
}
.img_box{
  width: 140rpx;
  height: 140rpx;
  margin-right: 20rpx;
}
.img_box image{
  width: 100%; 
}
.zhaoshang_desc{
  margin: 0 46rpx;
  /* padding: 30rpx 0; */
}
.note{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28rpx;
  color: #666;
  height: 120rpx;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
.note text{
  position: relative;
}
.zan_box{
  display: flex;
}
.note text:before{
  position: absolute;
  top: 50%;
  width: 50rpx;
  height: 2rpx;
  content: '';
  background-color:#999;
  left: -60rpx;
}
.note text:after{
  position: absolute;
  top: 50%;
  width: 50rpx;
  height: 2rpx;
  content: '';
  background-color:#999;
  right: -60rpx;
}
.wxParse-img{
  max-width: 100%;
  overflow: hidden;
  position: relative;
}