开门功能完善

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,17 +1,21 @@
<view>
<view>
<image src="/images/openDoorTop.png" class="heard-location-icon" />
</view>
<van-grid clickable column-num="2">
<van-grid-item
icon="like-o"
link-type="navigateTo"
url="/pages/applicationKey/applicationKey"
text="申请钥匙"
/>
<van-grid-item
icon="search"
link-type="reLaunch"
url="/pages/viewApplicationKeyUser/viewApplicationKeyUser"
text="我的钥匙"
/>
<van-grid-item
icon="like-o"
link-type="navigateTo"
url="/pages/applicationKey/applicationKey"
text="申请钥匙"
/>
<van-grid-item
icon="search"
link-type="navigateTo"
url="/pages/viewApplicationKeyUser/viewApplicationKeyUser"
text="我的钥匙"
/>
</van-grid>
<van-grid clickable column-num="2">
<van-grid-item
@ -22,9 +26,17 @@
/>
<van-grid-item
icon="search"
link-type="reLaunch"
link-type="navigateTo"
url="/pages/viewApplicationKeyUser/viewApplicationKeyUser"
text="上传人脸"
/>
</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 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) {
this.setData({
idCard: options.idCard
});
// this.setData({
// idCard: options.idCard
// });
},

View File

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