|
|
@@ -1,6 +1,9 @@ |
|
|
|
<template> |
|
|
|
<view class="content"> |
|
|
|
<view><text>车牌号:</text><input placeholder="请输入车牌号" v-model="state.vehiclePlate"/></view> |
|
|
|
<view style="display: block;height: auto;margin-bottom: 20rpx;"> |
|
|
|
<view class="title">车牌号:</view> |
|
|
|
<car-number-input @numberInputResult="carNumber" inputColor='#ECF1F4'></car-number-input> |
|
|
|
</view> |
|
|
|
<view><text>车牌颜色:</text> |
|
|
|
<view style="width: 60%;"> |
|
|
|
<uni-data-select style="width: 100%;" v-model="state.vehiclePlateColor" :localdata="state.colorRange" @change="changeColor" |
|
|
@@ -45,6 +48,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import carNumberInput from "./components/car-number-input.vue"; |
|
|
|
import { reactive } from "vue"; |
|
|
|
import { onLoad,onShow } from "@dcloudio/uni-app"; |
|
|
|
import { |
|
|
@@ -101,6 +105,9 @@ onShow(()=>{ |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
const carNumber = (val : any) => { |
|
|
|
state.vehiclePlate = val; |
|
|
|
}; |
|
|
|
const quanKeyAction = () => { |
|
|
|
var data = {}; |
|
|
|
const options = { |
|
|
@@ -138,7 +145,7 @@ const quanKeyAction = () => { |
|
|
|
const options = { |
|
|
|
type: 2, |
|
|
|
data: { |
|
|
|
vehiclePlate: state.vehiclePlate, |
|
|
|
vehiclePlate: state.vehiclePlate.trim(), |
|
|
|
vehiclePlateColor: state.vehiclePlateColor, |
|
|
|
idCard: state.idCard, |
|
|
|
mobile: state.mobile, |