<view class="money-box">
    <block wx:if="{{user.uid>0}}">
        <view class="l">余额：{{user.money}}</view>
        <view class="r">洗车金：{{user.principal}}，赠送：{{user.givenamount}}</view>
    </block>
    <navigator class="l" hoverClass="hover" url="/pages/login/login" wx:if="{{user.uid==0}}">余额： <view class="red">点击同步</view>
    </navigator>
</view>
