Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

car-release.vue 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  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="cardImageOcr('1')">
  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="cardImageOcr('2')">
  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()">
  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="shibie-wrapper">
  52. <view class="title"> 识别内容如下 </view>
  53. <view class="">
  54. <u-form label-width="200" :model="state.form" ref="uForm">
  55. <u-form-item label="车牌号">
  56. <!-- <u-input inputAlign="right" placeholder='请输入车牌号' v-model="state.form.vehicleIdNum" /> -->
  57. <car-number-input @numberInputResult="carNumber"
  58. :defaultStr="state.form.vehicleIdNum"></car-number-input>
  59. </u-form-item>
  60. <u-form-item label="所有人">
  61. <u-input inputAlign="right" placeholder="请输入所有人" v-model="state.form.man" />
  62. </u-form-item>
  63. <u-form-item label="车辆类型">
  64. <u-input inputAlign="right" placeholder="请输入车辆类型" v-model="state.form.vehicleType" />
  65. </u-form-item>
  66. <u-form-item label="使用性质">
  67. <u-input inputAlign="right" placeholder="请输入使用性质" v-model="state.form.character" />
  68. </u-form-item>
  69. <u-form-item label="车辆识别代号">
  70. <u-input inputAlign="right" placeholder="请输入车辆识别代号" v-model="state.form.vin" />
  71. </u-form-item>
  72. <u-form-item label="发动机号码">
  73. <u-input inputAlign="right" placeholder="请输入发动机号码" v-model="state.form.engineNum" />
  74. </u-form-item>
  75. <u-form-item label="注册日期">
  76. <u-input inputAlign="right" placeholder="请输入注册日期" v-model="state.form.register" />
  77. </u-form-item>
  78. <u-form-item label="发证日期">
  79. <u-input inputAlign="right" placeholder="请输入发证日期" v-model="state.form.issueDate" />
  80. </u-form-item>
  81. <u-form-item label="核定载人数">
  82. <u-input inputAlign="right" placeholder="请输入核定载人数" v-model="state.form.approvedCount" />
  83. </u-form-item>
  84. <u-form-item label="整备质量">
  85. <u-input inputAlign="right" placeholder="请输入整备质量" v-model="state.form.maintenaceMass" />
  86. </u-form-item>
  87. <!-- <u-form-item label="外廊尺寸">
  88. <u-input inputAlign="right" placeholder='请输入外廊尺寸' v-model="state.form.vehicleDimensions" />
  89. </u-form-item> -->
  90. <view class="form-item">
  91. <label>外廊尺寸</label>
  92. <view class="input-box">
  93. <text class="sub-label">长</text>
  94. <input v-model="state.outlineL" @input="outlineInput" />
  95. <text class="sub-text">X</text>
  96. <text class="sub-label">宽</text>
  97. <input v-model="state.outlineW" @input="outlineInput" />
  98. <text class="sub-text">X</text>
  99. <text class="sub-label">长</text>
  100. <input v-model="state.outlineH" @input="outlineInput" />
  101. <text class="sub-text">mm</text>
  102. </view>
  103. </view>
  104. <u-form-item label="总质量">
  105. <u-input inputAlign="right" placeholder="请输入总质量" v-model="state.form.totalMass" />
  106. </u-form-item>
  107. <view class="form-item">
  108. <label>车辆用户类型</label>
  109. <view class="select" @click="state.actionSheetShow = true">{{state.form.useUserTypeName}}</view>
  110. <image :src="`${$imgUrl}common/arror-down.png`" class="icon"
  111. @click="state.actionSheetShow = true"></image>
  112. </view>
  113. <!-- <u-form-item label="车辆用户类型">
  114. <u-input @click="state.actionSheetShow = true" placeholder="请输入车辆用户类型" inputAlign="right"
  115. v-model="state.form.useUserTypeName" height="38" type="textarea" :autoHeight="true" />
  116. </u-form-item> -->
  117. </u-form>
  118. </view>
  119. </view>
  120. <view class="green-tip">
  121. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  122. </view>
  123. <view class="action">
  124. <button type="default" class="button" @click="savaHandle()">
  125. 下一步
  126. </button>
  127. </view>
  128. <!-- <u-select v-model="state.actionSheetShow" :list="state.actionSheetList" @confirm="selectConfirm"></u-select>
  129. <u-action-sheet @click="selectConfirm" :list="state.actionSheetList" v-model="state.actionSheetShow">
  130. </u-action-sheet> -->
  131. <!-- 车辆类型弹窗 -->
  132. <u-popup mode="bottom" v-model="state.actionSheetShow">
  133. <view class="window">
  134. <view class="window-item" v-for="item in state.actionSheetList" :key="item.value"
  135. @click="userType(item)">{{item.text}}</view>
  136. </view>
  137. </u-popup>
  138. <u-popup mode="bottom" v-model="state.show">
  139. <view v-if="state.data.transferLogs && state.data.transferLogs.length" class="">
  140. <view class="bettwen-center">
  141. <view style="padding: 20rpx" class="title"> 选择卡签 </view>
  142. <view class="goto"> 直接跳过,不使用此套卡签 </view>
  143. </view>
  144. <view @click="guohuAction(item)" class="card" v-for="(item, index) in state.data.transferLogs"
  145. :key="index" style="margin-top: 30rpx; margin-bottom: 30rpx">
  146. <view v-if="item.status === 'WAITING'" class="card-left">
  147. <image :src="`${$imgUrl}card2.png`" mode=""></image>
  148. <view class="card-center">
  149. <view class="flex">
  150. <view class=""> 卡号: </view>
  151. <view class="card-center-head">
  152. {{ item.cardId }}
  153. </view>
  154. </view>
  155. <view style="margin-top: 10rpx" class="flex">
  156. <view class=""> OBU编号: </view>
  157. <view class="card-center-head">
  158. {{ item.obuId }}
  159. </view>
  160. </view>
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. </u-popup>
  166. </view>
  167. </template>
  168. <script setup lang="ts">
  169. import { reactive, ref } from "vue";
  170. import navBgCar from "./components/nav-bg-car4";
  171. import navBar from "@/components/nav-bar/nav-bar2.vue";
  172. import carNumberInput from "@/components/car-number-input/car-number-input.vue";
  173. import { pathToBase64 } from "@/utils/util/imageTool.js";
  174. import {
  175. etcCarCardInfoSubmit,
  176. etcCarOcrCard,
  177. fileUpload,
  178. queryGuoHuJianCe,
  179. queryGuoHuCaoZuo,
  180. } from "@/utils/network/api.js";
  181. import { request } from "@/utils/network/request.js";
  182. import { stringToJson } from "@/utils/network/encryption";
  183. import { onLoad, onPageScroll } from "@dcloudio/uni-app";
  184. import { getObuStatus } from "@/datas/obuStatus.js";
  185. import { getEtcCardStatus } from "@/datas/etcCardStatus.js";
  186. import { getItem } from "@/utils/storage";
  187. const scrollTop = ref(0);
  188. //监听页面滚动
  189. onPageScroll((e) => {
  190. scrollTop.value = e.scrollTop;
  191. });
  192. //车牌号输入
  193. const carNumber = (val : any) => {
  194. state.form.vehicleIdNum = val.trim();
  195. };
  196. //提交车辆信息
  197. const savaHandle = () => {
  198. state.form.vehicleId =
  199. state.form.vehicleIdNum + "_" + state.vehiclePlateColor;
  200. const options = {
  201. type: 2,
  202. data: state.form,
  203. method: "POST",
  204. showLoading: true,
  205. };
  206. request(etcCarCardInfoSubmit, options)
  207. .then((res) => {
  208. const data = stringToJson(res.bizContent);
  209. queryGuoHuJianCeAction().then((value) => {
  210. if (value.transferLogs && value.transferLogs.length > 0) {
  211. state.data.transferLogs = value.transferLogs;
  212. state.show = true;
  213. } else {
  214. if (state.type == 1 || state.type == "1") {
  215. uni.redirectTo({
  216. url: `/subpackage/applyCard/addAddress?orderId=${state.form.orderId
  217. }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  218. });
  219. } else {
  220. uni.redirectTo({
  221. // url: `/subpackage/applyCard/choice-product?orderId=${state.form.orderId}`,
  222. url: `/subpackage/applyCard/release-products?orderId=${state.form.orderId
  223. }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  224. });
  225. }
  226. }
  227. });
  228. })
  229. .catch((res) => {
  230. console.log(res);
  231. });
  232. };
  233. const selectConfirm = (index : any) => {
  234. console.log(index);
  235. state.form.useUserType = state.actionSheetList[index].value;
  236. state.form.useUserTypeName = state.actionSheetList[index].text;
  237. };
  238. //选择车辆用户类型
  239. const userType = (item : any) => {
  240. state.form.useUserType = item.value;
  241. state.form.useUserTypeName = item.text;
  242. state.actionSheetShow = false;
  243. }
  244. //车头照图片上传
  245. const cardFileImageUpdate = () => {
  246. uni.chooseImage({
  247. count: 1, //只能选取一张照片
  248. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  249. sourceType: ["camera", "album"], //从相册选择
  250. success: function (res) {
  251. pathToBase64(res.tempFilePaths[0])
  252. .then((path) => {
  253. var data = {
  254. fileBase64: path,
  255. };
  256. const options = {
  257. type: 2,
  258. data: data,
  259. method: "POST",
  260. showLoading: true,
  261. };
  262. request(fileUpload, options).then((res) => {
  263. const data = stringToJson(res.bizContent);
  264. console.log(data);
  265. state.form.vehBodyUrl = data.data.url;
  266. });
  267. })
  268. .catch((error) => { });
  269. },
  270. });
  271. };
  272. const state = reactive({
  273. data: {
  274. transferLogs: [],
  275. },
  276. actionSheetShow: false,
  277. actionSheetList: [
  278. {
  279. text: "普通车",
  280. value: 0,
  281. },
  282. {
  283. text: "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱",
  284. value: 24,
  285. },
  286. {
  287. text: "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车",
  288. value: 27,
  289. },
  290. {
  291. text: '道路运输证经营范围除“货物专用运输 (集装 箱)"外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱',
  292. value: 28,
  293. },
  294. ],
  295. form: {
  296. orderId: "", //订单ID
  297. man: "", //所有人
  298. character: "", //使用性质
  299. register: "", //注册日期
  300. customerId: "", //用户编号
  301. vehicleId: "",
  302. vehicleIdNum: "", //车牌编号
  303. issueDate: "", //发证日期
  304. vehPosImgUrl: "", //行驶证正面
  305. vehNegImgUrl: "", //行驶证证反面
  306. type: "0", //0,客车 1.货车
  307. useUserType: 0, //车辆用户类型
  308. useUserTypeName: "普通车",
  309. vehicleSign: 2, //前/后装标识
  310. vin: "", //车辆识别代号
  311. engineNum: "", //发动机号码
  312. vehicleType: "", //车辆类型
  313. vehicleModel: "", //行驶证品牌型号
  314. approvedCount: undefined, //核定人数
  315. totalMass: undefined, //总质量
  316. maintenaceMass: 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. vehiclePlateColor: undefined,
  335. orderId: "",
  336. type: undefined, //标记来源是否登录 1为未登录数据 - 需要新增地址
  337. show: false,
  338. isMyPeopple: true,
  339. outlineL: "",
  340. outlineW: "",
  341. outlineH: "",
  342. });
  343. onLoad((option : any) => {
  344. state.form.orderId = option.orderId;
  345. state.type = option.type;
  346. state.vehiclePlateColor = option.vehiclePlateColor;
  347. });
  348. //外廓尺寸输入框
  349. const outlineInput = (e) => {
  350. state.form.vehicleDimensions =
  351. state.outlineL + "X" + state.outlineW + "X" + state.outlineH + "mm";
  352. };
  353. //orc接口调用
  354. const cardImageOcr = (val : any) => {
  355. var imageType = val;
  356. uni.chooseImage({
  357. count: 1, //只能选取一张照片
  358. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  359. sourceType: ["camera", "album"], //从相册选择
  360. success: function (res) {
  361. pathToBase64(res.tempFilePaths[0])
  362. .then((path) => {
  363. var data = {
  364. source: "1",
  365. agencyId: "52010106004",
  366. imageType: imageType,
  367. fileName: res.tempFilePaths[0],
  368. imageBase64: path,
  369. };
  370. const options = {
  371. type: 2,
  372. data: data,
  373. method: "POST",
  374. showLoading: true,
  375. };
  376. request(etcCarOcrCard, options).then((res) => {
  377. const data = stringToJson(res.bizContent);
  378. console.log(data);
  379. if (val === "1") {
  380. state.form.vehicleIdNum = data.plate_a;
  381. state.form.man = data.man;
  382. state.form.vehicleType = data.vehicle;
  383. state.form.character = data.character;
  384. state.form.vin = data.vin;
  385. state.form.engineNum = data.engine;
  386. state.form.register = data.register;
  387. state.form.issueDate = data.issue;
  388. state.form.vehPosImgUrl = data.imageUrl;
  389. state.form.vehicleModel = data.model;
  390. } else {
  391. state.form.approvedCount = parseFloat(data.apc);
  392. state.form.maintenaceMass = parseFloat(data.unladen);
  393. state.form.vehicleDimensions = data.overall.replaceAll("x", "X");
  394. let arr = data.overall.split("x");
  395. state.outlineL = arr[0]; //外廓 长
  396. state.outlineW = arr[1]; //外廓 宽
  397. state.outlineH = arr[2].substring(0, arr[2].length - 2); //外廓 高
  398. state.form.totalMass = parseFloat(data.gross);
  399. state.form.vehNegImgUrl = data.imageUrl;
  400. }
  401. });
  402. })
  403. .catch((error) => { });
  404. },
  405. });
  406. };
  407. //过户检测
  408. const queryGuoHuJianCeAction = () => {
  409. var data = {
  410. orderId: state.form.orderId,
  411. };
  412. const options = {
  413. type: 2,
  414. data: data,
  415. method: "POST",
  416. showLoading: true,
  417. };
  418. return new Promise(async (resolve, reject) => {
  419. const res = await request(queryGuoHuJianCe, options);
  420. const data = stringToJson(res.bizContent);
  421. resolve(data);
  422. }).catch((error) => {
  423. reject(error);
  424. });
  425. };
  426. //过户操作
  427. const guohuAction = (val) => {
  428. var data = {
  429. orderId: state.form.orderId,
  430. serviceType: "USE",
  431. obuId: val.obuId,
  432. cardId: val.cardId,
  433. };
  434. const options = {
  435. type: 2,
  436. data: data,
  437. method: "POST",
  438. showLoading: true,
  439. };
  440. return new Promise(async (resolve, reject) => {
  441. const res = await request(queryGuoHuCaoZuo, options);
  442. const data = stringToJson(res.bizContent);
  443. state.show = false;
  444. uni.navigateTo({
  445. url: `/subpackage/applyCard/choice-product?orderId=${state.form.orderId}`,
  446. });
  447. }).catch((error) => {
  448. reject(error);
  449. });
  450. };
  451. //替换图片地址
  452. const strReplace = (str : string) => {
  453. return str.replace("192.168.101.145:9000", "222.85.144.89:19002");
  454. };
  455. </script>
  456. <style lang="scss" scoped>
  457. .goto {
  458. margin-right: 20rpx;
  459. padding: 10rpx;
  460. color: #00b38b;
  461. border: 1rpx solid #00b38b;
  462. border-radius: 20rpx;
  463. }
  464. .flex {
  465. display: flex;
  466. align-items: center;
  467. }
  468. .bettwen-center {
  469. display: flex;
  470. align-items: center;
  471. justify-content: space-between;
  472. }
  473. .card {
  474. margin: 20rpx;
  475. height: 150rpx;
  476. background: #ffffff;
  477. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  478. border-radius: 20rpx;
  479. padding: 20rpx;
  480. display: flex;
  481. justify-content: space-between;
  482. align-items: center;
  483. margin-bottom: 30rpx;
  484. .card-left {
  485. display: flex;
  486. align-items: center;
  487. image {
  488. width: 100rpx;
  489. height: 90rpx;
  490. }
  491. .card-center {
  492. margin-left: 30rpx;
  493. .card-center-head {
  494. font-size: 32rpx;
  495. font-family: Noto Sans S Chinese;
  496. font-weight: 400;
  497. color: #333333;
  498. }
  499. .tips {
  500. font-size: 26rpx;
  501. font-family: Noto Sans S Chinese;
  502. font-weight: 400;
  503. color: #666666;
  504. .tips-card {
  505. width: 70rpx;
  506. height: 40rpx;
  507. background: #d3f2ef;
  508. border-radius: 6rpx;
  509. font-size: 20rpx;
  510. font-family: Noto Sans S Chinese;
  511. font-weight: 400;
  512. color: #0a8f8a;
  513. padding: 5rpx 10rpx;
  514. margin-left: 20rpx;
  515. }
  516. }
  517. }
  518. }
  519. .choose-item {
  520. margin-right: 20rpx;
  521. width: 50rpx;
  522. height: 50rpx;
  523. border: 1rpx solid #00b38b;
  524. border-radius: 50%;
  525. display: flex;
  526. justify-content: center;
  527. align-items: center;
  528. .active {
  529. width: 38rpx;
  530. height: 38rpx;
  531. background: #00b38b;
  532. border-radius: 50%;
  533. }
  534. }
  535. }
  536. .content {
  537. position: relative;
  538. margin-top: -50rpx;
  539. padding: 0rpx 30rpx;
  540. position: relative;
  541. .img-pos {
  542. position: absolute;
  543. left: 270rpx;
  544. top: -38rpx;
  545. right: 50rpx;
  546. .img-flex {
  547. display: flex;
  548. justify-content: space-between;
  549. align-items: center;
  550. .car-img {
  551. width: 86rpx;
  552. height: 42rpx;
  553. }
  554. .flag-img {
  555. width: 30rpx;
  556. height: 35rpx;
  557. }
  558. }
  559. }
  560. .action {
  561. padding-left: 20rpx;
  562. padding-right: 20rpx;
  563. padding-bottom: 30rpx;
  564. .button {
  565. height: 80rpx;
  566. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  567. border-radius: 40rpx;
  568. font-size: 32rpx;
  569. font-weight: 400;
  570. color: #ffffff;
  571. line-height: 80rpx;
  572. }
  573. }
  574. .item-tips {
  575. .title {
  576. font-size: 30rpx;
  577. font-family: Microsoft YaHei;
  578. font-weight: 400;
  579. color: #000000;
  580. line-height: 24rpx;
  581. }
  582. .tip {
  583. margin-top: 16rpx;
  584. font-size: 24rpx;
  585. font-family: Microsoft YaHei;
  586. font-weight: 400;
  587. color: #999999;
  588. line-height: 24rpx;
  589. }
  590. }
  591. .picture-wrapper {
  592. margin-top: 40rpx;
  593. .bg {
  594. background: #ffffff;
  595. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  596. border-radius: 20rpx;
  597. padding: 40rpx;
  598. display: flex;
  599. // align-items: center;
  600. justify-content: space-between;
  601. .name {
  602. font-size: 34rpx;
  603. font-family: Microsoft YaHei;
  604. font-weight: 400;
  605. color: #000000;
  606. line-height: 34rpx;
  607. }
  608. .value {
  609. margin-top: 20rpx;
  610. font-size: 24rpx;
  611. font-family: Microsoft YaHei;
  612. font-weight: 400;
  613. color: #999999;
  614. line-height: 24rpx;
  615. }
  616. .tip {
  617. margin-top: 20rpx;
  618. text-align: center;
  619. width: 110rpx;
  620. height: 40rpx;
  621. background: rgba(33, 190, 177, 0.2);
  622. border-radius: 6rpx;
  623. .tip-value {
  624. font-size: 20rpx;
  625. font-family: Microsoft YaHei;
  626. font-weight: 400;
  627. color: #0a8f8a;
  628. line-height: 40rpx;
  629. opacity: 1;
  630. }
  631. }
  632. }
  633. .icon {
  634. width: 294rpx;
  635. height: 188rpx;
  636. }
  637. }
  638. .shibie-wrapper {
  639. margin-top: 60rpx;
  640. .title {
  641. font-size: 30rpx;
  642. font-family: Microsoft YaHei;
  643. font-weight: 400;
  644. color: #000000;
  645. line-height: 30rpx;
  646. }
  647. }
  648. .buchong-wrapper {
  649. margin-top: 60rpx;
  650. .title {
  651. font-size: 30rpx;
  652. font-family: Microsoft YaHei;
  653. font-weight: 400;
  654. color: #000000;
  655. line-height: 30rpx;
  656. }
  657. }
  658. .green-tip {
  659. margin-top: 50rpx;
  660. font-size: 24rpx;
  661. font-family: Microsoft YaHei;
  662. font-weight: 400;
  663. color: #00b38b;
  664. line-height: 24rpx;
  665. margin-bottom: 60rpx;
  666. }
  667. }
  668. .form-item {
  669. display: flex;
  670. font-size: 28rpx;
  671. justify-content: space-between;
  672. align-items: center;
  673. }
  674. .form-item label {}
  675. .form-item .input-box {
  676. display: flex;
  677. align-items: center;
  678. }
  679. .form-item .select {
  680. flex: 1;
  681. background: #f1f1f1;
  682. padding: 6rpx 20rpx;
  683. margin: 0 10rpx;
  684. min-height: 48rpx;
  685. line-height: 48rpx;
  686. border-radius: 8rpx;
  687. }
  688. .form-item .icon {
  689. width: 28rpx;
  690. height: 32rpx;
  691. }
  692. .form-item .input-box input {
  693. width: 90rpx;
  694. background: #f1f1f1;
  695. border-radius: 8rpx;
  696. padding: 0 5rpx;
  697. }
  698. .form-item .sub-text {
  699. color: #808080;
  700. padding-left: 10rpx;
  701. }
  702. .form-item .sub-label {
  703. padding: 0 10rpx;
  704. }
  705. .window {
  706. padding: 60rpx 30rpx;
  707. }
  708. .window .window-item {
  709. border: 1px solid #00b38b;
  710. background: rgba(0, 179, 139, .1);
  711. border-radius: 10rpx;
  712. padding: 16rpx 30rpx;
  713. font-size: 30rpx;
  714. margin-bottom: 10rpx;
  715. }
  716. </style>