1 line
2.0 KiB
Plaintext
1 line
2.0 KiB
Plaintext
<block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="uni-noticebar data-v-ed6617d4" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}" bindtap="__e"><block wx:if="{{showParams.showImg&&showParams.icon}}"><view class="zan-noticebar__left-icon data-v-ed6617d4" style="float:left;"><image src="{{$root.m0}}" mode="aspectFit" class="data-v-ed6617d4"></image></view></block><view data-ref="textBox" class="{{['uni-noticebar__content-wrapper','data-v-ed6617d4','vue-ref',(scrollable)?'uni-noticebar__content-wrapper--scrollable':'',(!scrollable&&(single||moreText))?'uni-noticebar__content-wrapper--single':'']}}"><view class="{{['uni-noticebar__content','data-v-ed6617d4',(scrollable)?'uni-noticebar__content--scrollable':'',(!scrollable&&(single||moreText))?'uni-noticebar__content--single':'']}}" id="{{elIdBox}}"><text class="{{['uni-noticebar__content-text','data-v-ed6617d4','vue-ref',(scrollable)?'uni-noticebar__content-text--scrollable':'',(!scrollable&&(single||moreText))?'uni-noticebar__content-text--single':'']}}" style="{{'color:'+(showStyle.textColor)+';'+('width:'+(wrapWidth+'px')+';')+('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">{{showParams.text}}</text></view></view><block wx:if="{{showGetMore===true||showGetMore==='true'}}"><view data-event-opts="{{[['tap',[['clickMore',['$event']]]]]}}" class="uni-noticebar__more data-v-ed6617d4" bindtap="__e"><block wx:if="{{moreText}}"><text class="uni-noticebar__more-text data-v-ed6617d4" style="{{'color:'+(moreColor)+';'}}">{{moreText}}</text></block></view></block></view></block> |