sendrecord.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951
  1. <template>
  2. <view class="center">
  3. <view class="transaction">
  4. <view style='padding-top:10px;' class="c-row">
  5. <view class="title">业务编号</view>
  6. <view class="con-list">
  7. <input v-model='purchaseOrder.businessNumber' disabled name="text"></input>
  8. </view>
  9. </view>
  10. <view class="c-row">
  11. <view class="title">货名</view>
  12. <view class="con-list">
  13. <input v-model='purchaseOrder.goodsName' disabled name="text"></input>
  14. </view>
  15. </view>
  16. <view class="c-row">
  17. <view class="title">收货方</view>
  18. <view class="con-list">
  19. <input v-model='purchaseOrder.consignee' disabled name="text"></input>
  20. </view>
  21. </view>
  22. <view class="c-row">
  23. <view class="title">货物单价(元/吨)</view>
  24. <view class="con-list">
  25. <input v-model='purchaseOrder.goodsPrice' disabled name="text"></input>
  26. </view>
  27. </view>
  28. <view class="c-row">
  29. <view class="title">运费单价(元/吨)</view>
  30. <view class="con-list">
  31. <input v-model='purchaseOrder.freightUnitPrice' disabled name="text"></input>
  32. </view>
  33. </view>
  34. <view class="c-row">
  35. <view class="title">累计收发</view>
  36. <view class="con-list cumulative-style">
  37. <!-- <input v-model='purchaseOrder.transactionsNumber' disabled name="text"></input> -->
  38. <view>
  39. <text>{{ radTotal.receipt}}</text>
  40. <text class='type send'>发</text>
  41. </view>
  42. <view>
  43. <text>{{ radTotal.delivery}}</text>
  44. <text class='type send'>收</text>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="c-row">
  49. <view class="title">收货地址</view>
  50. <view class="con-list">
  51. <input v-model='purchaseOrder.receivingAddress' disabled name="text"></input>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="transaction" v-for="(item,index) in purchaseOrder.freightReceivingDispatchingCars">
  56. <view style='padding-top:10px;' class="c-row b-b justify-between">
  57. <view class="title">{{item.carNo}}</view>
  58. <view style='align-items: center;' class="flex">
  59. <text style='color:#878C9C;'>{{item.dispatchingDate}}</text>
  60. <text class='type send' v-if="item.statusFlag==1">发</text>
  61. <text class='type send' v-if="item.statusFlag==2">收</text>
  62. </view>
  63. </view>
  64. <view class="c-row justify-between">
  65. <view style='flex:1;' class="title-black">净重</view>
  66. <view style='align-items: center;flex:2;' class="flex">
  67. <view style='flex:1;text-align:right;'>
  68. <text>{{item.reciveNetWeight}}</text>
  69. <text class='type send'>发</text>
  70. <view class='weightnotes' @click="viewPoundList(0)">查看磅单</view>
  71. <u-modal v-model="isShowFViewPoundList" title="磅单(发)" show-cancel-button=true>
  72. <view v-if="item.collectionScreenshot==''||item.collectionScreenshot==null" class="noimg">
  73. 暂未上传磅单</view>
  74. <img :src="item.collectionScreenshot" alt="" class="img">
  75. </u-modal>
  76. </view>
  77. <view style='flex:1;text-align:right;'>
  78. <text>{{item.dispatchNetWeight}}</text>
  79. <text class='type send'>收</text>
  80. <view class='weightnotes' @click="viewPoundList(1)">查看磅单</view>
  81. <u-modal v-model="isShowSViewPoundList" title="磅单(收)" show-cancel-button=true>
  82. <view v-if="item.reciveCollectionScreenshot==''||item.reciveCollectionScreenshot==null"
  83. class="noimg">暂未上传磅单</view>
  84. <img :src="item.reciveCollectionScreenshot" alt="" class="img">
  85. </u-modal>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="c-row">
  90. <view class="title-black">应付贷款</view>
  91. <view class="con-list">
  92. ¥{{item.goodsIngPayable}}
  93. </view>
  94. </view>
  95. <view class="c-row">
  96. <view class="title">已付贷款</view>
  97. <view style='color:#22C572;' class="con-list">
  98. ¥{{item.goodsEdPayable}}
  99. </view>
  100. </view>
  101. <view class="c-row">
  102. <view class="title">贷款扣款</view>
  103. <view class="con-list">
  104. ¥{{item.goodsDeductionAmount}}
  105. </view>
  106. </view>
  107. <view class="c-row">
  108. <view class="title-black">应付运费</view>
  109. <view class="con-list">
  110. {{item.freightIngPayable}}
  111. </view>
  112. </view>
  113. <view class="c-row">
  114. <view class="title">已付运费</view>
  115. <view style='color:#22C572;' class="con-list">
  116. ¥{{item.freightEdPayable}}
  117. </view>
  118. </view>
  119. <view class="c-row">
  120. <view class="title">运费扣款</view>
  121. <view class="con-list">
  122. ¥{{item.freightDeductionAmount}}
  123. </view>
  124. </view>
  125. <view class="c-row flex justify-end">
  126. <view class='deductfreight' @click="freightDeduction(item)">扣运费</view>
  127. <view class="freightAlert-model">
  128. <u-modal v-model="freightAlert" cancel-color="#AFB3BF" confirm-color="#22C572" :show-title="false"
  129. show-cancel-button=true @confirm="confirmFreight(0,item)">
  130. <view class="freightAlert-warp">
  131. <view class="freightAlert-row">
  132. <view class="title">扣运费</view>
  133. <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
  134. </view>
  135. <view class="freightAlert-row2 row">
  136. <view>运输损耗</view>
  137. <view>{{item.reciveNetWeight-item.dispatchNetWeight}}</view>
  138. </view>
  139. <view class="freightAlert-row3 row">
  140. 扣款金额
  141. </view>
  142. <view class="freightAlert-row4">
  143. <u-input v-model="freightDeductionAmount" :type="type" :border="border"
  144. placeholder="请输入扣款金额" class="uview-border" @input="inputWatch" />
  145. <view class="text">
  146. </view>
  147. </view>
  148. <view class="red-tip" v-show="isShowFreightTip">
  149. 扣款金额输入错误/扣款金额不能为空
  150. </view>
  151. </view>
  152. </u-modal>
  153. </view>
  154. <view class='payfreight' @click="payDeduction()">付运费</view>
  155. <view class="freightAlert-model">
  156. <u-modal v-model="payAlert" cancel-color="#AFB3BF" confirm-color="#22C572" :show-title="false"
  157. show-cancel-button=true @confirm="confirmFreight(1,item)">
  158. <view class="freightAlert-warp payAlert">
  159. <view class="freightAlert-row">
  160. <view class="title">付运费</view>
  161. <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
  162. </view>
  163. <view class="freightAlert-row3 row">
  164. 应付
  165. </view>
  166. <view class="freightAlert-row4">
  167. <u-input v-model="item.freightIngPayable" :type="type" :border="border"
  168. placeholder="请输入付款金额" class="uview-border" @input="paidInputWatch" />
  169. <view class="text">
  170. </view>
  171. </view>
  172. <view class="red-tip paid-tip" v-show="isShowPaidTip">
  173. 应付金额不能为空/应付运费不能小于已付运费
  174. </view>
  175. <view class="paid">
  176. <view class="">
  177. 已付
  178. </view>
  179. <view>
  180. {{item.freightEdPayable}}元
  181. </view>
  182. </view>
  183. <view class="unpaid">
  184. <view class="">
  185. 未付
  186. </view>
  187. <view>
  188. {{item.freightIngPayable-item.freightEdPayable}}元
  189. </view>
  190. </view>
  191. <view class="freightAlert-row3 row">
  192. 付款金额
  193. </view>
  194. <view class="freightAlert-row4">
  195. <u-input v-model="item.money" :type="type" :border="border" placeholder="请输入扣款金额"
  196. class="uview-border" @input="payInputWatch($event,item)" />
  197. <view class="text">
  198. </view>
  199. </view>
  200. <view class="red-tip pay-tip" v-show="isShowPayTip">
  201. 付款金额输入错误/付款金额不能超过未付金额/付款金额不能为空
  202. </view>
  203. </view>
  204. </u-modal>
  205. </view>
  206. </view>
  207. </view>
  208. <view class='footer'>
  209. <button class="btn" @click="commit()">添加发车信息</button>
  210. </view>
  211. </view>
  212. </template>
  213. <script>
  214. import {
  215. getDetail
  216. } from "./index";
  217. export default {
  218. name: "business",
  219. data() {
  220. return {
  221. isShowFViewPoundList: false,
  222. isShowSViewPoundList: false,
  223. purchaseOrder: {},
  224. freightDeductionAmount: 0,
  225. money: 0,
  226. carInfo: [],
  227. radTotal: {
  228. delivery: 0,
  229. receipt: 0
  230. },
  231. type: 'text',
  232. border: false,
  233. payValue: '',
  234. copePayValue: '',
  235. paidValue: '',
  236. freightAlert: false,
  237. payAlert: false,
  238. isShowFreightTip: false,
  239. isShowPaidTip: false,
  240. isShowPayTip: false,
  241. id: ""
  242. }
  243. },
  244. onShow() {
  245. },
  246. onLoad(options) {
  247. getDetail(options.id, this)
  248. this.id = options.id
  249. },
  250. onPageScroll(e) {
  251. },
  252. //下拉刷新
  253. onPullDownRefresh() {},
  254. onReachBottom() { //上拉触底函数
  255. },
  256. computed: {
  257. },
  258. methods: {
  259. commit() {
  260. uni.navigateTo({
  261. url: '/pageA/freightTransport/contract_detail?id=' + this.purchaseOrder.batch
  262. })
  263. },
  264. // 查看磅单
  265. viewPoundList(type) {
  266. if (type == 0) {
  267. this.isShowFViewPoundList = true
  268. } else {
  269. this.isShowSViewPoundList = true
  270. }
  271. },
  272. confirmFreight(flag, val) {
  273. if (flag == 1) {
  274. val.money = parseInt(val.money);
  275. } else {
  276. val.freightDeductionAmount = parseInt(this.freightDeductionAmount);
  277. }
  278. val.freightIngPayable = parseInt(val.freightIngPayable);
  279. val.flag = flag
  280. this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
  281. res => {
  282. if (res.data.code == 200) {
  283. location.reload()
  284. }
  285. }).catch(res => {
  286. })
  287. },
  288. inputWatch(e) {
  289. let _val = this.checkVal(e, "freight");
  290. if (_val) {
  291. this.isShowFreightTip = true
  292. } else {
  293. this.isShowFreightTip = false
  294. }
  295. },
  296. paidInputWatch(e) {
  297. let _val = this.checkVal(e, "paid");
  298. if (_val) {
  299. this.isShowPaidTip = true
  300. } else {
  301. this.isShowPaidTip = false
  302. }
  303. },
  304. payInputWatch(e, item) {
  305. let _val = this.checkVal(e, "pay", item);
  306. if (_val) {
  307. this.isShowPayTip = true
  308. } else {
  309. this.isShowPayTip = false
  310. }
  311. },
  312. // 扣运费
  313. freightDeduction(item) {
  314. this.freightAlert = true;
  315. item.freightDeductionAmount = ""
  316. console.log("扣运费")
  317. },
  318. // 付运费
  319. payDeduction() {
  320. console.log("付运费")
  321. this.payAlert = true
  322. },
  323. //判断输入值
  324. checkVal(e, state, item) {
  325. console.log(e)
  326. let _val;
  327. let _val1 = this.utils.isEmpty(e)
  328. let _val2 = this.utils.isTwoPoint(e)
  329. let _val3 = !this.utils.isNumber(e)
  330. _val = _val1 || _val2 || _val3
  331. switch (state) {
  332. //扣运费
  333. case "freight":
  334. break
  335. // 应付
  336. case "paid":
  337. break
  338. // 付款金额
  339. case "pay":
  340. if (parseInt(e) > item.freightIngPayable - item.freightEdPayable) {
  341. _val = true
  342. }
  343. break
  344. }
  345. return _val
  346. },
  347. closeModel() {
  348. this.freightAlert = false;
  349. this.payAlert = false;
  350. }
  351. }
  352. }
  353. </script>
  354. <style lang='scss'>
  355. page,
  356. .content {
  357. background: #F5F6FA;
  358. }
  359. .c-row {
  360. display: -webkit-box;
  361. display: -webkit-flex;
  362. display: flex;
  363. -webkit-box-align: center;
  364. -webkit-align-items: center;
  365. align-items: center;
  366. padding: 10rpx 30rpx;
  367. position: relative;
  368. .title {
  369. color: #9698A2;
  370. }
  371. .title-black {
  372. color: #333;
  373. }
  374. }
  375. .con-list {
  376. -webkit-box-flex: 1;
  377. -webkit-flex: 1;
  378. flex: 1;
  379. display: -webkit-box;
  380. display: -webkit-flex;
  381. display: flex;
  382. -webkit-box-orient: vertical;
  383. -webkit-box-direction: normal;
  384. -webkit-flex-direction: column;
  385. flex-direction: column;
  386. color: #303133;
  387. line-height: 40rpx;
  388. text-align: right;
  389. padding-right: 20rpx;
  390. font-size: 12px;
  391. }
  392. .transaction {
  393. background-color: #FFFFFF;
  394. margin: 10px;
  395. padding-bottom: 10px;
  396. border-radius: 20px;
  397. .type {
  398. display: inline-block;
  399. font-size: 10px;
  400. padding: 1px 3px;
  401. border-radius: 50%;
  402. width: 19px;
  403. height: 19px;
  404. line-height: 19px;
  405. }
  406. .type.send {
  407. color: #22C572;
  408. background: #E9F8F0;
  409. }
  410. .type.put {
  411. color: #22C572;
  412. background: #E9F8F0;
  413. }
  414. .weightnotes {
  415. display: inline-block;
  416. border: 1px solid #CDCDCD;
  417. padding: 5px;
  418. font-size: 10px;
  419. margin-left: 3px;
  420. }
  421. .deductfreight,
  422. .payfreight {
  423. width: 75px;
  424. height: 33px;
  425. line-height: 33px;
  426. font-size: 14px;
  427. background: #fff;
  428. border: 1px solid #CDCDCD;
  429. border-radius: 30px;
  430. text-align: center;
  431. margin: 0 10px;
  432. }
  433. .payfreight {
  434. margin-right: 0;
  435. }
  436. }
  437. .line {
  438. display: inline-block;
  439. padding: 5px;
  440. position: relative;
  441. font-size: 17px;
  442. }
  443. .line.active {
  444. font-size: 19px;
  445. font-weight: 900;
  446. }
  447. .line.active:after {
  448. content: '';
  449. display: block;
  450. position: absolute;
  451. width: 38px;
  452. left: 50%;
  453. transform: translateX(-50%);
  454. bottom: 0;
  455. border-bottom: 1px solid #22C572;
  456. }
  457. .cu-tag.badge {
  458. right: 26rpx;
  459. }
  460. .cu-item {
  461. height: 80rpx;
  462. display: inline-block;
  463. line-height: 80rpx;
  464. }
  465. .search-form {
  466. background: #F5F6F9;
  467. padding-left: 20rpx;
  468. }
  469. .title-tip {
  470. color: #E63113;
  471. text-align: right;
  472. }
  473. .tag1 {
  474. background: #F5F6F9;
  475. padding: 5px;
  476. color: #333333;
  477. display: inline-flex;
  478. font-size: 22rpx;
  479. border-radius: 3px;
  480. margin: 3px;
  481. }
  482. .tag {
  483. background: #F5F6F9;
  484. padding: 7px 12px;
  485. color: #333333;
  486. display: inline-flex;
  487. font-size: 22rpx;
  488. border-radius: 15px;
  489. margin: 3px;
  490. }
  491. .tag-bule {
  492. background: #EBEEFA;
  493. color: #5C76DF;
  494. }
  495. .tag-green {
  496. background: #C6F7BC;
  497. color: #065112;
  498. }
  499. .tag-yellow {
  500. background: #F9F2EA;
  501. color: #BE9C69;
  502. }
  503. .tag-red {
  504. background: #FEECE6;
  505. color: #FE6430;
  506. }
  507. .text-white {
  508. color: #fff;
  509. }
  510. .text-white text {
  511. position: relative;
  512. z-index: 2;
  513. background: linear-gradient(45deg, #3DC146, #B2D612);
  514. padding: 5px 10px;
  515. border-radius: 38rpx;
  516. }
  517. .center {
  518. margin-bottom: 100px;
  519. }
  520. .guess-section {
  521. padding-bottom: 100upx;
  522. display: flex;
  523. flex-wrap: wrap;
  524. padding: 30upx;
  525. background: #fff;
  526. margin: 10px;
  527. border-radius: 6px;
  528. .type {
  529. border-radius: 10px;
  530. padding: 5px;
  531. wdith: 22px;
  532. height: 22px;
  533. line-height: 14px;
  534. font-size: 12px;
  535. }
  536. .type.send {
  537. background: #22C572;
  538. color: #fff;
  539. }
  540. .type.put {
  541. background: #FD714F;
  542. color: #fff;
  543. }
  544. .businessnumber {
  545. font-size: 16px;
  546. font-weight: 600;
  547. }
  548. .consigner {
  549. font-size: 12px;
  550. }
  551. .time {
  552. color: #878C9C;
  553. }
  554. .goods {
  555. font-size: 12px;
  556. }
  557. .goodsstatus {
  558. background: #F9F9FA;
  559. color: #9698A2;
  560. padding: 10px 0;
  561. padding-left: 47px;
  562. margin: 10px 0;
  563. }
  564. .del {
  565. width: 60px;
  566. height: 33px;
  567. line-height: 33px;
  568. font-size: 14px;
  569. background: #fff;
  570. border: 1px solid #CDCDCD;
  571. border-radius: 30px;
  572. text-align: center;
  573. }
  574. }
  575. .navbar {
  576. position: fixed;
  577. left: 0;
  578. top: var(--window-top);
  579. display: flex;
  580. width: 100%;
  581. height: 80upx;
  582. background: #fff;
  583. box-shadow: 0 2upx 10upx rgba(0, 0, 0, .06);
  584. z-index: 10;
  585. .nav-item {
  586. flex: 1;
  587. display: flex;
  588. justify-content: center;
  589. align-items: center;
  590. height: 100%;
  591. font-size: 30upx;
  592. color: $font-color-dark;
  593. position: relative;
  594. &.current {
  595. color: $base-color;
  596. &:after {
  597. content: '';
  598. position: absolute;
  599. left: 50%;
  600. bottom: 0;
  601. transform: translateX(-50%);
  602. width: 120upx;
  603. height: 0;
  604. border-bottom: 4upx solid $base-color;
  605. }
  606. }
  607. }
  608. .p-box {
  609. display: flex;
  610. flex-direction: column;
  611. .yticon {
  612. display: flex;
  613. align-items: center;
  614. justify-content: center;
  615. width: 30upx;
  616. height: 14upx;
  617. line-height: 1;
  618. margin-left: 4upx;
  619. font-size: 26upx;
  620. color: #888;
  621. &.active {
  622. color: $base-color;
  623. }
  624. }
  625. .xia {
  626. transform: scaleY(-1);
  627. }
  628. }
  629. .cate-item {
  630. display: flex;
  631. justify-content: center;
  632. align-items: center;
  633. height: 100%;
  634. width: 80upx;
  635. position: relative;
  636. font-size: 44upx;
  637. &:after {
  638. content: '';
  639. position: absolute;
  640. left: 0;
  641. top: 50%;
  642. transform: translateY(-50%);
  643. border-left: 1px solid #ddd;
  644. width: 0;
  645. height: 36upx;
  646. }
  647. }
  648. }
  649. /* 分类 */
  650. .cate-mask {
  651. position: fixed;
  652. left: 0;
  653. top: var(--window-top);
  654. bottom: 0;
  655. width: 100%;
  656. background: rgba(0, 0, 0, 0);
  657. z-index: 95;
  658. transition: .3s;
  659. .cate-content {
  660. width: 630upx;
  661. height: 100%;
  662. background: #fff;
  663. float: right;
  664. transform: translateX(100%);
  665. transition: .3s;
  666. }
  667. &.none {
  668. display: none;
  669. }
  670. &.show {
  671. background: rgba(0, 0, 0, .4);
  672. .cate-content {
  673. transform: translateX(0);
  674. }
  675. }
  676. }
  677. .cate-list {
  678. display: flex;
  679. flex-direction: column;
  680. height: 100%;
  681. .cate-item {
  682. display: flex;
  683. align-items: center;
  684. height: 90upx;
  685. padding-left: 30upx;
  686. font-size: 28upx;
  687. color: #555;
  688. position: relative;
  689. }
  690. .two {
  691. height: 64upx;
  692. color: #303133;
  693. font-size: 30upx;
  694. background: #f8f8f8;
  695. }
  696. .active {
  697. color: $base-color;
  698. }
  699. }
  700. .introduce-section .title {
  701. font-size: 17px;
  702. font-weight: bold;
  703. height: 40px;
  704. line-height: 40px;
  705. flex: 2.5;
  706. border-bottom: 1px solid #EEEEEE;
  707. }
  708. .introduce-section .address {
  709. color: #878C9C;
  710. font-size: 12px;
  711. padding: 10px 0 10px;
  712. }
  713. .introduce-section .price {
  714. padding: 10px 0 10px;
  715. color: #FD714F;
  716. font-size: 19px;
  717. font-weight: 700;
  718. }
  719. .introduce-section .guess-item {
  720. border-radius: 10px;
  721. background: #fff;
  722. padding: 0upx 30upx 20upx;
  723. margin: 8px;
  724. border-bottom: 1px solid #ccc;
  725. }
  726. /* 销售信息 */
  727. .introduce-section {
  728. .title-tip {
  729. flex: 1;
  730. }
  731. .price-box {
  732. display: flex;
  733. align-items: baseline;
  734. font-size: 26upx;
  735. }
  736. .price {
  737. font-size: $font-lg + 2upx;
  738. }
  739. .m-price {
  740. margin: 0 12upx;
  741. color: $font-color-light;
  742. text-decoration: line-through;
  743. }
  744. .coupon-tip {
  745. align-items: center;
  746. padding: 4upx 10upx;
  747. background: $uni-color-primary;
  748. font-size: $font-sm;
  749. color: #fff;
  750. border-radius: 6upx;
  751. line-height: 1;
  752. transform: translateY(-4upx);
  753. }
  754. .bot-row {
  755. display: flex;
  756. align-items: center;
  757. height: 50upx;
  758. font-size: $font-sm;
  759. color: $font-color-light;
  760. view {
  761. flex: 1;
  762. }
  763. }
  764. }
  765. .footer {
  766. position: fixed;
  767. bottom: 0;
  768. width: 100%;
  769. padding: 20px 0;
  770. }
  771. .btn {
  772. width: 90%;
  773. background: #22C572;
  774. color: #fff;
  775. border-radius: 30px;
  776. }
  777. .btn:after {
  778. border: none;
  779. }
  780. .freightAlert-warp {
  781. padding: 0 60rpx 80rpx 60rpx;
  782. font-size: 26rpx;
  783. /* height: 400rpx; */
  784. }
  785. .row {
  786. margin: 26rpx 0;
  787. }
  788. .uview-border {
  789. border-bottom: 1px solid #E8E9ED;
  790. }
  791. .freightAlert-model {
  792. .freightAlert-row {
  793. display: flex;
  794. justify-content: center;
  795. position: relative;
  796. .close {
  797. position: absolute;
  798. right: 20rpx;
  799. top: 0;
  800. bottom: 0;
  801. margin: auto;
  802. }
  803. .title {
  804. font-size: 34rpx;
  805. font-weight: 500;
  806. color: #333333;
  807. line-height: 48px;
  808. }
  809. }
  810. .red-tip {
  811. color: red;
  812. margin-top: 20rpx;
  813. }
  814. .freightAlert-row2,
  815. .freightAlert-row4 {
  816. display: flex;
  817. justify-content: space-between;
  818. .text {
  819. display: flex;
  820. align-items: center;
  821. }
  822. }
  823. }
  824. .payAlert {
  825. /* height: 800rpx; */
  826. }
  827. .unpaid,
  828. .paid {
  829. display: flex;
  830. justify-content: space-between;
  831. margin: 20rpx 0;
  832. }
  833. .cumulative-style {
  834. justify-content: flex-end;
  835. align-items: center;
  836. display: flex;
  837. flex-direction: row;
  838. }
  839. .noimg {
  840. margin-top: 20rpx;
  841. text-align: center;
  842. }
  843. .img {
  844. margin-top: 20rpx;
  845. }
  846. </style>