diff --git a/app.json b/app.json
index f3838ae..29a7aec 100644
--- a/app.json
+++ b/app.json
@@ -13,7 +13,9 @@
"name": "OCRCard",
"pages": [
"pages/index/index",
- "pages/confirm/confirm"
+ "pages/confirm/confirm",
+ "pages/deposit/deposit"
+
]
},
{
diff --git a/app.wxss b/app.wxss
index 12fc4bb..d723f07 100644
--- a/app.wxss
+++ b/app.wxss
@@ -203,9 +203,15 @@ page{
.mt-24{
margin-top: 24rpx;
}
+.m-20{
+ margin:20rpx ;
+}
.p10{
padding: 10rpx;
}
+.p20{
+ padding: 20rpx;
+}
.mt-14{
margin-top: 14rpx;
}
diff --git a/project.private.config.json b/project.private.config.json
index b2f7232..6f01b2f 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -14,6 +14,13 @@
"condition": {
"miniprogram": {
"list": [
+ {
+ "name": "subpages/OCRCard/pages/deposit/deposit",
+ "pathName": "subpages/OCRCard/pages/deposit/deposit",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
{
"name": "subpages/index/policy/detail/detail",
"pathName": "subpages/index/policy/detail/detail",
diff --git a/subpages/OCRCard/image/bg1.png b/subpages/OCRCard/image/bg1.png
new file mode 100644
index 0000000..005abb3
Binary files /dev/null and b/subpages/OCRCard/image/bg1.png differ
diff --git a/subpages/OCRCard/image/icon01.png b/subpages/OCRCard/image/icon01.png
new file mode 100644
index 0000000..c632962
Binary files /dev/null and b/subpages/OCRCard/image/icon01.png differ
diff --git a/subpages/OCRCard/image/icon02.png b/subpages/OCRCard/image/icon02.png
new file mode 100644
index 0000000..30593e4
Binary files /dev/null and b/subpages/OCRCard/image/icon02.png differ
diff --git a/subpages/OCRCard/image/wx_pay.png b/subpages/OCRCard/image/wx_pay.png
new file mode 100644
index 0000000..26a1dab
Binary files /dev/null and b/subpages/OCRCard/image/wx_pay.png differ
diff --git a/subpages/OCRCard/image/ze-checked.png b/subpages/OCRCard/image/ze-checked.png
new file mode 100644
index 0000000..cb50f84
Binary files /dev/null and b/subpages/OCRCard/image/ze-checked.png differ
diff --git a/subpages/OCRCard/pages/deposit/deposit.js b/subpages/OCRCard/pages/deposit/deposit.js
new file mode 100644
index 0000000..611db4f
--- /dev/null
+++ b/subpages/OCRCard/pages/deposit/deposit.js
@@ -0,0 +1,72 @@
+// subpages/OCRCard/pages/deposit/deposit.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ show: true,
+ status: 2
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+ goback() {
+ wx.switchTab({
+ url: '/pages/index/index',
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/subpages/OCRCard/pages/deposit/deposit.json b/subpages/OCRCard/pages/deposit/deposit.json
new file mode 100644
index 0000000..a28314f
--- /dev/null
+++ b/subpages/OCRCard/pages/deposit/deposit.json
@@ -0,0 +1,11 @@
+{
+ "usingComponents": {
+ "navigationBar": "/components/navigationBar/navigationBar",
+ "van-image": "@vant/weapp/image/index",
+ "van-divider": "@vant/weapp/divider/index",
+ "van-icon": "@vant/weapp/icon/index",
+ "van-button": "@vant/weapp/button/index",
+ "van-popup": "@vant/weapp/popup/index"
+ },
+ "navigationStyle": "custom"
+}
\ No newline at end of file
diff --git a/subpages/OCRCard/pages/deposit/deposit.wxml b/subpages/OCRCard/pages/deposit/deposit.wxml
new file mode 100644
index 0000000..d8a536e
--- /dev/null
+++ b/subpages/OCRCard/pages/deposit/deposit.wxml
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+ 履约保证金500元
+
+
+
+ 支付方式
+
+
+
+ 微信支付
+
+
+
+
+
+
+ 确定支付
+
+
+
+
+
+
+ 支付失败
+ 您尚未完成支付,请尽快前往
+ “我的-入住记录”完成支付。
+
+
+ 前往支付
+
+
+
+
+
+
+ 您已完成入住办理
+ 祝您居住愉快~
+
+
+ 返回首页
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/subpages/OCRCard/pages/deposit/deposit.wxss b/subpages/OCRCard/pages/deposit/deposit.wxss
new file mode 100644
index 0000000..378b872
--- /dev/null
+++ b/subpages/OCRCard/pages/deposit/deposit.wxss
@@ -0,0 +1,63 @@
+/* subpages/OCRCard/pages/deposit/deposit.wxss */
+page {
+ position: relative;
+ background-color: #f8f8f8;
+
+}
+
+.container-app {
+ background-color: #f8f8f8;
+ height: 80vh;
+}
+
+.txt {
+ color: #FF5757;
+ font-size: 68rpx;
+ font-weight: 600;
+}
+
+.line-dash {
+ border-bottom: 1px dashed #BBBBBB;
+ width: 100%;
+ margin: 48rpx 0;
+}
+
+.item {
+ height: 60rpx;
+ background-color: #F7F8FC;
+ border-radius: 10rpx;
+}
+
+.btn {
+ position: absolute;
+ bottom: 48rpx;
+ left: 0;
+ right: 0;
+ max-width: 440rpx;
+ width: calc(100% - 10rpx);
+ height: 80rpx;
+ margin: auto;
+}
+
+.diag {
+
+ padding: 30rpx;
+ width: 440rpx;
+
+}
+
+.tit {
+ font-weight: 600;
+}
+
+.remk {
+ color: rgba(102, 102, 102, 1);
+ font-size: 30rpx;
+ padding: 40rpx 0;
+ line-height: 40rpx;
+}
+
+.butn {
+ max-width: 220rpx;
+ width: calc(100% - 10rpx);
+}
\ No newline at end of file
diff --git a/subpages/index/policy/index/index.js b/subpages/index/policy/index/index.js
index c56b19f..c1871f7 100644
--- a/subpages/index/policy/index/index.js
+++ b/subpages/index/policy/index/index.js
@@ -12,7 +12,7 @@ Page({
{ title: "就业政策" },
],
active: 0,
- currentCont: 0,
+ policyList:[],
pageNo: 1,
pageSize: 10,
},
@@ -30,8 +30,9 @@ Page({
});
},
onChange(event) {
+ console.log('event',event);
this.setData({
- active: event.detail,
+ active: event.detail.index,
});
},
/**
diff --git a/subpages/index/policy/index/index.wxml b/subpages/index/policy/index/index.wxml
index da51d06..acc74e1 100644
--- a/subpages/index/policy/index/index.wxml
+++ b/subpages/index/policy/index/index.wxml
@@ -22,7 +22,7 @@
-
+