<template>
	<view class="main-block">
		<view class="page-block">
			<block v-for="(item,index) in power_list" :key='index'>
				<navigator :url="`${item.address}?id=${item.id}`" class="cell flex-y-center box-pack-between" hover-class="nav-hover">
					<view class="flex-y-center">
						<image :src="item.image" class="cell-icon"></image>
						<view class="title">{{item.name}}</view>
					</view>
					<text class="iconfont icongengduo"></text>
				</navigator>
			</block>
			
	<!-- 		
			<navigator url="../../appletXcx/Alipay/index" class="cell flex-y-center box-pack-between" hover-class="nav-hover">
				
				<view class="flex-y-center">
					<image src="../static/images/ali.png" class="cell-icon"></image>
					<view class="title">支付宝小程序</view>
				</view>
				
				<text class="iconfont icongengduo"></text>
			</navigator>
			
			<navigator url="../../appletXcx/Wechat/index" class="cell flex-y-center box-pack-between" hover-class="nav-hover">
				<view class="flex-y-center">
					<image src="../static/images/wx.png" class="cell-icon"></image>
					<view class="title">微信小程序</view>
				</view>
				<text class="iconfont icongengduo"></text>
			</navigator>
			
			<navigator url="../../appletXcx/WechatShop/index" class="cell flex-y-center box-pack-between" hover-class="nav-hover">
				<view class="flex-y-center">
					<image src="../../static/images/wx_shop.png" class="cell-icon"></image>
					<view class="title">微信小商店</view>
				</view>
				<text class="iconfont icongengduo"></text>
			</navigator> -->
			
		</view>
	</view>
	</view>
</template>

<script>
	export default {
	    data() {
	        return {
				power_list:[],
	        }
	    },
	
	    onLoad(e) {
			this.sid=e.id;
			let { list } = this.$store.state.management_list_store.find((v, i) => v.id == e.id)
			this.power_list = list
	    },
	
	    methods: {
	
	
	    }
	}
</script>

<style>
	.main-block {
		padding: 0rpx 25rpx;
	}

	.btn-list {
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-flow: row wrap;
		flex-flow: row wrap;
		-webkit-box-pack: start;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
		-webkit-align-content: flex-start;
		align-content: flex-start;
	}

	.page-block {
		width: 700rpx;
		background-color: #fff;
		box-sizing: border-box;
		border-radius: 8rpx;
		margin-bottom: 30rpx;
	}

	.page-block .cell {
		height:123rpx;
		border-bottom: 1rpx solid #f5f5f5;
	}

	.page-block .cell:last-child {
		border-bottom: none;
	}

	.page-block .cell .cell-icon {
		flex: none;
		display: block;
		width: 48rpx;
		height: 48rpx;
	}

	.page-block .cell .icon-gengduo {
		margin-left: auto;
		font-size: 25rpx !important;
		color: #c9c9c9;
	}

	.page-block .cell .title {
		padding: 0 25rpx;
		font-size: 32rpx;
		color: #333;
	}
</style>
