page { .top { width: 100%; position: relative; .header { position: absolute; width: 100%; top: 0; } } .swiper { height: 600rpx; .slide-image { width: 100%; height: 98%; } } .content_1 { width: 100%; height: 450rpx; display: flex; justify-content: space-between; .left, .right { width: 49%; } .left { background: url('https://file-cloud.fmode.cn/sHNeVwSaAg/20230808/ouoq71042645355.web?imageView2/1/w/200/h/200'); background-size: cover; background-repeat: no-repeat; border-radius: 10rpx; .loading { display: flex; justify-content: center; } .title { width: 100%; height: 50rpx; padding: 20rpx; text-align: center; margin-bottom: 20rpx; } // position: relative; // .dots { // position: absolute; // bottom: 17rpx; // display: flex; // .dot { // width: 8rpx; // height: 8rpx; // border-radius: 100%; // background: white; // margin: 5rpx; // } // } } .right { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 10rpx; .r_1, .r_2 { height: 49%; background: url('https://file-cloud.fmode.cn/sHNeVwSaAg/20230808/dm17ha044302729.web@2x?imageView2/1/w/200/h/200'); background-size: cover; background-repeat: no-repeat; border-radius: 10rpx; .title { padding: 10rpx; } } } .cardBox { width: 100%; padding: 10rpx; display: flex; flex-direction: column; align-items: center; .card { background: white; width: 298rpx; height: 85rpx; display: flex; justify-content: space-between; padding: 10rpx; margin: 7.5rpx 0; border-radius: 10rpx; .image { height: 66rpx; width: 66rpx; border-radius: 10rpx; image { height: 66rpx; width: 66rpx; border-radius: 10rpx; } } .content { width: 72%; .c1 { font-size: 22.64rpx; font-weight: bold; } .c2 { font-size: 14rpx; color: gray; } .c1, .c2 { overflow: hidden; //超出的文本隐藏 text-overflow: ellipsis; //溢出用省略号显示 white-space: nowrap; //溢出不换行 } .c3 { font-size: 14rpx; overflow: hidden; //超出的文本隐藏 text-overflow: ellipsis; //溢出用省略号显示 white-space: nowrap; //溢出不换行 width: 200rpx; height: 30rpx; color: gray; display: flex; align-items: center; justify-content: space-between; } } } } } .play-around { display: flex; align-items: center; justify-content: space-between; margin: 32rpx 0; .play-left { font-weight: bold; } .play-right { font-size: 24rpx; color: #999999; display: flex; align-content: center; >view { padding-right: 12rpx; } .title { font-weight: bold; } .more { font-size: 25rpx; color: gray; } } } // .recommendTitle { // margin: 20rpx 0; // width: 100%; // display: flex; // justify-content: space-between; // .title { // font-weight: bold; // } // .more { // font-size: 20rpx; // color: gray; // } // } .tab { width: 100%; text { padding: 10rpx 20rpx; font-size: 25rpx; margin-right: 10rpx; border-radius: 25rpx; background: #B7D173; } } .card { width: 100%; display: flex; margin: 50rpx 0; justify-content: space-between; height: 250rpx; .image { width: 40%; height: 100%; // background: greenyellow; video { background: white; border-radius: 15rpx; width: 100%; height: 100%; } } .content { width: 58%; display: flex; flex-direction: column; justify-content: space-around; .title { font-weight: bold; overflow: hidden; //超出的文本隐藏 text-overflow: ellipsis; //溢出用省略号显示 white-space: nowrap; //溢出不换行 } .detail { font-size: 25rpx; color: gray; word-wrap: break-word; } .tabs { text { font-size: 20rpx; background: #eafac2; color: #B7D173; margin: 10rpx; padding: 0 10rpx; border-radius: 20rpx; } } .bottom { .prive { font-size: 30rpx; font-weight: bold; color: orange; } .range { font-size: 25rpx; color: gray; } } } } }