前年国庆节期间,公司放假需要在小程序首页的轮播图底部,加上一个滚动的轮播通知,所以写了下面代码
{{item.content0}}
{{item.content1}}
.view_notice_contain {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
height: 120rpx;
background: white;
font-size: 26rpx;
}
.image_notice {
margin-left: 5rpx;
}
.swiper_container {
height: 120rpx;
width: 100%;
}
.swiper_item {
font-size: 26rpx;
color: #666;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
letter-spacing: 2px;
padding-top: 20rpx;
}
noticeList: [{
content0: "国庆假期暂停发货温馨提醒:尊敬的用户,",
content1: "国庆节假期将至,我们将在10.1-10.7节日期间暂"
},
{
content0: "停发货,并停止客服服务,将于10月8日恢复正常",
content1: "发货及客服服务,在此祝您假期愉快!"
},
]
页面更新:2024-03-14
本站资料均由网友自行发布提供,仅用于学习交流。如有版权问题,请与我联系,QQ:4156828
© CopyRight 2020-2024 All Rights Reserved. Powered By 71396.com 闽ICP备11008920号-4
闽公网安备35020302034903号