19 changed files with 382 additions and 35 deletions
@ -0,0 +1,66 @@ |
|||||
|
// pages/webView/webView.js
|
||||
|
Page({ |
||||
|
|
||||
|
/** |
||||
|
* 页面的初始数据 |
||||
|
*/ |
||||
|
data: { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面加载 |
||||
|
*/ |
||||
|
onLoad(options) { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面初次渲染完成 |
||||
|
*/ |
||||
|
onReady() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面显示 |
||||
|
*/ |
||||
|
onShow() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面隐藏 |
||||
|
*/ |
||||
|
onHide() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面卸载 |
||||
|
*/ |
||||
|
onUnload() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 页面相关事件处理函数--监听用户下拉动作 |
||||
|
*/ |
||||
|
onPullDownRefresh() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 页面上拉触底事件的处理函数 |
||||
|
*/ |
||||
|
onReachBottom() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 用户点击右上角分享 |
||||
|
*/ |
||||
|
onShareAppMessage() { |
||||
|
|
||||
|
} |
||||
|
}) |
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"usingComponents": {} |
||||
|
} |
@ -0,0 +1,2 @@ |
|||||
|
<!--pages/webView/webView.wxml--> |
||||
|
<text>pages/webView/webView.wxml</text> |
@ -0,0 +1 @@ |
|||||
|
/* pages/webView/webView.wxss */ |
@ -0,0 +1,98 @@ |
|||||
|
// subpages/index/checkInWait/checkInWait.js
|
||||
|
import {selectMzGraduateInfo} from "../../../api/index" |
||||
|
Page({ |
||||
|
|
||||
|
/** |
||||
|
* 页面的初始数据 |
||||
|
*/ |
||||
|
data: { |
||||
|
idCard:'' |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面加载 |
||||
|
*/ |
||||
|
onLoad(options) { |
||||
|
if(options.idCard){ |
||||
|
this.setData({ |
||||
|
idCard:options.idCard |
||||
|
}) |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面初次渲染完成 |
||||
|
*/ |
||||
|
onReady() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面显示 |
||||
|
*/ |
||||
|
onShow() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面隐藏 |
||||
|
*/ |
||||
|
onHide() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面卸载 |
||||
|
*/ |
||||
|
onUnload() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 页面相关事件处理函数--监听用户下拉动作 |
||||
|
*/ |
||||
|
onPullDownRefresh() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 页面上拉触底事件的处理函数 |
||||
|
*/ |
||||
|
onReachBottom() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 用户点击右上角分享 |
||||
|
*/ |
||||
|
onShareAppMessage() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
submit(){ |
||||
|
selectMzGraduateInfo({idCard:this.data.idCard}).then(res=>{ |
||||
|
if(res.code === 200){ |
||||
|
// 线上签订合同跳转信息确认
|
||||
|
if(res.data.signType === 0){ |
||||
|
wx.navigateTo({ |
||||
|
url: '/pages/webView/webView', |
||||
|
}) |
||||
|
}else if(res.data.signType === 1){ |
||||
|
// 线下签订
|
||||
|
wx.navigateTo({ |
||||
|
url: '/subpages/OCRCard/pages/deposit/deposit', |
||||
|
}) |
||||
|
}else{ |
||||
|
// 没有合同信息
|
||||
|
wx.showToast({ |
||||
|
title: '合同准备中,请稍后...', |
||||
|
icon:'none' |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
}).catch(err=>{ |
||||
|
console.log(err); |
||||
|
}) |
||||
|
} |
||||
|
}) |
@ -0,0 +1,10 @@ |
|||||
|
{ |
||||
|
|
||||
|
"navigationStyle": "custom", |
||||
|
"usingComponents": { |
||||
|
"navigationBar": "/components/navigationBar/navigationBar", |
||||
|
"van-image": "@vant/weapp/image/index", |
||||
|
"van-button": "@vant/weapp/button/index" |
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
<view class="cont"> |
||||
|
<navigationBar title="入住办理" isSowArrow isShowBg backgroundImage="/images/bg.png" height="200px" titleAlign="center"></navigationBar> |
||||
|
<view class="tip-cont"> |
||||
|
<van-image width="72" height="72" src="/images/mine/md-restore.png" custom-class="cusImage" /> |
||||
|
<view class="txt"> |
||||
|
<view class="des">合同准备中,请稍后...</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
<van-button slot="button" block type="primary" round color="linear-gradient(to right, #0DC6C6 , #46DBD5)" bind:tap="submit" custom-class="btn"> |
||||
|
下一步 |
||||
|
</van-button> |
||||
|
</view> |
@ -0,0 +1,51 @@ |
|||||
|
/* subpages/index/renewalApplication/renewalApplication.wxss */ |
||||
|
page{ |
||||
|
background: #f8f8f8; |
||||
|
|
||||
|
} |
||||
|
.cont { |
||||
|
position: relative; |
||||
|
background: #f8f8f8; |
||||
|
padding: 36rpx; |
||||
|
height: 87vh; |
||||
|
} |
||||
|
|
||||
|
.tip-cont { |
||||
|
position: absolute; |
||||
|
width: 678rpx; |
||||
|
height: 624rpx; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
flex-direction: column; |
||||
|
z-index: 999; |
||||
|
background-color: #fff; |
||||
|
border-radius: 10rpx; |
||||
|
top: 214rpx; |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
.cusImage { |
||||
|
margin-top: 90rpx; |
||||
|
} |
||||
|
|
||||
|
.txt { |
||||
|
margin-top: 100rpx; |
||||
|
padding: 0 32rpx; |
||||
|
} |
||||
|
|
||||
|
.des { |
||||
|
margin-top: 38rpx; |
||||
|
line-height: 46rpx; |
||||
|
font-size: 32rpx; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
|
||||
|
.btn { |
||||
|
position: absolute; |
||||
|
top: 390px; |
||||
|
max-width: 440rpx; |
||||
|
width: calc(100% - 10rpx); |
||||
|
height: 80rpx; |
||||
|
} |
Loading…
Reference in new issue