semp-notice-bar.wxss 619 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .show-box {
  2. width: 96%;
  3. overflow: hidden;
  4. padding: 0 2%;
  5. }
  6. .text-box {
  7. display: block;
  8. white-space: nowrap;
  9. line-height: 36rpx;
  10. padding: 20rpx 0;
  11. }
  12. .icon {
  13. width: 60rpx;
  14. height: 76rpx;
  15. text-align: center;
  16. line-height: 76rpx;
  17. display: inline-block;
  18. vertical-align: middle;
  19. }
  20. .no-icon {
  21. flex: 1;
  22. width: calc(100%) !important;
  23. }
  24. .show-info {
  25. overflow: hidden;
  26. width: calc(100% - 60rpx);
  27. display: inline-block;
  28. vertical-align: middle;
  29. }
  30. .scroll-box {
  31. width: 94%;
  32. overflow: hidden;
  33. height: 76rpx;
  34. line-height: 76rpx;
  35. }
  36. .round {
  37. border-radius: 10rpx;
  38. }
  39. .text-box.text-rows {
  40. white-space: normal;
  41. }