<template>
	<scroll-view scroll-x="true" class="picture">
		<view class="section">
			<image :src="testImgUrl" mode="heightFix"></image>
		</view>
		<view class="section">
			<image :src="testImgUrl" mode="heightFix"></image>
		</view>
		<view class="section">
			<image :src="testImgUrl" mode="heightFix"></image>
		</view>
		<view class="section">
			<image :src="testImgUrl" mode="heightFix"></image>
		</view>
	</scroll-view>
</template>

<script>
export default{
	data(){
		return{
			testImgUrl:
					'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-3ad36ff8-4f90-4748-8ad3-ca265841c862/fe0d2892-b934-4c98-842f-6682e07890a4.jpg'
			
		}
	}
}
</script>

<style lang="scss">
.picture{
	width: 750rpx;
	margin-left: -24rpx;
	white-space: nowrap;
	.section{
		display: inline-block;
		margin-right: 24rpx;
		width: 310rpx;
		height: 240rpx;
		overflow: hidden;
		border-radius: 16rpx;
		image{
			width: 310rpx;
			height: 240rpx;
		}
		&:first-child{
			margin-left: 24rpx;
		}
	}
}
</style>
