<template>
	<view class="introduce-section">
		<view class="article no-card" style='width: 100%;'>
			<view class="shadow factoryItem flex justify-between">
				<view style='flex:1;color:#B2B3BB;'>合约</view>
				<view style='flex:1;text-align:right;color:#B2B3BB;'>最新价</view>
			</view>
		</view>
		<view
			v-for="(item, index) in infoList" :key="index"
			class="guess-item"
		>
		<view class="article no-card" >
			<view class="cu-item shadow factoryItem flex justify-between align-center">
				<view style='flex:1;'>
					<view style='color:#333;' class='factory'>{{item.goodsName}}</view>
				</view>
				<view style='flex:1;text-align:right;font-weight:900;font-size:17px;' >
					<view :class="item.newPrice > item.openPrice ? 'text-red':'text-green'">{{item.newPrice}}</view>
				</view>
			</view>
		</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.cu-tag.badge {
	    right: 26rpx;
	}
	.up,.down{
		width: 8px;
		height: 5px;
		vertical-align: middle;
		margin-left: 2px;
	}
	.gird-left,.gird-right{
		
	}
	.cu-tag.radius[class*="line"]::after {
    border-radius: 66rpx;
	}
	.goTop{
	  height: 32px;
	  width: 32px;
	  position: fixed;
	  bottom: 200rpx;
	  right: 30rpx;
	  border-radius: 50%;
	}
	.goTop image{
		width:32px;
		height:32px;
	}
	.flex{
		display:flex;
	}
	.text-white{
		color:#fff;
	}
	.cu-card{
		text-align: center;
	}
	.factory{
		font-size:26rpx;
	}
	.positive{
		color:#E63113;
		font-size:26rpx;
		font-weight:900;
	}
	.negative{
		color:#229453;
		font-size:26rpx;
		font-weight:900;
	}
	.wrap{
		font-size:20rpx;
		color: rgba(0,0,0,0.5);
	}
	.align-center{
		align-items: center;
	}
	.flex-direction-row{
		flex-direction:row;
	}
	.factoryItem{
		padding: 20rpx 0;
	}
	/* #ifdef MP */
	.mp-search-box {
		// position:relative;
		left: 0;
		top: 30upx;
		z-index: 9999;
		width: 100%;
		padding: 0 80upx;
		background: rgba(255, 170, 0, 0.6);

		.ser-input {
			flex: 1;
			height: 56upx;
			line-height: 56upx;
			text-align: center;
			font-size: 28upx;
			color: $font-color-base;
			border-radius: 10px;
			background: rgba(255, 255, 255, .6);
		}
	}
	.desc{
	    width:73%;
		margin-right:2%;
	}
    .justify-between{
		justify-content: space-between;
	}
	page {
		.cate-section {
			position: relative;
			z-index: 5;
			border-radius: 16upx 16upx 0 0;
			margin-top: -20upx;
		}

		.carousel-section {
			padding: 0;

			.titleNview-placing {
				padding-top: 0;
				height: 0;
			}

			.carousel {
				.carousel-item {
					padding: 0;
				}
			}

			.swiper-dots {
				left: 50%;
				bottom: 5upx;
				transform: translateX(-50%);
			}
		}
	}

	/* #endif */
	.cuIcon-notification::before{
		color:#f37b1;
	}
	.cu-card.article>.cu-item .content>image {
	    height: 3.4em;
		margin-right: 0rpx;
		margin-top: 24rpx;
	}
	.screen-swiper.price-swiper{
		height:70rpx;
		min-height: 70rpx;
		background: #fff;
		margin-bottom: 10px;
	}
	.guess-section {
		margin-bottom: 120rpx;
		margin-top:20rpx;
	}
	.guess-section .price{
		color:#000;
		font-size: 34rpx;
	}
	page {
		background: #f5f5f5;
	}

	.m-t {
		margin-top: 16upx;
	}
	.header-swiper{
		min-height: 300rpx;
	}

	/* 头部 轮播图 */
	.carousel-section {
		position: relative;
		// padding-top: 10px;

		.titleNview-placing {
			height: var(--status-bar-height);
			padding-top: 44px;
			box-sizing: content-box;
		}

		.titleNview-background {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 426upx;
			transition: .4s;
		}
	}

	.tab-scroll-view {
		width: 750rpx;
		height: 300rpx;
		flex-direction: row;
		white-space: nowrap;

		.tab-item {
			display: inline-block;
			width: 350rpx;
			height: 250rpx;
			font-size: 16px;
			-moz-box-shadow: 2px 2px 5px #ccc;
			-webkit-box-shadow: 2px 2px 5px #ccc;
			box-shadow: 2px 2px 5px #ccc;
			color: #555;
			margin: 10rpx;
		}
	}

	.carousel {
		width: 100%;
		height: 350upx;

		.carousel-item {
			width: 100%;
			height: 100%;
			// padding: 0 28upx;
			overflow: hidden;
		}

		image {
			width: 100%;
			height: 100%;
			// border-radius: 10upx;
		}
	}

	.swiper-dots {
		display: flex;
		position: absolute;
		left: 60upx;
		bottom: 15upx;
		width: 72upx;
		height: 36upx;
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABkCAYAAADDhn8LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTMyIDc5LjE1OTI4NCwgMjAxNi8wNC8xOS0xMzoxMzo0MCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTk4MzlBNjE0NjU1MTFFOUExNjRFQ0I3RTQ0NEExQjMiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTk4MzlBNjA0NjU1MTFFOUExNjRFQ0I3RTQ0NEExQjMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIj4gPHh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A5hVjXyrBNUQAAAABJRU5ErkJggg==);
		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%);
		}
	}

	/* 分类 */
	.cate-section {
		display: flex;
		justify-content: space-around;
		align-items: center;
		flex-wrap: wrap;
		padding: 30upx 22upx;
		background: #fff;

		.cate-item {
			display: flex;
			flex-direction: column;
			align-items: center;
			font-size: $font-sm + 2upx;
			color: $font-color-dark;
		}

		/* 原图标颜色太深,不想改图了,所以加了透明度 */
		image {
			width: 68upx;
			height: 68upx;
			margin-bottom: 14upx;
			// border-radius: 50%;
			opacity: .7;
			// box-shadow: 4upx 4upx 20upx rgba(250, 67, 106, 0.3);
		}
		.grid_icon{
			font-size: 48upx;
			margin-bottom: 18upx;
			color: #fa436a;
		}
	}

	.ad-1 {
		width: 100%;
		height: 210upx;
		padding: 10upx 0;
		background: #fff;

		image {
			width: 100%;
			height: 100%;
		}
	}


	

	
	/* 销售信息 */
	.introduce-section {
		background: #fff;
		padding: 20upx 30upx;
		padding-bottom: 100upx;
		.guess-item {
			padding-top: 10upx;
			padding-bottom: 10upx;
			border-bottom: 1px solid #EEEEEE;
		}
		.title {
			font-size: 28upx;
			color: $font-color-dark;
			font-weight:bold;
			height: 50upx;
			line-height: 50upx;
			flex:2.5;
		}
		.title-tip {
			flex:1;
		}
		.price-box {
			display: flex;
			align-items: baseline;
			height: 70upx;
			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;
			}
		}
	}
</style>
