<template>
	<view class="app">
		<view class="content">
			<view class="imageitem">
				<image src="/static/pagesB/Behave.png" mode=""></image>
			</view>
			<view class="servename">
				服务名称
			</view>
			<view class="PointsRecord">
				200000
			</view>
			<view class="button" @tap="goexchange">
				兑换
			</view>
		</view>
		<view class="content">
			<view class="imageitem">
				<image src="/static/pagesB/Behave.png" mode=""></image>
			</view>
			<view class="servename">
				服务名称
			</view>
			<view class="PointsRecord">
				200000
			</view>
			<view class="button" @tap="goexchange">
				兑换
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},

		methods: {
			goexchange() {
				uni.navigateTo({
					url: '/pagesB/exchangerecords/exchangerecords'
				});
			},
		},
	}
</script>

<style lang="scss">
	.app {
		background-color: #F7F5F5;
		padding-top: 30rpx;
		height: 100vh;
		display: flex;
		width: 100%;
		flex-wrap: wrap;
		justify-content: flex-start;

		.content {
			width: 352rpx;
			height: 514rpx;
			background: #fff;
			width: 45%;
			position: relative;
			border-radius: 5rpx;
			left: 18rpx;
			margin: 0 0 20rpx 15rpx;

			.button {
				width: 100rpx;
				height: 44rpx;
				line-height: 44rpx;
				position: absolute;
				text-align: center;
				font-size: 22rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #fff;
				right: 3%;
				bottom: 5%;
				background: #26A888;
				border-radius: 5rpx;
			}

			.PointsRecord {
				// width: 83px;
				// height: 19px;
				font-size: 20rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #26A888;
				line-height: 33rpx;
				padding-left: 3%;
			}

			.servename {
				// width: 102px;
				// height: 24px;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
				font-size: 26rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #000000;
				line-height: 33rpx;
				padding-left: 3%;
			}

			.imageitem {
				image {
					width: 100%;
					height: 355rpx;
					background: red;
					border-radius: 5rpx;
				}
			}
		}


	}
</style>