浏览代码

[停车][修改]:[停车修改]

tags/尚安停车
meo 5 年前
父节点
当前提交
e29f8aea06
共有 2 个文件被更改,包括 12 次插入11 次删除
  1. +3
    -0
      index/passCar.js
  2. +9
    -11
      index/passCar.wxml

+ 3
- 0
index/passCar.js 查看文件

@@ -649,6 +649,9 @@ Page({
that.setData({ that.setData({
park: res.data park: res.data
}) })
if (res.data){
app.globalData.parkVendor = res.data.vendorType;
}
}) })
.catch(err => { .catch(err => {
console.log(err); console.log(err);


+ 9
- 11
index/passCar.wxml 查看文件

@@ -23,6 +23,15 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <view class='coupon clearfix' bindtap='gotoquan' wx:if="{{couponList.length>0}}"> -->
<view style="padding:0 25rpx;" class='coupon clearfix' bindtap='openTicketModal' wx:if="{{couponList.length>0}}">
<text class='fl'><text class='jians'>券</text>优惠券:</text>
<view class="fr">
<text wx:if="{{quantitle}}">{{quantitle}}</text>
<text wx:else>{{totalTicketNum}}张可用</text>
<image class='jiant' src='{{jianUrl}}' mode='widthFix'></image>
</view>
</view>
<view class='orderBox' wx:if="{{stopFees.orderId&&carList.length>0&&3>=carList.length}}"> <view class='orderBox' wx:if="{{stopFees.orderId&&carList.length>0&&3>=carList.length}}">
<view class='clearfix'> <view class='clearfix'>
<text class="fl">入场时间:</text> <text class="fl">入场时间:</text>
@@ -32,17 +41,6 @@
<text class="fl">停车时长:</text> <text class="fl">停车时长:</text>
<text class='fr time'>{{timecha}}</text> <text class='fr time'>{{timecha}}</text>
</view> </view>

<!-- <view class='coupon clearfix' bindtap='gotoquan' wx:if="{{couponList.length>0}}"> -->
<view class='coupon clearfix' bindtap='openTicketModal' wx:if="{{couponList.length>0}}">
<text class='fl'><text class='jians'>券</text>优惠券:</text>
<view class="fr">
<text wx:if="{{quantitle}}">{{quantitle}}</text>
<text wx:else>{{totalTicketNum}}张可用</text>
<image class='jiant' src='{{jianUrl}}' mode='widthFix'></image>
</view>
</view>

<view class="clearfix"> <view class="clearfix">
<text class="fl">待缴费用:</text> <text class="fl">待缴费用:</text>
<text class='fr' style='color:#ff4949;'>{{stopFees.remainingFee}}元</text> <text class='fr' style='color:#ff4949;'>{{stopFees.remainingFee}}元</text>


正在加载...
取消
保存