<template>
	<view class="content">
		<view class="theflex">
			<view @click="goRouter(item.path)" class="kuaibox"  v-for="(item,index) in kuaiList"
				:key="index">
				<view class="">
					{{item.name}}
				</view>
				<image class="kuaiimg" :src="item.url" mode=""></image>
			</view>
		</view>
         <!-- 悬浮球 -->
    <drag-button />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				kuaiList: [{
					name: '推荐方案一',
					url: "../../assets/images/my_icon14.png",
					path: "/pages/architecture/recommendArchite/recommend1",
					isShow: false,
					value: 'registration',
				}, {
					name: '推荐方案二',
					url: "../../assets/images/my_icon14.png",
					path: "/pages/architecture/recommendArchite/recommend2",
					isShow: false,
					// value: 'investment',
				}, {
					name: '推荐方案三',
					url: "../../assets/images/my_icon14.png",
					path: "/pages/architecture/recommendArchite/recommend3",
					isShow: false,
					value: 'activeZone',
				}, {
					name: '推荐方案四',
					url: "../../assets/images/my_icon14.png",
					path: "/pages/architecture/recommendArchite/recommend4",
					isShow: false,
					value: 'activeZone',
				}]
			}
		},

		methods: {
			goRouter(path) {
				uni.navigateTo({
					url: path
				})
			},

		}
	}
</script>

<style lang="scss" scoped>
	.content {
		background-color: #F2F2F2;
		height: 100vh;
		padding: 4rpx 21rpx 500rpx 21rpx;

		.theflex {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
		}

		.kuaibox {
			width: 40%;
			// height: 150rpx;
			border-radius: 20rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 60rpx 40rpx 60rpx 22rpx;
			margin: 13rpx 0rpx;
			background-color: #FFFFFF;
			font-size: 24rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #666666;

			.kuaiimg {
				width: 52rpx;
				height: 53rpx;
			}
		}
	}
</style>