<template>
	<view style="display: flex;flex-direction: column; background: #F9F9F8;">

		<NavBar ref="nav" navTitle=" " :showIcon="true">
		</NavBar>

		<image src="https://ordermall.yxtsoft.com/lpkui/image/recommend_icon.png" style="width: 100%;height: 60vw;">
		</image>

		<view style="margin-bottom: 50px; min-height: 70vh; background: #fff; margin-left: 15px;margin-right: 15px;margin-top: -20vw;
		border-radius: 15px;">
			<!-- 滚动视图 -->
			<scroll-view scroll-y="true"  style="padding: 10px; width: 100%; height: 100%;" bindscrolltoupper="upper" bindscrolltolower="lower"
				bindscroll="scroll">

			</scroll-view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				styleObject: {
					'padding-top': '10px',
					'padding-bottom': '10px',
					'border-radius': '15px',
					'background': '#f2f2f2'
				},
			}
		},
		methods: {
			// 分页的请求
			queryList(pageNo, pageSize) {
				let _this = this
				_this.$api.myOrderListByUserSid({
					"current": pageNo,
					"size": pageSize,
					"params": {
						"customerSid": getApp().globalData.sid,
						"state": '1', //0 未提货  1 已提货

					}
				}).then((resp) => {
					// 添加数据源
					this.$refs.paging.complete(resp.records)
				}).catch(e => {
					// 出错了，点击重试
					_this.$refs.paging.complete(false);
				})
			},
		}
	}
</script>

<style>

</style>