This commit is contained in:
caolc
2023-05-08 10:45:07 +08:00
parent 8fd25deedf
commit 1c3e0f9662
27 changed files with 388 additions and 297 deletions

View File

@@ -7,7 +7,7 @@
<view class="">
<view class="padding-xl text-center">
<text class="text-xxl text-bold oil-main-color">
{{order.realAmount>0?order.realAmount:'xxx.x'|moneyFormat}}
{{order.payRealAmount>0?order.payRealAmount:'xxx.x'}}
</text>
<view class="text-gray">
支付剩余时间 <time-down :is-day="false" :is-hour="false" :tip-text="' '" :day-text="' '" :hour-text="':'"
@@ -138,7 +138,7 @@
</view>
<view class="dashed-top margin-top-xs padding-top-sm">
<view class="padding-tb-xs text-left">
加油金额<text class="fr">{{moneyIntercept(order.xoilAmountGun) }}</text>
加油金额<text class="fr">{{moneyIntercept(order.sitePriceAmount) }}</text>
<!-- <text
class="fr">{{order.oilDiscountAmount>0?order.realAmount+order.oilDiscountAmount:order.realAmount|moneyFormat}}</text> -->
</view>
@@ -156,17 +156,17 @@
<view class="padding-tb-xs text-left">
合计
<text class="text-blues text-bold text-lg fr">
{{order.realAmount>0? moneyIntercept(order.realAmount) :'xxx.x' }}</text>
{{order.realAmount>0? order.payRealAmount:'xxx.x' }}</text>
</view>
</view>
</view>
<view class="padding placeholder-hidden">
<button class="cu-btn block lg bg-main-oil" @tap="payOrder">立即支付</button>
<button class="cu-btn margin-top block lg " @tap="cancelOrder(order.orderSerialNumber)">取消订单</button>
<button class="cu-btn margin-top block lg " @tap="cancelOrder(order.id)">取消订单</button>
</view>
<view class="padding fixed-bar-bottom">
<button class="cu-btn block lg bg-main-oil" @tap="payOrder">立即支付</button>
<button class="cu-btn margin-top block lg " @tap="cancelOrder(order.orderSerialNumber)">取消订单</button>
<button class="cu-btn margin-top block lg " @tap="cancelOrder(order.id)">取消订单</button>
</view>
</view>
</view>