home.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /* home.css */
  2. .top{position: fixed;top: 0;left: 0;right: 0;z-index: 50;}
  3. .back{padding: 0 20rpx;position: absolute;left: 0;}
  4. .back image{width: 22rpx;height: 38rpx;position: absolute;left: 20rpx;top: 50%;transform: translateY(-50%);}
  5. .c-top{background: #fff;padding-bottom: 40rpx;margin-bottom: 20rpx;}
  6. .top-img{width: 100%;height: 380rpx;position: relative;z-index: 1;}
  7. .pic{width: 100%;height: 100%;}
  8. .topbg{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
  9. .t-user{margin-top: -100rpx;position: relative;z-index: 2;justify-content: space-between;padding: 0 30rpx;}
  10. .t-userimg{width: 162rpx;height: 162rpx;border: 4rpx solid #fff;border-radius: 50%;}
  11. .edit{width: 226rpx;height: 60rpx;background: #FFFFFF;border: 2rpx solid #ff8551;border-radius: 30rpx;justify-content: center;font-size: 30rpx;color: #ff8551;}
  12. .edit image{width: 35rpx;height: 35rpx;margin-right: 9rpx;}
  13. .t-name{margin-top: 20rpx;padding: 0 30rpx;}
  14. .t-name view{font-size: 40rpx;color: #000;font-weight: bold;}
  15. .t-name text{font-size: 24rpx;color: #999;}
  16. .rico{width: 14rpx;height: 23rpx;margin-left: 13rpx;}
  17. .bri{font-size: 26rpx;color: #999;line-height: 42rpx;padding: 0 30rpx;margin-top: 30rpx;align-items: flex-start;}
  18. .tuan{margin: 15rpx 30rpx 0;font-size: 26rpx;color: #666;}
  19. .tuan image{width: 24rpx;height: 28rpx;margin-right: 12rpx;}
  20. .datas{margin: 30rpx 30rpx 0;}
  21. .datas view{margin-right: 40rpx;font-size: 26rpx;color: #999;}
  22. .datas text{color: #000;font-weight: bold;margin-left: 15rpx;font-size: 30rpx;}
  23. .tab{padding: 25rpx 30rpx 0;background: #fff;}
  24. .tab .li{font-size: 30rpx;color: #969799;margin-right: 40rpx;padding: 25rpx 0;position: relative;}
  25. .tab .li.active{font-size: 34rpx;color: #1A1F30;font-weight: bold;}
  26. .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;}
  27. .list .li{background: #fff;padding: 40rpx 30rpx 45rpx;margin-bottom: 20rpx;}
  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. .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;}
  35. .link{height: 150rpx;background: #F8F8F8;border-radius: 16rpx;padding: 24rpx;font-size: 28rpx;color: #333;box-sizing: border-box;margin-top: 30rpx;}
  36. .link image{width: 102rpx;height: 102rpx;border-radius: 12rpx;margin-right: 12rpx;}
  37. .video{margin: 20rpx 0 0;position: relative;}
  38. .video video{width: 100%;height: 397rpx;border-radius: 15rpx;display: block;}
  39. .video-play{position: absolute;top: 0;left: 0;right: 0;bottom: 0;justify-content: center;background: rgba(0,0,0,.5);border-radius: 15rpx;}
  40. .video-play image{width: 82rpx;height: 82rpx;}
  41. .imgbox{flex-wrap: wrap;margin-top: 20rpx;}
  42. .imgbox image{width: 222rpx;height: 222rpx;border-radius: 16rpx;margin: 0 12rpx 12rpx 0;}
  43. .imgbox image:nth-child(3n){margin-right: 0;}
  44. .topic{height: 40rpx;background: #FDF1F1;border-radius: 20rpx;font-size: 20rpx;color: #F32224;padding: 0 20rpx 0 10rpx;margin-top: 18rpx;}
  45. .topic image{width: 28rpx;height: 28rpx;margin-right: 7rpx;}
  46. .loca{margin-top: 20rpx;font-size: 20rpx;color: #666;}
  47. .loca image{width: 26rpx;height: 31rpx;margin-right: 8rpx;}
  48. .loca text{margin-right: 10rpx;}
  49. .product{height: 168rpx;margin-top: 30rpx;overflow: hidden;}
  50. .pro-view{height: 168rpx;padding-bottom: 20rpx;white-space: nowrap;}
  51. .pro-view .li{display: inline-block;width: 554rpx;height: 168rpx;background: #F7F8FA;border-radius: 16rpx;margin-right: 20rpx;padding: 16rpx;box-sizing: border-box;}
  52. .pro-view1 .li{width: 688rpx;}
  53. /* .pro-view .li:first-child{margin-left: 30rpx;} */
  54. /* .pro-view .li:last-child{margin-right: 30rpx;} */
  55. .pro-pic{width: 136rpx;height: 136rpx;border-radius: 16rpx;background: #fff;margin-right: 19rpx;}
  56. .title{white-space: initial;font-size: 26rpx;color: #1A1F30;line-height: 37rpx;height: 74rpx;}
  57. .opts{justify-content: space-between;margin-top: 10rpx;}
  58. .money{font-size: 24rpx;color: var(--main);}
  59. .pro-btn{width: 94rpx;height: 46rpx;background: var(--main);border-radius: 23rpx;font-size: 28rpx;color: #fff;text-align: center;line-height: 46rpx;}
  60. .opt{font-size: 24rpx;color: #999;margin-top: 30rpx;justify-content: flex-end;}
  61. .opt image{width: 33rpx;height: 33rpx;margin-right: 8rpx;}
  62. .opt .ddflex{margin-left: 50rpx;}
  63. .opt-share{font-size: 24rpx;color: #999;margin-left: 50rpx !important;}
  64. .vote-box{margin-top: 50rpx;}
  65. .vote-box.ends{background: #f8f8f8;margin-top: 30rpx;padding: 20rpx;}
  66. .vote-tit{font-size: 28rpx;color: #000;}
  67. .vote-list .lis{height: 74rpx;background: #F9FAFC;border: 1rpx solid #EBEBEB;border-radius: 8rpx;font-size: 30rpx;color: #EB1C24;text-align: center;line-height: 74rpx;margin-top: 20rpx;padding: 0 28rpx;position: relative;overflow: hidden;}
  68. .end .lis{text-align: left;color: #9B9B9B;}
  69. .end .lis view{position: relative;z-index: 2;}
  70. .end .lis view.percent{position: absolute;top: 0;bottom: 0;left: 0;background: #F0F0F0;z-index: 0;}
  71. .end .lis.active{color: #EB1C24;}
  72. .end .lis.active view.percent{background: #FFEBEB;}
  73. .vote-can{font-size: 22rpx;color: #999;margin-top: 15rpx;}
  74. .vote-can text{margin-right: 15rpx;}