Bläddra i källkod

edit

tags/2.2.4
shark 6 år sedan
förälder
incheckning
c1529b7e84
2 ändrade filer med 75 tillägg och 18 borttagningar
  1. +21
    -9
      pages/passCar/passCar.wxml
  2. +54
    -9
      pages/passCar/passCar.wxss

+ 21
- 9
pages/passCar/passCar.wxml Visa fil

@@ -17,16 +17,28 @@
<label class='carNumber'></label>
</view>
<view class='passNumberBox' wx:for='{{carList}}' wx:key='{{index}}'>
<view class='passNumber' bindtap='orderPay' style='height:{{dataHeight}};font-weight:{{dataWeight}};line-height:{{dataLineHeight}}'>
<text class='number'>{{item.carNumber}}</text>
<!-- <text class='price'>待缴金额:¥{{item.remainingParkFee?item.remainingParkFee:'0'}}</text> -->
<text class='parkPrice'>待缴金额:¥500</text>
<!-- <text>已缴:{{item.stopFee.paidFee}}</text>
<view class='passUp'>
<view class='passNumber' bindtap='orderPay' style='height:{{dataHeight}};font-weight:{{dataWeight}};line-height:{{dataLineHeight}}'>
<text class='number'>{{item.carNumber}}</text>
<!-- <text class='price'>待缴金额:¥{{item.remainingParkFee?item.remainingParkFee:'0'}}</text> -->
<!-- <text class='parkPrice'>待缴金额:¥500</text> -->
<!-- <text>已缴:{{item.stopFee.paidFee}}</text>
<text>优免金额{{item.stopFee.discountAmount}}</text> -->
</view>
<button class='deleteButton' bindtap='unbindCarBtn' data-car='{{item.carNumber}}'>解绑</button>
</view>
<view class='orderBox' wx:if='{{!item.remainingFee}}'>
<view class='priceBox'>
<text>{{'待支付金额:¥'+item.remainingFee}}</text>
</view>
<view class='payBox'>
<navigator target="miniProgram" open-type="navigate" app-id="wx192b7d2e8dcbefd0" path="" extra-data="{{item.extraData}}" version="release">
<button>去支付</button>
</navigator>
</view>
</view>
<button class='deleteButton' bindtap='unbindCarBtn' data-car='{{item.carNumber}}'>解绑</button>
</view>
<view class='passNumberBox'>
<!-- <view class='passNumberBox'>
<view class='passNumber nopay' bindtap='orderPay'>
<text class='number'>蒙B35412</text>
</view>
@@ -40,9 +52,9 @@
<text class='number'>沪B88888</text>
</view>
<button class='deleteButton' bindtap='unbindCarBtn' data-car='{{item.carNumber}}'>解绑</button>
</view>
</view> -->

<view class='addBox' wx:if='{{carList.length==3}}'>
<view class='addBox' wx:if='{{carList.length<3}}'>
<view class='add' bindtap="jumpToAdd">
<text>+</text>添加爱车</view>
</view>


+ 54
- 9
pages/passCar/passCar.wxss Visa fil

@@ -118,19 +118,16 @@ color: transparent;
position: relative;
background-color: white;
border-bottom: 1rpx #f8f8f8 solid;
display: flex;
justify-content: space-between;
}
.passNumber{
width: 450rpx;
width: 400rpx;
height: 150rpx;
margin-left: 55rpx;
position: relative;
display: flex;
justify-content: space-between;
line-height: 150rpx;

font-size: 32rpx;
font-weight: 600;
color: #333;
line-height: 150rpx;
left: 55rpx;
position: absolute;
}
.nopay{
height: 80rpx;
@@ -244,3 +241,51 @@ color: transparent;
line-height: 88rpx;
border-radius: 6rpx;
}
.borderBox{
width: 750rpx;
margin-top: 26rpx;

}
.orderBox {
width: 100%;
height: 100rpx;
border-top: 1rpx #cbcbcb dashed;
position: relative;
display: flex;
}

.passUp {
width: 100%;
height: 150rpx;
position: relative;
}
.priceBox{
width: 500rpx;
}
.priceBox text{
margin-top: 35rpx;
color: #333;
font-size: 24rpx;
margin-left: 50rpx;
display: block;
}
.payBox{
width: 250rpxpx;
}
.payBox button{
width: 230rpx;
border:0;
font-size: 32rpx;
margin-top: 13rpx;
margin-right: 20rpx;
background-color: lightgreen;
color: white;
}
input{
outline:none;
border:none;
list-style: none;
}
button::after{
border:none;
}

Laddar…
Avbryt
Spara