feat: nfc卡写入结果

This commit is contained in:
yangzhe 2025-04-15 11:50:28 +08:00
parent 82153c42ce
commit 698a8ed05b
2 changed files with 77 additions and 4 deletions

View File

@ -23,6 +23,13 @@
"navigationBarTitleText": "nfc卡写入"
}
},
{
"path": "pages/adminNfc/nfcResult",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "nfc卡写入"
}
},
{
"path": "pages/adminMy/index",
"style": {
@ -279,10 +286,8 @@
// pages/index/indexpages/subPack
"pages/index/index": {
"network": "all", //allwifiwifi
"packages": [
"pages/subPack"
] //
"packages": ["pages/subPack"] //
}
},
"uniIdRouter": {}
}
}

View File

@ -0,0 +1,68 @@
<template>
<view class="content">
<u-navbar
:is-back="false"
title="NFC卡写入"
title-color="black"
:background="{ backgroundColor: '#fff' }"
:border-bottom="false"
>
</u-navbar>
<view class="image-box">
<image src="/static/images/nfc-result.png" mode="widthFix" />
</view>
<view class="result-box">
<view class="result-title">NFC卡写入成功!</view>
<view class="result-content">NFC卡已成功绑定子区域</view>
</view>
<u-tabbar :list="vuex_tabbar"></u-tabbar>
</view>
</template>
<script>
import { loginApi } from "@/api/apiList";
export default {
data() {
return {
phone: "13800451500",
pwd: "123456",
};
},
mounted() {
uni.hideLoading(); // Loading
},
onLoad() {},
methods: {},
};
</script>
<style lang="scss" scoped>
.content {
height: calc(100vh - 100rpx); //
overflow: hidden;
padding-bottom: 100rpx;
.image-box {
width: 100%;
height: 500rpx;
image {
width: 100%;
}
}
.result-box {
.result-title {
font-size: 36rpx;
font-weight: bold;
text-align: center;
}
.result-content {
margin-top: 32rpx;
font-size: 28rpx;
color: #999;
text-align: center;
}
}
}
</style>