瀏覽代碼

车牌颜色

yxb
DESKTOP-2IO5MST\huting 2 年之前
父節點
當前提交
5589acf60d
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      subpackage/applyCard/components/layout-numberplate-color.vue

+ 3
- 2
subpackage/applyCard/components/layout-numberplate-color.vue 查看文件

{src:'bg-black',checkSrc:'icon-select-black',id:2,color:'#ffffff',title:'黑色'}, {src:'bg-black',checkSrc:'icon-select-black',id:2,color:'#ffffff',title:'黑色'},
{src:'bg-white',checkSrc:'icon-select-white',id:3,color:'#000000',title:'白色'}, {src:'bg-white',checkSrc:'icon-select-white',id:3,color:'#000000',title:'白色'},
{src:'bg-white_blue',checkSrc:'icon-select-blue',id:6,color:'#ffffff',title:'蓝白渐变'}, {src:'bg-white_blue',checkSrc:'icon-select-blue',id:6,color:'#ffffff',title:'蓝白渐变'},
{src:'bg-green',checkSrc:'icon-select-green',id:11,color:'#ffffff',title:'绿色'},
{src:'bg-green',checkSrc:'icon-select-green',id:12,color:'#ffffff',title:'红色'},
{src:'green',checkSrc:'icon-select-green',id:11,color:'#ffffff',title:'绿色'},
{src:'rad',checkSrc:'icon-select-red',id:12,color:'#ffffff',title:'红色'},
] ]
}) })
if(props.type==1){ if(props.type==1){
for(var i=0;i<data.carPlateColorType.length;i++){ for(var i=0;i<data.carPlateColorType.length;i++){
for(var j=0;j<state.allColorList.length;j++){ for(var j=0;j<state.allColorList.length;j++){
console.log("23",getCodeName('VEHICLE_COLOR_TYPE',data.trucksPlateColorType[i]))
if(state.allColorList[j].title==getCodeName('VEHICLE_COLOR_TYPE',data.carPlateColorType[i])){ if(state.allColorList[j].title==getCodeName('VEHICLE_COLOR_TYPE',data.carPlateColorType[i])){
state.numberplateColorList.push(state.allColorList[j]) state.numberplateColorList.push(state.allColorList[j])
} }

Loading…
取消
儲存