canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/third/uni-notice-bar.wxml
2024-11-01 16:07:54 +08:00

1 line
1.3 KiB
Plaintext

<block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="uni-noticebar data-v-11fe2704" style="{{'background:'+(backgroundColor)+';'}}" bindtap="__e"><view data-ref="textBox" class="{{['uni-noticebar__content-wrapper','data-v-11fe2704','vue-ref',(scrollable)?'uni-noticebar__content-wrapper--scrollable':'',(!scrollable&&(single||moreText))?'uni-noticebar__content-wrapper--single':'']}}"><view class="{{['uni-noticebar__content','data-v-11fe2704',(scrollable)?'uni-noticebar__content--scrollable':'',(!scrollable&&(single||moreText))?'uni-noticebar__content--single':'']}}" id="{{elIdBox}}"><text class="{{['uni-noticebar__content-text','data-v-11fe2704','vue-ref',(scrollable)?'uni-noticebar__content-text--scrollable':'',(!scrollable&&(single||moreText))?'uni-noticebar__content-text--single':'']}}" style="{{'color:'+(color)+';'+('width:'+(wrapWidth+'px')+';')+('font-size:'+(fs+'rpx')+';')+('animation-duration:'+(animationDuration)+';')+('-webkit-animation-duration:'+(animationDuration)+';')+('animation-play-state:'+(webviewHide?'paused':animationPlayState)+';')+('-webkit-animation-play-state:'+(webviewHide?'paused':animationPlayState)+';')+('animation-delay:'+(animationDelay)+';')+('-webkit-animation-delay:'+(animationDelay)+';')}}" id="{{elId}}" data-ref="animationEle">{{text}}</text></view></view></view></block>