totalprice.wxml
1.5 KB
<view class="bg-white total-price flex-lr">
<view class="total-count-cover flex-cc" wx:if="{{totalobj.cookBookTotal>0}}">
<view class="total-count white-font font24r smooth flex-cc">{{totalobj.cookBookTotal}}</view>
</view>
<view class="flex-ll" bindtap="{{totalobj.cookBookTotal>0 ? 'showbox' : ''}}">
<image class="" src="{{totalobj.cookBookTotal>0 ? 'http://nosqn.colorcun.com/send-red.jpg' : 'http://nosqn.colorcun.com/send-gray.jpg'}}"></image>
<!-- <view style="height: 100%;position: relative;top: -6rpx;">
<view class="red-pink-font font32r" style="margin-bottom: 0rpx;">¥<text class="font44r font-bold">{{totalobj.cookBookPirce}}</text></view>
<view style="height: 24rpx;text-decoration: line-through;position: relative;top: -4rpx;" class="gray-light-font font24r"></view>
</view> -->
<view class="red-pink-font font28r" style="margin-bottom: 24rpx;">¥<text class="font40r font-bold">{{totalobj.cookBookPirce}}</text></view>
</view>
<block wx:if="{{totalobj.cookBookPirce>=config.is_full_amount && totalobj.cookBookTotal>0}}">
<view class="box-button flex-cc white-font bg-red-pink" bindtap="toorder">去结算</view>
</block>
<block wx:else>
<view class="box-button flex-cc white-font bg-light-gray">满¥{{config.is_full_amount}}起送</view>
</block>
<!-- <view class="box-button flex-cc white-font bg-red-pink" bindtap="toorder">去结算</view> -->
</view>
<block wx:if="{{seller}}">
<box seller="{{seller}}" id="box" bindtellfood="tellfood" bindrefresh="refresh"></box>
</block>