collectLook.vue 20 KB

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