牌位管理色系修改0.2

This commit is contained in:
WindowBird 2025-11-25 10:48:20 +08:00
parent d5c9e0ffd9
commit ff88e6d96d

View File

@ -21,12 +21,13 @@
<view class="nfc-status-header"> <view class="nfc-status-header">
<view :class="['status-dot', nfcEnabled ? 'online' : 'offline']" /> <view :class="['status-dot', nfcEnabled ? 'online' : 'offline']" />
<text class="nfc-status-title">{{ nfcStatusText }}</text> <text class="nfc-status-title">{{ nfcStatusText }}</text>
</view>
<view v-if="nfcError" class="nfc-error-text"> <view v-if="nfcError" class="nfc-error-text">
<!-- <text class="error-content">{{ nfcError }}</text>--> <!-- <text class="error-content">{{ nfcError }}</text>-->
<text class="error-content">请打开NFC</text> <text class="error-content">请打开NFC</text>
</view> </view>
</view> </view>
</view>
<view :class="{ ready: !!cardNo }" class="card-box"> <view :class="{ ready: !!cardNo }" class="card-box">
<text class="card-label">NFC卡号</text> <text class="card-label">NFC卡号</text>
<text class="card-value">{{ cardNo || "等待刷卡..." }}</text> <text class="card-value">{{ cardNo || "等待刷卡..." }}</text>
@ -79,13 +80,14 @@
class="memorial-info-section" class="memorial-info-section"
> >
<view class="field readonly"> <view class="field readonly">
<text class="label">区域名称</text> <text class="label">区域编码</text>
<text class="unit-value">{{ memorialInfo.regionName || "-" }}</text>
</view> <text class="unit-value"
<view class="field readonly"> >{{ memorialInfo.regionName || "-"
<text class="label">编码</text> }}{{ memorialInfo.code || "-" }}
<text class="unit-value">{{ memorialInfo.code || "-" }}</text> </text>
</view> </view>
<view class="field readonly"> <view class="field readonly">
<text class="label">MAC 地址</text> <text class="label">MAC 地址</text>
<text class="unit-value">{{ memorialInfo.mac || "-" }}</text> <text class="unit-value">{{ memorialInfo.mac || "-" }}</text>
@ -938,7 +940,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.page { .page {
min-height: 100vh; //min-height: 100vh;
width: 100%; width: 100%;
padding-bottom: 40rpx; padding-bottom: 40rpx;
box-sizing: border-box; box-sizing: border-box;
@ -1023,7 +1025,6 @@ export default {
} }
.nfc-error-text { .nfc-error-text {
margin-top: 12rpx;
padding: 12rpx; padding: 12rpx;
background: #fef0f0; background: #fef0f0;
border-radius: 8rpx; border-radius: 8rpx;
@ -1086,7 +1087,7 @@ export default {
.text-btn { .text-btn {
font-size: 26rpx; font-size: 26rpx;
color: #4a90e2; color: #c7a26d;
} }
.field { .field {
@ -1102,9 +1103,9 @@ export default {
.memorial-info-section { .memorial-info-section {
margin-bottom: 24rpx; margin-bottom: 24rpx;
padding: 24rpx; padding: 24rpx;
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); background: linear-gradient(135deg, #f0f9ff 0%, #c7a26d 100%);
border-radius: 16rpx; border-radius: 16rpx;
border-left: 4rpx solid #4a90e2; border-left: 4rpx solid #c7a26d;
} }
.memorial-info-section .field.readonly { .memorial-info-section .field.readonly {
@ -1147,7 +1148,7 @@ export default {
.primary-btn { .primary-btn {
height: 96rpx; height: 96rpx;
border-radius: 16rpx; border-radius: 16rpx;
background: linear-gradient(135deg, #f0b400, #f08400); background: linear-gradient(135deg, #c7a26d, #c7a26d);
color: #fff; color: #fff;
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;