sendrecord.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958
  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. debugger
  248. getDetail(options.id, this)
  249. this.id = options.id
  250. },
  251. onPageScroll(e) {
  252. },
  253. //下拉刷新
  254. onPullDownRefresh() {},
  255. onReachBottom() { //上拉触底函数
  256. },
  257. computed: {
  258. },
  259. methods: {
  260. commit() {
  261. uni.navigateTo({
  262. url: '/pageA/freightTransport/contract_detail?id=' + this.purchaseOrder.batch
  263. })
  264. },
  265. // 查看磅单
  266. viewPoundList(type) {
  267. if (type == 0) {
  268. this.isShowFViewPoundList = true
  269. } else {
  270. this.isShowSViewPoundList = true
  271. }
  272. },
  273. confirmFreight(flag, val) {
  274. debugger
  275. if (flag == 1) {
  276. val.money = parseInt(val.money);
  277. } else {
  278. val.freightDeductionAmount = parseInt(this.freightDeductionAmount);
  279. }
  280. val.freightIngPayable = parseInt(val.freightIngPayable);
  281. val.flag = flag
  282. this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
  283. res => {
  284. debugger
  285. if (res.data.code == 200) {
  286. location.reload()
  287. }
  288. }).catch(res => {
  289. })
  290. },
  291. inputWatch(e) {
  292. debugger
  293. let _val = this.checkVal(e, "freight");
  294. if (_val) {
  295. this.isShowFreightTip = true
  296. } else {
  297. this.isShowFreightTip = false
  298. }
  299. },
  300. paidInputWatch(e) {
  301. let _val = this.checkVal(e, "paid");
  302. if (_val) {
  303. this.isShowPaidTip = true
  304. } else {
  305. this.isShowPaidTip = false
  306. }
  307. },
  308. payInputWatch(e, item) {
  309. let _val = this.checkVal(e, "pay", item);
  310. if (_val) {
  311. this.isShowPayTip = true
  312. } else {
  313. this.isShowPayTip = false
  314. }
  315. },
  316. // 扣运费
  317. freightDeduction(item) {
  318. debugger
  319. this.freightAlert = true;
  320. item.freightDeductionAmount = ""
  321. console.log("扣运费")
  322. },
  323. // 付运费
  324. payDeduction() {
  325. console.log("付运费")
  326. this.payAlert = true
  327. },
  328. //判断输入值
  329. checkVal(e, state, item) {
  330. debugger
  331. debugger
  332. console.log(e)
  333. let _val;
  334. let _val1 = this.utils.isEmpty(e)
  335. let _val2 = this.utils.isTwoPoint(e)
  336. let _val3 = !this.utils.isNumber(e)
  337. _val = _val1 || _val2 || _val3
  338. switch (state) {
  339. //扣运费
  340. case "freight":
  341. break
  342. // 应付
  343. case "paid":
  344. break
  345. // 付款金额
  346. case "pay":
  347. if (parseInt(e) > item.freightIngPayable - item.freightEdPayable) {
  348. _val = true
  349. }
  350. break
  351. }
  352. return _val
  353. },
  354. closeModel() {
  355. this.freightAlert = false;
  356. this.payAlert = false;
  357. }
  358. }
  359. }
  360. </script>
  361. <style lang='scss'>
  362. page,
  363. .content {
  364. background: #F5F6FA;
  365. }
  366. .c-row {
  367. display: -webkit-box;
  368. display: -webkit-flex;
  369. display: flex;
  370. -webkit-box-align: center;
  371. -webkit-align-items: center;
  372. align-items: center;
  373. padding: 10rpx 30rpx;
  374. position: relative;
  375. .title {
  376. color: #9698A2;
  377. }
  378. .title-black {
  379. color: #333;
  380. }
  381. }
  382. .con-list {
  383. -webkit-box-flex: 1;
  384. -webkit-flex: 1;
  385. flex: 1;
  386. display: -webkit-box;
  387. display: -webkit-flex;
  388. display: flex;
  389. -webkit-box-orient: vertical;
  390. -webkit-box-direction: normal;
  391. -webkit-flex-direction: column;
  392. flex-direction: column;
  393. color: #303133;
  394. line-height: 40rpx;
  395. text-align: right;
  396. padding-right: 20rpx;
  397. font-size: 12px;
  398. }
  399. .transaction {
  400. background-color: #FFFFFF;
  401. margin: 10px;
  402. padding-bottom: 10px;
  403. border-radius: 20px;
  404. .type {
  405. display: inline-block;
  406. font-size: 10px;
  407. padding: 1px 3px;
  408. border-radius: 50%;
  409. width: 19px;
  410. height: 19px;
  411. line-height: 19px;
  412. }
  413. .type.send {
  414. color: #22C572;
  415. background: #E9F8F0;
  416. }
  417. .type.put {
  418. color: #22C572;
  419. background: #E9F8F0;
  420. }
  421. .weightnotes {
  422. display: inline-block;
  423. border: 1px solid #CDCDCD;
  424. padding: 5px;
  425. font-size: 10px;
  426. margin-left: 3px;
  427. }
  428. .deductfreight,
  429. .payfreight {
  430. width: 75px;
  431. height: 33px;
  432. line-height: 33px;
  433. font-size: 14px;
  434. background: #fff;
  435. border: 1px solid #CDCDCD;
  436. border-radius: 30px;
  437. text-align: center;
  438. margin: 0 10px;
  439. }
  440. .payfreight {
  441. margin-right: 0;
  442. }
  443. }
  444. .line {
  445. display: inline-block;
  446. padding: 5px;
  447. position: relative;
  448. font-size: 17px;
  449. }
  450. .line.active {
  451. font-size: 19px;
  452. font-weight: 900;
  453. }
  454. .line.active:after {
  455. content: '';
  456. display: block;
  457. position: absolute;
  458. width: 38px;
  459. left: 50%;
  460. transform: translateX(-50%);
  461. bottom: 0;
  462. border-bottom: 1px solid #22C572;
  463. }
  464. .cu-tag.badge {
  465. right: 26rpx;
  466. }
  467. .cu-item {
  468. height: 80rpx;
  469. display: inline-block;
  470. line-height: 80rpx;
  471. }
  472. .search-form {
  473. background: #F5F6F9;
  474. padding-left: 20rpx;
  475. }
  476. .title-tip {
  477. color: #E63113;
  478. text-align: right;
  479. }
  480. .tag1 {
  481. background: #F5F6F9;
  482. padding: 5px;
  483. color: #333333;
  484. display: inline-flex;
  485. font-size: 22rpx;
  486. border-radius: 3px;
  487. margin: 3px;
  488. }
  489. .tag {
  490. background: #F5F6F9;
  491. padding: 7px 12px;
  492. color: #333333;
  493. display: inline-flex;
  494. font-size: 22rpx;
  495. border-radius: 15px;
  496. margin: 3px;
  497. }
  498. .tag-bule {
  499. background: #EBEEFA;
  500. color: #5C76DF;
  501. }
  502. .tag-green {
  503. background: #C6F7BC;
  504. color: #065112;
  505. }
  506. .tag-yellow {
  507. background: #F9F2EA;
  508. color: #BE9C69;
  509. }
  510. .tag-red {
  511. background: #FEECE6;
  512. color: #FE6430;
  513. }
  514. .text-white {
  515. color: #fff;
  516. }
  517. .text-white text {
  518. position: relative;
  519. z-index: 2;
  520. background: linear-gradient(45deg, #3DC146, #B2D612);
  521. padding: 5px 10px;
  522. border-radius: 38rpx;
  523. }
  524. .center {
  525. margin-bottom: 100px;
  526. }
  527. .guess-section {
  528. padding-bottom: 100upx;
  529. display: flex;
  530. flex-wrap: wrap;
  531. padding: 30upx;
  532. background: #fff;
  533. margin: 10px;
  534. border-radius: 6px;
  535. .type {
  536. border-radius: 10px;
  537. padding: 5px;
  538. wdith: 22px;
  539. height: 22px;
  540. line-height: 14px;
  541. font-size: 12px;
  542. }
  543. .type.send {
  544. background: #22C572;
  545. color: #fff;
  546. }
  547. .type.put {
  548. background: #FD714F;
  549. color: #fff;
  550. }
  551. .businessnumber {
  552. font-size: 16px;
  553. font-weight: 600;
  554. }
  555. .consigner {
  556. font-size: 12px;
  557. }
  558. .time {
  559. color: #878C9C;
  560. }
  561. .goods {
  562. font-size: 12px;
  563. }
  564. .goodsstatus {
  565. background: #F9F9FA;
  566. color: #9698A2;
  567. padding: 10px 0;
  568. padding-left: 47px;
  569. margin: 10px 0;
  570. }
  571. .del {
  572. width: 60px;
  573. height: 33px;
  574. line-height: 33px;
  575. font-size: 14px;
  576. background: #fff;
  577. border: 1px solid #CDCDCD;
  578. border-radius: 30px;
  579. text-align: center;
  580. }
  581. }
  582. .navbar {
  583. position: fixed;
  584. left: 0;
  585. top: var(--window-top);
  586. display: flex;
  587. width: 100%;
  588. height: 80upx;
  589. background: #fff;
  590. box-shadow: 0 2upx 10upx rgba(0, 0, 0, .06);
  591. z-index: 10;
  592. .nav-item {
  593. flex: 1;
  594. display: flex;
  595. justify-content: center;
  596. align-items: center;
  597. height: 100%;
  598. font-size: 30upx;
  599. color: $font-color-dark;
  600. position: relative;
  601. &.current {
  602. color: $base-color;
  603. &:after {
  604. content: '';
  605. position: absolute;
  606. left: 50%;
  607. bottom: 0;
  608. transform: translateX(-50%);
  609. width: 120upx;
  610. height: 0;
  611. border-bottom: 4upx solid $base-color;
  612. }
  613. }
  614. }
  615. .p-box {
  616. display: flex;
  617. flex-direction: column;
  618. .yticon {
  619. display: flex;
  620. align-items: center;
  621. justify-content: center;
  622. width: 30upx;
  623. height: 14upx;
  624. line-height: 1;
  625. margin-left: 4upx;
  626. font-size: 26upx;
  627. color: #888;
  628. &.active {
  629. color: $base-color;
  630. }
  631. }
  632. .xia {
  633. transform: scaleY(-1);
  634. }
  635. }
  636. .cate-item {
  637. display: flex;
  638. justify-content: center;
  639. align-items: center;
  640. height: 100%;
  641. width: 80upx;
  642. position: relative;
  643. font-size: 44upx;
  644. &:after {
  645. content: '';
  646. position: absolute;
  647. left: 0;
  648. top: 50%;
  649. transform: translateY(-50%);
  650. border-left: 1px solid #ddd;
  651. width: 0;
  652. height: 36upx;
  653. }
  654. }
  655. }
  656. /* 分类 */
  657. .cate-mask {
  658. position: fixed;
  659. left: 0;
  660. top: var(--window-top);
  661. bottom: 0;
  662. width: 100%;
  663. background: rgba(0, 0, 0, 0);
  664. z-index: 95;
  665. transition: .3s;
  666. .cate-content {
  667. width: 630upx;
  668. height: 100%;
  669. background: #fff;
  670. float: right;
  671. transform: translateX(100%);
  672. transition: .3s;
  673. }
  674. &.none {
  675. display: none;
  676. }
  677. &.show {
  678. background: rgba(0, 0, 0, .4);
  679. .cate-content {
  680. transform: translateX(0);
  681. }
  682. }
  683. }
  684. .cate-list {
  685. display: flex;
  686. flex-direction: column;
  687. height: 100%;
  688. .cate-item {
  689. display: flex;
  690. align-items: center;
  691. height: 90upx;
  692. padding-left: 30upx;
  693. font-size: 28upx;
  694. color: #555;
  695. position: relative;
  696. }
  697. .two {
  698. height: 64upx;
  699. color: #303133;
  700. font-size: 30upx;
  701. background: #f8f8f8;
  702. }
  703. .active {
  704. color: $base-color;
  705. }
  706. }
  707. .introduce-section .title {
  708. font-size: 17px;
  709. font-weight: bold;
  710. height: 40px;
  711. line-height: 40px;
  712. flex: 2.5;
  713. border-bottom: 1px solid #EEEEEE;
  714. }
  715. .introduce-section .address {
  716. color: #878C9C;
  717. font-size: 12px;
  718. padding: 10px 0 10px;
  719. }
  720. .introduce-section .price {
  721. padding: 10px 0 10px;
  722. color: #FD714F;
  723. font-size: 19px;
  724. font-weight: 700;
  725. }
  726. .introduce-section .guess-item {
  727. border-radius: 10px;
  728. background: #fff;
  729. padding: 0upx 30upx 20upx;
  730. margin: 8px;
  731. border-bottom: 1px solid #ccc;
  732. }
  733. /* 销售信息 */
  734. .introduce-section {
  735. .title-tip {
  736. flex: 1;
  737. }
  738. .price-box {
  739. display: flex;
  740. align-items: baseline;
  741. font-size: 26upx;
  742. }
  743. .price {
  744. font-size: $font-lg + 2upx;
  745. }
  746. .m-price {
  747. margin: 0 12upx;
  748. color: $font-color-light;
  749. text-decoration: line-through;
  750. }
  751. .coupon-tip {
  752. align-items: center;
  753. padding: 4upx 10upx;
  754. background: $uni-color-primary;
  755. font-size: $font-sm;
  756. color: #fff;
  757. border-radius: 6upx;
  758. line-height: 1;
  759. transform: translateY(-4upx);
  760. }
  761. .bot-row {
  762. display: flex;
  763. align-items: center;
  764. height: 50upx;
  765. font-size: $font-sm;
  766. color: $font-color-light;
  767. view {
  768. flex: 1;
  769. }
  770. }
  771. }
  772. .footer {
  773. position: fixed;
  774. bottom: 0;
  775. width: 100%;
  776. padding: 20px 0;
  777. }
  778. .btn {
  779. width: 90%;
  780. background: #22C572;
  781. color: #fff;
  782. border-radius: 30px;
  783. }
  784. .btn:after {
  785. border: none;
  786. }
  787. .freightAlert-warp {
  788. padding: 0 60rpx 80rpx 60rpx;
  789. font-size: 26rpx;
  790. /* height: 400rpx; */
  791. }
  792. .row {
  793. margin: 26rpx 0;
  794. }
  795. .uview-border {
  796. border-bottom: 1px solid #E8E9ED;
  797. }
  798. .freightAlert-model {
  799. .freightAlert-row {
  800. display: flex;
  801. justify-content: center;
  802. position: relative;
  803. .close {
  804. position: absolute;
  805. right: 20rpx;
  806. top: 0;
  807. bottom: 0;
  808. margin: auto;
  809. }
  810. .title {
  811. font-size: 34rpx;
  812. font-weight: 500;
  813. color: #333333;
  814. line-height: 48px;
  815. }
  816. }
  817. .red-tip {
  818. color: red;
  819. margin-top: 20rpx;
  820. }
  821. .freightAlert-row2,
  822. .freightAlert-row4 {
  823. display: flex;
  824. justify-content: space-between;
  825. .text {
  826. display: flex;
  827. align-items: center;
  828. }
  829. }
  830. }
  831. .payAlert {
  832. /* height: 800rpx; */
  833. }
  834. .unpaid,
  835. .paid {
  836. display: flex;
  837. justify-content: space-between;
  838. margin: 20rpx 0;
  839. }
  840. .cumulative-style {
  841. justify-content: flex-end;
  842. align-items: center;
  843. display: flex;
  844. flex-direction: row;
  845. }
  846. .noimg {
  847. margin-top: 20rpx;
  848. text-align: center;
  849. }
  850. .img {
  851. margin-top: 20rpx;
  852. }
  853. </style>