<template>
  <view class="main">
    <view class="img-banner">
      <image mode="aspectFill" src="https://mn.wenlvti.net/app_static/xiangan/banner_dig_environment.jpg"></image>
    </view>
    <view class="task-list">
      <view class="item">
        <text class="iconfont icon-task-environment-1"></text>
        <view class="info">
          <view class="title">自然环境</view>
          <view class="desc">村落建立与发展历程</view>
        </view>
        <view class="btn" @click="goForm('environment', 0)">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-environment-5"></text>
        <view class="info">
          <view class="title">文物古迹</view>
          <view class="desc">重要历史文献资料</view>
        </view>
        <view class="btn" @click="goForm('relic', 0)">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-environment-6"></text>
        <view class="info">
          <view class="title">历史环境</view>
          <view class="desc">村民口述历史记录</view>
        </view>
        <view class="btn" @click="goForm('element', 0)">
          填写
        </view>
      </view>
    </view>
  </view>
</template>

<script setup lang="ts">
import { useTaskEntryForm } from '../composeable/TaskEntryForm';

const { goForm } = useTaskEntryForm();
</script>

