12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- .u-notice {
- @include flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 16rpx;
- &__left-icon {
- align-items: center;
- margin-right: 5px;
- }
- &__right-icon {
- margin-left: 5px;
- align-items: center;
- }
- &__content {
- text-align: right;
- flex: 1;
- @include flex;
- flex-wrap: nowrap;
- overflow: hidden;
- &__text {
- font-size: 14px;
- color: $u-warning;
- /* #ifndef APP-NVUE */
- // 这一句很重要,为了能让滚动左右连接起来
- padding-left: 100%;
- word-break: keep-all;
- white-space: nowrap;
- animation: u-loop-animation 10s linear infinite both;
- /* #endif */
- @include flex(row);
- }
- }
- }
- @keyframes u-loop-animation {
- 0% {
- transform: translate3d(0, 0, 0);
- }
- 100% {
- transform: translate3d(-100%, 0, 0);
- }
- }
-
-
-
- .itemBox{
- // height: 300rpx;
- .item{
- background: #E9EBEE;
- border-radius: 40rpx;
- padding: 0rpx 48rpx;
- margin-right: 16rpx;
- height: 56rpx;
- font-size: 24rpx;
- font-family: PingFang-SC-Medium, PingFang-SC;
- font-weight: 500;
- color: #333333;
- line-height: 56rpx;
- }
- }
-
|