<template>
	<view>
		<view class="listActivity">
			<view class="activityBox" v-for="(item,index) in list" :key="index" @click="openInfo">
				<view class="activityBox-top">
					<image src="../../static/img/img_activity.jpg" style="width: 100%;height: 333rpx;"></image>
					<view class="book-status">
						活动进行中
					</view>
					<view class="book-num">
						<text class="book-num-y"> 200 </text>
						<text>人已报名</text>
					</view>
				</view>
				<view class="activityBox-content flex-col">
					<view class="activityBox-row">
						<text class="activityBox-title">【书香苏州】中共苏州独立支部旧址</text>
					</view>
					<view class="activityBox-row flex-row justify-between">
						<view class="tag tag_green">
							<text>全部人群</text>
						</view>
						<view class="activityBox-btn tag">
							<text>立即报名</text>
						</view>
					</view>

					<view class="activityBox-row">
						<text class="icon-shijian iconfont"></text>
						<text>活动时间：2022-4-6 10:00-11:30</text>

					</view>
					<view class="activityBox-row">
						<text class="icon-huodongfangshi iconfont"></text>
						<text>活动方式：线下</text>

					</view>
					<view class="activityBox-row">
						<text class="icon-huodong iconfont"></text>
						<text>活动地址：苏州市姑苏区体育场路4号</text>
					</view>

					<view class="activityBox-row">
						<text class="icon-renshu iconfont"></text>
						<text>人数限制：不限</text>
					</view>
					<view class="activityBox-row flex-row align-center" style="margin-bottom: 0rpx;">
						<text class="icon-ditu-dibiao iconfont"></text>
						<text>距离：11.3km</text>
						<view class="tomap">
							<text class="icon-daohang1 iconfont" style="margin-right: 0;"></text>
						</view>
					</view>

				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				showInfo: true,
				list: [{}, {}]
			}
		},
		methods: {
			openInfo() {
				uni.navigateTo({
					url: "info"
				})
			}
		}
	}
</script>

<style>
	@import url("@/static/css/activitybox.css");

	page {
		background-color: #f7f6f4;
	}
</style>
