开门功能完善

This commit is contained in:
wuxw 2020-01-05 14:11:54 +08:00
parent 363feecd80
commit 66d24b879e
5 changed files with 34 additions and 19 deletions

BIN
images/openDoorTop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,4 +1,8 @@
<view> <view>
<view>
<image src="/images/openDoorTop.png" class="heard-location-icon" />
</view>
<van-grid clickable column-num="2"> <van-grid clickable column-num="2">
<van-grid-item <van-grid-item
icon="like-o" icon="like-o"
@ -8,7 +12,7 @@
/> />
<van-grid-item <van-grid-item
icon="search" icon="search"
link-type="reLaunch" link-type="navigateTo"
url="/pages/viewApplicationKeyUser/viewApplicationKeyUser" url="/pages/viewApplicationKeyUser/viewApplicationKeyUser"
text="我的钥匙" text="我的钥匙"
/> />
@ -22,9 +26,17 @@
/> />
<van-grid-item <van-grid-item
icon="search" icon="search"
link-type="reLaunch" link-type="navigateTo"
url="/pages/viewApplicationKeyUser/viewApplicationKeyUser" url="/pages/viewApplicationKeyUser/viewApplicationKeyUser"
text="上传人脸" text="上传人脸"
/> />
</van-grid> </van-grid>
<van-grid clickable column-num="2">
<van-grid-item
icon="home-o"
link-type="navigateTo"
url="/pages/applicationKey/applicationKey"
text="二维码开门"
/>
</van-grid>
</view> </view>

View File

@ -1 +1,4 @@
/* pages/openDoor/openDoor.wxss */ .heard-location-icon{
width: 100%;
height: 300rpx;
}

View File

@ -39,9 +39,9 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
this.setData({ // this.setData({
idCard: options.idCard // idCard: options.idCard
}); // });
}, },

View File

@ -1,4 +1,4 @@
<text> <view>
<van-steps <van-steps
steps="{{ steps }}" steps="{{ steps }}"
active="{{ active }}" active="{{ active }}"
@ -21,4 +21,4 @@
<van-cell title="手机号" value="{{tel}}" /> <van-cell title="手机号" value="{{tel}}" />
</van-cell-group> </van-cell-group>
</text> </view>