车牌颜色 蓝色 等改为 蓝牌

This commit is contained in:
赵毅 2025-09-05 15:56:46 +08:00
parent 03ef856fd3
commit 389951eeb6
4 changed files with 8 additions and 8 deletions

View File

@ -51,7 +51,7 @@ export default {
color: '请选择', color: '请选择',
show: false, show: false,
// 颜色选项列表 // 颜色选项列表
colorOptions: ['蓝色', '黄色', '黑色', '白色', '绿色', '渐变绿底黑字', '黄绿双拼底黑字'], colorOptions: ['蓝牌', '黄牌', '黑牌', '白牌', '绿牌', '渐变绿底黑字', '黄绿双拼底黑字'],
// 当前选中的颜色索引 // 当前选中的颜色索引
selectedColorIndex: -1 selectedColorIndex: -1
}; };

View File

@ -32,7 +32,7 @@ page {
/* 车牌类型标签样式 */ /* 车牌类型标签样式 */
.plate-type-box{ .plate-type-box{
padding: 11rpx 2rpx; padding: 11rpx 2rpx;
border: 1rpx solid #1890ff; /* border: 1rpx solid #1890ff; */
border-radius: 8rpx; border-radius: 8rpx;
} }

View File

@ -7,11 +7,11 @@
<view class="license-plate"> <view class="license-plate">
<view class="plate-type-box"> <view class="plate-type-box">
<text class="plate-type" :class="{ <text class="plate-type" :class="{
'plate-color-blue': item.car_number_color === '蓝色', 'plate-color-blue': item.car_number_color === '蓝牌',
'plate-color-yellow': item.car_number_color === '黄色', 'plate-color-yellow': item.car_number_color === '黄牌',
'plate-color-black': item.car_number_color === '黑色', 'plate-color-black': item.car_number_color === '黑牌',
'plate-color-white': item.car_number_color === '白色', 'plate-color-white': item.car_number_color === '白牌',
'plate-color-green': item.car_number_color === '绿色', 'plate-color-green': item.car_number_color === '绿牌',
'plate-color-gradient-green': item.car_number_color === '渐变绿底黑字', 'plate-color-gradient-green': item.car_number_color === '渐变绿底黑字',
'plate-color-yellow-green': item.car_number_color === '黄绿双拼底黑字' 'plate-color-yellow-green': item.car_number_color === '黄绿双拼底黑字'
}">{{ item.car_number_color }}</text> }">{{ item.car_number_color }}</text>

View File

@ -158,7 +158,7 @@ export default {
color: '请选择', color: '请选择',
show: false, show: false,
// 颜色选项列表 // 颜色选项列表
colorOptions: ['蓝色', '黄色', '黑色', '白色', '绿色', '渐变绿底黑字', '黄绿双拼底黑字'], colorOptions: ['蓝牌', '黄牌', '黑牌', '白牌', '绿牌', '渐变绿底黑字', '黄绿双拼底黑字'],
// 当前选中的颜色索引 // 当前选中的颜色索引
selectedColorIndex: -1, selectedColorIndex: -1,