confirmLoading.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  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.loadingDate1?detailData.loadingDate1:'来自合同'}}
  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='true' :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="$u.throttle(submit(1), 5000)">暂存</view>
  91. <view class="submit" @click="$u.throttle(submit(3), 5000)">提交</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. console.log(this.detailData)
  167. this.$request.baseRequest('get', '/orderInfo/getOrderInfo', {
  168. id: this.id,
  169. }).then(res => {
  170. uni.$u.route('/pages/order/signContract', {
  171. obj: JSON.stringify(res.data),
  172. });
  173. });
  174. },
  175. selectDate() {
  176. this.showDate = true
  177. },
  178. confirmDate(e) {
  179. this.detailData.hyCarrierInfo.loadingDate = e[0]
  180. this.showDate = false
  181. },
  182. getInfo() {
  183. this.$request.baseRequest('get', '/orderInfo/getOrderInfo', {
  184. id: this.id,
  185. }).then(res => {
  186. if (res.code == 200) {
  187. this.detailData = res.data
  188. // #ifdef APP-PLUS
  189. this.getLngLat();
  190. // #endif
  191. this.$request.baseRequest('get', '/carrierInfo/getHyCarrierInfo', {
  192. orderId: this.detailData.id,
  193. }).then(res => {
  194. if (res.data) {
  195. if(res.data.loadingImg){
  196. var data=res.data.loadingImg.split(',')
  197. this.imgList=res.data.loadingImg.split(',')
  198. for (var i = 0; i < data.length; i++) {
  199. if(data[i]!=''){
  200. this.fileList1.push({url:data[i]})
  201. }
  202. }
  203. }
  204. console.log(this.fileList1)
  205. this.detailData.carNo = res.data.carNo
  206. this.detailData.loadingDate = res.data.loadingDate
  207. this.detailData.loadingDate1=res.data.loadingDate.split(' ')[0]
  208. this.detailData.weight = res.data.loadingWeight
  209. this.detailData.freight = res.data.estimatedFreight
  210. }
  211. })
  212. // this.detailData.contractNo = ''
  213. // this.detailData.id = this.detailData.carrierId
  214. // this.detailData.carrierInfo.loadingDate = ''
  215. // this.detailData.carrierInfo.carNo = ''
  216. // this.detailData.carrierInfo.loadingAreaLongitude = ''
  217. // this.detailData.carrierInfo.loadingAreaLatitude = ''
  218. // this.detailData.carrierInfo.sendCity = '营口'
  219. // this.detailData.carrierInfo.sendArea = '鲅鱼圈'
  220. // this.detailData.carrierInfo.loadingImg = ''
  221. // this.carrierInfo = res.data.carrierInfo
  222. // this.freightInfo = res.data.freightInfo
  223. // this.zcPhoneList = this.carrierInfo.loadingImg.split(',')
  224. // if(res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="已终止"){
  225. // this.status1 = true
  226. // }
  227. // if(res.data.orderStatus!="已终止"&&res.data.orderStatus!="平台驳回装车信息"&&res.data.orderStatus!="待平台确认装车"&&res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="待货主确认装车"&&res.data.orderStatus!="货主驳回装车信息"){
  228. // this.status2 = true
  229. // }
  230. }
  231. })
  232. },
  233. //车牌号弹出键盘
  234. handleShowKeyboard() {
  235. if (this.detailData.hyCarrierInfo.carNo == '') {
  236. this.carNumber = ''
  237. } else {
  238. this.carNumber = this.detailData.hyCarrierInfo.carNo
  239. }
  240. if (this.$refs.keyboard.open) {
  241. this.$refs.keyboard.open(false) //true 键盘显示 false 键盘隐藏
  242. } else {
  243. this.$refs.keyboard[0].open(false)
  244. }
  245. if (this.$refs.keyboard.open) {
  246. this.$refs.keyboard.open(true) //true 键盘显示 false 键盘隐藏
  247. } else {
  248. this.$refs.keyboard[0].open(true)
  249. }
  250. },
  251. //车牌号弹出键盘
  252. handleClick(e) {
  253. this.carNumber = e.value
  254. this.detailData.hyCarrierInfo.carNo = e.value //键盘输入值
  255. },
  256. getLngLat() {
  257. var that=this
  258. uni.showLoading({
  259. title: '获取定位中',
  260. mask: true
  261. })
  262. // this.$helper.fUN_AmapLocation.start({
  263. // intervalTime: 1000 * 3,
  264. // isReport: false,
  265. // },
  266. // res => {
  267. // //见下方定位返回示例
  268. // console.log('====fUN_AmapLocation定位====', JSON.stringify(res));
  269. // if (res.latitude) {
  270. // this.detailData.carrierInfo.loadingAreaLongitude = res.longitude;
  271. // this.detailData.carrierInfo.loadingAreaLatitude = res.latitude;
  272. // this.detailData.carrierInfo.sendCity = this.$helper.filterUrban(res.city)
  273. // this.detailData.carrierInfo.sendArea = this.$helper.filterArea(res.district);
  274. // console.log(this.detailData.carrierInfo.sendCity)
  275. // console.log(this.detailData.carrierInfo.sendArea)
  276. // this.$forceUpdate()
  277. // }
  278. // this.$helper.fUN_AmapLocation.stop({}, result => {
  279. // uni.hideLoading()
  280. // console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
  281. // });
  282. // }
  283. // );
  284. console.log(111111)
  285. // console.log(that.detailData,111111)
  286. uni.getLocation({
  287. type: 'gcj02',
  288. geocode: true,
  289. success: res => {
  290. if (res.latitude) {
  291. that.detailData.hyCarrierInfo.longitudeLatitude=res.longitude+','+res.latitude
  292. that.detailData.hyCarrierInfo.loadingAreaLongitude = res.longitude;
  293. that.detailData.hyCarrierInfo.loadingAreaLatitude = res.latitude;
  294. that.detailData.hyCarrierInfo.sendCity = that.$helper.filterUrban(res.address.city)
  295. that.localtion.city = that.$helper.filterUrban(res.address.city)
  296. that.$set(that.detailData,'loadingArea',that.$helper.filterUrban(res.address.district))
  297. that.$set(that.detailData,'loadingCity',that.$helper.filterUrban(res.address.city))
  298. that.localtion.sendArea = that.$helper.filterUrban(res.address.district)
  299. // .loadingCity = that.$helper.filterUrban(res.address.city)
  300. that.detailData.loadingLongitude = res.longitude;
  301. that.detailData.loadingLatitude = res.latitude;
  302. console.log(res,that.detailData,22222)
  303. that.$forceUpdate()
  304. uni.hideLoading()
  305. } else {
  306. if (uni.getSystemInfoSync().platform == 'android') {
  307. var context = plus.android.importClass("android.content.Context");
  308. var locationManager = plus.android.importClass(
  309. "android.location.LocationManager");
  310. var main = plus.android.runtimeMainActivity();
  311. var mainSvr = main.getSystemService(context.LOCATION_SERVICE);
  312. that.bool = mainSvr.isProviderEnabled(locationManager.GPS_PROVIDER)
  313. }
  314. if (that.bool === false) {
  315. uni.showModal({
  316. title: '提示',
  317. content: '请打开定位服务',
  318. success: ({
  319. confirm,
  320. cancel
  321. }) => {
  322. if (confirm) {
  323. if (uni.getSystemInfoSync().platform == 'android') {
  324. var Intent = plus.android.importClass(
  325. 'android.content.Intent');
  326. var Settings = plus.android.importClass(
  327. 'android.provider.Settings');
  328. var intent = new Intent(Settings
  329. .ACTION_LOCATION_SOURCE_SETTINGS);
  330. var main = plus.android.runtimeMainActivity();
  331. main.startActivity(intent); // 打开系统设置GPS服务页面
  332. }
  333. }
  334. }
  335. });
  336. uni.hideLoading()
  337. }
  338. }
  339. },
  340. fail: res => {
  341. console.log('定位失败')
  342. console.log(res)
  343. uni.hideLoading()
  344. }
  345. });
  346. },
  347. alertBtn() {
  348. // uni.navigateTo({
  349. // url: '/pages/public/login'
  350. // })
  351. },
  352. cancelClick() {
  353. this.isShowAlert = false
  354. },
  355. // 删除图片
  356. deletePic(event) {
  357. this[`fileList${event.name}`].splice(event.index, 1)
  358. },
  359. // 新增图片
  360. async afterRead(event) {
  361. // 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
  362. let lists = [].concat(event.file)
  363. let fileListLen = this[`fileList${event.name}`].length
  364. lists.map((item) => {
  365. this[`fileList${event.name}`].push({
  366. ...item,
  367. status: 'uploading',
  368. message: '上传中'
  369. })
  370. })
  371. for (let i = 0; i < lists.length; i++) {
  372. const result = await this.uploadFilePromise(lists[i].url)
  373. let item = this[`fileList${event.name}`][fileListLen]
  374. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  375. status: 'success',
  376. message: '',
  377. url: result
  378. }))
  379. fileListLen++
  380. }
  381. },
  382. uploadFilePromise(url) {
  383. uploadImage('image', url, 'appData/',
  384. result => {
  385. // 上传成功回调函数
  386. console.log('图片地址', result)
  387. this.imgList.push(result)
  388. }
  389. )
  390. },
  391. onProgress(e) {
  392. console.log(e)
  393. },
  394. submit(type) {
  395. if (type == 1) {
  396. if (this.detailData.driverContract != 1) { //合同签订标识
  397. this.$refs.uToast.show({
  398. type: 'error',
  399. message: "合同未签订不能暂存!"
  400. })
  401. return
  402. }
  403. this.alertTitle = '确定暂存装车信息?'
  404. } else {
  405. if (this.detailData.driverContract != 1) {
  406. this.$refs.uToast.show({
  407. type: 'error',
  408. message: "合同未签订不能提交!"
  409. })
  410. return
  411. }
  412. this.alertTitle = '确定提交装车信息?'
  413. }
  414. if (this.validate()) return
  415. this.isShowAlert = true
  416. this.detailData.statusFlag = type
  417. // this.$refs.uToast.show({
  418. // ...params,
  419. // complete() {
  420. // params.url && uni.navigateTo({
  421. // url: params.url
  422. // })
  423. // }
  424. // })
  425. },
  426. validate() {
  427. // uni.$u.test.isEmpty(this.detailData.carrierInfo.carNo
  428. if (uni.$u.test.isEmpty(this.detailData.carNo)) {
  429. this.$refs.uToast.show({
  430. type: 'error',
  431. message: "车牌号不能为空!",
  432. })
  433. return true
  434. }
  435. if (uni.$u.test.isEmpty(this.detailData.loadingDate)) {
  436. this.$refs.uToast.show({
  437. type: 'error',
  438. message: "装车日期不能为空!",
  439. })
  440. return true
  441. }
  442. if (uni.$u.test.isEmpty(this.detailData.freight)) {
  443. this.$refs.uToast.show({
  444. type: 'error',
  445. message: "预计运费不能为空!",
  446. })
  447. return true
  448. }
  449. // if (uni.$u.test.isEmpty(this.detailData.carrierInfo.sendCity)) {
  450. // this.$refs.uToast.show({
  451. // type: 'error',
  452. // message: "定位不能为空!",
  453. // })
  454. // return true
  455. // }
  456. // if (uni.$u.test.isEmpty(this.detailData.carrierInfo.sendArea)) {
  457. // this.$refs.uToast.show({
  458. // type: 'error',
  459. // message: "定位不能为空!",
  460. // })
  461. // return true
  462. // }
  463. if(this.imgList.length == 0){
  464. this.$refs.uToast.show({
  465. type: 'error',
  466. message: "装车照片不能为空!",
  467. })
  468. return true
  469. }
  470. },
  471. confirmClick() {
  472. var that=this
  473. this.isShowAlert = false
  474. //1暂存
  475. if (this.detailData.statusFlag == 1) {
  476. delete this.detailData.hyCarrierInfo.loadingAreaLongitude;
  477. delete this.detailData.hyCarrierInfo.loadingAreaLatitude;
  478. delete this.detailData.hyCarrierInfo.sendCity;
  479. delete this.detailData.hyCarrierInfo.sendArea;
  480. }
  481. uni.showLoading({
  482. title: '加载中'
  483. })
  484. let time = new Date() //装车时间 去当前时间的时分秒
  485. let h = time.getHours();
  486. if (h < 10) {
  487. h = "0" + h
  488. }
  489. let f = time.getMinutes();
  490. if (f < 10) {
  491. f = "0" + f
  492. }
  493. let m = time.getSeconds();
  494. if (m < 10) {
  495. m = "0" + m
  496. }
  497. var data={
  498. loadingImg:this.imgList.toString(),
  499. statusFlag:this.detailData.statusFlag,
  500. loadingDate:this.detailData.hyCarrierInfo.loadingDate.split(" ")[0] + " " + h + ":" + f + ":" + m,
  501. loadingArea:this.detailData.loadingArea,
  502. loadingCity:this.detailData.loadingCity,
  503. loadingLongitude:this.detailData.loadingLongitude,
  504. loadingLatitude:this.detailData.loadingLatitude,
  505. id:this.detailData.hyCarrierInfo.id
  506. }
  507. console.log("查看id--------",this.detailData.hyCarrierInfo.id)
  508. this.$request.baseRequest('post', '/carrierInfo/loadingAdd', data).then(res => {
  509. if (res.code == 200) {
  510. uni.hideLoading()
  511. let _title = ''
  512. if (this.detailData.statusFlag == 1) {
  513. _title = '暂存成功!'
  514. } else {
  515. _title = '提交成功!'
  516. }
  517. that.$helper.fUN_AmapLocation.start({
  518. // intervalTime: 1000 * 60,
  519. intervalTime: 5000,
  520. // locationCacheEnable:true,
  521. isReport: false
  522. // url: 'http://192.168.0.66/fun/open/test_json.do',
  523. // params: {
  524. // a: 1,
  525. // B: '测试',
  526. // c: true
  527. // },
  528. // headers: {
  529. // a: '123',
  530. // B: 'abcd'
  531. // }
  532. },
  533. res => {
  534. console.log('====确认装车开启连续定位====');
  535. console.log(res)
  536. let _data = {
  537. orderId: that.id,
  538. longitude: res.longitude,
  539. latitude: res.latitude,
  540. province: res.province,
  541. city: res.city,
  542. area: res.district
  543. }
  544. this.$helper.gjList.push(_data)
  545. uni.setStorageSync('mapGJ', this.$helper.gjList);
  546. console.log('this.$helper.gjList')
  547. console.log(this.$helper.gjList)
  548. console.log("条数", uni.getStorageSync('mapGJ').length)
  549. if (uni.getStorageSync('mapGJ').length > 100) {
  550. console.log(JSON.stringify(uni.getStorageSync('mapGJ')) )
  551. this.$request.baseRequest('post', '/hyOrderTravelPath/api/addInfo', {
  552. orderId:that.id,
  553. longitudeLatitude:JSON.stringify(uni.getStorageSync('mapGJ'))
  554. }).then(res => {
  555. uni.removeStorageSync('mapGJ');
  556. this.$helper.gjList = []
  557. })
  558. .catch(res => {
  559. uni.$u.toast(res.message);
  560. });
  561. }
  562. //判断缓存数据条数,超过reportInterval时清空缓存,重新存入缓存
  563. }
  564. );
  565. this.$refs.uToast.show({
  566. type: 'success',
  567. message: _title,
  568. complete() {
  569. uni.switchTab({
  570. url: '/pages/order/index'
  571. })
  572. }
  573. })
  574. }
  575. })
  576. .catch(res => {
  577. uni.$u.toast(res.message);
  578. });
  579. }
  580. },
  581. }
  582. </script>
  583. <style scoped lang="scss">
  584. .content {
  585. // . {
  586. // color: #333333;
  587. // }
  588. }
  589. .level2-title {
  590. margin: 0 0 20rpx 0;
  591. }
  592. .content1,
  593. .content2 {
  594. background: white;
  595. margin: 20rpx;
  596. border-radius: 20rpx;
  597. padding: 20rpx;
  598. .place {
  599. width: 80%;
  600. text-align: right;
  601. }
  602. }
  603. .upload {}
  604. .bottom-btn {
  605. display: flex;
  606. justify-content: space-around;
  607. margin-bottom: 50rpx;
  608. background: #FFFFFF;
  609. padding: 40rpx 0;
  610. }
  611. .store {
  612. padding: 20rpx 30rpx;
  613. color: #2772FB;
  614. width: 40%;
  615. background: #EEF4FF;
  616. border-radius: 40rpx;
  617. font-size: 36rpx;
  618. text-align: center;
  619. }
  620. .submit {
  621. font-size: 36rpx;
  622. padding: 20rpx 30rpx;
  623. color: white;
  624. width: 40%;
  625. background: #2772FB;
  626. border-radius: 40rpx;
  627. text-align: center;
  628. }
  629. .row-between {
  630. margin: 20rpx 0;
  631. }
  632. .sx-style {
  633. background: #2772FB;
  634. color: white;
  635. padding: 2rpx 16rpx;
  636. box-sizing: border-box;
  637. border-radius: 10rpx;
  638. margin-left: 20rpx;
  639. }
  640. .input {
  641. text-align: right;
  642. }
  643. .date-style {}
  644. </style>