<template>
	<view>
		<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff">
			<view class="u-nav-slot" slot="left">
				<text>兑换大厅</text>
			</view>
		</u-navbar>
		<view class="core">
			<view class="flex core-list">
				<navigator url="/pages/goods/detail" class="core-list-item" hover-class="navigator-hover">
					<view class="flex iamge-wrap">
						<image src="../../static/logo.png" mode="scaleToFill"></image>
					</view>
					<view class="title">Apple iMac 24英寸 4.5K屏 新款八核M1芯片(7核图形处理</view>
					<view class="bean">900</view>
				</navigator>
				<view class="core-list-item"></view>
			</view>
		</view>
		<custom-tab-bar :activeValue="'core'" />
	</view>
</template>

<script>
	import env from '../../config/env.js'
	import CustomTabBar from '../../components/custom-tab-bar/custom-tab-bar.vue'
	import $http from '@/utils/request.js'
	export default {
		components: {
			CustomTabBar,
		},
		data() {
			return {

			};
		},
		onShow() {

		},
		methods: {

		},
	}
</script>

<style lang="scss" scoped>

</style>
<style lang="scss" scoped>
	.core {
		margin: 20rpx 0;

		&-list {
			justify-content: space-around;
			flex-wrap: wrap;

			&-item {
				width: 320rpx;
				box-sizing: border-box;
				padding: 0 14rpx;
				background-color: #FFFFFF;
				padding-bottom: 24rpx;
				border-radius: 10rpx;
				margin-bottom: 40rpx;

				.iamge-wrap {
					image {
						width: 150rpx;
						height: 200rpx;
						padding: 50rpx 0;
					}
				}

				.title {
					font-size: 24rpx;
					line-height: 40rpx;
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 2;
				}

				.bean {
					font-size: 24rpx;
					color: #EB7009;
				}
			}
			
			&-item:last-child{
				padding: 0;
			}
		}
	}
</style>
