yunshangxie/unpackage/dist/dev/mp-weixin/tuniao-ui/components/tn-row-notice/tn-row-notice.wxml

1 line
1.5 KiB
Plaintext
Raw Normal View History

2023-12-25 17:56:30 +08:00
<block wx:if="{{show}}"><view class="{{['tn-row-notice-class','tn-row-notice','data-v-770a6f7a',backgroundColorClass]}}" style="{{$root.s0}}"><view class="tn-row-notice__wrap data-v-770a6f7a"><view class="tn-row-notice__icon data-v-770a6f7a"><block wx:if="{{leftIcon}}"><view data-event-opts="{{[['tap',[['clickLeftIcon',['$event']]]]]}}" class="{{['tn-row-notice__icon--left','data-v-770a6f7a','tn-icon-'+leftIconName,fontColorClass]}}" style="{{$root.s1}}" bindtap="__e"></view></block></view><view class="tn-row-notice__content-box data-v-770a6f7a" id="tn-row-notice__content-box"><view class="tn-row-notice__content data-v-770a6f7a" style="{{'animation-duration:'+(animationDuration)+';'+('animation-play-state:'+(animationPlayState)+';')}}" id="tn-row-notice__content"><text data-event-opts="{{[['tap',[['click',['$event']]]]]}}" class="{{['tn-row-notice__content--text','data-v-770a6f7a',fontColorClass]}}" style="{{$root.s2}}" bindtap="__e">{{showText}}</text></view></view><view class="tn-row-notice__icon data-v-770a6f7a"><block wx:if="{{rightIcon}}"><view data-event-opts="{{[['tap',[['clickRightIcon',['$event']]]]]}}" class="{{['tn-row-notice__icon--right','data-v-770a6f7a','tn-icon-'+rightIconName,fontColorClass]}}" style="{{$root.s3}}" bindtap="__e"></view></block><block wx:if="{{closeBtn}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="{{['tn-row-notice__icon--right','data-v-770a6f7a','tn-icon-close',fontColorClass]}}" style="{{$root.s4}}" bindtap="__e"></view></block></view></view></view></block>