You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

car-message-change.vue 35KB

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