<template>
	<view class="page">
		<u-navbar title="代理管理" :border-bottom="false" :background="bgc" title-color='#000' title-size='36'
			height='58'></u-navbar>
        <view class="box">
        	<view class="shuju">
        		<view class="ddje" @click="btnshop(4)">
					<view class="sb">
						0
					</view>
        			<view class="shu">
        				代理>
        			</view>
        		</view>
        		<text style="width: 1px;height: 60rpx;background: #979797;margin-top: 24rpx;margin:24rpx 50rpx;"></text>
        		<view class="ddje" @click="btnshop(5)">
					<view class="sb">
						0
					</view>
        			<view class="shu">
        				店铺>
        			</view>
        		</view>
				<!-- <text style="width: 1px;height: 60rpx;background: #979797;margin-top: 24rpx;margin:24rpx 50rpx;"></text>
				<view class="ddje" @click="btnshop(6)">
					<view class="sb">
						0
					</view>
					<view class="shu">
						运维>
					</view>
				</view> -->
        	</view>
			
			<view class="tulist">
				<!-- <image src="https://api.ccttiot.com/smartmeter/img/static/uThIyaWrhh5a9Oh8zbbn" mode="" @click="btnshop(1)"></image> -->
				<image src="https://api.ccttiot.com/smartmeter/img/static/uXquYtM06wNT6ElZQTlo" mode="" @click="btnshop(2)"></image>
				<!-- <image src="https://api.ccttiot.com/smartmeter/img/static/uMtNJoZxvsMjIhAMoWdL" mode="" @click="btnshop(3)"></image> -->
			</view>
        </view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
            btnshop(num){
				if(num == 1){
					uni.navigateTo({
						url:'/page_user/daili/shanghu'
					})
				}else if(num == 2){
					uni.navigateTo({
						url:'/page_user/daili/cjdaili'
					})
				}else if(num == 3){
					uni.navigateTo({
						url:'/page_user/daili/yunwei'
					})
				}else if(num == 4){
					uni.navigateTo({
						url:'/page_user/listshu/index'
					})
				}else if(num == 5){
					uni.navigateTo({
						url:'/page_user/daili/dianpu'
					})
				}else if(num == 6){
					uni.navigateTo({
						url:'/page_user/daili/yunweilist'
					})
				}
			}
		}
	}
</script>

<style lang="scss">
	/deep/ .u-title,
	/deep/ .uicon-nav-back {
		padding-bottom: 40rpx;
	}
	page {
		background: linear-gradient(180deg, #25CE88 0%, rgba(255, 255, 255, 0) 100%);
	}

	.page {
		width: 750rpx;
		position: fixed;
		top: 0;
		left: 0;
		.box{
			width: 750rpx;
			height: 1440rpx;
			background: #F4F5F7;
			border-radius: 0rpx 0rpx 0rpx 0rpx;
			padding-top: 48rpx;
			.tulist{
				width: 680rpx;
				height: 200rpx;
				background: #FFFFFF;
				border-radius: 24rpx 24rpx 24rpx 24rpx;
				margin: auto;
				margin-top: 40rpx;
				padding: 54rpx 78rpx;
				box-sizing: border-box;
				display: flex;
				// justify-content: space-between;
				image{
					width: 96rpx;
					height: 98rpx;
					margin-right: 100rpx;
				}
			}
			.shuju {
				display: flex;
				justify-content: space-between;
				padding: 40rpx 135rpx;
				box-sizing: border-box;
			    width: 680rpx;
			    height: 200rpx;
			    background: #FFFFFF;
			    border-radius: 24rpx 24rpx 24rpx 24rpx;
				margin: auto;
				.ddje {
					text-align: center;
			
					.shu {
						font-weight: 500;
						font-size: 28rpx;
						color: #3D3D3D;
					}
			
					.sb {
						margin-top: 20rpx;
						font-weight: 500;
						font-size: 40rpx;
						color: #3D3D3D;
					}
				}
			}
		}
	}
</style>