车牌颜色 蓝色 等改为 蓝牌

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: '请选择',
show: false,
//
colorOptions: ['蓝色', '黄色', '黑色', '白色', '绿色', '渐变绿底黑字', '黄绿双拼底黑字'],
colorOptions: ['蓝牌', '黄牌', '黑牌', '白牌', '绿牌', '渐变绿底黑字', '黄绿双拼底黑字'],
//
selectedColorIndex: -1
};

View File

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

View File

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

View File

@ -158,7 +158,7 @@ export default {
color: '请选择',
show: false,
//
colorOptions: ['蓝色', '黄色', '黑色', '白色', '绿色', '渐变绿底黑字', '黄绿双拼底黑字'],
colorOptions: ['蓝牌', '黄牌', '黑牌', '白牌', '绿牌', '渐变绿底黑字', '黄绿双拼底黑字'],
//
selectedColorIndex: -1,