look.vue 21 KB

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