content.css 5.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /* content.css */
  2. page{background: #fff;padding: 30rpx 0;box-sizing: border-box;}
  3. .title{font-size: 40rpx;color: #282828;font-weight: bold;line-height: 60rpx;padding: 0 30rpx;}
  4. .det-sta{padding: 0 30rpx;margin-top: 20rpx;font-size: 24rpx;}
  5. .sitename{color: var(--mina);}
  6. .time{color: #999;margin-left: 15rpx;}
  7. .time text{font-size: 28rpx;color: #333;margin-right: 23rpx;}
  8. .content{font-size: 34rpx;color: #333;padding: 30rpx 0;line-height: 1.7;}
  9. .con-vheight{max-height: 120vh;position: relative;overflow: hidden;}
  10. .con-vheight::after{content: '';display: block;position: absolute;left: 0;right: 0;bottom: 0;height: 15vh;background: linear-gradient(rgba(255, 255, 255, 0), #fff);z-index: 5;}
  11. .content video{width: 100%;height: 400rpx;object-fit:fill; margin-bottom: 20rpx;}
  12. .content image{width: 100%;margin: 30rpx auto;}
  13. ._p{padding: 0 30rpx;}
  14. .view-more{width: 230rpx;height: 70rpx;font-size: 30rpx;color: #999;margin: 30rpx auto 0;text-align: center;line-height: 70rpx;}
  15. .bot{padding: 40rpx 35rpx 0;}
  16. .sbanner{overflow: hidden;position: relative;}
  17. .sbanner .swiper,.sbanner .swiper image{width: 100%;height: 160rpx;border-radius: 12rpx;overflow: hidden;}
  18. .dots{position: absolute;left: 0;right: 0;bottom: 20rpx;align-items: center;justify-content: center;}
  19. .dot{background: rgba(0,0,0,.5);width: 12rpx;height: 12rpx;border-radius: 6rpx;margin: 0 4rpx;}
  20. .dot.active{width: 30rpx;background: #fff;}
  21. .tits{font-size: 36rpx;color: #333;font-weight: bold;margin: 30rpx 0 0;}
  22. .zxlist .li{padding: 40rpx 0;border-bottom: 1rpx solid #EBEBEB;}
  23. .zximg{width: 230rpx;height: 150rpx;border-radius: 12rpx;margin-right: 23rpx;}
  24. .zxtit{font-size: 30rpx;color: #333;line-height: 41rpx;height: 82rpx;}
  25. .datas{font-size: 24rpx;color: #999;margin-top: 30rpx;}
  26. .adContainer{margin: 30rpx 0 0;border-radius: 10rpx;overflow: hidden;}
  27. .operate{padding: 30rpx 30rpx 50rpx;justify-content: space-between;font-size: 24rpx;color: #999;}
  28. .zan image{width: 30rpx;height: 30rpx;margin-right: 15rpx;}
  29. .zan.active{color: #108FFF;}
  30. .share{font-size: 24rpx;color: #999;}
  31. .share image{width: 30rpx;height: 30rpx;margin-right: 15rpx;}
  32. .box{padding: 40rpx 30rpx 0;border-top: 20rpx solid #f9f9f9;}
  33. .tit{font-size: 32rpx;color: #333;font-weight: bold;align-items: center;position: relative;padding-left: 18rpx;}
  34. .tit::before{
  35. position: absolute;
  36. content: '';
  37. width: 8rpx;
  38. height: 36rpx;
  39. background: #27D699;
  40. border-radius: 50rpx 50rpx 50rpx 50rpx;
  41. opacity: 1;
  42. left: 0;
  43. }
  44. .pro{padding-bottom: 10rpx;}
  45. .pro .li{padding: 30rpx 0;border-bottom: 1rpx solid #e5e5e5;}
  46. .pro .li:last-child{border-bottom: none;}
  47. .proimg{box-sizing: border-box;width: 210rpx;height: 210rpx;border-radius: 10rpx;margin-right: 20rpx;border: 2rpx solid #E5E5E5;}
  48. .proname{font-size: 28rpx;color: #333;overflow : hidden;line-height: 36rpx;height: 72rpx;}
  49. .infos {font-size: 24rpx;color: #999;margin: 10rpx 0 20rpx;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  50. .Ninfos{padding: 16rpx 0;}
  51. .ope{justify-content: space-between;align-items: center;}
  52. .price{font-size: 25rpx;color: #FE0419;align-items: center;}
  53. .price text{font-size: 36rpx;font-weight: bold;}
  54. .price text.del{font-size: 24rpx !important;color: #999;text-decoration: line-through;margin-left: 15rpx;font-weight: normal !important;}
  55. .price .vip{margin-left: 12rpx;color: var(--vip);border: 1rpx solid;padding: 0 8rpx 2rpx 8rpx;border-radius: 5px;}
  56. .price .vip text{font-size: 24rpx;font-weight: normal;}
  57. .btn{width: 150rpx;height: 50rpx;background: linear-gradient(90deg, rgba(254, 147, 76, 1) 0%, rgba(253, 58, 49, 1) 100%);font-size: 24rpx;color: #fff;text-align: center;line-height: 50rpx;border-radius: 25rpx;}
  58. .rec .li{padding: 30rpx 0;border-bottom: 1rpx solid #EDEDED;align-items: center;}
  59. .rec .li:last-child{border-bottom: none;}
  60. .rec-tit{font-size: 34rpx;color: #333;font-weight: bold;line-height: 48rpx;height: 96rpx;margin-bottom: 25rpx;}
  61. .author{font-size: 28rpx;color: #999;margin-right: 24rpx;}
  62. .author image{width: 32rpx;height: 32rpx;border-radius: 2rpx;margin-right: 10rpx;}
  63. .rec-time{font-size: 28rpx;color: #999;}
  64. .rec-img{width: 218rpx;height: 152rpx;margin-left: 55rpx;border-radius: 10rpx;}
  65. /* 广告 */
  66. .banner{height: 200rpx;position: relative;padding: 30rpx;border-top: 20rpx solid #f9f9f9;}
  67. .swiper{width: 100%;height: 200rpx;border-radius: 10rpx;}
  68. .swiper image{width: 100%;height: 100%;border-radius: 10rpx;}
  69. .dots{position: absolute;left: 50%;transform: translateX(-50%);bottom: 50rpx;z-index: 3;justify-content: center;}
  70. .dot{width: 46rpx;height: 4rpx;background: rgba(255,255,255,.5);margin: 0 3rpx;}
  71. .dot.active{background: #fff;}
  72. .video{margin: 20rpx 30rpx 0;position: relative;}
  73. .video video{width: 100%;height: 397rpx;border-radius: 15rpx;display: block;}
  74. .video-play{position: absolute;top: 0;left: 0;right: 0;bottom: 0;justify-content: center;background: rgba(0,0,0,.5);border-radius: 15rpx;}
  75. .video-play image{width: 82rpx;height: 82rpx;}
  76. .imgbox{flex-wrap: wrap;margin-top: 20rpx;padding: 0 30rpx;}
  77. .imgbox image{width: 222rpx;height: 222rpx;border-radius: 16rpx;margin: 0 12rpx 12rpx 0;}
  78. .imgbox image:nth-child(3n){margin-right: 0;}
  79. .end-note{
  80. font-size: 24rpx;
  81. font-family: Source Han Sans CN-Regular, Source Han Sans CN;
  82. font-weight: 400;
  83. color: #999999;
  84. line-height: 36rpx;
  85. margin:50rpx 30rpx 55rpx;
  86. }