After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
@ -0,0 +1,71 @@ |
|||||
|
// pages/serve/serve.js
|
||||
|
const app = getApp() |
||||
|
|
||||
|
Page({ |
||||
|
|
||||
|
/** |
||||
|
* 页面的初始数据 |
||||
|
*/ |
||||
|
data: { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面加载 |
||||
|
*/ |
||||
|
onLoad(options) { |
||||
|
this.setData({ |
||||
|
statusHeight: app.globalData.deviceInfo.statusHeight, |
||||
|
navigationHeight: app.globalData.deviceInfo.navigationHeight, |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面初次渲染完成 |
||||
|
*/ |
||||
|
onReady() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面显示 |
||||
|
*/ |
||||
|
onShow() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面隐藏 |
||||
|
*/ |
||||
|
onHide() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 生命周期函数--监听页面卸载 |
||||
|
*/ |
||||
|
onUnload() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 页面相关事件处理函数--监听用户下拉动作 |
||||
|
*/ |
||||
|
onPullDownRefresh() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 页面上拉触底事件的处理函数 |
||||
|
*/ |
||||
|
onReachBottom() { |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* 用户点击右上角分享 |
||||
|
*/ |
||||
|
onShareAppMessage() { |
||||
|
|
||||
|
} |
||||
|
}) |
@ -0,0 +1,6 @@ |
|||||
|
{ |
||||
|
"usingComponents": { |
||||
|
"van-button": "@vant/weapp/button/index" |
||||
|
}, |
||||
|
"navigationStyle": "custom" |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
<!--pages/serve/serve.wxml--> |
||||
|
<view class="header"> |
||||
|
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;line-height:{{navigationHeight}}px;text-align: center;"> |
||||
|
服务 |
||||
|
</view> |
||||
|
|
||||
|
</view> |
||||
|
<view class="body"> |
||||
|
<view class="card header-card"> |
||||
|
<view style="font-size: 40rpx;">您还未办理入住</view> |
||||
|
<view style="margin:12rpx 0 30rpx 0">在线合同签订、履约保证金等</view> |
||||
|
<view class="flex flex-sa" style="gap: 30rpx;"> |
||||
|
<view class="card flex flex-flex-center-i" style="width: 50%;"> |
||||
|
<image src="../../images/icon/000.png" class="icon-68" mode="" /> |
||||
|
<view style="font-size:32rpx;color:#000000;font-weight: 600;" class="flex items-center flex-1">入住办理</view> |
||||
|
</view> |
||||
|
<view class="card flex flex-flex-center-i" style="width: 50%;"> |
||||
|
<image src="../../images/icon/111.png" class="icon-68" mode="" /> |
||||
|
<text style="font-size:32rpx;color:#000000;font-weight: 600;" class="flex items-center flex-1">入住评价</text> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
<view class="card flex flex-col list"> |
||||
|
<view class="title">其他服务</view> |
||||
|
<view class="card flex items-center"> |
||||
|
<image src="../../images/icon/333.png" class="icon-80 mr-30" mode=""/> |
||||
|
<view class="flex-1 text-30">故障报修</view> |
||||
|
<van-button color="#ecf6ff" round custom-style="color:#999999" size="small ">去处理</van-button> |
||||
|
</view> |
||||
|
<view class="card flex items-center"> |
||||
|
<image src="../../images/icon/444.png" class="icon-80 mr-30" mode=""/> |
||||
|
<view class="flex-1 text-30">报事儿</view> |
||||
|
<van-button color="#ecf6ff" round custom-style="color:#999999" size="small ">去处理</van-button> |
||||
|
</view> |
||||
|
<view class="card flex items-center"> |
||||
|
<image src="../../images/icon/555.png" class="icon-80 mr-30" mode=""/> |
||||
|
<view class="flex-1 text-30">共享空间</view> |
||||
|
<van-button color="#ecf6ff" round custom-style="color:#999999" size="small ">去处理</van-button> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
@ -0,0 +1,32 @@ |
|||||
|
/* pages/serve/serve.wxss */ |
||||
|
.navigation { |
||||
|
width: 100%; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
color: #333333; |
||||
|
font-size: 30rpx; |
||||
|
position: relative; |
||||
|
z-index: 100; |
||||
|
} |
||||
|
.header { |
||||
|
width: 100%; |
||||
|
background: linear-gradient(to right, #befeed 0%, #d5eefe 50%, #ebe9fb 100%); |
||||
|
height: 428rpx; |
||||
|
} |
||||
|
.body{ |
||||
|
position: relative; |
||||
|
top: -245rpx; |
||||
|
} |
||||
|
.header-card{ |
||||
|
background: linear-gradient(180deg, rgba(83,185,232,1) 0%,rgba(85,213,220,1) 56%,rgba(99,222,214,1) 100%); |
||||
|
width: calc(100vw - 40rpx); |
||||
|
margin: 0 auto; |
||||
|
top: 25px; |
||||
|
color: #ffffff; |
||||
|
} |
||||
|
.list{ |
||||
|
width: calc(100vw - 40rpx); |
||||
|
margin: 80rpx auto 0; |
||||
|
background: linear-gradient(180deg, rgba(227,244,255,1) 0%,rgba(245,249,252,1) 100%); |
||||
|
} |
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 346 KiB After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 2.8 KiB |
@ -1,17 +1,24 @@ |
|||||
<!--subpages/OCRCard/pages/index/index.wxml--> |
<!--subpages/OCRCard/pages/index/index.wxml--> |
||||
<view class="header"> |
<view class="header"> |
||||
<image class="header-bg" src="../../image/headerBg.png" mode="widthFix" /> |
<image class="header-bg" src="../../image/headerBg.png" mode="widthFix" /> |
||||
<image src="../../../../images/back.png" class="back" bind:tap="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode=""/> |
<image src="../../../../images/back.png" class="back" bind:tap="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode="" /> |
||||
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;"> |
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;"> |
||||
身份证识别 |
身份证识别 |
||||
</view> |
</view> |
||||
</view> |
</view> |
||||
<view class="body"> |
<view class="body"> |
||||
<image src="../../../../images/card.png" mode=""/> |
<h1 style="font-size: 68rpx;font-weight: 600;text-align: left;" class="w-full"> |
||||
<view> |
Hi |
||||
<b>身份识别:</b>是在居民出示身份证原件或图片的场合下,通过OCR技术拍摄识别身份证信息。 |
</h1> |
||||
|
<view style="text-align: left;" class="w-full ">您需要先进行身份核验。</view> |
||||
|
<view class="card flex flex-center-i flex-col items-center mt-16" style="width: calc(100vw - 60px);"> |
||||
|
<view class="card-container"> |
||||
|
<image src="../../image/card.png" class="card-image" mode="aspectFit" /> |
||||
|
<view class="scan-line" animation="{{scanAnimation}}"></view> |
||||
|
</view> |
||||
|
<view style="font-size: 28rpx;color: #666666;" class="mt-16">温馨提示:请先拍照或上传身份证照片进行身份识别。</view> |
||||
</view> |
</view> |
||||
<ocr-navigator bind:onSuccess="cardSuccess" certificateType="idCard" opposite="{{false}}" class="ocr"> |
<ocr-navigator bind:onSuccess="cardSuccess" certificateType="idCard" opposite="{{false}}" class="ocr"> |
||||
<button hover-class="color">开始识别</button> |
<button hover-class="color" style="background-color:#0bb4b4">开始识别</button> |
||||
</ocr-navigator> |
</ocr-navigator> |
||||
</view> |
</view> |