|
@@ -1,4 +1,5 @@
|
|
|
<!--pages/my/cashier/cashier.wxml-->
|
|
|
+<wxs module="tofix" src="../../../components/tool/decimal.wxs"></wxs>
|
|
|
<van-icon name="arrow-left" size="25px" custom-class="back" bind:click="back"/>
|
|
|
<view class="topBox flex ju-c m-bottom-25">
|
|
|
<view class="num">¥{{pageinfo.price}}</view>
|
|
@@ -29,5 +30,5 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="footerNav ju-c flex">
|
|
|
- <view class="btn btn-sky" bindtap="pay">支付{{price>0?price:pageinfo.price}}元</view>
|
|
|
+ <view class="btn btn-sky" bindtap="pay">支付{{price>0?tofix.toFix(price):tofix.toFix(pageinfo.price)}}元</view>
|
|
|
</view>
|