index.wxss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /* miniprogram/pages/activity/index.wxss */
  2. .activity {
  3. padding: 10rpx;
  4. }
  5. .br {
  6. height: 1em;
  7. }
  8. .activity .center {
  9. font-size: 16px;
  10. text-indent: 2em;
  11. }
  12. .activity .subTitle {
  13. font-size: 12px;
  14. margin: 10rpx 0;
  15. color: #999;
  16. }
  17. .icon_container {
  18. width: 750rpx;
  19. margin-left: -10rpx;
  20. font-size: 12px;
  21. color: #666;
  22. }
  23. .icon_container .icon_item_cell {
  24. box-sizing: border-box;
  25. display: inline-block;
  26. width: 250rpx;
  27. padding: 5rpx;
  28. }
  29. .icon_container .icon_content {
  30. text-align: center;
  31. border-radius: 10rpx;
  32. padding: 46rpx 0 20rpx 0;
  33. box-shadow: 3rpx 3rpx 20rpx rgba(0, 0, 0, .1);
  34. }
  35. .icon_container .icon_title {
  36. padding: 15rpx 0;
  37. }
  38. .icon_container .img {
  39. width: 4em;
  40. height: 4em;
  41. }
  42. .videoList {
  43. margin-bottom: 20rpx;
  44. }
  45. .newList {
  46. width: 100%;
  47. font-size: 0;
  48. height: 240rpx;
  49. overflow: hidden;
  50. margin-bottom: 20rpx;
  51. border-radius: 22.5rpx;
  52. box-shadow: 3rpx 3rpx 20rpx rgba(0, 0, 0, .1);
  53. }
  54. .newList .newsImg {
  55. width: 240rpx;
  56. height: 240rpx;
  57. }
  58. .newList .newsTitle {
  59. width: 100%;
  60. height: 240rpx;
  61. font-size: 14px;
  62. margin-top: -240rpx;
  63. padding: 20rpx 10rpx 20rpx 250rpx;
  64. box-sizing: border-box;
  65. }
  66. .newList .top {
  67. display: -webkit-box;
  68. -webkit-box-orient: vertical;
  69. -webkit-line-clamp: 3;
  70. overflow: hidden;
  71. }