Commit 808f1460 by zhangzhen

细节优化

parent c0769b73
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
</view> </view>
<view class="flex-row-center"> <view class="flex-row-center">
<text v-if="computePriceInfo.availableBalance" <text v-if="computePriceInfo.availableBalance"
class="text-pink text-lg text-bold margin-right-sm">{{computePriceInfo.balance || 0}}</text> class="text-pink text-lg text-bold margin-right-sm">{{computePriceInfo.balance?'-¥'+computePriceInfo.balance:0}}</text>
<button v-else class="cu-btn bg-pink sm" @tap="onNavToRecharge">充值</button> <button v-else class="cu-btn bg-pink sm" @tap="onNavToRecharge">充值</button>
</view> </view>
</label> </label>
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
<view class="flex-row-center"> <view class="flex-row-center">
<text class="text-pink text-xl text-bold" style="margin-right: 6upx;">-</text> <text class="text-pink text-xl text-bold" style="margin-right: 6upx;">-</text>
<text class="text-pink text-bold"></text> <text class="text-pink text-bold"></text>
<text class="text-pink text-lg text-bold">{{(computePriceInfo.memberDiscount).toFixed(2)}}</text> <text class="text-pink text-lg text-bold">{{ Number(computePriceInfo.memberDiscount).toFixed(2)}}</text>
</view> </view>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment