<template>
	<view>
		<view class="cmain">
			<view class="box order_detail">
				<u-divider text="商铺信息"></u-divider>
				<view class="item">
					<text class="label">商铺编号</text>
					<text class="desc">{{item.shopNo}}</text>
				</view>
				<view class="item">
					<text class="label">商铺名称</text>
					<text class="desc">{{item.shopName}}</text>
				</view>
				<view class="item">
					<text class="label">铺主</text>
					<text class="desc">{{item.ownerName}}</text>
				</view>
				<view class="item">
					<text class="label">互市区</text>
					<text class="desc">{{item.tradeAreaName}}</text>
				</view>
				<view class="item">
					<text class="label">区域</text>
					<text class="desc">{{item.area}}</text>
				</view>
				<view class="item">
					<text class="label">经营范围</text>
					<text class="desc">{{item.bnsScope}}</text>
				</view>
				<view class="item">
					<text class="label">有效期</text>
					<text class="desc">{{item.expiry}}</text>
				</view>
				<view class="item">
					<text class="label">店铺地址</text>
					<text class="desc">{{item.shopAddr}}</text>
				</view>
				<view class="item">
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item: {}
			}
		},
		onLoad(e) {
			if(e.id) {
				this.http.request({
					url: '/level-one-server/app/TbShop/getDetailById',
					data: { id: e.id },
					success: res=> {
						this.item = res.data.data;
					}
				})
			}
		},
		methods: {
			
		}
	}
</script>


<style lang="scss">
	page {
		background-color: $pg;
	}
</style>
