InspectionCleaning/pages/adminNfc/nfcResult.vue

69 lines
1.3 KiB
Vue
Raw Normal View History

2025-04-15 11:50:28 +08:00
<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>