摘要: wxml: <!-- 遮罩层 --> <view wx:if="{{carAdd}}"> <view class="cover" catchtap="closeBg"></view> <view class="wxshare"> <view class="add_box1"> <view class 阅读全文
posted @ 2021-12-11 18:05 宅女二二 阅读(297) 评论(0) 推荐(0)
摘要: 在微信小程序 里实现跑马灯效果,类似滚动字幕或者滚动广告之类的,使用简单的CSS样式控制,没用到JS wxml: <!-- 复制的跑马灯效果 --> <view class="marquee_container" style="--marqueeWidth--:-12em"> <view class 阅读全文
posted @ 2021-12-11 11:52 宅女二二 阅读(739) 评论(1) 推荐(0)