<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-size="maxSize" :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>


	</view>
</template>

<script>
	import uniNumberBox from '@/components/uni-number-box.vue';
	import {
		mapState
	} from 'vuex';
	export default {
		components: {
			uniNumberBox
		},
		data() {
			return {
				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()
		},
		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);

				})
			},
			tradeNow() {
				if (!this.hasLogin) {
					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>
