<template>
  <view class="main">
    <view class="img-banner">
      <image mode="aspectFill" src="https://mn.wenlvti.net/app_static/xiangan/banner_dig_custom.png"></image>
    </view>
    <view class="task-list">
      <view class="item">
        <text class="iconfont icon-task-custom-1"></text>
        <view class="info">
          <view class="title">非物质文化遗产项目</view>
          <view class="desc">维护文化多样性</view>
        </view>
        <view class="btn" @click="goForm('ich', 0)">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-custom-2"></text>
        <view class="info">
          <view class="title">节庆活动</view>
          <view class="desc">欢庆与传承并重的文化盛宴</view>
        </view>
        <view class="btn" @click="goForm('folk_culture', 1, 'folk_culture_type')">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-custom-3"></text>
        <view class="info">
          <view class="title">祭祀崇礼</view>
          <view class="desc">对先贤与自然的崇高致敬</view>
        </view>
        <view class="btn" @click="goForm('folk_culture', 2, 'folk_culture_type')">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-custom-4"></text>
        <view class="info">
          <view class="title">婚丧嫁娶</view>
          <view class="desc">生命礼赞与文化传承的双重奏鸣</view>
        </view>
        <view class="btn" @click="goForm('folk_culture', 3, 'folk_culture_type')">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-custom-5"></text>
        <view class="info">
          <view class="title">地方方言</view>
          <view class="desc">历史沉淀的语言瑰宝</view>
        </view>
        <view class="btn" @click="goForm('folk_culture', 4, 'folk_culture_type')">
          填写
        </view>
      </view>
      <view class="item">
        <text class="iconfont icon-task-custom-6"></text>
        <view class="info">
          <view class="title">特色文化</view>
          <view class="desc">民族精神的鲜明烙印</view>
        </view>
        <view class="btn" @click="goForm('folk_culture', 5, 'folk_culture_type')">
          填写
        </view>
      </view>
    </view>
  </view>
</template>

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

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