<template>
	<view class="morePages">
		<view class="list-box">
			<view class="list-title">
				<u-icon size="38" name="bag"></u-icon> <text>货品管理</text>
			</view>
			<u-cell-group :border="false">
				<u-cell-item title="库存查询" @click="toPage('/pages/stockQuery/stockQuery')" :title-style="{fontSize:'1em'}">
					<text slot="icon"></text>
				</u-cell-item>
				<u-cell-item title="补货记录" @click="toPage('/pages/digitalShelf/stockPut')" :title-style="{fontSize:'1em'}">
					<text slot="icon"></text>
				</u-cell-item>
			</u-cell-group>
		</view>
		<view class="list-box">
			<view class="list-title">
				<u-icon size="34" name="order"></u-icon> <text>订单管理</text>
			</view>
			<u-cell-group :border="false">
				<u-cell-item title="货架订单" @click="toPage('/pages/digitalShelf/orderList')" :title-style="{fontSize:'1em'}">
					<text slot="icon"></text>
				</u-cell-item>
				<u-cell-item title="临配订单" @click="toPage('/pages/digitalShelf/tempOrderList/tempOrderList')" :title-style="{fontSize:'1em'}">
					<text slot="icon"></text>
				</u-cell-item>
			</u-cell-group>
		</view>
		<view class="list-box">
			<view class="list-title">
				<u-icon size="36" name="rmb-circle"></u-icon> <text>结算管理</text>
			</view>
			<u-cell-group :border="false">
				<u-cell-item title="结算记录" @click="toPage('/pages/digitalShelf/settlementRecord/settlementRecord')" :title-style="{fontSize:'1em'}">
					<text slot="icon"></text>
				</u-cell-item>
				<u-cell-item title="付款结算" @click="toPage('/pages/digitalShelf/settlementManage/settlementManage')" :title-style="{fontSize:'1em'}">
					<text slot="icon"></text>
				</u-cell-item>
			</u-cell-group>
		</view>
		<view class="list-box">
			<view class="list-title">
				<u-icon size="32" name="home"></u-icon> <text>门店管理</text>
			</view>
			<u-cell-group :border="false">
				<u-cell-item title="员工管理" @click="toPage('/pages/storeManage/personnel')" :title-style="{fontSize:'1em'}">
					<text slot="icon"></text>
				</u-cell-item>
			</u-cell-group>
		</view>
		<view class="list-box" v-if="hasLogin&&dealerPhone">
			<view class="list-title flex justify_center phone" @click="call">
				<u-icon size="36" name="phone"></u-icon> <text>联系汽配商</text>
			</view>
		</view>
		<!-- 去认证 -->
		<u-popup v-model="showPopup" mode="center" :border-radius="20" closeable>
			<view style="background-color: #fff;padding:3rem 1rem 1rem;">
				<u-image width="324" height="209" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAADRCAYAAAC0NsuCAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAAH1lJREFUeF7tnbHOLEe1hUl5B56Bh+AVQEKySElAckiCBAEBkS2ORGDJshzfqwsZQsIZAQmhRYJEYMkSEcJyRMR/9R16wfJmd09X93TP9Dkr+DTTVbt2Ve3etbq6Z/5/vvbll1++hBBC+PIlghhCCBMRxBBCmIgghhDCRAQxhBAmIoghhDARQQwhhIkIYgghTEQQQwhhIoIYQggTEcQQQpiIIIYQwkQEMYQQJiKIIYQwEUEMIYSJCGIIIUxEEEMIYSKCGEIIExHEEEKYiCCGEMJEBDGEECYiiCGEMBFBDCGEidME8Wc/+9nLxx9/3NY52HzrW9/6N51N5Xe/+91r208//bStPxPG8bWvfe01zJmyzz777PX7H/3oR/9lL7Ch7R/+8IevlLs/8Lq10C8x6uqIt3x//etfb23W8u1vf/s1zJX51HrK6EP9zY1pDtorP775zW+2NkdAv7/69a9fx5F+6b+zC9fncEEkmVgkWgS3RJHFJFvobBy390RFHKnbylZxdQHDD2Xf+MY3/l3WzR8RlFDw6qLo/vDj7dbw/e9//9/tO0H2sWFb69dCvORnTliJh2zIic5mCQRU7UGxHD3XW4TYhRye4eIb7s8pgshV1ZNpSRRJWLftbJy6SF69etWWjzK6aEQniMx3yXetd1F0fy74a2DR1thzrMVc+11LNw7irvpOWJmP+1hiaZ4eD10gRs+1zosgDhLLOfzCAYyjsxNb8yc8llNumX0HJOZEkWSSzdxOo+I7UNqw4J9JEIHdGWOjjIuEt4EqTtrNub8loZiDvnyXKN/drmct3Th8nIgj8VMMu4viEu6fuHAMjJtbV7elfvRc+3kBH/u9qH2Ea3DaM8QqinMJQ7lsfGEsgQCqDVd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QhiCCFMRBBDCGEighhCCBMRxBBCmIgghhDCRAQxhBAmIoghhDARQQwhhIkIYgghTEQQQwjhNV++/D9Xh4jHl3LZkQAAAABJRU5ErkJggg=="></u-image>
				<view style="padding-top:1rem;" class="flex justify_center">
					<u-button @click="toAuthStore()" shape="circle" :custom-style="{background:'#066cff',color:'#fff',width:'300rpx'}">开始认证</u-button>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	import {
	    mapState,
	    mapMutations
	} from 'vuex'
	export default {
		data() {
			return {
				dealerPhone: null,
				showPopup: false
			}
		},
		computed: {
			...mapState(['hasLogin']),
			hasShelf(){
				return !!this.$store.state.vuex_storeShelf
			},
			userInfo(){
				return this.$store.state.vuex_userInfo
			},
			storeApply(){
				return this.$store.state.vuex_storeAuthInfo
			}
		},
		onShow() {
			const shelfInfo = this.$store.state.vuex_storeShelf
			this.dealerPhone = shelfInfo&&shelfInfo.contactMobile ? shelfInfo.contactMobile : ''
		},
		methods: {
			toPage(path){
				if(this.hasLogin){
					// 游客未认证
					if(this.userInfo.identifyType == 'VISITOR'){
						this.showPopup = true
					}else{
						// 已有数字货架
						if(this.hasShelf){
							uni.navigateTo({
								url: path
							})
						}else{
							uni.showToast({
								icon:'none',
								title: '门店没有关联数字货架，无法使用此功能！'
							})
						}
					}
				}else{
					uni.navigateTo({
						url: '/pages/login/login'
					})
				}
			},
			toAuthStore(){
				this.showPopup = false
				uni.navigateTo({
					url: '/pages/storeManage/storeAuth'
				})
			},
			call(){
				this.callPhone(this.dealerPhone)
			}
		}
	}
</script>

<style lang="less">
.morePages{
	width: 100%;
	padding: 30rpx;
	background-image: linear-gradient(#86defa 0%,#cdeff9 20%,#f8f8f8 30%);
	.list-box{
		background: #ffffff;
		margin-bottom: 30rpx;
		border-radius: 25rpx;
		overflow: hidden;
		box-shadow: 2rpx 2rpx 5rpx #eee;
		.list-title{
			padding:30rpx 20rpx;
			font-size: 30rpx;
			border-bottom: 2rpx solid #f8f8f8;
			> text{
				margin-left: 10rpx;
			}
		}
		&:first-child{
			box-shadow: 2rpx 2rpx 5rpx #cdeff9;
		}
	}
	.phone{
		color: #00aaff;
		&:active{
			opacity: 0.8;
			transform:scale(0.9);
		}
	}
}
</style>
