u-row-notice.wxss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. /* uni.scss */
  7. view.data-v-462e724c, scroll-view.data-v-462e724c, swiper-item.data-v-462e724c {
  8. display: flex;
  9. flex-direction: column;
  10. flex-shrink: 0;
  11. flex-grow: 0;
  12. flex-basis: auto;
  13. align-items: stretch;
  14. align-content: flex-start;
  15. }
  16. .u-notice.data-v-462e724c {
  17. display: flex;
  18. flex-direction: row;
  19. align-items: center;
  20. justify-content: space-between;
  21. }
  22. .u-notice__left-icon.data-v-462e724c {
  23. align-items: center;
  24. margin-right: 5px;
  25. }
  26. .u-notice__right-icon.data-v-462e724c {
  27. margin-left: 5px;
  28. align-items: center;
  29. }
  30. .u-notice__content.data-v-462e724c {
  31. text-align: right;
  32. flex: 1;
  33. display: flex;
  34. flex-direction: row;
  35. flex-wrap: nowrap;
  36. overflow: hidden;
  37. }
  38. .u-notice__content__text.data-v-462e724c {
  39. font-size: 14px;
  40. color: #f9ae3d;
  41. padding-left: 100%;
  42. word-break: keep-all;
  43. white-space: nowrap;
  44. animation: u-loop-animation-462e724c 10s linear infinite both;
  45. display: flex;
  46. flex-direction: row;
  47. }
  48. @keyframes u-loop-animation-462e724c {
  49. 0% {
  50. transform: translate3d(0, 0, 0);
  51. }
  52. 100% {
  53. transform: translate3d(-100%, 0, 0);
  54. }
  55. }