sendrecord.vue 20 KB

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