wlzboy
2025-10-19 3328aec7bc4cc2c090f015cba905a82d6d52870c
app/pages/task/create.vue
@@ -7,12 +7,8 @@
      </view>
      
      <view class="category-list">
        <view
          class="category-item"
          v-for="(category, index) in taskCategories"
          :key="index"
          @click="selectTaskCategory(category)"
        >
        <view class="category-item" v-for="(category, index) in taskCategories" :key="index"
          @click="selectTaskCategory(category)">
          <view class="icon">
            <uni-icons :type="category.icon" size="30" :color="category.color"></uni-icons>
          </view>
@@ -35,6 +31,15 @@
    return {
      taskCategories: [
        {
          type: 'emergency',
          name: '急救转运',
          icon: 'hospital',
          color: '#E54D42',
          description: '紧急医疗转运任务',
          taskType: 'EMERGENCY_TRANSFER',
          page: '/pages/task/create-emergency'
        },
        {
          type: 'normal',
          name: '维修保养',
          icon: 'repair',
@@ -52,15 +57,7 @@
          taskType: 'FUEL',
          page: '/pages/task/create-normal'
        },
        {
          type: 'emergency',
          name: '急救转运',
          icon: 'hospital',
          color: '#E54D42',
          description: '紧急医疗转运任务',
          taskType: 'EMERGENCY_TRANSFER',
          page: '/pages/task/create-emergency'
        },
        {
          type: 'welfare',
          name: '福祉车',