collectLook.vue 20 KB

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