1 |
- <view data-event-opts="{{[['tap',[['$emit',['click','$event']]]]]}}" class="tm-loadding flex-center vertical-align-middle data-v-f686d082" bindtap="__e"><block wx:if="{{model=='load'}}"><view class="tm-loadding-load d-inline-block vertical-align-middle data-v-f686d082" style="line-height:0;"><tm-icons vue-id="12d6e127-1" dense="{{true}}" name="{{icon?icon:'icon-loading'}}" color="{{color?color:'grey'}}" class="data-v-f686d082" bind:__l="__l"></tm-icons></view></block><block wx:if="{{model=='fail'}}"><view class="tm-loadding-error d-inline-block vertical-align-middle data-v-f686d082" style="line-height:0;"><tm-icons vue-id="12d6e127-2" dense="{{true}}" name="{{icon?icon:'icon-wind-cry'}}" color="{{color?color:'red'}}" class="data-v-f686d082" bind:__l="__l"></tm-icons></view></block><block wx:if="{{model=='success'}}"><view class="tm-loadding-error d-inline-block vertical-align-middle data-v-f686d082" style="line-height:0;"><tm-icons vue-id="12d6e127-3" dense="{{true}}" name="{{icon?icon:'icon-wind-smile'}}" color="{{color?color:'green'}}" class="data-v-f686d082" bind:__l="__l"></tm-icons></view></block><text class="{{['text-size-s','pl-12','data-v-f686d082','text-'+(color?color:text[model].color)]}}">{{label?label:text[model].text}}</text></view>
|