<template>
  <view class="main">
    <view class="img-banner">
      <image mode="aspectFill" src="https://mn.wenlvti.net/app_static/xiangan/banner_dig_food.jpg"></image>
    </view>
    <view class="task-list">
      <view class="item">
        <text class="iconfont icon-task-food-1"></text>
        <view class="info">
          <view class="title">农副产品</view>
          <view class="desc">乡村繁荣的多元支柱</view>
        </view>
        <view class="btn" @click="goForm('food_product', 1)">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-food-2"></text>
        <view class="info">
          <view class="title">特色美食</view>
          <view class="desc">给味蕾探索带来无限惊喜</view>
        </view>
        <view class="btn" @click="goForm('food_product', 3)">
          填写
        </view>
      </view>
    </view>
  </view>
</template>

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

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