look.vue 21 KB

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