Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

car-release.vue 36KB

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