detail.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /* detail.css */
  2. page{background: #fff;}
  3. .top{position: fixed;top: 0;left: 0;right: 0;z-index: 50;}
  4. .back{padding: 0 20rpx;position: absolute;left: 0;}
  5. .back image{width: 22rpx;height: 38rpx;position: absolute;left: 20rpx;top: 50%;transform: translateY(-50%);}
  6. .pic{width: 100%;height: 380rpx;}
  7. .con{margin-top: -60rpx;position: relative;z-index: 2;background: #fff;border-radius: 24rpx 24rpx 0 0;padding: 30rpx 35rpx 35rpx;border-bottom: 20rpx solid #f7f7f7;}
  8. .title{font-size: 36rpx;color: #000;font-weight: bold;}
  9. .gzbtn{width: 125rpx;height: 60rpx;background: var(--main);border-radius: 30rpx;font-size: 26rpx;color: #fff;text-align: center;line-height: 60rpx;font-weight: normal;}
  10. .bri{font-size: 26rpx;color: #666;margin-top: 15rpx;}
  11. .cy{font-size: 22rpx;color: #999;margin-top: 20rpx;}
  12. .tab{padding: 25rpx 35rpx 0;}
  13. .tab .li{font-size: 30rpx;color: #969799;margin-right: 40rpx;padding: 25rpx 0;position: relative;}
  14. .tab .li.active{font-size: 34rpx;color: #1A1F30;font-weight: bold;}
  15. .tab .li.active::after{content: '';display: block;width: 24rpx;height: 8rpx;background: var(--main);border-radius: 4rpx;position: absolute;left: 50%;transform: translateX(-50%);bottom: 0;}
  16. .list .li{background: #fff;padding: 40rpx 30rpx 45rpx;border-bottom: 20rpx solid #f7f7f7;}
  17. .userimg{width: 66rpx;height: 66rpx;border-radius: 50%;margin-right: 12rpx;}
  18. .name{font-size: 28rpx;color: #333;font-weight: bold;}
  19. .vip-tag{width: 41rpx;height: 31rpx;margin-left: 10rpx;}
  20. .time{font-size: 24rpx;color: #999;}
  21. .area{font-size: 24rpx;color: #999;margin-top: 8rpx;}
  22. .des{font-size: 30rpx;color: #000;line-height: 50rpx;margin: 30rpx 0 0;-webkit-line-clamp: 5;word-wrap: break-word;}
  23. .video{margin-top: 20rpx;position: relative;}
  24. .video video{width: 100%;height: 380rpx;border-radius: 15rpx;display: block;}
  25. .video-play{position: absolute;top: 0;left: 0;right: 0;bottom: 0;justify-content: center;background: rgba(0,0,0,.5);border-radius: 15rpx;}
  26. .video-play image{width: 82rpx;height: 82rpx;}
  27. .wen{display: inline-block;width: 60rpx;height: 34rpx;background: #3DB4FF;border-radius: 4rpx;font-size: 24rpx;color: #fff;text-align: center;line-height: 34rpx;margin-right: 15rpx;}
  28. .imgbox{flex-wrap: wrap;margin-top: 20rpx;}
  29. .imgbox image{width: 222rpx;height: 222rpx;border-radius: 16rpx;margin: 0 12rpx 12rpx 0;}
  30. .imgbox image:nth-child(3n){margin-right: 0;}
  31. .topic{height: 40rpx;background: #E1FFF4;border-radius: 20rpx;font-size: 20rpx;color: var(--main);padding: 0 20rpx 0 10rpx;margin-top: 18rpx;margin-right: 10rpx;}
  32. .topic image{width: 28rpx;height: 28rpx;margin-right: 7rpx;}
  33. .loca{margin-top: 20rpx;font-size: 20rpx;color: #666;}
  34. .loca image{width: 26rpx;height: 31rpx;margin-right: 8rpx;}
  35. .loca text{margin-right: 10rpx;}
  36. .link{height: 150rpx;background: #F8F8F8;border-radius: 16rpx;padding: 24rpx;font-size: 28rpx;color: #333;box-sizing: border-box;margin-top: 30rpx;}
  37. .link image{width: 102rpx;height: 102rpx;border-radius: 12rpx;margin-right: 12rpx;}
  38. .opt{font-size: 24rpx;color: #999;margin-top: 30rpx;justify-content: flex-end;}
  39. .opt image{width: 33rpx;height: 33rpx;margin-right: 8rpx;}
  40. .opt .ddflex{margin-left: 50rpx;}
  41. .opt-share{font-size: 24rpx;color: #999;margin-left: 50rpx !important;}
  42. .vote-box{margin-top: 50rpx;}
  43. .vote-box.ends{background: #f8f8f8;margin-top: 30rpx;padding: 20rpx;}
  44. .vote-tit{font-size: 28rpx;color: #000;}
  45. .vote-list .lis{height: 74rpx;background: #F9FAFC;border: 1rpx solid #EBEBEB;border-radius: 8rpx;font-size: 30rpx;color: var(--main);text-align: center;line-height: 74rpx;margin-top: 20rpx;padding: 0 28rpx;position: relative;overflow: hidden;}
  46. .end .lis{text-align: left;color: #9B9B9B;}
  47. .end .lis view{position: relative;z-index: 2;}
  48. .end .lis view.percent{position: absolute;top: 0;bottom: 0;left: 0;background: #F0F0F0;z-index: 0;}
  49. .end .lis.active{color: var(--main);}
  50. .end .lis.active view.percent{background: #E1FFF4;}
  51. .vote-can{font-size: 22rpx;color: #999;margin-top: 15rpx;}
  52. .vote-can text{margin-right: 15rpx;}
  53. .create{position: fixed;right: 30rpx;bottom: 170rpx;width: 110rpx;height: 110rpx;background: var(--mina);box-shadow: 0 4rpx 24rpx rgba(255, 209, 59, 0.4);border-radius: 50%;font-size: 24rpx;color: #fff;text-align: center;z-index: 50;box-sizing: border-box;padding-top: 20rpx;}
  54. .create image{width: 41rpx;height: 41rpx;margin: 0 auto;}
  55. .ceng{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,.5);z-index: 60;}
  56. .side{position: fixed;right: 165rpx;bottom: 183rpx;z-index: 61;width: 300rpx;height: 183rpx;background: #FFFFFF;border-radius: 20rpx;font-size: 30rpx;color: #000;align-items: flex-start;}
  57. .side::after{content: '';display: block;width: 0;height: 0;border: 10rpx solid rgba(255,255,255,0);border-right: none;border-left-color: #fff;position: absolute;bottom: 30rpx;right: -10rpx;}
  58. .side .li{width: 50%;text-align: center;}
  59. .side .li image{width: 38rpx;height: 38rpx;margin: 49rpx auto 15rpx;}
  60. .step-box{
  61. background-color: #f7f8fa;
  62. border-radius: 16rpx;
  63. padding: 40rpx;
  64. margin-top: 30rpx;
  65. color: var(--main);
  66. }
  67. .step-date{
  68. font-size: 64rpx;
  69. font-weight: 500;
  70. }
  71. .step-label{
  72. font-size: 24rpx;
  73. font-weight: 500;
  74. }
  75. .step-pic{
  76. width: 150rpx;
  77. height: 150rpx;
  78. background: #E2E2E2;
  79. border-radius: 16rpx 16rpx 16rpx 16rpx;
  80. opacity: 1;
  81. margin-right: 20rpx;
  82. }
  83. .step-title{
  84. height: 74rpx;
  85. line-height: 37rpx;
  86. font-size: 26rpx;
  87. font-family: PingFang SC-Regular, PingFang SC;
  88. font-weight: 400;
  89. color: #1A1F30;
  90. }
  91. .step-price{
  92. line-height: 33rpx;
  93. font-size: 24rpx;
  94. font-family: PingFang SC-Medium, PingFang SC;
  95. font-weight: 500;
  96. color: #999;
  97. }
  98. .step-btn{
  99. width: 94rpx;
  100. height: 46rpx;
  101. line-height: 46rpx;
  102. background: var(--main);
  103. border-radius: 23rpx 23rpx 23rpx 23rpx;
  104. opacity: 1;
  105. text-align: center;
  106. font-size: 28rpx;
  107. color: #FFFFFF;
  108. }