From b0c3b655f2d40ba32050f685ba71c0f77db40707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Tue, 7 May 2024 14:13:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E9=97=A8=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 15 +++++++++++++++ pages/index/index.wxml | 8 ++++++++ pages/index/index.wxss | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/pages/index/index.js b/pages/index/index.js index 80b82dc..183f474 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -288,6 +288,21 @@ toDemandCheck(){ wx.navigateTo({ url: '../../subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck', }) +}, +recognitionCard(){ + wx.navigateTo({ + url: '../../subpages/OCRCard/pages/index/index', + }) +}, +door(){ + wx.scanCode({ + success: (res) => { + console.log(res); + }, + fail: (err) => { + console.error(err); + } + }) } }) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 9bfbf20..aea7d20 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -39,6 +39,14 @@ + + + 扫电子门牌 + + + 识别身份证 + + 人房信息采集 diff --git a/pages/index/index.wxss b/pages/index/index.wxss index d535010..d35ce6c 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -1117,3 +1117,41 @@ line-height: 40rpx; .bg_new_left{ margin-right: 20px; } +.electron{ + position:relative; + width: 100%; + height: 100rpx; + display: flex; + flex-direction:row; + justify-content: space-between; + align-items: center; + +} +.door{ + margin: 50rpx 0 0 30rpx; + display:flex; + width: 300rpx; + height: 90rpx; + background-color: #3da2ff; + border-radius: 20rpx; + justify-content: center; + align-items: center; +} +.door .door-text{ + color: white; + font-size: 32rpx; +} +.electron_card{ + margin: 50rpx 60rpx 0 30rpx; + display:flex; + width: 300rpx; + height: 90rpx; + background-color: #3da2ff; + border-radius: 20rpx; + justify-content: center; + align-items: center; +} +.card_text{ + color:white; + font-size: 32rpx; +} \ No newline at end of file