From 1626d13ec8b1a63676e63cf95c5004c4118da3b3 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 26 十月 2025 14:59:48 +0800
Subject: [PATCH] feat:移除app 中我的栏目中不要的功能
---
app/pages/task/create.vue | 47 ++++++++++++++++++++++-------------------------
1 files changed, 22 insertions(+), 25 deletions(-)
diff --git a/app/pages/task/create.vue b/app/pages/task/create.vue
index a773b95..948f6af 100644
--- a/app/pages/task/create.vue
+++ b/app/pages/task/create.vue
@@ -5,14 +5,10 @@
<view class="title">閫夋嫨浠诲姟绫诲瀷</view>
<view class="subtitle">璇烽�夋嫨鎮ㄨ鍒涘缓鐨勪换鍔$被鍨�</view>
</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: '绂忕杞�',
@@ -89,25 +86,25 @@
padding: 20rpx;
background-color: #f5f5f5;
min-height: 100vh;
-
+
.task-category-container {
.header {
text-align: center;
padding: 40rpx 0;
-
+
.title {
font-size: 40rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
}
-
+
.subtitle {
font-size: 28rpx;
color: #666;
}
}
-
+
.category-list {
.category-item {
display: flex;
@@ -117,26 +114,26 @@
padding: 30rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
-
+
.icon {
margin-right: 20rpx;
}
-
+
.info {
flex: 1;
-
+
.name {
font-size: 32rpx;
font-weight: bold;
margin-bottom: 10rpx;
}
-
+
.desc {
font-size: 26rpx;
color: #666;
}
}
-
+
.arrow {
margin-left: 20rpx;
}
--
Gitblit v1.9.1