123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929 |
- <template>
- <navBar title="行驶证信息上传" :scrollTop="scrollTop"></navBar>
- <navBgCar></navBgCar>
- <view class="content">
- <view class="item-tips">
- <view class="title"> 上传后请核对识别信息 </view>
- <view class="tip"> 如有错误请及时手动修改 </view>
- </view>
- <view class="picture-wrapper" @click="cardImageOcr('1')">
- <view class="bg">
- <view class="">
- <view class="name"> 行驶证主页 </view>
- <view class="value"> 上传行驶证的主页 </view>
- <view class="tip">
- <view class="tip-value"> 拍摄规范 </view>
- </view>
- </view>
-
- <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
- </image>
- <image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
- </view>
- </view>
- <view class="picture-wrapper" @click="cardImageOcr('2')">
- <view class="bg">
- <view class="">
- <view class="name"> 行驶证副页 </view>
- <view class="value"> 上传行驶证的副页 </view>
- <view class="tip">
- <view class="tip-value"> 拍摄规范 </view>
- </view>
- </view>
- <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
- </image>
- <image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
- </view>
- </view>
- <view class="picture-wrapper" @click="cardFileImageUpdate()">
- <view class="bg">
- <view class="">
- <view class="name"> 车头照 </view>
- <view class="value"> 上传汽车的车头照片 </view>
- <view class="tip">
- <view class="tip-value"> 拍摄规范 </view>
- </view>
- </view>
- <image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
- </image>
- <image v-else class="icon" :src="strReplace(state.form.vehBodyUrl)"></image>
- </view>
- </view>
- <view class="shibie-wrapper">
- <view class="title"> 识别内容如下 </view>
- <view class="">
- <u-form label-width="200" :model="state.form" ref="uForm">
- <u-form-item label="车牌号">
- <!-- <u-input inputAlign="right" placeholder='请输入车牌号' v-model="state.form.vehicleIdNum" /> -->
- <car-number-input @numberInputResult="carNumber"
- :defaultStr="state.form.vehicleIdNum"></car-number-input>
- </u-form-item>
-
- <u-form-item label="所有人">
- <u-input inputAlign="right" placeholder="请输入所有人" v-model="state.form.man"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
- <u-form-item label="车辆类型">
- <u-input inputAlign="right" placeholder="请输入车辆类型" v-model="state.form.vehicleType"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
- <u-form-item label="使用性质">
- <u-input inputAlign="right" placeholder="请输入使用性质" v-model="state.form.character"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
- <u-form-item label="车辆识别代号">
- <u-input inputAlign="right" placeholder="请输入车辆识别代号" v-model="state.form.vin"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
- <u-form-item label="发动机号码">
- <u-input inputAlign="right" placeholder="请输入发动机号码" v-model="state.form.engineNum"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
-
- <u-form-item label="注册日期">
- <picker mode="date" :value="state.form.register" @change="bindDateChange1"
- :disabled="state.isEnableChangeOCRCarInfo">
- <view class="uni-input" style="text-align: right;" :class="state.changeColor?'hei':'hui'">
- {{state.form.register}}
- </view>
- </picker>
- <!-- <u-input inputAlign="right" placeholder="请输入注册日期" v-model="state.form.register" :disabled="state.isEnableChangeOCRCarInfo" /> -->
- </u-form-item>
- <u-form-item label="发证日期">
- <picker mode="date" :value="state.form.issueDate" @change="bindDateChange2"
- :disabled="state.isEnableChangeOCRCarInfo">
- <view class="uni-input" style="text-align: right;" :class="state.changeColor?'hei':'hui'">
- {{state.form.issueDate}}
- </view>
- </picker>
- <!-- <u-input inputAlign="right" placeholder="请输入发证日期" v-model="state.form.issueDate" :disabled="state.isEnableChangeOCRCarInfo"/> -->
- </u-form-item>
- <u-form-item label="核定载人数">
- <u-input inputAlign="right" placeholder="请输入核定载人数" v-model="state.form.approvedCountShow"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
- <u-form-item label="整备质量">
- <u-input inputAlign="right" placeholder="请输入整备质量" v-model="state.form.maintenaceMassShow"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
- <!-- <u-form-item label="外廊尺寸">
- <u-input inputAlign="right" placeholder='请输入外廊尺寸' v-model="state.form.vehicleDimensions" />
- </u-form-item> -->
- <view class="form-item">
- <label>外廊尺寸</label>
- <view class="input-box">
- <text class="sub-label">长</text>
- <input v-model="state.outlineL" @input="outlineInput"
- :disabled="state.isEnableChangeOCRCarInfo" />
- <text class="sub-text">X</text>
- <text class="sub-label">宽</text>
- <input v-model="state.outlineW" @input="outlineInput"
- :disabled="state.isEnableChangeOCRCarInfo" />
- <text class="sub-text">X</text>
- <text class="sub-label">高</text>
- <input v-model="state.outlineH" @input="outlineInput"
- :disabled="state.isEnableChangeOCRCarInfo" />
- <text class="sub-text">mm</text>
- </view>
- </view>
- <u-form-item label="总质量">
- <u-input inputAlign="right" placeholder="请输入总质量" v-model="state.form.totalMassShow"
- :disabled="state.isEnableChangeOCRCarInfo" />
- </u-form-item>
- <u-form-item label="车轴数">
- <u-input inputAlign="right" placeholder="请输入车轴数" v-model="state.form.axleCount" type="number"
- maxlength="2" />
- </u-form-item>
- <view class="form-item">
- <label>车辆用户类型</label>
- <view class="select" @click="state.actionSheetShow = true">{{state.form.useUserTypeName}}</view>
- <image :src="`${$imgUrl}common/arror-down.png`" class="icon"
- @click="state.actionSheetShow = true"></image>
- </view>
- <!-- <u-form-item label="车辆用户类型">
- <u-input @click="state.actionSheetShow = true" placeholder="请输入车辆用户类型" inputAlign="right"
- v-model="state.form.useUserTypeName" height="38" type="textarea" :autoHeight="true" />
- </u-form-item> -->
- </u-form>
- </view>
- </view>
- <view class="green-tip">
- 如识别信息有误,请手动修改,确认无误后,点击下一步!
- </view>
-
- <view class="action">
- <button type="default" class="button" @click="savaHandle()">
- 下一步
- </button>
- </view>
- <!-- <u-select v-model="state.actionSheetShow" :list="state.actionSheetList" @confirm="selectConfirm"></u-select>
- <u-action-sheet @click="selectConfirm" :list="state.actionSheetList" v-model="state.actionSheetShow">
- </u-action-sheet> -->
-
- <!-- 车辆类型弹窗 -->
- <u-popup mode="bottom" v-model="state.actionSheetShow">
- <view class="window">
- <view class="window-item" v-for="item in state.actionSheetList" :key="item.value"
- @click="userType(item)">{{item.text}}</view>
- </view>
- </u-popup>
-
- <u-popup mode="bottom" v-model="state.show">
- <view v-if="state.data.transferLogs && state.data.transferLogs.length" class="">
- <view class="bettwen-center">
- <view style="padding: 20rpx" class="title"> 选择卡签 </view>
- <view class="goto"> 直接跳过,不使用此套卡签 </view>
- </view>
- <view @click="guohuAction(item)" class="card" v-for="(item, index) in state.data.transferLogs"
- :key="index" style="margin-top: 30rpx; margin-bottom: 30rpx">
- <view v-if="item.status === 'WAITING'" class="card-left">
- <image :src="`${$imgUrl}card2.png`" mode=""></image>
- <view class="card-center">
- <view class="flex">
- <view class=""> 卡号: </view>
- <view class="card-center-head">
- {{ item.cardId }}
- </view>
- </view>
- <view style="margin-top: 10rpx" class="flex">
- <view class=""> OBU编号: </view>
- <view class="card-center-head">
- {{ item.obuId }}
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </u-popup>
- </view>
- </template>
-
- <script setup lang="ts">
- import { reactive, ref } from "vue";
- import navBgCar from "./components/nav-bg-car4";
- import navBar from "@/components/nav-bar/nav-bar2.vue";
- import carNumberInput from "@/components/car-number-input/car-number-input.vue";
- import { pathToBase64 } from "@/utils/util/imageTool.js";
- import {
- etcCarCardInfoSubmit,
- etcCarOcrCard,
- fileUpload,
- envs,
- queryGuoHuJianCe,
- queryGuoHuCaoZuo,
- } from "@/utils/network/api.js";
- import { request } from "@/utils/network/request.js";
-
- import { stringToJson } from "@/utils/network/encryption";
- import { onLoad, onPageScroll } from "@dcloudio/uni-app";
- import { getObuStatus } from "@/datas/obuStatus.js";
-
- import { getEtcCardStatus } from "@/datas/etcCardStatus.js";
- import { getItem, StorageKeys } from "@/utils/storage";
- import { hasLogin } from "@/utils/utils.ts";
- import { msg } from "@/utils/utils";
- import {
- getCodeName
- } from "@/datas/queryKey.js";
- const scrollTop = ref(0);
-
- //监听页面滚动
- onPageScroll((e) => {
- scrollTop.value = e.scrollTop;
- });
-
- //车牌号输入
- const carNumber = (val : any) => {
- state.form.vehicleIdNum = val.trim();
- };
-
- //提交车辆信息
- const savaHandle = () => {
- if (!state.form.vehBodyUrl) {
- msg("请上次车头照");
- return;
- }
- if (state.form.type == 1) {
- state.form.axleCount = 2;
- } else {
- if (!state.form.axleCount) {
- msg("请输入车轴数");
- return;
- }
- }
- state.form.vehicleId =
- state.form.vehicleIdNum + "_" + state.vehiclePlateColor;
- state.form.opId = getItem(StorageKeys.OpenId);
- state.form.approvedCount = parseFloat(state.form.approvedCount);
- state.form.maintenaceMass = parseFloat(state.form.maintenaceMass);
- state.form.totalMass = parseFloat(state.form.totalMass);
- state.form.permittedWeight = parseFloat(state.form.permittedWeight);
- state.form.permittedTowWeight = parseFloat(state.form.permittedTowWeight);
-
- const options = {
- type: 2,
- data: state.form,
- method: "POST",
- showLoading: true,
- };
- request(etcCarCardInfoSubmit, options)
- .then((res) => {
- const data = stringToJson(res.bizContent);
- queryGuoHuJianCeAction().then((value) => {
- console.log("过户检测", value)
- if (value.transferLogs && value.transferLogs.length > 0) {
- state.data.transferLogs = value.transferLogs;
- state.show = true;
- } else {
- // 签约
- if (state.isSign == 2 || state.isSign == 3) {
- if (!hasLogin()) {
- uni.redirectTo({
- url: `/subpackage/orders/addAddress?orderId=${state.form.orderId
- }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
- });
- } else {
- // uni.redirectTo({
- // url: `/subpackage/orders/release-products?orderId=${state.form.orderId
- // }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
- // });
- // #ifdef MP-ALIPAY
- uni.redirectTo({
- url: `/subpackage/orders/order_payment?orderId=${state.form.orderId}`,
- });
- // #endif
- // #ifdef MP-WEIXIN
- // uni.redirectTo({
- // url: `/subpackage/orders/interestsList?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`// url: `/subpackage/orders/sign-up?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
- // });
- uni.redirectTo({
- url: `/subpackage/orders/product-detail?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}&&isValueCard=${getItem("isValueCard")}`,
- });
- // #endif
-
- }
- } else {
- // 不签约
- // uni.redirectTo({
- // url: `/subpackage/orders/sign-up?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
- // });
- // uni.redirectTo({
- // url: `/subpackage/orders/interestsList?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`
- // });
- uni.redirectTo({
- url: `/subpackage/orders/product-detail?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}&&isValueCard=${getItem("isValueCard")}`,
- });
- // uni.redirectTo({
- // url: `/subpackage/orders/release-products?orderId=${state.form.orderId}&clientFee=${getItem('clientFee')}&&id=${getItem('productId')}`,
- // });
- }
- }
- });
- })
- .catch((res) => {
- console.log(res);
- });
- };
-
- const selectConfirm = (index : any) => {
- console.log(index);
- state.form.useUserType = state.actionSheetList[index].value;
- state.form.useUserTypeName = state.actionSheetList[index].text;
- };
-
- //选择车辆用户类型
- const userType = (item : any) => {
- state.form.useUserType = item.value;
- state.form.useUserTypeName = item.text;
- state.actionSheetShow = false;
- }
- //车头照图片上传
- const cardFileImageUpdate = () => {
- uni.chooseImage({
- count: 1, //只能选取一张照片
- sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ["camera", "album"], //从相册选择
- success: function (res) {
- pathToBase64(res.tempFilePaths[0])
- .then((path) => {
- var data = {
- fileBase64: path,
- };
-
- const options = {
- type: 2,
- data: data,
- method: "POST",
- showLoading: true,
- };
- request(fileUpload, options).then((res) => {
- const data = stringToJson(res.bizContent);
- console.log(data);
- state.form.vehBodyUrl = data.data.url;
- });
- })
- .catch((error) => { });
- },
- });
- };
-
- const state = reactive({
- changeColor: false,
- data: {
- transferLogs: [],
- },
- actionSheetShow: false,
- actionSheetList: [],
- form: {
- orderId: "", //订单ID
- man: "", //所有人
- character: "", //使用性质
- register: "请输入注册日期", //注册日期
-
- customerId: "", //用户编号
- vehicleId: "",
- vehicleIdNum: "", //车牌编号
- issueDate: "请输入发证日期", //发证日期
- vehPosImgUrl: "", //行驶证正面
- vehNegImgUrl: "", //行驶证证反面
- type: "0", //0,客车 1.货车
- useUserType: 0, //车辆用户类型
- useUserTypeName: "普通车",
- vehicleSign: 2, //前/后装标识
- vin: "", //车辆识别代号
- engineNum: "", //发动机号码
- vehicleType: "", //车辆类型
- vehicleModel: "", //行驶证品牌型号
- approvedCount: undefined, //核定人数
- approvedCountShow: undefined,//展示的
- totalMass: undefined, //总质量
- totalMassShow: undefined, //总质量
- maintenaceMass: undefined, //整备质量
- maintenaceMassShow: undefined, //整备质量展示的
- permittedWeight: "", //核定载质量
- vehicleDimensions: "", //车辆尺寸
- permittedTowWeight: "", //准牵引总质量
- axleCount: "", //车轴数
- ownerName: "", //车主姓名
- ownerIdType: "", //车主证件类型
- ownerIdNum: "", //车主证件号码
- ownPosImgUrl: "", //车主证件正面图片
- ownNegImgUrl: "", //车主证件反面图片
- agreementId: "", //签约编号
- channelId: "5201018892300000001", //编号渠道
- scenePayType: "", //
- transportIdNum: "", //道路运输证编号
- licenseIdNum: "", //经营许可证编号
- vehBodyUrl: "", //车身照片
- proxyUrl: "", //委托书地址
- opId: "",
- },
- vehiclePlateColor: undefined,
- orderId: "",
- // type: undefined, //标记来源是否登录 1为未登录数据 - 需要新增地址
- show: false,
- isMyPeopple: true,
- outlineL: "",
- outlineW: "",
- outlineH: "",
- isSign: '',
- isEnableChangeOCRCarInfo: true, //申办时是否允许修改OCR识别出来的车辆信息数据
- });
- onLoad((option : any) => {
- state.form.orderId = option.orderId;
- // state.type = option.type;
- state.form.type = option.type;
- state.vehiclePlateColor = option.vehiclePlateColor;
- state.isSign = option.isSign
- console.log("option", option)
- getGlobalParam();
- if (option.type == 1) {
- state.actionSheetList = [{
- text: "普通车",
- value: 0,
- }]
- } else {
- state.actionSheetList = [{
- text: "普通车",
- value: 0,
- },
- {
- text: "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱",
- value: 24,
- },
- {
- text: "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车",
- value: 27,
- },
- {
- text: '道路运输证经营范围除“货物专用运输 (集装 箱)"外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱',
- value: 28,
- }]
- }
- });
-
- //外廓尺寸输入框
- const outlineInput = (e) => {
- state.form.vehicleDimensions =
- state.outlineL + "X" + state.outlineW + "X" + state.outlineH + "mm";
- };
-
- //orc接口调用
- const cardImageOcr = (val : any) => {
- state.changeColor = true;
- var imageType = val;
- uni.chooseImage({
- count: 1, //只能选取一张照片
- sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ["camera", "album"], //从相册选择
- success: function (res) {
-
- pathToBase64(res.tempFilePaths[0])
- .then((path) => {
- console.log("Base64返回", path)
- var data = {
- source: "1",
- agencyId: "52010106004",
- imageType: imageType,
- fileName: res.tempFilePaths[0],
- imageBase64: path,
- };
-
- const options = {
- type: 2,
- data: data,
- method: "POST",
- showLoading: true,
- };
- request(etcCarOcrCard, options).then((res) => {
- const data = stringToJson(res.bizContent);
- console.log(data);
- if (val === "1") {
- if (data.plate_a.length > 8) {
- state.form.vehicleIdNum = data.plate_a.substring(0, 8);
- } else {
- state.form.vehicleIdNum = data.plate_a;
- }
- state.form.man = data.man;
- state.form.vehicleType = data.vehicle;
- state.form.character = data.character;
- state.form.vin = data.vin;
- state.form.engineNum = data.engine;
- state.form.register = data.register;
- state.form.issueDate = data.issue;
- state.form.vehPosImgUrl = data.imageUrl;
- state.form.vehicleModel = data.model;
- state.form.permittedWeight = data.alc ? data.alc : 0;
- state.form.permittedTowWeight = data.towing ? data.towing : 0;
- } else {
- state.form.approvedCount = data.apc;
- state.form.approvedCountShow = data.apc;
- state.form.maintenaceMass = data.unladen;
- state.form.maintenaceMassShow = data.unladen;
- state.form.vehicleDimensions = data.overall.replaceAll("x", "X");
- let arr = data.overall.split("x");
- state.outlineL = arr[0]; //外廓 长
- state.outlineW = arr[1]; //外廓 宽
- state.outlineH = arr[2].substring(0, arr[2].length - 2); //外廓 高
- state.form.totalMass = data.gross;
- state.form.totalMassShow = data.gross;
- state.form.vehNegImgUrl = data.imageUrl;
- }
- });
- })
- .catch((error) => { console.log("Base64异常", error) });
- },
- });
- };
-
- //过户检测
- const queryGuoHuJianCeAction = () => {
- var data = {
- orderId: state.form.orderId,
- };
- const options = {
- type: 2,
- data: data,
- method: "POST",
- showLoading: true,
- };
-
- return new Promise(async (resolve, reject) => {
- const res = await request(queryGuoHuJianCe, options);
- const data = stringToJson(res.bizContent);
- console.log("过户检测111", data)
- resolve(data);
- }).catch((error) => {
- reject(error);
- });
- };
-
- //过户操作
- const guohuAction = (val) => {
- var data = {
- orderId: state.form.orderId,
- serviceType: "USE",
- obuId: val.obuId,
- cardId: val.cardId,
- };
- const options = {
- type: 2,
- data: data,
- method: "POST",
- showLoading: true,
- };
-
- return new Promise(async (resolve, reject) => {
- const res = await request(queryGuoHuCaoZuo, options);
- const data = stringToJson(res.bizContent);
- state.show = false;
- uni.navigateTo({
- url: `/subpackage/orders/choice-product?orderId=${state.form.orderId}`,
- });
- }).catch((error) => {
- reject(error);
- });
- };
-
- //替换图片地址
- const strReplace = (str : string) => {
- let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
- imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
- return imgUrl;
- };
- const getGlobalParam = () => {
- const data = getItem('globalParam')
- console.log("全局配置数据", getCodeName('IS_ENABLE', data.applyChangeOCRCarInfo))
- // 申办时是否允许修改OCR识别出来的车辆信息数据
- if (getCodeName('IS_ENABLE', data.applyChangeOCRCarInfo) == '启用') {
- state.isEnableChangeOCRCarInfo = true;
- } else {
- state.isEnableChangeOCRCarInfo = false;
- }
- }
- const bindDateChange1 = (e) => {
- state.form.register = e.detail.value
- state.changeColor = true;
- }
- const bindDateChange2 = (e) => {
- state.form.issueDate = e.detail.value
- state.changeColor = true;
- }
- </script>
-
- <style lang="scss" scoped>
- .hui {
- color: #ccc;
- }
-
- .hei {
- color: black;
- }
-
- .goto {
- margin-right: 20rpx;
- padding: 10rpx;
- color: #00b38b;
- border: 1rpx solid #00b38b;
- border-radius: 20rpx;
- }
-
- .flex {
- display: flex;
- align-items: center;
- }
-
- .bettwen-center {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
-
- .card {
- margin: 20rpx;
- height: 150rpx;
- background: #ffffff;
- box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
- border-radius: 20rpx;
- padding: 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 30rpx;
-
- .card-left {
- display: flex;
- align-items: center;
-
- image {
- width: 100rpx;
- height: 90rpx;
- }
-
- .card-center {
- margin-left: 30rpx;
-
- .card-center-head {
- font-size: 32rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #333333;
- }
-
- .tips {
- font-size: 26rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #666666;
-
- .tips-card {
- width: 70rpx;
- height: 40rpx;
- background: #d3f2ef;
- border-radius: 6rpx;
- font-size: 20rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #0a8f8a;
- padding: 5rpx 10rpx;
- margin-left: 20rpx;
- }
- }
- }
- }
-
- .choose-item {
- margin-right: 20rpx;
- width: 50rpx;
- height: 50rpx;
- border: 1rpx solid #00b38b;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
-
- .active {
- width: 38rpx;
- height: 38rpx;
- background: #00b38b;
- border-radius: 50%;
- }
- }
- }
-
- .content {
- position: relative;
- margin-top: -50rpx;
- padding: 0rpx 30rpx;
- position: relative;
-
- .img-pos {
- position: absolute;
- left: 270rpx;
- top: -38rpx;
- right: 50rpx;
-
- .img-flex {
- display: flex;
- justify-content: space-between;
- align-items: center;
-
- .car-img {
- width: 86rpx;
- height: 42rpx;
- }
-
- .flag-img {
- width: 30rpx;
- height: 35rpx;
- }
- }
- }
-
- .action {
- padding-left: 20rpx;
- padding-right: 20rpx;
- padding-bottom: 30rpx;
-
- .button {
- height: 80rpx;
- background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
- border-radius: 40rpx;
- font-size: 32rpx;
- font-weight: 400;
- color: #ffffff;
- line-height: 80rpx;
- }
- }
-
- .item-tips {
- .title {
- font-size: 30rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #000000;
- line-height: 24rpx;
- }
-
- .tip {
- margin-top: 16rpx;
- font-size: 24rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #999999;
- line-height: 24rpx;
- }
- }
-
- .picture-wrapper {
- margin-top: 40rpx;
-
- .bg {
- background: #ffffff;
- box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
- border-radius: 20rpx;
- padding: 40rpx;
- display: flex;
- // align-items: center;
- justify-content: space-between;
-
- .name {
- font-size: 34rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #000000;
- line-height: 34rpx;
- }
-
- .value {
- margin-top: 20rpx;
- font-size: 24rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #999999;
- line-height: 24rpx;
- }
-
- .tip {
- margin-top: 20rpx;
- text-align: center;
- width: 110rpx;
- height: 40rpx;
- background: rgba(33, 190, 177, 0.2);
- border-radius: 6rpx;
-
- .tip-value {
- font-size: 20rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #0a8f8a;
- line-height: 40rpx;
- opacity: 1;
- }
- }
- }
-
- .icon {
- width: 294rpx;
- height: 188rpx;
- }
- }
-
- .shibie-wrapper {
- margin-top: 60rpx;
-
- .title {
- font-size: 30rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #000000;
- line-height: 30rpx;
- }
- }
-
- .buchong-wrapper {
- margin-top: 60rpx;
-
- .title {
- font-size: 30rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #000000;
- line-height: 30rpx;
- }
- }
-
- .green-tip {
- margin-top: 50rpx;
- font-size: 24rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #00b38b;
- line-height: 24rpx;
- margin-bottom: 60rpx;
- }
- }
-
- .form-item {
- display: flex;
- font-size: 28rpx;
- justify-content: space-between;
- align-items: center;
- }
-
- .form-item label {}
-
- .form-item .input-box {
- display: flex;
- align-items: center;
- }
-
- .form-item .select {
- flex: 1;
- background: #f1f1f1;
- padding: 6rpx 20rpx;
- margin: 0 10rpx;
- min-height: 48rpx;
- line-height: 48rpx;
- border-radius: 8rpx;
- }
-
- .form-item .icon {
- width: 28rpx;
- height: 32rpx;
- }
-
- .form-item .input-box input {
- width: 90rpx;
- background: #f1f1f1;
- border-radius: 8rpx;
- padding: 0 5rpx;
- }
-
- .form-item .sub-text {
- color: #808080;
- padding-left: 10rpx;
- }
-
- .form-item .sub-label {
- padding: 0 10rpx;
- }
-
- .window {
- padding: 60rpx 30rpx;
- }
-
- .window .window-item {
- border: 1px solid #00b38b;
- background: rgba(0, 179, 139, .1);
- border-radius: 10rpx;
- padding: 16rpx 30rpx;
- font-size: 30rpx;
- margin-bottom: 10rpx;
- }
-
- ::v-deep .u-input__input {
- background: transparent;
- }
- </style>
|