<template>
  <view class="main">
    <view class="img-banner">
      <image mode="aspectFill" src="https://mn.wenlvti.net/app_static/xiangan/banner_dig_mine.jpg"></image>
    </view>
    <view class="task-list">
      <view class="item">
        <text class="iconfont icon-task-mine-1"></text>
        <view class="info">
          <view class="title">商业集市</view>
          <view class="desc">文化交流的开放窗口</view>
        </view>
        <view class="btn" @click="goForm('food_product', 4)">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-mine-2"></text>
        <view class="info">
          <view class="title">服装服饰</view>
          <view class="desc">艺术与功能交织的时尚篇章</view>
        </view>
        <view class="btn" @click="goForm('food_product', 5)">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-mine-2"></text>
        <view class="info">
          <view class="title">运输工具</view>
          <view class="desc">历史的运输工具</view>
        </view>
        <view class="btn" @click="goForm('food_product', 6)">
          填写
        </view>
      </view>
    </view>
  </view>
</template>

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

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