confirmLoading.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. <!-- 确认装车 -->
  2. <template>
  3. <view class="content">
  4. <div class='content1'>
  5. <view class="level2-title">承运合同</view>
  6. <view class='row-between'>
  7. <view class="">合同编号</view>
  8. <view class="" @click="toSignContract">{{detailData.contractNo?detailData.contractNo:'去签订合同'}}</view>
  9. </view>
  10. </div>
  11. <view class="content2">
  12. <view class="level2-title">基本信息</view>
  13. <view class='row-between'>
  14. <view class="">订单编号</view>
  15. <view class="">{{detailData.orderNo}}</view>
  16. </view>
  17. <view class='row-between'>
  18. <view class="">货主</view>
  19. <view class="">{{detailData.cargoOwner}}</view>
  20. </view>
  21. <view class='row-between'>
  22. <view class="">货主单位</view>
  23. <view class="">{{detailData.compName?detailData.compName:'个人货主'}}</view>
  24. </view>
  25. <view class='row-between'>
  26. <view class="">发货地</view>
  27. <view class=" place">
  28. {{detailData.sendPrivate}}{{detailData.sendCity}}{{detailData.sendArea}}{{detailData.sendDetailedAddress}}
  29. </view>
  30. </view>
  31. <view class='row-between'>
  32. <view class="">卸货地</view>
  33. <view class=" place">
  34. {{detailData.unloadPrivate}}{{detailData.unloadCity}}{{detailData.unloadArea}}{{detailData.unloadDetailedAddress}}
  35. </view>
  36. </view>
  37. <view class='row-between'>
  38. <view class="">货名</view>
  39. <view class="">{{detailData.goodsName}}</view>
  40. </view>
  41. <!-- <view class='row-between'>
  42. <view class="">运费</view>
  43. <view class="">{{detailData.freight}}{{detailData.illingMethod==0?'元/吨':'元/车'}}</view>
  44. </view>-->
  45. </view>
  46. <view class="content2">
  47. <view class="level2-title">装车信息</view>
  48. <view class='row-between'>
  49. <view class="">车牌号</view>
  50. {{detailData.carNo?detailData.carNo:"来自合同"}}
  51. <!-- <input class="car-uumber input" v-model='detailData.carrierInfo.carNo'
  52. :disabled="true" placeholder="输入车牌号" name="input" disabled="true"></input> -->
  53. </view>
  54. <view class='row-between'>
  55. <view class="">装车日期</view>
  56. <view class="date-style">
  57. {{detailData.loadingDate?detailData.loadingDate:'来自合同'}}
  58. </view>
  59. </view>
  60. <view class='row-between'>
  61. <view class="">装车净重(吨)</view>
  62. {{detailData.weight ? detailData.weight:"来自合同"}}
  63. </view>
  64. <view class='row-between'>
  65. <view class="">预计运费(元)</view>
  66. {{detailData.freight ? detailData.freight:"来自合同"}}
  67. <!-- <view class=""><input class="input" type="text" value="" v-model="detailData.carrierInfo.freight"
  68. placeholder="请输入运费"></view> -->
  69. </view>
  70. <view class='row-between'>
  71. <view class="">定位</view>
  72. <view class="flex align-center">{{localtion.city}}
  73. {{localtion.sendArea}}
  74. <view class="sx-style" @click.stop="getLngLat()">刷新</view>
  75. </view>
  76. </view>
  77. <view class='s-flex'>
  78. <view class="" style="margin:20rpx 0;">上传装车照片</view>
  79. <u-upload class="uview-upload" :fileList="fileList1" @afterRead="afterRead($event)" @delete="deletePic"
  80. name="1" multiple :maxCount="3"></u-upload>
  81. </view>
  82. <!-- <view class='s-flex'>
  83. <view class="">上传装车磅单</view>
  84. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  85. :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  86. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
  87. </view> -->
  88. </view>
  89. <view class="bottom-btn">
  90. <view class="store" @click="submit(1)">暂存</view>
  91. <view class="submit" @click="submit(3)">提交</view>
  92. </view>
  93. <u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :closeOnClickOverlay='true'
  94. :showCancelButton='true' confirmColor='#2772FB' @confirm="confirmClick" @close="cancelClick"
  95. @cancel="cancelClick"></u-modal>
  96. <master-keyboard ref="keyboard" keyboardtype="car" :show="keyShow" :randomNumber="true" :newCar="false"
  97. :defaultValue="carNumber" @keyboardClick="handleClick"></master-keyboard>
  98. <u-toast ref="uToast"></u-toast>
  99. <u-calendar :show="showDate" :mode="mode" @confirm="confirmDate" @close="showDate= false"></u-calendar>
  100. </view>
  101. </template>
  102. <script>
  103. let that;
  104. import uploadImage from '@/components/ossutil/uploadFile.js';
  105. export default {
  106. data() {
  107. return {
  108. cyId: '',
  109. localtion: {
  110. city: '',
  111. sendArea: ''
  112. },
  113. imgList: [],
  114. fileList1: [],
  115. showDate: false,
  116. mode: 'single',
  117. id: '',
  118. sourceType: ['camera'],
  119. detailData: {
  120. hyCarrierInfo: {},
  121. loadingDate: {}
  122. },
  123. action: this.$helper.ossUploadUrl,
  124. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  125. isAdd: true,
  126. isShowAlert: false,
  127. alertContent: '',
  128. alertTitle: '',
  129. keyShow: false,
  130. carNumber: '',
  131. gjList: [],
  132. }
  133. },
  134. onLoad(options) {
  135. this.id = JSON.parse(decodeURIComponent(options.obj)).id
  136. this.detailData.hyCarrierInfo.id = JSON.parse(decodeURIComponent(options.obj)).carrierId
  137. this.cyId = JSON.parse(decodeURIComponent(options.obj)).carrierId
  138. this.getInfo()
  139. console.log(options)
  140. // this.detailData = JSON.parse(options.obj) ;
  141. // console.log(this.detailData)
  142. // CYHT20220317000001
  143. },
  144. methods: {
  145. //确认装车提交成功后,开启实时定位,
  146. // 调接口5分钟一次发送轨迹,[
  147. // {latitude: 39.997761, longitude: 116.478935},
  148. // {latitude: 39.997825, longitude: 116.478939},
  149. // {latitude: 39.998549, longitude: 116.478912},
  150. // {latitude: 39.998555, longitude: 116.478998},
  151. // {latitude: 39.998566, longitude: 116.479282},
  152. // {latitude: 39.998528, longitude: 116.479658},
  153. // {latitude: 39.998453, longitude: 116.480151},
  154. // {latitude: 39.998302, longitude: 116.480784},
  155. // {latitude: 39.998184, longitude: 116.481149},
  156. // {latitude: 39.997997, longitude: 116.481573},
  157. // {latitude: 39.997846, longitude: 116.481863},
  158. // {latitude: 39.997718, longitude: 116.482072},
  159. // {latitude: 39.997718, longitude: 116.482362},
  160. // {latitude: 39.998935, longitude: 116.483633},
  161. // {latitude: 39.998968, longitude: 116.48367},
  162. // {latitude: 39.999861, longitude: 116.484648}
  163. // ]
  164. // a(){},
  165. toSignContract() {
  166. uni.$u.route('/pages/order/signContract', {
  167. obj: JSON.stringify(this.detailData),
  168. });
  169. },
  170. selectDate() {
  171. this.showDate = true
  172. },
  173. confirmDate(e) {
  174. this.detailData.hyCarrierInfo.loadingDate = e[0]
  175. this.showDate = false
  176. },
  177. getInfo() {
  178. this.$request.baseRequest('get', '/orderInfo/getOrderInfo', {
  179. id: this.id,
  180. }).then(res => {
  181. if (res.code == 200) {
  182. this.detailData = res.data
  183. // #ifdef APP-PLUS
  184. this.getLngLat();
  185. // #endif
  186. this.$request.baseRequest('get', '/carrierInfo/getHyCarrierInfo', {
  187. orderId: this.detailData.id,
  188. }).then(res => {
  189. if (res.data) {
  190. this.detailData.carNo = res.data.carNo
  191. this.detailData.loadingDate = res.data.loadingDate
  192. this.detailData.weight = res.data.loadingWeight
  193. this.detailData.freight = res.data.estimatedFreight
  194. }
  195. })
  196. // this.detailData.contractNo = ''
  197. // this.detailData.id = this.detailData.carrierId
  198. // this.detailData.carrierInfo.loadingDate = ''
  199. // this.detailData.carrierInfo.carNo = ''
  200. // this.detailData.carrierInfo.loadingAreaLongitude = ''
  201. // this.detailData.carrierInfo.loadingAreaLatitude = ''
  202. // this.detailData.carrierInfo.sendCity = '营口'
  203. // this.detailData.carrierInfo.sendArea = '鲅鱼圈'
  204. // this.detailData.carrierInfo.loadingImg = ''
  205. // this.carrierInfo = res.data.carrierInfo
  206. // this.freightInfo = res.data.freightInfo
  207. // this.zcPhoneList = this.carrierInfo.loadingImg.split(',')
  208. // if(res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="已终止"){
  209. // this.status1 = true
  210. // }
  211. // if(res.data.orderStatus!="已终止"&&res.data.orderStatus!="平台驳回装车信息"&&res.data.orderStatus!="待平台确认装车"&&res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="待货主确认装车"&&res.data.orderStatus!="货主驳回装车信息"){
  212. // this.status2 = true
  213. // }
  214. }
  215. })
  216. },
  217. //车牌号弹出键盘
  218. handleShowKeyboard() {
  219. if (this.detailData.hyCarrierInfo.carNo == '') {
  220. this.carNumber = ''
  221. } else {
  222. this.carNumber = this.detailData.hyCarrierInfo.carNo
  223. }
  224. if (this.$refs.keyboard.open) {
  225. this.$refs.keyboard.open(false) //true 键盘显示 false 键盘隐藏
  226. } else {
  227. this.$refs.keyboard[0].open(false)
  228. }
  229. if (this.$refs.keyboard.open) {
  230. this.$refs.keyboard.open(true) //true 键盘显示 false 键盘隐藏
  231. } else {
  232. this.$refs.keyboard[0].open(true)
  233. }
  234. },
  235. //车牌号弹出键盘
  236. handleClick(e) {
  237. this.carNumber = e.value
  238. this.detailData.hyCarrierInfo.carNo = e.value //键盘输入值
  239. },
  240. getLngLat() {
  241. var that=this
  242. uni.showLoading({
  243. title: '获取定位中',
  244. mask: true
  245. })
  246. // this.$helper.fUN_AmapLocation.start({
  247. // intervalTime: 1000 * 3,
  248. // isReport: false,
  249. // },
  250. // res => {
  251. // //见下方定位返回示例
  252. // console.log('====fUN_AmapLocation定位====', JSON.stringify(res));
  253. // if (res.latitude) {
  254. // this.detailData.carrierInfo.loadingAreaLongitude = res.longitude;
  255. // this.detailData.carrierInfo.loadingAreaLatitude = res.latitude;
  256. // this.detailData.carrierInfo.sendCity = this.$helper.filterUrban(res.city)
  257. // this.detailData.carrierInfo.sendArea = this.$helper.filterArea(res.district);
  258. // console.log(this.detailData.carrierInfo.sendCity)
  259. // console.log(this.detailData.carrierInfo.sendArea)
  260. // this.$forceUpdate()
  261. // }
  262. // this.$helper.fUN_AmapLocation.stop({}, result => {
  263. // uni.hideLoading()
  264. // console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
  265. // });
  266. // }
  267. // );
  268. uni.getLocation({
  269. type: 'gcj02',
  270. geocode: true,
  271. success: res => {
  272. if (res.latitude) {
  273. console.log(res,that.detailData,111111)
  274. that.detailData.hyCarrierInfo.longitudeLatitude=res.longitude+','+res.latitude
  275. that.detailData.hyCarrierInfo.loadingAreaLongitude = res.longitude;
  276. that.detailData.hyCarrierInfo.loadingAreaLatitude = res.latitude;
  277. that.detailData.hyCarrierInfo.sendCity = that.$helper.filterUrban(res.address.city)
  278. that.localtion.city = that.$helper.filterUrban(res.address.city)
  279. that.$set(that.detailData,'loadingArea',that.$helper.filterUrban(res.address.district))
  280. that.$set(that.detailData,'loadingCity',that.$helper.filterUrban(res.address.city))
  281. that.localtion.sendArea = that.$helper.filterUrban(res.address.district)
  282. // .loadingCity = that.$helper.filterUrban(res.address.city)
  283. that.detailData.loadingLongitude = res.longitude;
  284. that.detailData.loadingLatitude = res.latitude;
  285. console.log(res,that.detailData,22222)
  286. that.$forceUpdate()
  287. uni.hideLoading()
  288. } else {
  289. if (uni.getSystemInfoSync().platform == 'android') {
  290. var context = plus.android.importClass("android.content.Context");
  291. var locationManager = plus.android.importClass(
  292. "android.location.LocationManager");
  293. var main = plus.android.runtimeMainActivity();
  294. var mainSvr = main.getSystemService(context.LOCATION_SERVICE);
  295. that.bool = mainSvr.isProviderEnabled(locationManager.GPS_PROVIDER)
  296. }
  297. if (that.bool === false) {
  298. uni.showModal({
  299. title: '提示',
  300. content: '请打开定位服务',
  301. success: ({
  302. confirm,
  303. cancel
  304. }) => {
  305. if (confirm) {
  306. if (uni.getSystemInfoSync().platform == 'android') {
  307. var Intent = plus.android.importClass(
  308. 'android.content.Intent');
  309. var Settings = plus.android.importClass(
  310. 'android.provider.Settings');
  311. var intent = new Intent(Settings
  312. .ACTION_LOCATION_SOURCE_SETTINGS);
  313. var main = plus.android.runtimeMainActivity();
  314. main.startActivity(intent); // 打开系统设置GPS服务页面
  315. }
  316. }
  317. }
  318. });
  319. uni.hideLoading()
  320. }
  321. }
  322. },
  323. fail: res => {
  324. console.log('定位失败')
  325. console.log(res)
  326. uni.hideLoading()
  327. }
  328. });
  329. },
  330. alertBtn() {
  331. // uni.navigateTo({
  332. // url: '/pages/public/login'
  333. // })
  334. },
  335. cancelClick() {
  336. this.isShowAlert = false
  337. },
  338. // 删除图片
  339. deletePic(event) {
  340. this[`fileList${event.name}`].splice(event.index, 1)
  341. },
  342. // 新增图片
  343. async afterRead(event) {
  344. // 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
  345. let lists = [].concat(event.file)
  346. let fileListLen = this[`fileList${event.name}`].length
  347. lists.map((item) => {
  348. this[`fileList${event.name}`].push({
  349. ...item,
  350. status: 'uploading',
  351. message: '上传中'
  352. })
  353. })
  354. for (let i = 0; i < lists.length; i++) {
  355. const result = await this.uploadFilePromise(lists[i].url)
  356. let item = this[`fileList${event.name}`][fileListLen]
  357. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  358. status: 'success',
  359. message: '',
  360. url: result
  361. }))
  362. fileListLen++
  363. }
  364. },
  365. uploadFilePromise(url) {
  366. uploadImage('image', url, 'appData/',
  367. result => {
  368. // 上传成功回调函数
  369. console.log('图片地址', result)
  370. this.imgList.push(result)
  371. }
  372. )
  373. },
  374. onProgress(e) {
  375. console.log(e)
  376. },
  377. submit(type) {
  378. if (type == 1) {
  379. if (this.detailData.driverContract != 1) { //合同签订标识
  380. this.$refs.uToast.show({
  381. type: 'error',
  382. message: "合同未签订不能暂存!"
  383. })
  384. return
  385. }
  386. this.alertTitle = '确定暂存装车信息?'
  387. } else {
  388. if (this.detailData.driverContract != 1) {
  389. this.$refs.uToast.show({
  390. type: 'error',
  391. message: "合同未签订不能提交!"
  392. })
  393. return
  394. }
  395. this.alertTitle = '确定提交装车信息?'
  396. }
  397. if (this.validate()) return
  398. this.isShowAlert = true
  399. this.detailData.statusFlag = type
  400. // this.$refs.uToast.show({
  401. // ...params,
  402. // complete() {
  403. // params.url && uni.navigateTo({
  404. // url: params.url
  405. // })
  406. // }
  407. // })
  408. },
  409. validate() {
  410. // uni.$u.test.isEmpty(this.detailData.carrierInfo.carNo
  411. if (uni.$u.test.isEmpty(this.detailData.carNo)) {
  412. this.$refs.uToast.show({
  413. type: 'error',
  414. message: "车牌号不能为空!",
  415. })
  416. return true
  417. }
  418. if (uni.$u.test.isEmpty(this.detailData.loadingDate)) {
  419. this.$refs.uToast.show({
  420. type: 'error',
  421. message: "装车日期不能为空!",
  422. })
  423. return true
  424. }
  425. if (uni.$u.test.isEmpty(this.detailData.freight)) {
  426. this.$refs.uToast.show({
  427. type: 'error',
  428. message: "预计运费不能为空!",
  429. })
  430. return true
  431. }
  432. // if (uni.$u.test.isEmpty(this.detailData.carrierInfo.sendCity)) {
  433. // this.$refs.uToast.show({
  434. // type: 'error',
  435. // message: "定位不能为空!",
  436. // })
  437. // return true
  438. // }
  439. // if (uni.$u.test.isEmpty(this.detailData.carrierInfo.sendArea)) {
  440. // this.$refs.uToast.show({
  441. // type: 'error',
  442. // message: "定位不能为空!",
  443. // })
  444. // return true
  445. // }
  446. if(this.fileList1.length == 0){
  447. this.$refs.uToast.show({
  448. type: 'error',
  449. message: "装车照片不能为空!",
  450. })
  451. return true
  452. }
  453. },
  454. confirmClick() {
  455. var that=this
  456. this.isShowAlert = false
  457. //1暂存
  458. if (this.detailData.statusFlag == 1) {
  459. delete this.detailData.hyCarrierInfo.loadingAreaLongitude;
  460. delete this.detailData.hyCarrierInfo.loadingAreaLatitude;
  461. delete this.detailData.hyCarrierInfo.sendCity;
  462. delete this.detailData.hyCarrierInfo.sendArea;
  463. }
  464. uni.showLoading({
  465. title: '加载中'
  466. })
  467. let time = new Date() //装车时间 去当前时间的时分秒
  468. let h = time.getHours();
  469. if (h < 10) {
  470. h = "0" + h
  471. }
  472. let f = time.getMinutes();
  473. if (f < 10) {
  474. f = "0" + f
  475. }
  476. let m = time.getSeconds();
  477. if (m < 10) {
  478. m = "0" + m
  479. }
  480. var data={
  481. loadingImg:this.imgList.toString(),
  482. statusFlag:this.detailData.statusFlag,
  483. loadingDate:this.detailData.hyCarrierInfo.loadingDate.split(" ")[0] + " " + h + ":" + f + ":" + m,
  484. loadingArea:this.detailData.loadingArea,
  485. loadingCity:this.detailData.loadingCity,
  486. loadingLongitude:this.detailData.loadingLongitude,
  487. loadingLatitude:this.detailData.loadingLatitude,
  488. id:this.detailData.hyCarrierInfo.id
  489. }
  490. console.log("查看id--------",this.detailData.hyCarrierInfo.id)
  491. this.$request.baseRequest('post', '/carrierInfo/loadingAdd', data).then(res => {
  492. if (res.code == 200) {
  493. uni.hideLoading()
  494. let _title = ''
  495. if (this.detailData.statusFlag == 1) {
  496. _title = '暂存成功!'
  497. } else {
  498. _title = '提交成功!'
  499. }
  500. that.$helper.fUN_AmapLocation.start({
  501. // intervalTime: 1000 * 60,
  502. intervalTime: 5000,
  503. // locationCacheEnable:true,
  504. isReport: false
  505. // url: 'http://192.168.0.66/fun/open/test_json.do',
  506. // params: {
  507. // a: 1,
  508. // B: '测试',
  509. // c: true
  510. // },
  511. // headers: {
  512. // a: '123',
  513. // B: 'abcd'
  514. // }
  515. },
  516. res => {
  517. console.log('====确认装车开启连续定位====');
  518. console.log(res)
  519. let _data = {
  520. orderId: that.id,
  521. longitude: res.longitude,
  522. latitude: res.latitude,
  523. province: res.province,
  524. city: res.city,
  525. area: res.district
  526. }
  527. this.$helper.gjList.push(_data)
  528. uni.setStorageSync('mapGJ', this.$helper.gjList);
  529. console.log('this.$helper.gjList')
  530. console.log(this.$helper.gjList)
  531. console.log("条数", uni.getStorageSync('mapGJ').length)
  532. if (uni.getStorageSync('mapGJ').length > 100) {
  533. console.log(JSON.stringify(uni.getStorageSync('mapGJ')) )
  534. this.$request.baseRequest('post', '/hyOrderTravelPath/api/addInfo', {
  535. orderId:that.id,
  536. longitudeLatitude:JSON.stringify(uni.getStorageSync('mapGJ'))
  537. }).then(res => {
  538. uni.removeStorageSync('mapGJ');
  539. this.$helper.gjList = []
  540. })
  541. .catch(res => {
  542. uni.$u.toast(res.message);
  543. });
  544. }
  545. //判断缓存数据条数,超过reportInterval时清空缓存,重新存入缓存
  546. }
  547. );
  548. this.$refs.uToast.show({
  549. type: 'success',
  550. message: _title,
  551. complete() {
  552. uni.switchTab({
  553. url: '/pages/order/index'
  554. })
  555. }
  556. })
  557. }
  558. })
  559. .catch(res => {
  560. uni.$u.toast(res.message);
  561. });
  562. }
  563. },
  564. }
  565. </script>
  566. <style scoped lang="scss">
  567. .content {
  568. // . {
  569. // color: #333333;
  570. // }
  571. }
  572. .level2-title {
  573. margin: 0 0 20rpx 0;
  574. }
  575. .content1,
  576. .content2 {
  577. background: white;
  578. margin: 20rpx;
  579. border-radius: 20rpx;
  580. padding: 20rpx;
  581. .place {
  582. width: 80%;
  583. text-align: right;
  584. }
  585. }
  586. .upload {}
  587. .bottom-btn {
  588. display: flex;
  589. justify-content: space-around;
  590. margin-bottom: 50rpx;
  591. background: #FFFFFF;
  592. padding: 40rpx 0;
  593. }
  594. .store {
  595. padding: 20rpx 30rpx;
  596. color: #2772FB;
  597. width: 40%;
  598. background: #EEF4FF;
  599. border-radius: 40rpx;
  600. font-size: 36rpx;
  601. text-align: center;
  602. }
  603. .submit {
  604. font-size: 36rpx;
  605. padding: 20rpx 30rpx;
  606. color: white;
  607. width: 40%;
  608. background: #2772FB;
  609. border-radius: 40rpx;
  610. text-align: center;
  611. }
  612. .row-between {
  613. margin: 20rpx 0;
  614. }
  615. .sx-style {
  616. background: #2772FB;
  617. color: white;
  618. padding: 2rpx 16rpx;
  619. box-sizing: border-box;
  620. border-radius: 10rpx;
  621. margin-left: 20rpx;
  622. }
  623. .input {
  624. text-align: right;
  625. }
  626. .date-style {}
  627. </style>