HHSLinkSLink/HSLink-app/unpackage/dist/dev/mp-weixin/components/uni-fav/uni-fav.wxml

1 line
682 B
Plaintext
Raw Normal View History

2020-12-19 12:13:27 +08:00
<view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="{{['uni-fav data-v-6b4a1d82',circle===true||circle==='true'?'uni-fav--circle':'']}}" style="{{'background-color:'+(checked?bgColorChecked:bgColor)+';'}}" bindtap="__e"><block wx:if="{{!checked&&(star===true||star==='true')}}"><uni-icons class="uni-fav-star data-v-6b4a1d82" style="{{'color:'+(checked?fgColorChecked:fgColor)+';'}}" vue-id="040bd878-1" color="{{fgColor}}" size="14" type="star-filled" bind:__l="__l"></uni-icons></block><text class="uni-fav-text data-v-6b4a1d82" style="{{'color:'+(checked?fgColorChecked:fgColor)+';'}}">{{checked?contentText.contentFav:contentText.contentDefault}}</text></view>