1 |
- <view><view class="{{['cart-icon',(isDock&&!isMove)?'transition':'']}}" style="{{('left: '+left+'px; top:'+top+'px;')}}" id="_drag_button" data-event-opts="{{[['touchstart',[['touchstart',['$event']]]],['touchmove',[['touchmove',['$event']]]],['touchend',[['touchend',['$event']]]],['tap',[['click',['$event']]]]]}}" bindtouchstart="__e" catchtouchmove="__e" bindtouchend="__e" catchtap="__e"><block wx:if="{{cartNum>0}}"><text class="uni-badge uni-badge-error uni-small uni-badge--small icon-num">{{''+(cartNum>=100?'99+':cartNum)+''}}</text></block><text class="iconfont icon-gouwuche-mianxing"></text></view></view>
|