look.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086
  1. <template>
  2. <view class="center">
  3. <view class="c-list">
  4. <view class="xinxiup">
  5. <view class="c-row b-b">
  6. <text class="tit">合同编号:</text>
  7. <view class="con-list">
  8. <text>{{goods.contractNo}}({{goods.goodsName}})</text>
  9. </view>
  10. </view>
  11. <view class="c-row b-b">
  12. <text class="tit">买方名称:</text>
  13. <view class="con-list">
  14. <text>{{goods.contracter}}</text>
  15. </view>
  16. </view>
  17. <view class="c-row">
  18. <text class="tit">累计收发:</text>
  19. <view class="con-list">
  20. <text style="font-size: 18px">{{sendout}}<text class="hair">发</text>{{collect}}<text
  21. class="collect">收</text></text>
  22. <!-- <text>{{goods.level}}收</text> -->
  23. </view>
  24. </view>
  25. </view>
  26. <view v-for="(item , index) in carlist" :Key="index" class="forxinxi">
  27. <view class="c-row carNos">
  28. <text>{{item.carNo}} ({{item.tranCarNo}})</text>
  29. <view class="con-list">
  30. <text>{{item.sendDateStart}}<text class="hair">发</text></text>
  31. </view>
  32. </view>
  33. <view class="c-row b-b">
  34. <text class="tit">结算价(元/吨)</text>
  35. <view class="con-list">
  36. <text>{{item.settlementPrice}}</text>
  37. </view>
  38. </view>
  39. <view class="c-row b-b">
  40. <text class="tit">净重(吨)</text>
  41. <view class="con-list">
  42. <text style="font-size: 18px;">{{item.loadNetWeight}}<text
  43. class="hair">发</text>{{item.unloadNetWeight}}<text class="collect">收</text></text>
  44. </view>
  45. </view>
  46. <view class="c-row b-b">
  47. <text class="tit">扣款(元/吨)</text>
  48. <view class="con-list">
  49. <text>{{item.deductionAmount}}</text>
  50. </view>
  51. </view>
  52. <view class="c-row b-b" v-if=" item.deductionItems != null">
  53. <text class="tit">扣款原因</text>
  54. <view class="con-list">
  55. <text>{{item.deductionItems}}</text>
  56. </view>
  57. </view>
  58. <view v-if='item.loadPoundImg'>
  59. <view class="poundtitle">发货磅单</view>
  60. <view class="poundlists">
  61. <image :src="item.loadPoundImg" mode="" class="poundlist"></image>
  62. </view>
  63. </view>
  64. <view v-if='item.unloadPoundImg'>
  65. <view class="poundtitle">收货磅单</view>
  66. <view class="poundlists">
  67. <image :src="item.unloadPoundImg" mode="" class="poundlist"></image>
  68. </view>
  69. </view>
  70. <button v-if='item.confirmFlag != 3 && item.status == "已送达"' class=" btn btns unload" style="background-color: #22C572; color: #FFFFFF ;width:80%;"
  71. @click="confirmunload(item)" >确认卸货</button>
  72. </view>
  73. </view>
  74. <view class='footer'>
  75. <button class="btn" @click="commit1(goods)">添加发车信息</button>
  76. </view>
  77. <!-- <view class="addcarwrap">
  78. <view class="addcar" style="background-color: #FFFFFF;"
  79. @click="commit1(goods)">
  80. +
  81. 添加发车信息</view>
  82. </view> -->
  83. <view v-if='imgstatus' class='shade'>
  84. <view class='shade-content'>
  85. <image v-if='img' style='width:100px;height:100px;' :src='img'></image>
  86. <button style='' @click='imgstatus=false'>取消</button>
  87. </view>
  88. </view>
  89. </view>
  90. </template>
  91. <script>
  92. import uniNumberBox from '@/components/uni-number-box.vue';
  93. import {
  94. mapState
  95. } from 'vuex';
  96. export default {
  97. components: {
  98. uniNumberBox
  99. },
  100. data() {
  101. return {
  102. carlist: [],
  103. swiperCurrent: 0,
  104. titleNViewBackground: '',
  105. swiperLength: 0,
  106. id: '',
  107. goods: {
  108. // id:"",
  109. // contractNo:'',
  110. // contractNo:'',
  111. // unloadPoundImg:'',
  112. // loadPoundImg:'',
  113. // carNo:'',
  114. // sendDateStart:'',
  115. // settlementPrice:'',
  116. // deductionAmount:'',
  117. // deductionItems:'',
  118. },
  119. gooods1: {
  120. contractNo: '',
  121. },
  122. img: '',
  123. share: {
  124. title: '',
  125. imageUrl: 'https://taohaoliang.oss-cn-beijing.aliyuncs.com/shareLogo.png',
  126. },
  127. imgstatus: false,
  128. reason: "",
  129. price: undefined,
  130. imgstatus:false,
  131. reason:"",
  132. price:undefined,
  133. planId:'',
  134. };
  135. },
  136. onShow() {
  137. this.loaddata()
  138. },
  139. onLoad(option) {
  140. this.goods.goodsName = option.goodsName
  141. this.goods.contracter = option.contracter
  142. this.id = option.id
  143. this.planId=option.planId
  144. this.goods.contractNo = option.contractNo
  145. },
  146. computed: {
  147. ...mapState(['hasLogin', 'userInfo']),
  148. sendout() {
  149. var num = 0
  150. for (var i = 0; i < this.carlist.length; i++) {
  151. num += this.carlist[i].loadNetWeight
  152. }
  153. return num
  154. },
  155. collect() {
  156. var num = 0
  157. for (var i = 0; i < this.carlist.length; i++) {
  158. num += this.carlist[i].unloadNetWeight
  159. }
  160. return num
  161. }
  162. },
  163. methods: {
  164. unload(item) {
  165. this.img = item.unloadPoundImg
  166. this.imgstatus = true
  167. },
  168. shipments(item) {
  169. this.img = item.loadPoundImg
  170. this.imgstatus = true
  171. },
  172. commit1() {
  173. var tranCarNo = ''
  174. if (this.carlist.length <= 9) {
  175. tranCarNo = 'C00' + (this.carlist.length + 1)
  176. } else if (this.carlist.length < 100 && this.carlist.length > 9) {
  177. tranCarNo = 'C0' + (this.carlist.length + 1)
  178. } else if (this.carlist.length < 1000 && this.carlist.length > 99) {
  179. tranCarNo = 'C' + (this.carlist.length + 1)
  180. }
  181. var that = this
  182. uni.navigateTo({
  183. url: `/pageB/contract/contract_detail?contractNo=`
  184. +that.goods.contractNo+'&goodsName='+that.goods.goodsName+'&tranCarNo='+tranCarNo+'&planId='+that.planId
  185. })
  186. },
  187. confirmunload(item) {
  188. this.$api.doRequest('post', '/tranCarInfo/api/confirmUnloading', {
  189. id: item.id
  190. }).then(res => {
  191. if (res.data.code == 200) {
  192. uni.showToast({
  193. title: '卸货成功',
  194. icon: 'none',
  195. duration: 2000
  196. })
  197. item.confirmFlag = 3
  198. }
  199. })
  200. .catch(res => {
  201. if(res.errmsg){
  202. uni.showToast({
  203. title: res.errmsg,
  204. icon: 'none',
  205. duration: 2000
  206. })
  207. }
  208. else{
  209. uni.showToast({
  210. title: "系统异常,请联系管理员",
  211. icon: 'none',
  212. duration: 2000
  213. })
  214. }
  215. });
  216. },
  217. loaddata() {
  218. this.$api.doRequest('get', '/tranCarInfo/api/selectTranCarInfoNum', {
  219. contractNo: this.goods.contractNo
  220. }, 'application/json;charset=UTF-8').then(res => {
  221. if (res.data.code == 200) {
  222. this.carlist = res.data.data
  223. }
  224. })
  225. .catch(res => {
  226. if(res.errmsg){
  227. uni.showToast({
  228. title: res.errmsg,
  229. icon: 'none',
  230. duration: 2000
  231. })
  232. }
  233. else{
  234. uni.showToast({
  235. title: "系统异常,请联系管理员",
  236. icon: 'none',
  237. duration: 2000
  238. })
  239. }
  240. });
  241. },
  242. ViewImage(e) {
  243. var img = [];
  244. img.push(e)
  245. uni.previewImage({
  246. current: 0,
  247. urls: img
  248. });
  249. },
  250. priceInput(e) {
  251. this.price = e.detail.value
  252. },
  253. reasonInput(e) {
  254. this.reason = e.detail.value
  255. },
  256. // navToDetailPage() {
  257. // const that = this
  258. // uni.navigateTo({
  259. // url: `/pageA/product/detail_upload?id=${that.goods.id}`
  260. // })
  261. // },
  262. endSale() {
  263. const that = this
  264. uni.showLoading({
  265. title: '正在加载',
  266. mask: true
  267. })
  268. that.$api.request('sale', 'endSale', {
  269. id: that.goods.id,
  270. reason: that.reason
  271. }, failres => {
  272. if(failres.errmsg){
  273. uni.showToast({
  274. title: failres.errmsg,
  275. icon: 'none',
  276. duration: 2000
  277. })
  278. }
  279. else{
  280. uni.showToast({
  281. title: "系统异常,请联系管理员",
  282. icon: 'none',
  283. duration: 2000
  284. })
  285. }
  286. uni.hideLoading()
  287. }).then(res => {
  288. that.$api.msg('终止成功')
  289. uni.hideLoading()
  290. setTimeout(() => {
  291. uni.navigateBack()
  292. }, 1000);
  293. })
  294. },
  295. tradeNow() {
  296. if (!this.hasLogin) {
  297. uni.showModal({
  298. title: '登录提示',
  299. content: '您尚未登录,是否立即登录?',
  300. showCancel: true,
  301. confirmText: '登录',
  302. success: (e) => {
  303. if (e.confirm) {
  304. uni.navigateTo({
  305. url: '/pages/public/login'
  306. })
  307. }
  308. },
  309. fail: () => {},
  310. complete: () => {}
  311. })
  312. } else {
  313. const that = this
  314. uni.navigateTo({
  315. url: `/pageA/product/trade?id=${that.goods.id}&packing=${that.goods.packing}}&province=${that.goods.province}
  316. &city=${that.goods.city}&area=${that.goods.area}&storeName=${that.goods.storeName}&seller=${that.goods.seller}
  317. &companyId=${that.goods.companyId}&sellerPhone=${that.goods.sellerPhone}&minSale=${that.goods.minSale}
  318. &exsitCount=${that.goods.total}&isFutures=${that.goods.isFutures}
  319. &basis=${that.goods.basis}&basisSmall=${that.goods.basisSmall}&basisBig=${that.goods.basisBig}
  320. &unloadingFee=${that.goods.unloadingFee}`
  321. })
  322. }
  323. }
  324. },
  325. }
  326. </script>
  327. <style lang='scss' scoped>
  328. .center {
  329. padding: 10px 20px;
  330. background-color: #F5F6FA;
  331. margin-bottom: 50px;
  332. }
  333. page {
  334. background: $page-color-base;
  335. /* padding-bottom: 160upx; */
  336. }
  337. .container {
  338. padding: 10px 20px;
  339. background-color: #F5F6FA;
  340. }
  341. .icon-you {
  342. font-size: $font-base + 2upx;
  343. color: #888;
  344. }
  345. .carousel {
  346. width: 100%;
  347. height: 350upx;
  348. .carousel-item {
  349. width: 100%;
  350. height: 100%;
  351. padding: 0 28upx;
  352. overflow: hidden;
  353. }
  354. image {
  355. width: 100%;
  356. height: 100%;
  357. border-radius: 10upx;
  358. }
  359. }
  360. .carousel-section {
  361. padding: 0;
  362. .titleNview-placing {
  363. padding-top: 0;
  364. height: 0;
  365. }
  366. .carousel {
  367. .carousel-item {
  368. padding: 0;
  369. }
  370. }
  371. .swiper-dots {
  372. left: 45upx;
  373. bottom: 40upx;
  374. }
  375. }
  376. /* 分享 */
  377. .share-section {
  378. display: flex;
  379. align-items: center;
  380. color: $font-color-base;
  381. background: linear-gradient(left, #fdf5f6, #fbebf6);
  382. padding: 12upx 30upx;
  383. .share-icon {
  384. display: flex;
  385. align-items: center;
  386. width: 70upx;
  387. height: 30upx;
  388. line-height: 1;
  389. border: 1px solid $uni-color-primary;
  390. border-radius: 4upx;
  391. position: relative;
  392. overflow: hidden;
  393. font-size: 22upx;
  394. color: $uni-color-primary;
  395. &:after {
  396. content: '';
  397. width: 50upx;
  398. height: 50upx;
  399. border-radius: 50%;
  400. left: -20upx;
  401. top: -12upx;
  402. position: absolute;
  403. background: $uni-color-primary;
  404. }
  405. }
  406. .icon-xingxing {
  407. position: relative;
  408. z-index: 1;
  409. font-size: 24upx;
  410. margin-left: 2upx;
  411. margin-right: 10upx;
  412. color: #fff;
  413. line-height: 1;
  414. }
  415. .tit {
  416. font-size: $font-base;
  417. margin-left: 10upx;
  418. }
  419. .icon-bangzhu1 {
  420. padding: 10upx;
  421. font-size: 30upx;
  422. line-height: 1;
  423. }
  424. .share-btn {
  425. flex: 1;
  426. text-align: right;
  427. font-size: $font-sm;
  428. color: $uni-color-primary;
  429. }
  430. .icon-you {
  431. font-size: $font-sm;
  432. margin-left: 4upx;
  433. color: $uni-color-primary;
  434. }
  435. }
  436. /* .c-list {
  437. font-size: $font-sm + 2upx;
  438. color: $font-color-base;
  439. background: #fff;
  440. .c-row {
  441. display: flex;
  442. align-items: center;
  443. padding: 20upx 30upx;
  444. position: relative;
  445. }
  446. .tit {
  447. width: 220upx;
  448. }
  449. .con {
  450. flex: 1;
  451. color: $font-color-dark;
  452. .selected-text {
  453. margin-right: 10upx;
  454. }
  455. }
  456. .bz-list {
  457. height: 40upx;
  458. font-size: $font-sm+2upx;
  459. color: $font-color-dark;
  460. text {
  461. display: inline-block;
  462. margin-right: 30upx;
  463. }
  464. }
  465. .con-list {
  466. flex: 1;
  467. display: flex;
  468. flex-direction: column;
  469. color: $font-color-dark;
  470. line-height: 40upx;
  471. text-align: right;
  472. padding-right: 20upx;
  473. }
  474. .red {
  475. color: $uni-color-primary;
  476. }
  477. } */
  478. /* 评价 */
  479. .eva-section {
  480. display: flex;
  481. flex-direction: column;
  482. padding: 20upx 30upx;
  483. background: #fff;
  484. margin-top: 16upx;
  485. .e-header {
  486. display: flex;
  487. align-items: center;
  488. height: 70upx;
  489. font-size: $font-sm + 2upx;
  490. color: $font-color-light;
  491. .tit {
  492. font-size: $font-base + 2upx;
  493. color: $font-color-dark;
  494. margin-right: 4upx;
  495. }
  496. .tip {
  497. flex: 1;
  498. text-align: right;
  499. }
  500. .icon-you {
  501. margin-left: 10upx;
  502. }
  503. }
  504. }
  505. .eva-box {
  506. display: flex;
  507. padding: 20upx 0;
  508. .portrait {
  509. flex-shrink: 0;
  510. width: 80upx;
  511. height: 80upx;
  512. border-radius: 100px;
  513. }
  514. .right {
  515. flex: 1;
  516. display: flex;
  517. flex-direction: column;
  518. font-size: $font-base;
  519. color: $font-color-base;
  520. padding-left: 26upx;
  521. .con {
  522. font-size: $font-base;
  523. color: $font-color-dark;
  524. padding: 20upx 0;
  525. }
  526. .bot {
  527. display: flex;
  528. justify-content: space-between;
  529. font-size: $font-sm;
  530. color: $font-color-light;
  531. }
  532. }
  533. }
  534. /* 详情 */
  535. .detail-desc {
  536. background: #fff;
  537. margin-top: 16upx;
  538. width: 750upx;
  539. .d-header {
  540. display: flex;
  541. justify-content: center;
  542. align-items: center;
  543. height: 80upx;
  544. font-size: $font-base + 2upx;
  545. color: $font-color-dark;
  546. position: relative;
  547. text {
  548. padding: 0 20upx;
  549. background: #fff;
  550. position: relative;
  551. z-index: 1;
  552. }
  553. &:after {
  554. position: absolute;
  555. left: 50%;
  556. top: 50%;
  557. transform: translateX(-50%);
  558. width: 300upx;
  559. height: 0;
  560. content: '';
  561. border-bottom: 1px solid #ccc;
  562. }
  563. }
  564. }
  565. /* 规格选择弹窗 */
  566. .attr-content {
  567. padding: 10upx 30upx;
  568. .a-t {
  569. display: flex;
  570. image {
  571. width: 170upx;
  572. height: 170upx;
  573. flex-shrink: 0;
  574. margin-top: -40upx;
  575. border-radius: 8upx;
  576. ;
  577. }
  578. .right {
  579. display: flex;
  580. flex-direction: column;
  581. padding-left: 24upx;
  582. font-size: $font-sm + 2upx;
  583. color: $font-color-base;
  584. line-height: 42upx;
  585. .price {
  586. font-size: $font-lg;
  587. color: $uni-color-primary;
  588. margin-bottom: 10upx;
  589. }
  590. .selected-text {
  591. margin-right: 10upx;
  592. }
  593. }
  594. }
  595. .attr-list {
  596. display: flex;
  597. flex-direction: column;
  598. font-size: $font-base + 2upx;
  599. color: $font-color-base;
  600. padding-top: 30upx;
  601. padding-left: 10upx;
  602. }
  603. .item-list {
  604. padding: 30upx 0 0;
  605. display: flex;
  606. flex-wrap: wrap;
  607. text {
  608. display: flex;
  609. align-items: center;
  610. justify-content: center;
  611. background: #eee;
  612. margin-right: 20upx;
  613. margin-bottom: 20upx;
  614. border-radius: 100upx;
  615. min-width: 60upx;
  616. height: 60upx;
  617. padding: 0 20upx;
  618. font-size: $font-base;
  619. color: $font-color-dark;
  620. }
  621. .selected {
  622. background: #fbebee;
  623. color: $uni-color-primary;
  624. }
  625. }
  626. }
  627. /* 弹出层 */
  628. .popup {
  629. position: fixed;
  630. left: 0;
  631. top: 0;
  632. right: 0;
  633. bottom: 0;
  634. z-index: 99;
  635. &.show {
  636. display: block;
  637. .mask {
  638. animation: showPopup 0.2s linear both;
  639. }
  640. .layer {
  641. animation: showLayer 0.2s linear both;
  642. }
  643. }
  644. &.hide {
  645. .mask {
  646. animation: hidePopup 0.2s linear both;
  647. }
  648. .layer {
  649. animation: hideLayer 0.2s linear both;
  650. }
  651. }
  652. &.none {
  653. display: none;
  654. }
  655. .mask {
  656. position: fixed;
  657. top: 0;
  658. width: 100%;
  659. height: 100%;
  660. z-index: 1;
  661. background-color: rgba(0, 0, 0, 0.4);
  662. }
  663. .layer {
  664. position: fixed;
  665. z-index: 99;
  666. bottom: 0;
  667. width: 100%;
  668. min-height: 40vh;
  669. border-radius: 10upx 10upx 0 0;
  670. background-color: #fff;
  671. .btn {
  672. height: 66upx;
  673. line-height: 66upx;
  674. border-radius: 100upx;
  675. background: $uni-color-primary;
  676. font-size: $font-base + 2upx;
  677. color: #fff;
  678. margin: 30upx auto 20upx;
  679. }
  680. }
  681. @keyframes showPopup {
  682. 0% {
  683. opacity: 0;
  684. }
  685. 100% {
  686. opacity: 1;
  687. }
  688. }
  689. @keyframes hidePopup {
  690. 0% {
  691. opacity: 1;
  692. }
  693. 100% {
  694. opacity: 0;
  695. }
  696. }
  697. @keyframes showLayer {
  698. 0% {
  699. transform: translateY(120%);
  700. }
  701. 100% {
  702. transform: translateY(0%);
  703. }
  704. }
  705. @keyframes hideLayer {
  706. 0% {
  707. transform: translateY(0);
  708. }
  709. 100% {
  710. transform: translateY(120%);
  711. }
  712. }
  713. }
  714. .swiper-dots {
  715. display: flex;
  716. position: absolute;
  717. left: 60upx;
  718. bottom: 15upx;
  719. width: 72upx;
  720. height: 36upx;
  721. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABkCAYAAADDhn8LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTMyIDc5LjE1OTI4NCwgMjAxNi8wNC8xOS0xMzoxMzo0MCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTk4MzlBNjE0NjU1MTFFOUExNjRFQ0I3RTQ0NEExQjMiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTk4MzlBNjA0NjU1MTFFOUExNjRFQ0I3RTQ0NEExQjMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6Q0E3RUNERkE0NjExMTFFOTg5NzI4MTM2Rjg0OUQwOEUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6Q0E3RUNERkI0NjExMTFFOTg5NzI4MTM2Rjg0OUQwOEUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4Gh5BPAAACTUlEQVR42uzcQW7jQAwFUdN306l1uWwNww5kqdsmm6/2MwtVCp8CosQtP9vg/2+/gY+DRAMBgqnjIp2PaCxCLLldpPARRIiFj1yBbMV+cHZh9PURRLQNhY8kgWyL/WDtwujjI8hoE8rKLqb5CDJaRMJHokC6yKgSCR9JAukmokIknCQJpLOIrJFwMsBJELFcKHwM9BFkLBMKFxNcBCHlQ+FhoocgpVwwnv0Xn30QBJGMC0QcaBVJiAMiec/dcwKuL4j1QMsVCXFAJE4s4NQA3K/8Y6DzO4g40P7UcmIBJxbEesCKWBDg8wWxHrAiFgT4fEGsB/CwIhYE+AeBAAdPLOcV8HRmWRDAiQVcO7GcV8CLM8uCAE4sQCDAlHcQ7x+ABQEEAggEEAggEEAggEAAgQACASAQQCCAQACBAAIBBAIIBBAIIBBAIABe4e9iAe/xd7EAJxYgEGDeO4j3EODp/cOCAE4sYMyJ5cwCHs4rCwI4sYBxJ5YzC84rCwKcXxArAuthQYDzC2JF0H49LAhwYUGsCFqvx5EF2T07dMaJBetx4cRyaqFtHJ8EIhK0i8OJBQxcECuCVutxJhCRoE0cZwMRyRcFefa/ffZBVPogePihhyCnbBhcfMFFEFM+DD4m+ghSlgmDkwlOgpAl4+BkkJMgZdk4+EgaSCcpVX7bmY9kgXQQU+1TgE0c+QJZUUz1b2T4SBbIKmJW+3iMj2SBVBWz+leVfCQLpIqYbp8b85EskIxyfIOfK5Sf+wiCRJEsllQ+oqEkQfBxmD8BBgA5hVjXyrBNUQAAAABJRU5ErkJggg==);
  722. background-size: 100% 100%;
  723. .num {
  724. width: 36upx;
  725. height: 36upx;
  726. border-radius: 50px;
  727. font-size: 24upx;
  728. color: #fff;
  729. text-align: center;
  730. line-height: 36upx;
  731. }
  732. .sign {
  733. position: absolute;
  734. top: 0;
  735. left: 50%;
  736. line-height: 36upx;
  737. font-size: 12upx;
  738. color: #fff;
  739. transform: translateX(-50%);
  740. }
  741. }
  742. /* 底部操作菜单 */
  743. .page-bottom {
  744. position: fixed;
  745. left: 30upx;
  746. bottom: 30upx;
  747. z-index: 95;
  748. display: flex;
  749. justify-content: center;
  750. align-items: center;
  751. width: 690upx;
  752. height: 100upx;
  753. background: rgba(255, 255, 255, .9);
  754. box-shadow: 0 0 20upx 0 rgba(0, 0, 0, .5);
  755. border-radius: 16upx;
  756. .p-b-btn {
  757. display: flex;
  758. flex-direction: column;
  759. align-items: center;
  760. justify-content: center;
  761. font-size: $font-sm;
  762. color: $font-color-base;
  763. width: 96upx;
  764. height: 80upx;
  765. .yticon {
  766. font-size: 40upx;
  767. line-height: 48upx;
  768. color: $font-color-light;
  769. }
  770. &.active,
  771. &.active .yticon {
  772. color: $uni-color-primary;
  773. }
  774. .icon-fenxiang2 {
  775. font-size: 42upx;
  776. transform: translateY(-2upx);
  777. }
  778. .icon-shoucang {
  779. font-size: 46upx;
  780. }
  781. }
  782. }
  783. .rich-img {
  784. width: 100%;
  785. height: auto;
  786. margin: 0;
  787. padding: 0;
  788. line-height: 0px;
  789. }
  790. button::after {
  791. border: none;
  792. }
  793. /* 销售信息 */
  794. .introduce-section {
  795. background: #fff;
  796. padding: 20upx 30upx;
  797. padding-bottom: 100upx;
  798. .guess-item {
  799. padding-bottom: 20upx;
  800. border-bottom: 1px solid #ccc;
  801. }
  802. .title {
  803. font-size: 28upx;
  804. color: $font-color-dark;
  805. font-weight: bold;
  806. height: 50upx;
  807. line-height: 50upx;
  808. flex: 2.5;
  809. }
  810. .title-tip {
  811. flex: 1.5;
  812. }
  813. .price-box {
  814. display: flex;
  815. align-items: baseline;
  816. height: 120rpx;
  817. padding: 10upx 0;
  818. font-size: 26upx;
  819. color: $uni-color-primary;
  820. }
  821. .price {
  822. font-size: $font-lg + 2upx;
  823. }
  824. .m-price {
  825. margin: 0 12upx;
  826. color: $font-color-light;
  827. text-decoration: line-through;
  828. }
  829. .coupon-tip {
  830. align-items: center;
  831. padding: 4upx 10upx;
  832. background: $uni-color-primary;
  833. font-size: $font-sm;
  834. color: #fff;
  835. border-radius: 6upx;
  836. line-height: 1;
  837. transform: translateY(-4upx);
  838. }
  839. .bot-row {
  840. display: flex;
  841. align-items: center;
  842. height: 50upx;
  843. font-size: $font-sm;
  844. color: $font-color-light;
  845. view {
  846. flex: 1;
  847. }
  848. }
  849. }
  850. .shade {
  851. position: fixed;
  852. top: 0;
  853. left: 0;
  854. width: 100%;
  855. background: rgba(0, 0, 0, 0.5);
  856. height: 100%;
  857. z-index: 999999;
  858. }
  859. .shade-content {
  860. background: #fff;
  861. position: absolute;
  862. top: 50%;
  863. left: 50%;
  864. transform: translateX(-50%) translateY(-50%);
  865. z-index: 999999;
  866. text-align: center;
  867. width: 325px;
  868. padding: 10px;
  869. }
  870. .c-row {
  871. display: -webkit-box;
  872. display: -webkit-flex;
  873. display: flex;
  874. -webkit-box-align: center;
  875. -webkit-align-items: center;
  876. align-items: center;
  877. padding: 20rpx 30rpx;
  878. position: relative;
  879. }
  880. .con-list {
  881. -webkit-box-flex: 1;
  882. -webkit-flex: 1;
  883. flex: 1;
  884. display: -webkit-box;
  885. display: -webkit-flex;
  886. display: flex;
  887. -webkit-box-orient: vertical;
  888. -webkit-box-direction: normal;
  889. -webkit-flex-direction: column;
  890. flex-direction: column;
  891. color: #303133;
  892. line-height: 40rpx;
  893. text-align: right;
  894. padding-right: 20rpx;
  895. font-size: 14px;
  896. }
  897. .xinxiup {
  898. background-color: #FFFFFF;
  899. border-radius: 20px;
  900. padding: 5px 10px;
  901. }
  902. .forxinxi {
  903. background-color: #FFFFFF;
  904. margin-top: 20px;
  905. border-radius: 20px;
  906. padding-bottom:20px;
  907. /* padding: 5px 10px; */
  908. }
  909. .carNos {
  910. background-color: #EEEFF4;
  911. border-top-left-radius: 20px;
  912. border-top-right-radius: 20px;
  913. height: 60px;
  914. font-size: 18px;
  915. font-weight: 600;
  916. }
  917. .hair {
  918. width: 24px;
  919. height: 24px;
  920. border-radius: 10px;
  921. font-size: 10px;
  922. color: #22C572;
  923. background-color: #E9F8F0;
  924. }
  925. .collect {
  926. width: 24px;
  927. height: 24px;
  928. border-radius: 10px;
  929. font-size: 10px;
  930. color: #FE6430;
  931. background-color: #FEECE6;
  932. }
  933. .footer {
  934. position: fixed;
  935. bottom: 0;
  936. width: 90%;
  937. padding: 20px 0;
  938. }
  939. .btn {
  940. width: 90%;
  941. background: #22C572;
  942. color: #fff;
  943. border-radius: 30px;
  944. }
  945. .poundlist{
  946. width: 62px;
  947. height: 85px;
  948. }
  949. .poundlists{
  950. margin-left: 14px;
  951. margin-top: 10px;
  952. }
  953. .poundtitle{
  954. font-size: 15px;
  955. margin-left: 14px;
  956. margin-top: 10px;
  957. }
  958. .unload{
  959. }
  960. /* .addcarwrap{
  961. position:fixed;bottom:0;
  962. width:100%;
  963. left:0;
  964. z-index:9999;
  965. }
  966. .addcarwrap .addcar{
  967. text-align:center;
  968. margin: 0 auto;
  969. height:46px;
  970. line-height:46px;
  971. color:#00C265;
  972. } */
  973. </style>