u-notice-bar.wxss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. .u-notice-bar-wrap.data-v-087a7280 {
  8. overflow: hidden;
  9. }
  10. .u-notice-bar.data-v-087a7280 {
  11. padding: 18rpx 24rpx;
  12. overflow: hidden;
  13. }
  14. .u-direction-row.data-v-087a7280 {
  15. display: flex;
  16. flex-direction: row;
  17. align-items: center;
  18. justify-content: space-between;
  19. }
  20. .u-left-icon.data-v-087a7280 {
  21. display: flex;
  22. flex-direction: row;
  23. align-items: center;
  24. }
  25. .u-notice-box.data-v-087a7280 {
  26. flex: 1;
  27. display: flex;
  28. flex-direction: row;
  29. overflow: hidden;
  30. margin-left: 12rpx;
  31. }
  32. .u-right-icon.data-v-087a7280 {
  33. margin-left: 12rpx;
  34. display: flex;
  35. flex-direction: row;
  36. align-items: center;
  37. }
  38. .u-notice-content.data-v-087a7280 {
  39. line-height: 1;
  40. white-space: nowrap;
  41. font-size: 26rpx;
  42. -webkit-animation: u-loop-animation-data-v-087a7280 10s linear infinite both;
  43. animation: u-loop-animation-data-v-087a7280 10s linear infinite both;
  44. text-align: right;
  45. padding-left: 100%;
  46. }
  47. @-webkit-keyframes u-loop-animation-data-v-087a7280 {
  48. 0% {
  49. -webkit-transform: translate3d(0, 0, 0);
  50. transform: translate3d(0, 0, 0);
  51. }
  52. 100% {
  53. -webkit-transform: translate3d(-100%, 0, 0);
  54. transform: translate3d(-100%, 0, 0);
  55. }
  56. }
  57. @keyframes u-loop-animation-data-v-087a7280 {
  58. 0% {
  59. -webkit-transform: translate3d(0, 0, 0);
  60. transform: translate3d(0, 0, 0);
  61. }
  62. 100% {
  63. -webkit-transform: translate3d(-100%, 0, 0);
  64. transform: translate3d(-100%, 0, 0);
  65. }
  66. }