您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

car-message-change.vue 35KB

1年前
1年前
1年前
1年前
1年前
1年前
1年前
11 个月前
1年前
1年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317
  1. <template>
  2. <view v-if="state.isMyPeopple" class="content">
  3. <view class="item-tips">
  4. <view class="title"> 上传后请核对识别信息 </view>
  5. <view class="tip"> 如有错误请及时手动修改 </view>
  6. </view>
  7. <view class="picture-wrapper" @click="takePhotoMode('1','my')">
  8. <view class="bg">
  9. <view class="">
  10. <view class="name"> 人像面 </view>
  11. <view class="value"> 上传身份证的人像面 </view>
  12. <view class="tip">
  13. <view class="tip-value"> 拍摄规范 </view>
  14. </view>
  15. </view>
  16. <image v-if="!state.form.ownPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`">
  17. </image>
  18. <image v-else class="icon" :src="strReplace(state.form.ownPosImgUrl)"></image>
  19. </view>
  20. </view>
  21. <view class="picture-wrapper" @click="takePhotoMode('2','my')">
  22. <view class="bg">
  23. <view class="">
  24. <view class="name"> 国徽面 </view>
  25. <view class="value"> 上传身份证的国徽面 </view>
  26. <view class="tip">
  27. <view class="tip-value"> 拍摄规范 </view>
  28. </view>
  29. </view>
  30. <image v-if="!state.form.ownNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`">
  31. </image>
  32. <image v-else class="icon" :src="strReplace(state.form.ownNegImgUrl)"></image>
  33. </view>
  34. </view>
  35. <view class="shibie-wrapper">
  36. <view class="title"> 识别内容如下 </view>
  37. <u-form label-width="230" :model="state.form" ref="uForm">
  38. <!-- <u-form-item label="姓名">
  39. <u-input v-model="state.form.userName" placeholder='请输入姓名' :disabled="state.isEnableOCRData"
  40. maxlength="20" @input="replaceInput" />
  41. </u-form-item> -->
  42. <u-form-item label="身份证号">
  43. <u-input placeholder='请输入身份证' type="idcard" v-model="state.form.userIdNum"
  44. :disabled="state.isEnableOCRData" maxlength="18" />
  45. </u-form-item>
  46. <u-form-item label="地址">
  47. <u-input placeholder='请输入地址' :autoHeight='true' v-model="state.form.address"
  48. :disabled="state.isEnableOCRData" maxlength="50" />
  49. </u-form-item>
  50. <u-form-item label="联系方式">
  51. <u-input placeholder='请输入联系方式' type="number" v-model="state.form.tel" maxlength="11" />
  52. </u-form-item>
  53. </u-form>
  54. </view>
  55. <view class="picture-wrapper" @click="takePhotoMode('3')">
  56. <view class="bg">
  57. <view class="">
  58. <view class="name"> 行驶证主页 </view>
  59. <view class="value"> 上传行驶证的主页 </view>
  60. <view class="tip">
  61. <view class="tip-value"> 拍摄规范 </view>
  62. </view>
  63. </view>
  64. <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
  65. </image>
  66. <image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
  67. </view>
  68. </view>
  69. <view class="picture-wrapper" @click="takePhotoMode('4')">
  70. <view class="bg">
  71. <view class="">
  72. <view class="name"> 行驶证副页 </view>
  73. <view class="value"> 上传行驶证的副页 </view>
  74. <view class="tip">
  75. <view class="tip-value"> 拍摄规范 </view>
  76. </view>
  77. </view>
  78. <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
  79. </image>
  80. <image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
  81. </view>
  82. </view>
  83. <view class="picture-wrapper" @click="cardFileImageUpdate()">
  84. <view class="bg">
  85. <view class="">
  86. <view class="name"> 车头照 </view>
  87. <view class="value"> 上传汽车的车头照片 </view>
  88. <view class="tip">
  89. <view class="tip-value"> 拍摄规范 </view>
  90. </view>
  91. </view>
  92. <image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
  93. </image>
  94. <image v-else class="icon" :src="strReplace(state.form.vehBodyUrl)"></image>
  95. </view>
  96. </view>
  97. <view class="shibie-wrapper">
  98. <view class="title"> 识别内容如下 </view>
  99. <view class="">
  100. <u-form label-width="200" :model="state.form" ref="uForm">
  101. <u-form-item label="车牌号">
  102. <u-input inputAlign="right" placeholder="请输入车牌号" v-model="state.form.vehicleIdNum" disabled />
  103. </u-form-item>
  104. <u-form-item label="所有人">
  105. <u-input inputAlign="right" placeholder="请输入所有人" v-model="state.form.ownerName"
  106. :disabled="state.isEnableChangeOCRCarInfo" />
  107. </u-form-item>
  108. <u-form-item label="车辆类型">
  109. <u-input inputAlign="right" placeholder="请输入车辆类型" v-model="state.form.vehicleType"
  110. :disabled="state.isEnableChangeOCRCarInfo" />
  111. </u-form-item>
  112. <u-form-item label="车辆识别代号">
  113. <u-input inputAlign="right" placeholder="请输入车辆识别代号" v-model="state.form.vin"
  114. :disabled="state.isEnableChangeOCRCarInfo" />
  115. </u-form-item>
  116. <u-form-item label="发动机号码">
  117. <u-input inputAlign="right" placeholder="请输入发动机号码" v-model="state.form.engineNum"
  118. :disabled="state.isEnableChangeOCRCarInfo" />
  119. </u-form-item>
  120. <u-form-item label="注册日期">
  121. <picker mode="date" :value="state.form.register" @change="bindDateChange1"
  122. :disabled="state.isEnableChangeOCRCarInfo">
  123. <view class="uni-input" style="text-align: right;">
  124. {{state.form.register}}
  125. </view>
  126. </picker>
  127. </u-form-item>
  128. <u-form-item label="发证日期">
  129. <picker mode="date" :value="state.form.issueDate" @change="bindDateChange2"
  130. :disabled="state.isEnableChangeOCRCarInfo">
  131. <view class="uni-input" style="text-align: right;">
  132. {{state.form.issueDate}}
  133. </view>
  134. </picker>
  135. </u-form-item>
  136. <u-form-item label="核定载人数">
  137. <u-input inputAlign="right" placeholder="请输入核定载人数" v-model="state.form.approvedCount"
  138. :disabled="state.isEnableChangeOCRCarInfo" />
  139. </u-form-item>
  140. <u-form-item label="整备质量">
  141. <u-input inputAlign="right" placeholder="请输入整备质量" v-model="state.form.maintenaceMass"
  142. :disabled="state.isEnableChangeOCRCarInfo" />
  143. </u-form-item>
  144. <view class="form-item">
  145. <label>外廊尺寸</label>
  146. <view class="input-box">
  147. <text class="sub-label">长</text>
  148. <input v-model="state.outlineL" @input="outlineInput"
  149. :disabled="state.isEnableChangeOCRCarInfo" />
  150. <text class="sub-text">X</text>
  151. <text class="sub-label">宽</text>
  152. <input v-model="state.outlineW" @input="outlineInput"
  153. :disabled="state.isEnableChangeOCRCarInfo" />
  154. <text class="sub-text">X</text>
  155. <text class="sub-label">高</text>
  156. <input v-model="state.outlineH" @input="outlineInput"
  157. :disabled="state.isEnableChangeOCRCarInfo" />
  158. <text class="sub-text">mm</text>
  159. </view>
  160. </view>
  161. <u-form-item label="总质量">
  162. <u-input inputAlign="right" placeholder="请输入总质量" v-model="state.form.totalMass"
  163. :disabled="state.isEnableChangeOCRCarInfo" />
  164. </u-form-item>
  165. <u-form-item label="车轴数">
  166. <u-input inputAlign="right" placeholder="请输入车轴数" v-model="state.form.axleCount" type="number"
  167. maxlength="2" />
  168. </u-form-item>
  169. <view class="form-item">
  170. <label>车辆用户类型</label>
  171. <view class="select" @click="state.actionSheetShow = true">{{state.form.useUserTypeName}}</view>
  172. <image :src="`${$imgUrl}common/arror-down.png`" class="icon"
  173. @click="state.actionSheetShow = true"></image>
  174. </view>
  175. </u-form>
  176. </view>
  177. </view>
  178. <view class="green-tip">
  179. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  180. </view>
  181. <view class="action">
  182. <button type="default" class="button" @click="savaHandleCar()">
  183. 提交
  184. </button>
  185. </view>
  186. <!-- 车辆类型弹窗 -->
  187. <u-popup mode="bottom" v-model="state.actionSheetShow">
  188. <view class="window">
  189. <view class="window-item" v-for="item in state.actionSheetList" :key="item.value"
  190. @click="userType(item)">{{item.text}}</view>
  191. </view>
  192. </u-popup>
  193. </view>
  194. <u-select mode="single-column" :list="state.genderList" v-model="state.genderShow" @confirm="genderSelectConfirm">
  195. </u-select>
  196. <view class="choice-takePhoto-wrap" v-if="state.isTakePhotoModeShow" @click="cancle">
  197. <view class="choice-takePhoto">
  198. <view @click.stop="takePhoto(state.choiceIndex)" style="border-radius: 20rpx 20rpx 0 0;">拍照</view>
  199. <view @click.stop="xiangce(state.choiceIndex)">从手机相册选择</view>
  200. <view @click.stop="cancle">取消</view>
  201. </view>
  202. </view>
  203. <viewfinder v-if="state.phoneType" :phoneType="state.phoneType" :images="state.images"
  204. :showStartPhoto="state.showImg" @confirmReturn="confirmReturn" @camera="camera"></viewfinder>
  205. </template>
  206. <script setup lang="ts">
  207. import viewfinder from "../../components/viewfinder.vue"
  208. import {
  209. reactive,
  210. ref,
  211. } from "vue";
  212. import {
  213. msg,
  214. checkStr,
  215. strReplace,
  216. uploadFile, hasLogin
  217. } from "@/utils/utils";
  218. import {
  219. onLoad,
  220. onPageScroll,
  221. } from "@dcloudio/uni-app";
  222. import {
  223. etcOcrCard,
  224. etcUserCardInfoSubmit,
  225. fileUpload,
  226. register,
  227. envs,
  228. getUserMsg,
  229. ocrAllQuery,
  230. etcCarOcrCard,
  231. searchVehicleInfo,
  232. carChangeApi,
  233. creactWorkOrder
  234. } from "@/utils/network/api.js";
  235. import {
  236. request
  237. } from "@/utils/network/request.js";
  238. import {
  239. stringToJson
  240. } from "@/utils/network/encryption";
  241. import {
  242. setItem,
  243. getItem,
  244. StorageKeys
  245. } from "@/utils/storage";
  246. import {
  247. getCodeName
  248. } from "@/datas/queryKey.js";
  249. import navBar from "@/components/nav-bar/nav-bar2.vue";
  250. import carNumberInput from "@/components/car-number-input/car-number-input.vue";
  251. import { getObuStatus } from "@/datas/obuStatus.js";
  252. import { getEtcCardStatus } from "@/datas/etcCardStatus.js";
  253. const scrollTop = ref(0)
  254. const state = reactive({
  255. showImg: true,
  256. isMy: "",//自己办理 他人办理
  257. phoneType: 0, // 1 身份证正面 2 身份证反面 3行驶证正面 4行驶证反面
  258. choiceIndex: 1, // 1 身份证正面 2 身份证反面
  259. isTakePhotoModeShow: false, //选择拍照方式是否出来
  260. images: '',
  261. genderList: [{
  262. value: '男',
  263. label: '男'
  264. },
  265. {
  266. value: '女',
  267. label: '女'
  268. }
  269. ],
  270. form: {
  271. orderId: "", //订单ID
  272. userName: "", //开户人姓名
  273. userIdType: "101", //用户证件类型 101//身份证
  274. userIdNum: "", //用户证件号码
  275. tel: "", //开户人手机号
  276. address: "", //开户人地址
  277. sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
  278. channelId: "", //渠道id
  279. gender: "",
  280. customerIdVld: "",
  281. agentName: "",
  282. agentGender: "",
  283. agentTel: '',
  284. agentPhone: "",
  285. agentIdType: "101",
  286. agentIdNum: "",
  287. agentPosImgUrl: "",
  288. agentNegImgUrl: "",
  289. proxyUrl: "",
  290. agentAddress: "",
  291. agentIdVld: '',
  292. opId: '',
  293. orderSource: 'WECHAT',
  294. // ownerName: "", //所有人
  295. character: "", //使用性质
  296. register: "请输入注册日期", //注册日期
  297. customerId: "", //用户编号
  298. vehicleId: "",
  299. vehicleIdNum: "", //车牌编号
  300. issueDate: "请输入发证日期", //发证日期
  301. vehPosImgUrl: "", //行驶证正面
  302. vehNegImgUrl: "", //行驶证证反面
  303. type: "0", //0,客车 1.货车
  304. useUserType: 0, //车辆用户类型
  305. useUserTypeName: "普通车",
  306. vehicleSign: 2, //前/后装标识
  307. vin: "", //车辆识别代号
  308. engineNum: "", //发动机号码
  309. vehicleType: "", //车辆类型
  310. vehicleModel: "", //行驶证品牌型号
  311. approvedCount: undefined, //核定人数
  312. approvedCountShow: undefined,//展示的
  313. totalMass: undefined, //总质量
  314. totalMassShow: undefined, //总质量
  315. maintenaceMass: undefined, //整备质量
  316. maintenaceMassShow: undefined, //整备质量展示的
  317. permittedWeight: "", //核定载质量
  318. vehicleDimensions: "", //车辆尺寸
  319. permittedTowWeight: "", //准牵引总质量
  320. axleCount: "", //车轴数
  321. ownerName: "", //车主姓名
  322. ownerIdType: "", //车主证件类型
  323. ownerIdNum: "", //车主证件号码
  324. ownPosImgUrl: "", //车主证件正面图片
  325. ownNegImgUrl: "", //车主证件反面图片
  326. agreementId: "", //签约编号
  327. // channelId: "5201018892300000001", //编号渠道
  328. scenePayType: "", //
  329. transportIdNum: "", //道路运输证编号
  330. licenseIdNum: "", //经营许可证编号
  331. vehBodyUrl: "", //车身照片
  332. // proxyUrl: "", //委托书地址
  333. },
  334. genderShow: false,
  335. orderId: "",
  336. vehiclePlateColor: undefined,
  337. isMyPeopple: true,
  338. isSign: '',
  339. type: 1,
  340. isEnableOther: true, //小程序是否支持他人办理
  341. isEnableBook: true, //他人办理时是否上传委托书
  342. isEnableInfo: true, //小程序信息带出
  343. isEnableOCRData: true, //允许修改OCR识别出来的数据
  344. changeColor: false,
  345. data: {
  346. transferLogs: [],
  347. },
  348. actionSheetShow: false,
  349. actionSheetList: [{
  350. text: "普通车",
  351. value: 0,
  352. },
  353. {
  354. text: "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱",
  355. value: 24,
  356. },
  357. {
  358. text: "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车",
  359. value: 27,
  360. },
  361. {
  362. text: '道路运输证经营范围除“货物专用运输 (集装 箱)"外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱',
  363. value: 28,
  364. }],
  365. show: false,
  366. outlineL: "",
  367. outlineW: "",
  368. outlineH: "",
  369. isEnableChangeOCRCarInfo: false, //申办时是否允许修改OCR识别出来的车辆信息数据
  370. businessType: "",
  371. });
  372. const searchVehicleInfoQuery = () => {
  373. const options = {
  374. type: 2,
  375. data: {
  376. vehicleId: state.form.vehicleId
  377. },
  378. method: "POST",
  379. showLoading: true,
  380. };
  381. request(searchVehicleInfo, options).then((res) => {
  382. let result = stringToJson(res.bizContent);
  383. writeMsg(result.vehicles[0])
  384. });
  385. }
  386. const writeMsg = (allData) => {
  387. console.log("车辆信息", allData);
  388. state.form.ownPosImgUrl = allData['ownerPosImgUrl']
  389. state.form.ownNegImgUrl = allData['ownerNegImgUrl']
  390. state.form.userName = allData['contacts']
  391. state.form.userIdNum = allData['ownerIdNum']
  392. state.form.ownerIdNum = allData['ownerIdNum']
  393. state.form.address = allData['ownerAddress']
  394. state.form.tel = allData['ownerTel']
  395. state.form.vehPosImgUrl = allData['vehPosImgUrl']
  396. state.form.vehNegImgUrl = allData['vehNegImgUrl']
  397. state.form.vehBodyUrl = allData['vehBodyUrl']
  398. state.form.vehicleIdNum = allData['vehiclePlate']
  399. state.form.ownerName = allData['ownerName']
  400. state.form.vehicleType = allData['vehicleType']
  401. // state.form.character = allData['vehicleType'] //使用性质
  402. state.form.vin = allData['vin']
  403. state.form.engineNum = allData['engineNum']
  404. state.form.register = allData['registerDate']
  405. state.form.issueDate = allData['issueDate']
  406. state.form.approvedCountShow = allData['approvedCount']
  407. state.form.maintenaceMassShow = allData['maintenaceMass']
  408. state.form.approvedCount = allData['approvedCount']
  409. state.form.maintenaceMass = allData['maintenaceMass']
  410. allData['vehicleDimensions']
  411. let arr = allData['vehicleDimensions'].split("X");
  412. state.outlineL = parseInt(arr[0]); //外廓 长
  413. state.outlineW = parseInt(arr[1]); //外廓 宽
  414. console.log("arr[2]",arr[2])
  415. if(arr[2].indexOf('mm')){
  416. state.outlineH = parseInt(arr[2].substring(0, arr[2].length - 2)); //外廓 高
  417. }else{
  418. state.outlineH = parseInt(arr[2]); //外廓 高
  419. }
  420. state.form.totalMassShow = allData['totalMass']
  421. state.form.totalMass = allData['totalMass']
  422. state.form.axleCount = allData['axleCount'] ? allData['axleCount'] : 2
  423. if (allData['useUserType'] == 0) {
  424. state.form.useUserTypeName = "普通车"
  425. } else if (allData['useUserType'] == 24) {
  426. state.form.useUserTypeName = "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱"
  427. } else if (allData['useUserType'] == 27) {
  428. state.form.useUserTypeName = "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车"
  429. } else if (allData['useUserType'] == 28) {
  430. state.form.useUserTypeName = "道路运输证经营范围除'货物专用运输 (集装 箱)'外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱"
  431. }
  432. state.vehiclePlateColor = allData['vehiclePlateColor']
  433. state.form.customerId = allData['customerId']
  434. }
  435. const userGenderAction = () => {
  436. state.genderShow = true;
  437. };
  438. const genderSelectConfirm = (e) => {
  439. state.form.gender = ''
  440. e.map((val, index) => {
  441. state.form.gender = val.label;
  442. })
  443. };
  444. const camera = () => {
  445. state.phoneType = 0
  446. }
  447. onLoad((option : any) => {
  448. state.form.vehicleId = option.vehicleId;
  449. state.form.opId = getItem('openId') ? getItem('openId') : '';
  450. getGlobalParam(); //全局配置数据
  451. console.log("option", option)
  452. searchVehicleInfoQuery(); //车辆信息查询
  453. state.businessType = getItem('key')['DASP_PUSH_TYPE'][0]['code']
  454. console.log("getItem('key')['DASP_PUSH_TYPE']", getItem('key')['DASP_PUSH_TYPE'])
  455. });
  456. //监听页面滚动
  457. onPageScroll((e) => {
  458. scrollTop.value = e.scrollTop;
  459. });
  460. const replaceInput = (event) => {
  461. console.log("event", event)
  462. const screeningStr = /[^\u4E00-\u9FA5]/g; //想禁止什么类型,在这里替换正则就可以了
  463. if (screeningStr.test(event)) {
  464. setTimeout(() => {
  465. state.form.userName = event.replace(screeningStr, '');
  466. }, 100)
  467. } else {
  468. setTimeout(() => {
  469. state.form.userName = event;
  470. }, 100)
  471. }
  472. console.log("event.replace(screeningStr, '')", event.replace(screeningStr, ''), event, state.form.userName)
  473. }
  474. const getGlobalParam = () => {
  475. const data = getItem('globalParam')
  476. console.log("全局配置数据", getCodeName('IS_ENABLE', data.miniSupportOther), getCodeName('IS_ENABLE', data.otherUploadProxy), getCodeName('IS_ENABLE', data.miniInfoShow), getCodeName('IS_ENABLE', data.changeOCRData))
  477. // 小程序是否支持他人办理
  478. if (getCodeName('IS_ENABLE', data.miniSupportOther) == '启用') {
  479. state.isEnableOther = true;
  480. } else {
  481. state.isEnableOther = false;
  482. }
  483. // 他人办理时是否上传委托书
  484. if (getCodeName('IS_ENABLE', data.otherUploadProxy) == '启用') {
  485. state.isEnableBook = true;
  486. } else {
  487. state.isEnableBook = false;
  488. }
  489. // 小程序信息带出
  490. if (getCodeName('IS_ENABLE', data.miniInfoShow) == '启用') {
  491. state.isEnableInfo = true;
  492. uni.showModal({
  493. // title: '提示',
  494. content: '是否允许带出用户信息',
  495. success: function (res) {
  496. if (res.confirm) {
  497. console.log('用户点击确定');
  498. } else if (res.cancel) {
  499. console.log('用户点击取消');
  500. }
  501. }
  502. });
  503. } else {
  504. state.isEnableInfo = false;
  505. }
  506. // 允许修改OCR识别出来的数据
  507. if (getCodeName('IS_ENABLE', data.changeOCRData) == '启用') {
  508. state.isEnableOCRData = false;
  509. } else {
  510. state.isEnableOCRData = true;
  511. }
  512. // 申办时是否允许修改OCR识别出来的车辆信息数据
  513. // if (getCodeName('IS_ENABLE', data.applyChangeOCRCarInfo) == '启用') {
  514. // state.isEnableChangeOCRCarInfo = true;
  515. // } else {
  516. // state.isEnableChangeOCRCarInfo = false;
  517. // }
  518. }
  519. const takePhotoMode = (index, isMy) => {
  520. console.log("index", index, isMy)
  521. state.isTakePhotoModeShow = true
  522. state.choiceIndex = index
  523. state.isMy = isMy
  524. }
  525. const xiangce = (val) => {
  526. console.log("val", val)
  527. var imageType = val;
  528. if (state.choiceIndex == 3) {
  529. var imageType = 1;
  530. } else {
  531. var imageType = 2;
  532. }
  533. uni.chooseImage({
  534. count: 1, //只能选取一张照片
  535. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  536. sourceType: ["album"], //从相册选择
  537. success: function (res) {
  538. state.showImg = false
  539. state.images = res.tempFilePaths[0]
  540. state.phoneType = state.choiceIndex
  541. state.isTakePhotoModeShow = false
  542. if (state.choiceIndex == 3 || state.choiceIndex == 4) {
  543. state.showImg = false
  544. state.images = res.tempFilePaths[0]
  545. state.phoneType = state.choiceIndex
  546. state.isTakePhotoModeShow = false
  547. return
  548. }
  549. console.log("tempFilePaths[0].startsWith('file://')", res.tempFilePaths[0], res.tempFilePaths[0].startsWith('file://'))
  550. },
  551. })
  552. }
  553. const takePhoto = (val) => {
  554. state.showImg = true
  555. console.log("拍照", val)
  556. state.phoneType = val;
  557. }
  558. const confirmReturn = (val) => {
  559. console.log("图片地址val", val)
  560. state.phoneType = 0
  561. state.isTakePhotoModeShow = false
  562. // var imageType = state.choiceIndex;
  563. if (state.choiceIndex == 1) {
  564. var imageType = 1;
  565. var queryCode = etcOcrCard
  566. } else if (state.choiceIndex == 2) {
  567. var imageType = 2;
  568. var queryCode = etcOcrCard
  569. }
  570. if (state.choiceIndex == 3) {
  571. var imageType = 1;
  572. var queryCode = etcCarOcrCard
  573. } else if (state.choiceIndex == 4) {
  574. var imageType = 2;
  575. var queryCode = etcCarOcrCard
  576. }
  577. // uploadFile(val.tempImagePath, imageType, ocrAllQuery).then((data) => {
  578. uploadFile(val.tempImagePath, imageType, queryCode).then((data) => {
  579. if (state.isMy == "my") {
  580. if (state.choiceIndex == "1") {
  581. console.log("身份证上传", data)
  582. state.form.userName = data.name;
  583. state.form.gender = data.gender;
  584. state.form.userIdNum = data.idno;
  585. state.form.ownPosImgUrl = data.imageUrl;
  586. state.form.address = data.address;
  587. } else {
  588. state.form.customerIdVld = data.enddate;
  589. state.form.ownNegImgUrl = data.imageUrl;
  590. }
  591. state.isTakePhotoModeShow = false
  592. } else {
  593. if (state.choiceIndex == "1") {
  594. state.form.agentName = data.name;
  595. state.form.agentGender = data.gender;
  596. state.form.agentIdNum = data.idno;
  597. state.form.agentPosImgUrl = data.imageUrl;
  598. state.form.agentAddress = data.address;
  599. } else if (state.choiceIndex == "2") {
  600. console.log("state.isMy", state.isMy, state.choiceIndex, state.choiceIndex == "1", data)
  601. state.form.agentIdVld = data.enddate;
  602. state.form.agentNegImgUrl = data.imageUrl;
  603. } else if (state.choiceIndex == "3") {
  604. if (data.plate_a.length > 8) {
  605. state.form.vehicleIdNum = data.plate_a.substring(0, 8);
  606. } else {
  607. state.form.vehicleIdNum = data.plate_a;
  608. }
  609. state.form.ownerName = data.man;
  610. state.form.vehicleType = data.vehicle;
  611. state.form.character = data.character;
  612. state.form.vin = data.vin;
  613. state.form.engineNum = data.engine;
  614. state.form.register = data.register;
  615. state.form.issueDate = data.issue;
  616. state.form.vehPosImgUrl = data.imageUrl;
  617. state.form.vehicleModel = data.model;
  618. } else {
  619. state.form.approvedCount = data.apc;
  620. state.form.approvedCountShow = data.apc;
  621. state.form.maintenaceMass = data.unladen;
  622. state.form.maintenaceMassShow = data.unladen;
  623. // 91接口差
  624. // // #ifdef MP-WEIXIN
  625. // state.form.vehicleDimensions = data.overall.replaceAll("×", "X");
  626. // // #endif
  627. // // #ifdef MP-ALIPAY
  628. // state.form.vehicleDimensions = data.overall.replace(/×/g, "X");
  629. // // #endif
  630. // let arr = data.overall.split("×");
  631. // #ifdef MP-WEIXIN
  632. state.form.vehicleDimensions = data.overall.replaceAll("x", "X");
  633. // #endif
  634. // #ifdef MP-ALIPAY
  635. state.form.vehicleDimensions = data.overall.replace(/x/g, "X");
  636. // #endif
  637. let arr = data.overall.split("x");
  638. state.outlineL = arr[0]; //外廓 长
  639. state.outlineW = arr[1]; //外廓 宽
  640. state.outlineH = arr[2].substring(0, arr[2].length - 2); //外廓 高
  641. state.form.totalMass = data.gross;
  642. state.form.totalMassShow = data.gross;
  643. state.form.vehNegImgUrl = data.imageUrl;
  644. state.form.permittedWeight = data.alc ? data.alc : 0;
  645. state.form.permittedTowWeight = data.towing ? data.towing : 0;
  646. console.log('=====================', state.form.vehNegImgUrl, state)
  647. }
  648. state.isTakePhotoModeShow = false
  649. }
  650. })
  651. }
  652. const cancle = () => {
  653. state.isTakePhotoModeShow = false
  654. }
  655. // 车辆信息
  656. //车牌号输入
  657. const carNumber = (val : any) => {
  658. state.form.vehicleIdNum = val.trim();
  659. };
  660. //提交车辆信息
  661. const savaHandleCar = () => {
  662. if (!checkStr(state.form.userIdNum, 'card')) {
  663. msg('请输入正确身份证');
  664. return;
  665. }
  666. if (!checkStr(state.form.tel, 'mobile')) {
  667. msg('请输入正确手机号');
  668. return;
  669. }
  670. if (!state.form.vehBodyUrl) {
  671. msg("请上传车头照");
  672. return;
  673. }
  674. if (state.form.type == 1) {
  675. state.form.axleCount = 2;
  676. } else {
  677. if (!state.form.axleCount) {
  678. msg("请输入车轴数");
  679. return;
  680. }
  681. }
  682. state.form.vehicleId =
  683. state.form.vehicleIdNum + "_" + state.vehiclePlateColor;
  684. state.form.opId = getItem(StorageKeys.OpenId);
  685. state.form.approvedCount = parseFloat(state.form.approvedCount);
  686. state.form.maintenaceMass = parseFloat(state.form.maintenaceMass);
  687. state.form.totalMass = parseFloat(state.form.totalMass);
  688. state.form.permittedWeight = parseFloat(state.form.permittedWeight);
  689. state.form.permittedTowWeight = parseFloat(state.form.permittedTowWeight);
  690. const options = {
  691. type: 2,
  692. data: state.form,
  693. method: "POST",
  694. showLoading: true,
  695. };
  696. request(carChangeApi, options)
  697. .then((res) => {
  698. const data = stringToJson(res.bizContent);
  699. // 创建工单
  700. msg("待审核")
  701. setTimeout(() => {
  702. uni.navigateBack({
  703. delta: 2
  704. })
  705. }, 2000)
  706. })
  707. .catch((res) => {
  708. console.log(res);
  709. });
  710. };
  711. const creactWorkOrderRequest = () => {
  712. const options = {
  713. type: 2,
  714. data: {
  715. businessType: state.businessType,
  716. vehiclePlate: state.form.vehicleIdNum,
  717. vehiclePlateColor: state.vehiclePlateColor,
  718. customerId: state.form.customerId
  719. },
  720. method: "POST",
  721. showLoading: true,
  722. };
  723. return new Promise(async (resolve, reject) => {
  724. const res = await request(creactWorkOrder, options);
  725. const data = stringToJson(res.bizContent);
  726. resolve(data);
  727. }).catch((error) => {
  728. reject(error);
  729. });
  730. }
  731. const selectConfirm = (index : any) => {
  732. console.log(index);
  733. state.form.useUserType = state.actionSheetList[index].value;
  734. state.form.useUserTypeName = state.actionSheetList[index].text;
  735. };
  736. //选择车辆用户类型
  737. const userType = (item : any) => {
  738. state.form.useUserType = item.value;
  739. state.form.useUserTypeName = item.text;
  740. state.actionSheetShow = false;
  741. }
  742. // 车头照图片上传
  743. const cardFileImageUpdate = () => {
  744. uni.chooseImage({
  745. count: 1, //只能选取一张照片
  746. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  747. sourceType: ["camera", "album"], //从相册选择
  748. success: function (res) {
  749. uploadFile(res.tempFilePaths[0], "", "").then((data) => {
  750. state.form.vehBodyUrl = data;
  751. })
  752. },
  753. });
  754. };
  755. //外廓尺寸输入框
  756. const outlineInput = (e) => {
  757. state.form.vehicleDimensions =
  758. state.outlineL + "X" + state.outlineW + "X" + state.outlineH + "mm";
  759. };
  760. const bindDateChange1 = (e) => {
  761. state.form.register = e.detail.value
  762. state.changeColor = true;
  763. }
  764. const bindDateChange2 = (e) => {
  765. state.form.issueDate = e.detail.value
  766. state.changeColor = true;
  767. }
  768. </script>
  769. <style lang="scss" scoped>
  770. .title {
  771. font-size: 35rpx;
  772. font-family: Microsoft YaHei;
  773. font-weight: 400;
  774. color: #000000;
  775. line-height: 80rpx;
  776. margin-bottom: 10rpx;
  777. }
  778. .content-wrap {
  779. position: relative;
  780. // margin-top: -50rpx;
  781. padding: 0rpx 30rpx;
  782. display: flex;
  783. .big {
  784. font-size: 30rpx;
  785. font-family: Microsoft YaHei;
  786. font-weight: 400;
  787. color: #333333;
  788. line-height: 24rpx;
  789. }
  790. .nomal {
  791. font-size: 26rpx;
  792. font-family: Microsoft YaHei;
  793. font-weight: 400;
  794. color: #666666;
  795. line-height: 24rpx;
  796. }
  797. .tip {
  798. margin-top: -5px;
  799. width: 117rpx;
  800. height: 16rpx;
  801. background: #00b38b;
  802. opacity: 0.3;
  803. }
  804. }
  805. .content {
  806. padding: 50rpx 30rpx 50rpx 30rpx;
  807. .action {
  808. padding-left: 20rpx;
  809. padding-right: 20rpx;
  810. padding-bottom: 30rpx;
  811. .button {
  812. height: 80rpx;
  813. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  814. border-radius: 40rpx;
  815. font-size: 32rpx;
  816. font-weight: 400;
  817. color: #ffffff;
  818. line-height: 80rpx;
  819. }
  820. }
  821. .item-tips {
  822. .title {
  823. font-size: 30rpx;
  824. font-family: Microsoft YaHei;
  825. font-weight: 400;
  826. color: #000000;
  827. line-height: 24rpx;
  828. }
  829. .tip {
  830. margin-top: 16rpx;
  831. font-size: 24rpx;
  832. font-family: Microsoft YaHei;
  833. font-weight: 400;
  834. color: #999999;
  835. line-height: 24rpx;
  836. }
  837. }
  838. .picture-wrapper {
  839. margin-top: 40rpx;
  840. .bg {
  841. background: #ffffff;
  842. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  843. border-radius: 20rpx;
  844. padding: 40rpx;
  845. display: flex;
  846. // align-items: center;
  847. justify-content: space-between;
  848. .name {
  849. font-size: 34rpx;
  850. font-family: Microsoft YaHei;
  851. font-weight: 400;
  852. color: #000000;
  853. line-height: 34rpx;
  854. }
  855. .value {
  856. margin-top: 20rpx;
  857. font-size: 24rpx;
  858. font-family: Microsoft YaHei;
  859. font-weight: 400;
  860. color: #999999;
  861. line-height: 24rpx;
  862. }
  863. .tip {
  864. margin-top: 20rpx;
  865. text-align: center;
  866. width: 110rpx;
  867. height: 40rpx;
  868. background: rgba(33, 190, 177, 0.2);
  869. border-radius: 6rpx;
  870. .tip-value {
  871. font-size: 20rpx;
  872. font-family: Microsoft YaHei;
  873. font-weight: 400;
  874. color: #0a8f8a;
  875. line-height: 40rpx;
  876. opacity: 1;
  877. }
  878. }
  879. }
  880. .icon {
  881. width: 294rpx;
  882. height: 188rpx;
  883. }
  884. }
  885. .shibie-wrapper {
  886. margin-top: 60rpx;
  887. .title {
  888. font-size: 30rpx;
  889. font-family: Microsoft YaHei;
  890. font-weight: 400;
  891. color: #000000;
  892. line-height: 30rpx;
  893. }
  894. }
  895. .buchong-wrapper {
  896. margin-top: 60rpx;
  897. .title {
  898. font-size: 30rpx;
  899. font-family: Microsoft YaHei;
  900. font-weight: 400;
  901. color: #000000;
  902. line-height: 30rpx;
  903. }
  904. }
  905. .green-tip {
  906. margin-top: 50rpx;
  907. font-size: 24rpx;
  908. font-family: Microsoft YaHei;
  909. font-weight: 400;
  910. color: #00b38b;
  911. line-height: 24rpx;
  912. margin-bottom: 60rpx;
  913. }
  914. }
  915. .choice-takePhoto {
  916. position: absolute;
  917. bottom: 0;
  918. background-color: white;
  919. width: 100%;
  920. border-radius: 20rpx 20rpx 0 0;
  921. }
  922. .choice-takePhoto>view:first-child {
  923. text-align: center;
  924. height: 80rpx;
  925. line-height: 80rpx;
  926. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  927. background-color: white;
  928. }
  929. .choice-takePhoto>view:last-child {
  930. text-align: center;
  931. height: 80rpx;
  932. line-height: 80rpx;
  933. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  934. background-color: white;
  935. }
  936. .choice-takePhoto>view {
  937. text-align: center;
  938. height: 80rpx;
  939. line-height: 80rpx;
  940. background-color: white;
  941. }
  942. .choice-takePhoto-wrap {
  943. width: 100%;
  944. height: 100vh;
  945. background-color: rgba(127, 127, 127, 0.2);
  946. position: fixed;
  947. left: 0;
  948. top: 0;
  949. z-index: 11111;
  950. }
  951. .hui {
  952. color: #ccc;
  953. }
  954. .hei {
  955. color: black;
  956. }
  957. .goto {
  958. margin-right: 20rpx;
  959. padding: 10rpx;
  960. color: #00b38b;
  961. border: 1rpx solid #00b38b;
  962. border-radius: 20rpx;
  963. }
  964. .flex {
  965. display: flex;
  966. align-items: center;
  967. }
  968. .bettwen-center {
  969. display: flex;
  970. align-items: center;
  971. justify-content: space-between;
  972. }
  973. .card {
  974. margin: 20rpx;
  975. height: 150rpx;
  976. background: #ffffff;
  977. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  978. border-radius: 20rpx;
  979. padding: 20rpx;
  980. display: flex;
  981. justify-content: space-between;
  982. align-items: center;
  983. margin-bottom: 30rpx;
  984. .card-left {
  985. display: flex;
  986. align-items: center;
  987. image {
  988. width: 100rpx;
  989. height: 90rpx;
  990. }
  991. .card-center {
  992. margin-left: 30rpx;
  993. .card-center-head {
  994. font-size: 32rpx;
  995. font-family: Noto Sans S Chinese;
  996. font-weight: 400;
  997. color: #333333;
  998. }
  999. .tips {
  1000. font-size: 26rpx;
  1001. font-family: Noto Sans S Chinese;
  1002. font-weight: 400;
  1003. color: #666666;
  1004. .tips-card {
  1005. width: 70rpx;
  1006. height: 40rpx;
  1007. background: #d3f2ef;
  1008. border-radius: 6rpx;
  1009. font-size: 20rpx;
  1010. font-family: Noto Sans S Chinese;
  1011. font-weight: 400;
  1012. color: #0a8f8a;
  1013. padding: 5rpx 10rpx;
  1014. margin-left: 20rpx;
  1015. }
  1016. }
  1017. }
  1018. }
  1019. .choose-item {
  1020. margin-right: 20rpx;
  1021. width: 50rpx;
  1022. height: 50rpx;
  1023. border: 1rpx solid #00b38b;
  1024. border-radius: 50%;
  1025. display: flex;
  1026. justify-content: center;
  1027. align-items: center;
  1028. .active {
  1029. width: 38rpx;
  1030. height: 38rpx;
  1031. background: #00b38b;
  1032. border-radius: 50%;
  1033. }
  1034. }
  1035. }
  1036. .content {
  1037. // position: relative;
  1038. // margin-top: -50rpx;
  1039. // padding: 0rpx 30rpx;
  1040. // position: relative;
  1041. .img-pos {
  1042. position: absolute;
  1043. left: 270rpx;
  1044. top: -38rpx;
  1045. right: 50rpx;
  1046. .img-flex {
  1047. display: flex;
  1048. justify-content: space-between;
  1049. align-items: center;
  1050. .car-img {
  1051. width: 86rpx;
  1052. height: 42rpx;
  1053. }
  1054. .flag-img {
  1055. width: 30rpx;
  1056. height: 35rpx;
  1057. }
  1058. }
  1059. }
  1060. .action {
  1061. padding-left: 20rpx;
  1062. padding-right: 20rpx;
  1063. padding-bottom: 30rpx;
  1064. .button {
  1065. height: 80rpx;
  1066. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  1067. border-radius: 40rpx;
  1068. font-size: 32rpx;
  1069. font-weight: 400;
  1070. color: #ffffff;
  1071. line-height: 80rpx;
  1072. }
  1073. }
  1074. .item-tips {
  1075. .title {
  1076. font-size: 30rpx;
  1077. font-family: Microsoft YaHei;
  1078. font-weight: 400;
  1079. color: #000000;
  1080. line-height: 24rpx;
  1081. }
  1082. .tip {
  1083. margin-top: 16rpx;
  1084. font-size: 24rpx;
  1085. font-family: Microsoft YaHei;
  1086. font-weight: 400;
  1087. color: #999999;
  1088. line-height: 24rpx;
  1089. }
  1090. }
  1091. .picture-wrapper {
  1092. margin-top: 40rpx;
  1093. .bg {
  1094. background: #ffffff;
  1095. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  1096. border-radius: 20rpx;
  1097. padding: 40rpx;
  1098. display: flex;
  1099. // align-items: center;
  1100. justify-content: space-between;
  1101. .name {
  1102. font-size: 34rpx;
  1103. font-family: Microsoft YaHei;
  1104. font-weight: 400;
  1105. color: #000000;
  1106. line-height: 34rpx;
  1107. }
  1108. .value {
  1109. margin-top: 20rpx;
  1110. font-size: 24rpx;
  1111. font-family: Microsoft YaHei;
  1112. font-weight: 400;
  1113. color: #999999;
  1114. line-height: 24rpx;
  1115. }
  1116. .tip {
  1117. margin-top: 20rpx;
  1118. text-align: center;
  1119. width: 110rpx;
  1120. height: 40rpx;
  1121. background: rgba(33, 190, 177, 0.2);
  1122. border-radius: 6rpx;
  1123. .tip-value {
  1124. font-size: 20rpx;
  1125. font-family: Microsoft YaHei;
  1126. font-weight: 400;
  1127. color: #0a8f8a;
  1128. line-height: 40rpx;
  1129. opacity: 1;
  1130. }
  1131. }
  1132. }
  1133. .icon {
  1134. width: 294rpx;
  1135. height: 188rpx;
  1136. }
  1137. }
  1138. .shibie-wrapper {
  1139. margin-top: 60rpx;
  1140. .title {
  1141. font-size: 30rpx;
  1142. font-family: Microsoft YaHei;
  1143. font-weight: 400;
  1144. color: #000000;
  1145. line-height: 30rpx;
  1146. }
  1147. }
  1148. .buchong-wrapper {
  1149. margin-top: 60rpx;
  1150. .title {
  1151. font-size: 30rpx;
  1152. font-family: Microsoft YaHei;
  1153. font-weight: 400;
  1154. color: #000000;
  1155. line-height: 30rpx;
  1156. }
  1157. }
  1158. .green-tip {
  1159. margin-top: 50rpx;
  1160. font-size: 24rpx;
  1161. font-family: Microsoft YaHei;
  1162. font-weight: 400;
  1163. color: #00b38b;
  1164. line-height: 24rpx;
  1165. margin-bottom: 60rpx;
  1166. }
  1167. }
  1168. .form-item {
  1169. display: flex;
  1170. font-size: 28rpx;
  1171. justify-content: space-between;
  1172. align-items: center;
  1173. }
  1174. .form-item label {}
  1175. .form-item .input-box {
  1176. display: flex;
  1177. align-items: center;
  1178. }
  1179. .form-item .select {
  1180. flex: 1;
  1181. background: #f1f1f1;
  1182. padding: 6rpx 20rpx;
  1183. margin: 0 10rpx;
  1184. min-height: 48rpx;
  1185. line-height: 48rpx;
  1186. border-radius: 8rpx;
  1187. }
  1188. .form-item .icon {
  1189. width: 28rpx;
  1190. height: 32rpx;
  1191. }
  1192. .form-item .input-box input {
  1193. width: 90rpx;
  1194. background: #f1f1f1;
  1195. border-radius: 8rpx;
  1196. padding: 0 5rpx;
  1197. }
  1198. .form-item .sub-text {
  1199. color: #808080;
  1200. padding-left: 10rpx;
  1201. }
  1202. .form-item .sub-label {
  1203. padding: 0 10rpx;
  1204. }
  1205. .window {
  1206. padding: 60rpx 30rpx;
  1207. }
  1208. .window .window-item {
  1209. border: 1px solid #00b38b;
  1210. background: rgba(0, 179, 139, .1);
  1211. border-radius: 10rpx;
  1212. padding: 16rpx 30rpx;
  1213. font-size: 30rpx;
  1214. margin-bottom: 10rpx;
  1215. }
  1216. ::v-deep .u-input__input {
  1217. background: transparent;
  1218. }
  1219. </style>