<template>
	<view class="page">
		<!-- 搜索 -->
		<view class="head-search">
			<view class="card_msg">
				<view class="head-title">
					<view class="titleall-left-line"></view>
					店铺信息
				</view>
				<view class="head-body">
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">店铺logo</view>
						</u-col>
						<u-col span="8">
							<image :src="shopMsg.shopLogo" mode=""></image>		
						</u-col>
					</u-row>
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">发货地址</view>
						</u-col>
						<u-col span="8">
							<view class="col-right">{{shopMsg.shopAdress}}</view>
						</u-col>
					</u-row>
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">店铺名称</view>
						</u-col>
						<u-col span="8">
							<view class="col-right">{{shopMsg.shopName}}</view>
						</u-col>
					</u-row>
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">店铺简介</view>
						</u-col>
						<u-col span="8">
							<view class="col-right">123123</view>
						</u-col>
					</u-row>
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">注册手机号</view>
						</u-col>
						<u-col span="8">
							<view class="col-right">{{shopMsg.shopPhone}}</view>
						</u-col>
					</u-row>
				</view>
			</view>
			<view class="card_msg">
				<view class="head-title">
					<view class="titleall-left-line"></view>
					店铺认证
				</view>
				<view class="head-body">
					<u-row gutter="16">
						<u-col span="12">
							<view class="col-left">微信支付-商户认证</view>
						</u-col>
					</u-row>
				</view>
			</view>
			<view class="card_msg">
				<view class="head-title">
					<view class="titleall-left-line"></view>
					退货地址
				</view>
				<view class="head-body">
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">地址</view>
						</u-col>
						<u-col span="8">
							<view class="col-right">{{shopMsg.shopReturn.returnAdress}}</view>
						</u-col>
					</u-row>
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">联系人</view>
						</u-col>
						<u-col span="8">
							<view class="col-right">{{shopMsg.shopReturn.returnPerson}}</view>
						</u-col>
					</u-row>
					<u-row gutter="16">
						<u-col span="4">
							<view class="col-left">联系电话</view>
						</u-col>
						<u-col span="8">
							<view class="col-right">{{shopMsg.shopReturn.returnPhone}}</view>
						</u-col>
					</u-row>
				</view>
			</view>
			<view class="margin: 0 30px;">
				<u-button   style="height: 35px;background-color: #3F9B6A;color: #fff" @click="quitUser" >退出登录</u-button>
			</view>
		</view>

	
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pageindex: {
					pageNumber: 1,
					pageSize: 10,
				},
				shopMsg: {}
			};
		},
		onLoad: function(option) {
			this.shopMsg = JSON.parse(option.shopMsg)
		},
		mounted() {},
		methods: {
			reconciliationdetail(item) {
				let items = JSON.stringify(item)
			},
			quitUser(){
				uni.removeStorageSync('shopId')
				uni.removeStorageSync('token')
				uni.switchTab({
					url: '/pages/home/home'
				})
			},

		}
	}
</script>

<style scoped lang="scss">
	@import 'shopjcMsg.scss';
</style>