index.css 6.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /* index.css */
  2. page{background: #f5f5f5;}
  3. .top{background: #fff;position: fixed;top: 0;left: 0;right: 0;z-index: 50;}
  4. .topc{position: relative;padding-left: 30rpx;}
  5. .topc .li{font-size: 32rpx;color: #565A5B;position: relative;margin-right: 40rpx;}
  6. .topc .li.active{font-size: 34rpx;color: #1A1F30;font-weight: bold;}
  7. .topc .li.active::after{content: '';display: block;width: 40rpx;height: 8rpx;background: var(--main);border-radius: 4rpx;position: absolute;left: 50%;transform: translateX(-50%);bottom: 10rpx;}
  8. .t-con{background: #fff;padding: 32rpx 0 0 30rpx;height: 380rpx;overflow: hidden;}
  9. .t-cons{white-space: nowrap;height: 400rpx;}
  10. .item{display: inline-block;width: 550rpx;height: 360rpx;background: #FFFFFF;box-shadow: 0 4rpx 24rpx rgba(96, 96, 96, 0.06);border-radius: 20rpx;box-sizing: border-box;position: relative;padding: 30rpx;margin-right: 30rpx;vertical-align: top;}
  11. .item::before{content: '';display: block;height: 137rpx;background: linear-gradient(180deg, #FFE2E3 0%, #FFFFFF 100%);position: absolute;top: 0;left: 0;right: 0;border-radius: 20rpx 20rpx 0 0;z-index: 1;}
  12. .t-cons .item:nth-child(2)::before{background: linear-gradient(180deg, #ECF4FF 0%, #FFFFFF 100%);}
  13. .tits{justify-content: space-between;position: relative;z-index: 2;}
  14. .hot{width: 199rpx;height: 45rpx;}
  15. .more{width: 107rpx;height: 48rpx;background: #fff;border-radius: 24rpx;font-size: 24rpx;color: #666;justify-content: center;}
  16. .more image{width: 9rpx;height: 14rpx;margin-left: 8rpx;}
  17. .item-list{position: relative;z-index: 2;margin-top: 15rpx;overflow: hidden;}
  18. .item-list .li{font-size: 28rpx;color: #000;margin-top: 22rpx;}
  19. .item-list .li text{display: block;font-size: 24rpx;color: #B3B3B3;}
  20. .item-list .li text.num{color: #999;font-size: 28rpx;width: 44rpx;text-align: center;}
  21. .item-list .li:first-child text.num{color: #FF456E;}
  22. .item-list .li:nth-child(2) text.num{color: #977DFB;}
  23. .item-list .li:nth-child(3) text.num{color: #FF8C29;}
  24. .tab{padding: 35rpx;background: #fff;}
  25. .tab .li{width: 88rpx;height: 48rpx;background: #F7F7F7;border-radius: 24rpx;font-size: 24rpx;color: #000;text-align: center;line-height: 48rpx;margin-right: 30rpx;}
  26. .tab .li.active{background: #FFF4FA;color: var(--main);}
  27. .list .li{background: #fff;margin-bottom: 20rpx;padding: 40rpx 30rpx 45rpx;}
  28. .userimg{width: 66rpx;height: 66rpx;border-radius: 50%;margin-right: 12rpx;}
  29. .name{font-size: 28rpx;color: #333;font-weight: bold;}
  30. .vip-tag{width: 41rpx;height: 31rpx;margin-left: 10rpx;}
  31. .time{font-size: 24rpx;color: #999;}
  32. .area{font-size: 24rpx;color: #999;margin-top: 8rpx;}
  33. .des{font-size: 30rpx;color: #000;line-height: 50rpx;margin: 30rpx 0 0;-webkit-line-clamp: 5;}
  34. .imgbox{flex-wrap: wrap;margin-top: 20rpx;}
  35. .imgbox image{width: 222rpx;height: 222rpx;border-radius: 16rpx;margin: 0 12rpx 12rpx 0;}
  36. .imgbox image:nth-child(3n){margin-right: 0;}
  37. .topic{height: 40rpx;background: #FDF1F1;border-radius: 20rpx;font-size: 20rpx;color: #F32224;padding: 0 20rpx 0 10rpx;margin-top: 18rpx;}
  38. .topic image{width: 28rpx;height: 28rpx;margin-right: 7rpx;}
  39. .opt{font-size: 24rpx;color: #999;margin-top: 30rpx;justify-content: flex-end;}
  40. .opt image{width: 33rpx;height: 33rpx;margin-right: 8rpx;}
  41. .opt .ddflex{margin-left: 50rpx;}
  42. .opt-share{font-size: 24rpx;color: #999;margin-left: 50rpx !important;}
  43. .vote-box{margin-top: 50rpx;}
  44. .vote-box.ends{background: #f8f8f8;margin-top: 30rpx;padding: 20rpx;}
  45. .vote-tit{font-size: 28rpx;color: #000;}
  46. .vote-list .lis{height: 74rpx;background: #F9FAFC;border: 1rpx solid #EBEBEB;border-radius: 8rpx;font-size: 30rpx;color: #4E6EAC;text-align: center;line-height: 74rpx;margin-top: 20rpx;padding: 0 28rpx;position: relative;overflow: hidden;}
  47. .end .lis{text-align: left;color: #9B9B9B;}
  48. .end .lis view{position: relative;z-index: 2;}
  49. .end .lis view.percent{position: absolute;top: 0;bottom: 0;left: 0;background: #F0F0F0;z-index: 0;}
  50. .end .lis.active{color: #4E6EAC;}
  51. .end .lis.active view.percent{background: #E4ECFF;}
  52. .vote-can{font-size: 22rpx;color: #999;margin-top: 15rpx;}
  53. .vote-can text{margin-right: 15rpx;}
  54. .link{height: 150rpx;background: #F8F8F8;border-radius: 16rpx;padding: 24rpx;font-size: 28rpx;color: #333;box-sizing: border-box;margin-top: 30rpx;}
  55. .link image{width: 102rpx;height: 102rpx;border-radius: 12rpx;margin-right: 12rpx;}
  56. .create{position: fixed;right: 30rpx;bottom: 170rpx;width: 110rpx;height: 110rpx;background: var(--main);box-shadow: 0px 4px 24px rgba(255, 156, 159, 0.3);border-radius: 50%;font-size: 24rpx;color: #fff;text-align: center;z-index: 50;box-sizing: border-box;padding-top: 20rpx;}
  57. .create image{width: 41rpx;height: 41rpx;margin: 0 auto;}
  58. .ceng{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,.5);z-index: 60;}
  59. .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;}
  60. .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;}
  61. .side .li{width: 50%;text-align: center;}
  62. .side .li image{width: 38rpx;height: 38rpx;margin: 49rpx auto 15rpx;}
  63. .dong-t{background: #fff;padding: 32rpx 30rpx;}
  64. .bang{border-radius: 20rpx;background: linear-gradient(180deg, #FFE4CC 5%, #FFFFFF 40%);padding: 30rpx 25rpx 35rpx;box-shadow: 0 4rpx 24rpx rgba(96, 96, 96, 0.06);}
  65. .bang-img{width: 307rpx;height: 42rpx;}
  66. .tiwen{padding: 0 60rpx 0 52rpx;font-size: 28rpx;color: #565A5B;margin: 10rpx 0 40rpx;}
  67. .twbtn{width: 164rpx;height: 62rpx;background: #FFA557;border-radius: 31rpx;font-size: 28rpx;color: #fff;justify-content: center;}
  68. .twbtn image{width: 11rpx;height: 18rpx;margin-left: 8rpx;}
  69. .bang-c{height: 122rpx;border-radius: 8rpx;}
  70. .bang-wen{background: #FAFAFA;border-radius: 8rpx;font-size: 28rpx;color: #000;line-height: 40rpx;align-items: flex-start;padding: 23rpx;box-sizing: ;height: 122rpx;}
  71. .bang-wen image{width: 36rpx;height: 36rpx;margin-right: 15rpx;margin-top: 5rpx;}
  72. .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;}
  73. .edit{position: fixed;right: 30rpx;bottom: 170rpx;width: 110rpx;height: 110rpx;background: var(--main);box-shadow: 0px 4px 24px rgba(255, 156, 159, 0.3);border-radius: 50%;text-align: center;z-index: 50;}
  74. .edit image{width: 100%;height: 100%;}