collectLook.vue 20 KB

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