1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015 |
- <template>
- <view class="center">
- <view class="c-list">
- <view class="xinxiup">
- <view class="c-row b-b">
- <text class="tit">合同编号:</text>
- <view class="con-list">
- <text>{{goods.contractNo}}({{goods.goodsName}})</text>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">卖方名称:</text>
- <view class="con-list">
- <text>{{goods.customer}}</text>
- </view>
- </view>
- <view class="c-row">
- <text class="tit">累计收发:</text>
- <view class="con-list">
- <text style="font-size: 18px">{{sendout}}<text class="hair">发</text>{{collect}}<text
- class="collect">收</text></text>
- <!-- <text>{{goods.level}}收</text> -->
- </view>
- </view>
- </view>
- <view v-for="(item , index) in carlist" :Key="index" class="forxinxi">
- <view class="c-row carNos">
- <text>{{item.carNo}}</text>
- <view class="con-list">
- <text>{{item.sendDateStart}}<text class="hair">发</text></text>
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">结算价(元/吨)</text>
- <view class="con-list">
- <text>{{item.settlementPrice}}</text>
- </view>
- </view>
- <view class="c-row" v-bind:class="item.confirmFlag == 1 ? 'b-b' : ''">
- <text class="tit">净重(吨)</text>
- <view style="font-size: 18px;margin-left: 80px;">{{item.loadNetWeight}}<text class="hair">发</text>
- </view>
- <view class="con-list">
- <view v-if="item.confirmFlag == 1" style="color: #FE6430;">未收货</view>
- <view v-if="item.confirmFlag == 3" style="color: #22C572;">已收货</view>
- </view>
- </view>
- <view v-if="item.confirmFlag == 1">
- <view class="titles">磅单照片</view>
- <upload class="upload" ref="upload" :action="action" :max-count="1" :size-type="['compressed']"
- @on-success="getImgUrl" @on-remove="onRemove" @on-uploaded="isAdd = true"
- :before-upload="filterFileType" v-if="item.loadPoundImg == null || item.loadPoundImg == '' ">
- </upload>
- <image :src="item.loadPoundImg" mode="" v-if="item.loadPoundImg != null || item.loadPoundImg != ''"
- class="picture "></image>
- </view>
- <view class="c-row" v-if="item.confirmFlag == 1">
- <view class="flex" style="justify-content: flex-end;width: 100%;">
- <view class="commit" @click="confirmunload(item)">
- 确认收货
- </view>
- </view>
- </view>
- </view>
- </view>
- <view v-if='imgstatus' class='shade'>
- <view class='shade-content'>
- <image v-if='img' style='width:100px;height:100px;' :src='img'></image>
- <button style='' @click='imgstatus=false'>取消</button>
- </view>
- </view>
- <u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
- :content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='确定' title='提示'
- :showCancelButton='false' :content="content" @confirm="alertBtn" @cancel="cancelClick"></u-modal>
- </view>
- </template>
- <script>
- import uniNumberBox from '@/components/uni-number-box.vue';
- import {
- mapState
- } from 'vuex';
- export default {
- components: {
- uniNumberBox
- },
- data() {
- return {
- isShowAlert: false,
- content: '您尚未登录,是否立即登录?',
- carlist: [],
- swiperCurrent: 0,
- titleNViewBackground: '',
- swiperLength: 0,
- id: '',
- goods: {
- },
- gooods1: {
- contractNo: '',
- },
- img: '',
- share: {
- title: '',
- imageUrl: 'https://taohaoliang.oss-cn-beijing.aliyuncs.com/shareLogo.png',
- },
- imgstatus: false,
- reason: "",
- price: undefined,
- imgstatus: false,
- reason: "",
- price: undefined,
- planId: '',
- };
- },
- onShow() {
- this.loaddata()
- },
- //下拉刷新
- onPullDownRefresh() {
- this.loaddata()
- setTimeout(function() {
- uni.stopPullDownRefresh();
- }, 1000);
- },
- onLoad(option) {
- this.goods.goodsName = option.goodsName
- this.goods.customer = option.contracter
- this.id = option.id
- this.planId = option.planId
- this.goods.contractNo = option.contractNo
- },
- computed: {
- ...mapState(['hasLogin', 'userInfo']),
- sendout() {
- var num = 0
- for (var i = 0; i < this.carlist.length; i++) {
- num += this.carlist[i].loadNetWeight
- }
- return num
- },
- collect() {
- var num = 0
- for (var i = 0; i < this.carlist.length; i++) {
- if (this.carlist[i].confirmFlag == 3) {
- num += this.carlist[i].loadNetWeight
- }
- }
- return num
- }
- },
- methods: {
- unload(item) {
- this.img = item.unloadPoundImg
- this.imgstatus = true
- },
- shipments(item) {
- this.img = item.loadPoundImg
- this.imgstatus = true
- },
- commit1() {
- var tranCarNo = ''
- if (this.carlist.length <= 9) {
- tranCarNo = 'C00' + (this.carlist.length + 1)
- } else if (this.carlist.length < 100 && this.carlist.length > 9) {
- tranCarNo = 'C0' + (this.carlist.length + 1)
- } else if (this.carlist.length < 1000 && this.carlist.length > 99) {
- tranCarNo = 'C' + (this.carlist.length + 1)
- }
- uni.navigateTo({
- url: `/pageB/contract/contract_detail?contractNo=` + this.goods.contractNo + '&goodsName=' +
- this.goods.goodsName + '&tranCarNo=' + tranCarNo,
- url: `/pageB/contract/contract_detail?contractNo=` + this.goods.contractNo + '&goodsName=' +
- this.goods.goodsName + '&tranCarNo=' + tranCarNo + '&planId=' + this.planId
- })
- },
- confirmunload(item) {
- this.$api.doRequest('post', '/tranCarInfo/api/confirmUnloading', {
- id: item.id
- }).then(res => {
- if (res.data.code == 200) {
- item.confirmFlag = 3
- this.$api.msg('确认成功!')
- }
- })
- .catch(res => {
- if (res.errmsg) {
- uni.showToast({
- title: res.errmsg,
- icon: 'none',
- duration: 2000
- })
- } else {
- uni.showToast({
- title: "系统异常,请联系管理员",
- icon: 'none',
- duration: 2000
- })
- }
- });
- },
- loaddata() {
- this.$api.doRequest('get', '/tranCarInfo/api/selectTranCarInfoNum', {
- contractNo: this.goods.contractNo
- }, 'application/json;charset=UTF-8').then(res => {
- if (res.data.code == 200) {
- this.carlist = res.data.data
- }
- })
- .catch(res => {
- if (res.errmsg) {
- uni.showToast({
- title: res.errmsg,
- icon: 'none',
- duration: 2000
- })
- } else {
- uni.showToast({
- title: "系统异常,请联系管理员",
- icon: 'none',
- duration: 2000
- })
- }
- });
- },
- ViewImage(e) {
- var img = [];
- img.push(e)
- uni.previewImage({
- current: 0,
- urls: img
- });
- },
- priceInput(e) {
- this.price = e.detail.value
- },
- reasonInput(e) {
- this.reason = e.detail.value
- },
- endSale() {
- const that = this
- uni.showLoading({
- title: '正在加载',
- mask: true
- })
- that.$api.request('sale', 'endSale', {
- id: that.goods.id,
- reason: that.reason
- }, failres => {
- if (failres.errmsg) {
- uni.showToast({
- title: failres.errmsg,
- icon: 'none',
- duration: 2000
- })
- } else {
- uni.showToast({
- title: "系统异常,请联系管理员",
- icon: 'none',
- duration: 2000
- })
- }
- uni.hideLoading()
- }).then(res => {
- that.$api.msg('终止成功')
- uni.hideLoading()
- setTimeout(() => {
- uni.navigateBack()
- }, 1000);
- })
- },
- alertBtn() {
- uni.navigateTo({
- url: '/pages/public/login'
- })
- },
- cancelClick() {
- this.isShowAlert = false
- },
- tradeNow() {
- if (!this.hasLogin) {
- this.isShowAlert = true;
- // uni.showModal({
- // title: '提示',
- // content: '您尚未登录,是否立即登录?',
- // showCancel: true,
- // confirmText: '登录',
- // success: (e) => {
- // if (e.confirm) {
- // uni.navigateTo({
- // url: '/pages/public/login'
- // })
- // }
- // },
- // fail: () => {},
- // complete: () => {}
- // })
- } else {
- const that = this
- uni.navigateTo({
- url: `/pageA/product/trade?id=${that.goods.id}&packing=${that.goods.packing}}&province=${that.goods.province}
- &city=${that.goods.city}&area=${that.goods.area}&storeName=${that.goods.storeName}&seller=${that.goods.seller}
- &companyId=${that.goods.companyId}&sellerPhone=${that.goods.sellerPhone}&minSale=${that.goods.minSale}
- &exsitCount=${that.goods.total}&isFutures=${that.goods.isFutures}
- &basis=${that.goods.basis}&basisSmall=${that.goods.basisSmall}&basisBig=${that.goods.basisBig}
- &unloadingFee=${that.goods.unloadingFee}`
- })
- }
- }
- },
- }
- </script>
- <style lang='scss' scoped>
- .center {
- padding: 10px 20px;
- background-color: #F5F6FA;
- }
- page {
- background: $page-color-base;
- /* padding-bottom: 160upx; */
- }
- .container {
- padding: 10px 20px;
- background-color: #F5F6FA;
- }
- .icon-you {
- font-size: $font-base + 2upx;
- color: #888;
- }
- .carousel {
- width: 100%;
- height: 350upx;
- .carousel-item {
- width: 100%;
- height: 100%;
- padding: 0 28upx;
- overflow: hidden;
- }
- image {
- width: 100%;
- height: 100%;
- border-radius: 10upx;
- }
- }
- .carousel-section {
- padding: 0;
- .titleNview-placing {
- padding-top: 0;
- height: 0;
- }
- .carousel {
- .carousel-item {
- padding: 0;
- }
- }
- .swiper-dots {
- left: 45upx;
- bottom: 40upx;
- }
- }
- /* 分享 */
- .share-section {
- display: flex;
- align-items: center;
- color: $font-color-base;
- background: linear-gradient(left, #fdf5f6, #fbebf6);
- padding: 12upx 30upx;
- .share-icon {
- display: flex;
- align-items: center;
- width: 70upx;
- height: 30upx;
- line-height: 1;
- border: 1px solid $uni-color-primary;
- border-radius: 4upx;
- position: relative;
- overflow: hidden;
- font-size: 22upx;
- color: $uni-color-primary;
- &:after {
- content: '';
- width: 50upx;
- height: 50upx;
- border-radius: 50%;
- left: -20upx;
- top: -12upx;
- position: absolute;
- background: $uni-color-primary;
- }
- }
- .icon-xingxing {
- position: relative;
- z-index: 1;
- font-size: 24upx;
- margin-left: 2upx;
- margin-right: 10upx;
- color: #fff;
- line-height: 1;
- }
- .tit {
- font-size: $font-base;
- margin-left: 10upx;
- }
- .icon-bangzhu1 {
- padding: 10upx;
- font-size: 30upx;
- line-height: 1;
- }
- .share-btn {
- flex: 1;
- text-align: right;
- font-size: $font-sm;
- color: $uni-color-primary;
- }
- .icon-you {
- font-size: $font-sm;
- margin-left: 4upx;
- color: $uni-color-primary;
- }
- }
- /* 评价 */
- .eva-section {
- display: flex;
- flex-direction: column;
- padding: 20upx 30upx;
- background: #fff;
- margin-top: 16upx;
- .e-header {
- display: flex;
- align-items: center;
- height: 70upx;
- font-size: $font-sm + 2upx;
- color: $font-color-light;
- .tit {
- font-size: $font-base + 2upx;
- color: $font-color-dark;
- margin-right: 4upx;
- }
- .tip {
- flex: 1;
- text-align: right;
- }
- .icon-you {
- margin-left: 10upx;
- }
- }
- }
- .eva-box {
- display: flex;
- padding: 20upx 0;
- .portrait {
- flex-shrink: 0;
- width: 80upx;
- height: 80upx;
- border-radius: 100px;
- }
- .right {
- flex: 1;
- display: flex;
- flex-direction: column;
- font-size: $font-base;
- color: $font-color-base;
- padding-left: 26upx;
- .con {
- font-size: $font-base;
- color: $font-color-dark;
- padding: 20upx 0;
- }
- .bot {
- display: flex;
- justify-content: space-between;
- font-size: $font-sm;
- color: $font-color-light;
- }
- }
- }
- /* 详情 */
- .detail-desc {
- background: #fff;
- margin-top: 16upx;
- width: 750upx;
- .d-header {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 80upx;
- font-size: $font-base + 2upx;
- color: $font-color-dark;
- position: relative;
- text {
- padding: 0 20upx;
- background: #fff;
- position: relative;
- z-index: 1;
- }
- &:after {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translateX(-50%);
- width: 300upx;
- height: 0;
- content: '';
- border-bottom: 1px solid #ccc;
- }
- }
- }
- /* 规格选择弹窗 */
- .attr-content {
- padding: 10upx 30upx;
- .a-t {
- display: flex;
- image {
- width: 170upx;
- height: 170upx;
- flex-shrink: 0;
- margin-top: -40upx;
- border-radius: 8upx;
- ;
- }
- .right {
- display: flex;
- flex-direction: column;
- padding-left: 24upx;
- font-size: $font-sm + 2upx;
- color: $font-color-base;
- line-height: 42upx;
- .price {
- font-size: $font-lg;
- color: $uni-color-primary;
- margin-bottom: 10upx;
- }
- .selected-text {
- margin-right: 10upx;
- }
- }
- }
- .attr-list {
- display: flex;
- flex-direction: column;
- font-size: $font-base + 2upx;
- color: $font-color-base;
- padding-top: 30upx;
- padding-left: 10upx;
- }
- .item-list {
- padding: 30upx 0 0;
- display: flex;
- flex-wrap: wrap;
- text {
- display: flex;
- align-items: center;
- justify-content: center;
- background: #eee;
- margin-right: 20upx;
- margin-bottom: 20upx;
- border-radius: 100upx;
- min-width: 60upx;
- height: 60upx;
- padding: 0 20upx;
- font-size: $font-base;
- color: $font-color-dark;
- }
- .selected {
- background: #fbebee;
- color: $uni-color-primary;
- }
- }
- }
- /* 弹出层 */
- .popup {
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- z-index: 99;
- &.show {
- display: block;
- .mask {
- animation: showPopup 0.2s linear both;
- }
- .layer {
- animation: showLayer 0.2s linear both;
- }
- }
- &.hide {
- .mask {
- animation: hidePopup 0.2s linear both;
- }
- .layer {
- animation: hideLayer 0.2s linear both;
- }
- }
- &.none {
- display: none;
- }
- .mask {
- position: fixed;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 1;
- background-color: rgba(0, 0, 0, 0.4);
- }
- .layer {
- position: fixed;
- z-index: 99;
- bottom: 0;
- width: 100%;
- min-height: 40vh;
- border-radius: 10upx 10upx 0 0;
- background-color: #fff;
- .btn {
- height: 66upx;
- line-height: 66upx;
- border-radius: 100upx;
- background: $uni-color-primary;
- font-size: $font-base + 2upx;
- color: #fff;
- margin: 30upx auto 20upx;
- }
- }
- @keyframes showPopup {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes hidePopup {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- @keyframes showLayer {
- 0% {
- transform: translateY(120%);
- }
- 100% {
- transform: translateY(0%);
- }
- }
- @keyframes hideLayer {
- 0% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(120%);
- }
- }
- }
- .swiper-dots {
- display: flex;
- position: absolute;
- left: 60upx;
- bottom: 15upx;
- width: 72upx;
- height: 36upx;
- 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==);
- background-size: 100% 100%;
- .num {
- width: 36upx;
- height: 36upx;
- border-radius: 50px;
- font-size: 24upx;
- color: #fff;
- text-align: center;
- line-height: 36upx;
- }
- .sign {
- position: absolute;
- top: 0;
- left: 50%;
- line-height: 36upx;
- font-size: 12upx;
- color: #fff;
- transform: translateX(-50%);
- }
- }
- /* 底部操作菜单 */
- .page-bottom {
- position: fixed;
- left: 30upx;
- bottom: 30upx;
- z-index: 95;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 690upx;
- height: 100upx;
- background: rgba(255, 255, 255, .9);
- box-shadow: 0 0 20upx 0 rgba(0, 0, 0, .5);
- border-radius: 16upx;
- .p-b-btn {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: $font-sm;
- color: $font-color-base;
- width: 96upx;
- height: 80upx;
- .yticon {
- font-size: 40upx;
- line-height: 48upx;
- color: $font-color-light;
- }
- &.active,
- &.active .yticon {
- color: $uni-color-primary;
- }
- .icon-fenxiang2 {
- font-size: 42upx;
- transform: translateY(-2upx);
- }
- .icon-shoucang {
- font-size: 46upx;
- }
- }
- }
- .rich-img {
- width: 100%;
- height: auto;
- margin: 0;
- padding: 0;
- line-height: 0px;
- }
- button::after {
- border: none;
- }
- /* 销售信息 */
- .introduce-section {
- background: #fff;
- padding: 20upx 30upx;
- padding-bottom: 100upx;
- .guess-item {
- padding-bottom: 20upx;
- border-bottom: 1px solid #ccc;
- }
- .title {
- font-size: 28upx;
- color: $font-color-dark;
- font-weight: bold;
- height: 50upx;
- line-height: 50upx;
- flex: 2.5;
- }
- .title-tip {
- flex: 1.5;
- }
- .price-box {
- display: flex;
- align-items: baseline;
- height: 120rpx;
- padding: 10upx 0;
- font-size: 26upx;
- color: $uni-color-primary;
- }
- .price {
- font-size: $font-lg + 2upx;
- }
- .m-price {
- margin: 0 12upx;
- color: $font-color-light;
- text-decoration: line-through;
- }
- .coupon-tip {
- align-items: center;
- padding: 4upx 10upx;
- background: $uni-color-primary;
- font-size: $font-sm;
- color: #fff;
- border-radius: 6upx;
- line-height: 1;
- transform: translateY(-4upx);
- }
- .bot-row {
- display: flex;
- align-items: center;
- height: 50upx;
- font-size: $font-sm;
- color: $font-color-light;
- view {
- flex: 1;
- }
- }
- }
- .shade {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- background: rgba(0, 0, 0, 0.5);
- height: 100%;
- z-index: 999999;
- }
- .shade-content {
- background: #fff;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- z-index: 999999;
- text-align: center;
- width: 325px;
- padding: 10px;
- }
- .c-row {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- padding: 20rpx 30rpx;
- position: relative;
- }
- .con-list {
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- flex: 1;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- flex-direction: column;
- color: #303133;
- line-height: 40rpx;
- text-align: right;
- padding-right: 20rpx;
- font-size: 14px;
- }
- .xinxiup {
- background-color: #FFFFFF;
- border-radius: 20px;
- padding: 5px 10px;
- }
- .forxinxi {
- background-color: #FFFFFF;
- margin-top: 20px;
- border-radius: 20px;
- /* padding: 5px 10px; */
- }
- .carNos {
- background-color: #EEEFF4;
- border-top-left-radius: 20px;
- border-top-right-radius: 20px;
- height: 60px;
- font-size: 18px;
- font-weight: 600;
- }
- .hair {
- width: 24px;
- height: 24px;
- border-radius: 10px;
- font-size: 10px;
- color: #22C572;
- background-color: #E9F8F0;
- }
- .collect {
- width: 24px;
- height: 24px;
- border-radius: 10px;
- font-size: 10px;
- color: #FE6430;
- background-color: #FEECE6;
- }
- .btn {
- margin-top: 10px;
- background-color: #FFFFFF;
- border-radius: 25px;
- border: none;
- }
- .btns {
- background-color: #22C572;
- }
- .picture {
- width: 75px;
- height: 75px;
- border-radius: 10px;
- margin-left: 16px;
- }
- .commit {
- width: 85px;
- height: 35px;
- border-radius: 16px;
- border: 1px solid #22C572;
- text-align: center;
- line-height: 33px;
- color: #22C572;
- }
- .titles {
- margin: 10px 0 10px 16px;
- font-size: 15px;
- }
- </style>
|