<template>
	<u-popup :show="show" mode="bottom"  @close="close" @open="open" :round="10">
		<view class="my-popup padding">
			<view class="w-full padding-bottom-lg" v-for="index in 3" :key="index">
				<my-goods :data="data">
					<view class="num-step">
						<uni-number-box v-model="value" :min="1" @change="changeValue" />
					</view>
				</my-goods>
			</view>
			
		</view>
	</u-popup>
</template>

<script>
	export default {
		name:"cartPopup",
		data() {
			return {
				show:false,
				value:1,
				data:{
					src:'../../static/x0.jpg',
					title:'标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题',
					spec:'180cm',
					price:'53.30'
				}
			};
		},
		methods:{
			open(){},
			setShow(v){
				this.show = v;
			},
			close(){
				this.show = false;
			},
			changeValue(){}
		}
	}
</script>

<style scoped lang="scss">
.my-popup{
	width: 100%;
	max-height: 800rpx;
	overflow: auto;
	padding-bottom: 130rpx;
	.num-step{
		width: 200rpx;
		padding-top: 40rpx;
	}
}
</style>