修复密码与电子钥匙显示bug
This commit is contained in:
parent
a0757c7c52
commit
3ba74c1c21
@ -18,7 +18,8 @@
|
||||
<up-swipe-action-item ref="swipeItem" :options="options" v-for="(key, index) in keyList"
|
||||
:key="key.keyboardPwdId" :threshold="50" @click="deleteKey(key)">
|
||||
<view class="key" @click="toKeyDetail(key)">
|
||||
<image class="key-left" :src="key.headUrl" mode="aspectFill"></image>
|
||||
<image class="key-left" :src="key.headUrl === '' ? '/static/images/icon_user.png' : key.headUrl"
|
||||
mode="aspectFill"></image>
|
||||
<view class="key-right">
|
||||
<view style="display: flex;">
|
||||
<view class="key-right-top">{{ key.keyName }}</view>
|
||||
@ -338,7 +339,7 @@ page {
|
||||
width: 574rpx;
|
||||
|
||||
.key-right-top {
|
||||
max-width: 450rpx;
|
||||
max-width: 400rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
padding-bottom: 6rpx;
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
<up-swipe-action-item ref="swipeItem" :options="options" v-for="(password, index) in passwordList"
|
||||
:key="password.keyboardPwdId" :threshold="50" @click="deletePassword(password)">
|
||||
<view class="password" @click="toPasswordDetail(password)">
|
||||
<image class="password-left" src="/static/images/icon_lock_transparent.png" mode="aspectFill"></image>
|
||||
<image class="password-left" src="/static/images/icon_password.png" mode="aspectFill"></image>
|
||||
<view class="password-right">
|
||||
<view style="display: flex; align-items: center">
|
||||
<view class="password-right-top">{{ password.keyboardPwdName }}</view>
|
||||
|
||||
BIN
static/images/icon_password.png
Executable file
BIN
static/images/icon_password.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
static/images/icon_user.png
Executable file
BIN
static/images/icon_user.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
BIN
static/images/img.png
Normal file
BIN
static/images/img.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@ -107,7 +107,7 @@ export const useLockStore = defineStore('lock', {
|
||||
},
|
||||
getKeyStatus(keyStatus) {
|
||||
if(keyStatus === 110401) {
|
||||
return '正常'
|
||||
return ''
|
||||
} else if(keyStatus === 110403) {
|
||||
return '未生效'
|
||||
} else if(keyStatus === 110402) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user