diff --git a/app.json b/app.json
index 08e3982..6f84ecc 100644
--- a/app.json
+++ b/app.json
@@ -25,7 +25,8 @@
"pages/addPark/addPark",
"pages/orderquanma/index",
"pages/passCar/couponList/couponList",
- "pages/passCar/couponDetail/couponDetail"
+ "pages/passCar/couponDetail/couponDetail",
+ "pages/managelicenseplate/managelicenseplate"
],
"tabBar": {
"color": "#9F9F9F",
@@ -38,7 +39,7 @@
"text": "首页"
},
{
- "pagePath": "pages/cartest/cartest",
+ "pagePath": "pages/passCar/passCar",
"iconPath": "assets/img/pass1.png",
"selectedIconPath": "assets/img/pass0.png",
"text": "停车"
diff --git a/assets/img/platebg.png b/assets/img/platebg.png
new file mode 100644
index 0000000..cd0d7b8
Binary files /dev/null and b/assets/img/platebg.png differ
diff --git a/pages/managelicenseplate/managelicenseplate.js b/pages/managelicenseplate/managelicenseplate.js
new file mode 100644
index 0000000..e8085d9
--- /dev/null
+++ b/pages/managelicenseplate/managelicenseplate.js
@@ -0,0 +1,10 @@
+var app = getApp();
+Page({
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+})
\ No newline at end of file
diff --git a/pages/managelicenseplate/managelicenseplate.json b/pages/managelicenseplate/managelicenseplate.json
new file mode 100644
index 0000000..acc2729
--- /dev/null
+++ b/pages/managelicenseplate/managelicenseplate.json
@@ -0,0 +1,3 @@
+{
+ "navigationBarTitleText": "管理车牌"
+}
\ No newline at end of file
diff --git a/pages/managelicenseplate/managelicenseplate.wxml b/pages/managelicenseplate/managelicenseplate.wxml
new file mode 100644
index 0000000..e69de29
diff --git a/pages/managelicenseplate/managelicenseplate.wxss b/pages/managelicenseplate/managelicenseplate.wxss
new file mode 100644
index 0000000..e69de29
diff --git a/pages/passCar/couponList/couponList.wxml b/pages/passCar/couponList/couponList.wxml
index 7af27b7..5995270 100644
--- a/pages/passCar/couponList/couponList.wxml
+++ b/pages/passCar/couponList/couponList.wxml
@@ -5,7 +5,7 @@
-
+
暂无优惠券可用
diff --git a/pages/passCar/passCar.js b/pages/passCar/passCar.js
index fe7c18f..fd6f45c 100644
--- a/pages/passCar/passCar.js
+++ b/pages/passCar/passCar.js
@@ -12,7 +12,32 @@ Page({
flag: "",
extraData: {},
desc:'',
- title:''
+ title:'',
+ indicatorDots: true,
+ autoplay: false,
+ interval: 5000,
+ duration: 1000,
+ current: 0,
+ list:[]
+ },
+ /**
+ * 轮播图
+ */
+ onSlideChangeEnd: function (e) {
+ var that = this;
+ console.log(e);
+ console.log(e.detail.current);
+ var listCardNum = (that.data.list)[e.detail.current].memberKeyword;
+ console.log(listCardNum);
+ that.setData({
+ listCardNum: listCardNum
+ })
+ console.log(that.data.listCardNum);
+ },
+ gotomange:function(){
+ wx.navigateTo({
+ url: '/pages/managelicenseplate/managelicenseplate',
+ })
},
/*车牌动态样式 */
changeStyle: function() {
diff --git a/pages/passCar/passCar.wxml b/pages/passCar/passCar.wxml
index 5e44cd8..bd431f4 100644
--- a/pages/passCar/passCar.wxml
+++ b/pages/passCar/passCar.wxml
@@ -5,7 +5,7 @@
我的爱车
最多可添加3辆
-
+
车辆管理
@@ -22,26 +22,52 @@
-->
+
+
-
-
- 我的爱车
- 车辆入场后,才能绑车牌
-
-
+
+
+
+
+
+
+
+
+
+ {{item.carNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我的爱车
+ 车辆入场后,才能绑车牌
+
入场时间:{{item.stopFee.entranceTime}}
停车费用:¥{{item.stopFee.parkingFee}}
-
@@ -56,7 +82,7 @@
-
+
常见问题
diff --git a/pages/passCar/passCar.wxss b/pages/passCar/passCar.wxss
index fce2e6b..d38ef22 100644
--- a/pages/passCar/passCar.wxss
+++ b/pages/passCar/passCar.wxss
@@ -1,4 +1,4 @@
-/**passCar.wxss**/
+@import "../../app.wxss";
page {
background-color: #fff;
@@ -64,6 +64,17 @@ page {
width: 680rpx;
margin: 0 auto;
font-size: 36rpx;
+ border: 2rpx dashed #979797;
+ border-radius: 16rpx;
+ padding-bottom: 40rpx;
+ height: 202rpx;
+}
+
+.addicense_active {
+ width: 690rpx;
+ /* box-shadow: 0 4rpx 20rpx 0 rgba(153, 153, 153, 0.35); */
+ border-radius: 12rpx;
+ /* background: #02c0ff; *//* padding-bottom: 40rpx; */
}
.myCar {
@@ -87,7 +98,6 @@ page {
.addBox {
width: 750rpx;
- height: 220rpx;
position: relative;
background-color: white;
}
@@ -110,7 +120,7 @@ page {
.bottonBox {
width: 750rpx;
- margin-top: 50rpx;
+ margin-top: 30rpx;
}
.textStyle {
@@ -118,7 +128,7 @@ page {
height: 88rpx;
line-height: 88rpx;
padding-left: 92rpx;
- border-bottom: 1rpx #f8f8f8 solid;
+ border-bottom: 1px #f8f8f8 solid;
position: relative;
font-size: 30rpx;
color: #333;
@@ -133,11 +143,52 @@ page {
position: absolute;
}
+.swiper {
+ position: relative;
+ margin: 0 auto;
+}
+
+.swiper-item {
+ width: 365rpx;
+ font-size: 75rpx;
+ font-weight: 400;
+ text-align: center;
+ color: rgba(255, 255, 255, 1);
+}
+
+.swiper-item > view {
+ background: #bbe6ff;
+ border-radius: 12rpx;
+ padding: 6rpx;
+}
+
+.tche {
+ width: 157rpx;
+ height: 211rpx;
+ margin: 0 auto;
+ float: right;
+ border-radius: 12rpx;
+ background: #56bdf8;
+ border: 3px solid #fff;
+ position: relative;
+}
+
+.txt01 {
+ width: 497rpx;
+ height: 211rpx;
+ line-height: 211rpx;
+ float: left;
+ background: #56bdf8;
+ border-radius: 12rpx;
+ border: 3px solid #fff;
+ text-align: center;
+}
+
.passNumberBox {
- width: 750rpx;
position: relative;
background-color: white;
- border-bottom: 1rpx #f8f8f8 solid;
+ /* border-bottom: 1rpx #f8f8f8 solid; */
+ margin-top: 30rpx;
}
.passNumber {
@@ -157,7 +208,37 @@ page {
}
.number {
+ font-size: 48rpx;
+ color: #1f2d3d;
+ letter-spacing: 0;
+ line-height: 52rpx;
+ font-weight: 400;
+}
+
+.manage_plate {
+ width: 65%;
+ border-radius: 80rpx;
+ margin: 40rpx auto 0;
+ background: #02c0ff;
+ color: #fff;
+ text-align: center;
+ font-size: 30rpx;
+}
+
+.button_active {
+ opacity: .6;
+}
+
+.btn001 {
+ margin: 0 auto;
+ width: 120rpx;
+ height: 75rpx;
font-size: 32rpx;
+ font-weight: 400;
+ color: rgba(255, 255, 255, 1);
+ line-height: 38rpx;
+ background: none;
+ margin-top: 67rpx;
}
.parkPrice {
@@ -291,9 +372,6 @@ page {
.borderBox {
width: 690rpx;
margin: 20rpx auto 0;
- border: 2rpx dashed #979797;
- border-radius: 16rpx;
- height: 200rpx;
}
.carmanage {
@@ -364,12 +442,6 @@ page {
display: flex;
}
-.passUp {
- width: 100%;
- height: 100rpx;
- position: relative;
-}
-
.priceBox {
width: 420rpx;
}
@@ -439,5 +511,32 @@ button::after {
color: #02c0ff;
letter-spacing: 0;
text-align: center;
- padding-top: 50rpx;
+ padding-top: 58rpx;
+}
+
+.dots {
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 19rpx;
+ display: flex;
+ justify-content: center;
+ height: 19rpx;
+ background: #fff;
+}
+
+.dots .dot {
+ margin: 0 8rpx;
+ width: 32rpx;
+ height: 14rpx;
+ background: #fff;
+ border-radius: 8rpx;
+ transition: all 0.6s;
+}
+
+.dots .dot.active {
+ width: 49rpx;
+ height: 4rpx;
+ background: rgba(86, 189, 248, 1);
+ border-radius: 6rpx;
}
diff --git a/utils/HttpBasics.js b/utils/HttpBasics.js
index 99d9593..1ee4aa5 100644
--- a/utils/HttpBasics.js
+++ b/utils/HttpBasics.js
@@ -72,7 +72,7 @@ class HttpBasics {
data: data,
method: "POST",
success: res => {
- // wx.hideLoading();
+ wx.hideLoading();
this.responseMap(res, resolve, reject);
},
fail: err => {
@@ -97,9 +97,10 @@ class HttpBasics {
if (res.data.code == 200) {
resolve(res.data);
} else {
- wx.hideLoading();
+ // wx.hideLoading();
wx.showToast({
- title: res.data.message
+ title: res.data.message,
+ image:'./../../assets/img/fail.png'
});
reject(res.data);
}