diff --git a/package.json b/package.json
index 710335a..8102134 100644
--- a/package.json
+++ b/package.json
@@ -57,6 +57,7 @@
"@tailwindcss/vite": "^4.0.15",
"@uni-helper/vite-plugin-uni-tailwind": "^0.15.2",
"crypto-js": "^4.2.0",
+ "dayjs": "^1.11.13",
"deep-pick-omit": "^1.2.1",
"destr": "^2.0.3",
"pinia": "^2.2.4",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index bfbc09a..72141af 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -65,6 +65,9 @@ importers:
crypto-js:
specifier: ^4.2.0
version: 4.2.0
+ dayjs:
+ specifier: ^1.11.13
+ version: 1.11.13
deep-pick-omit:
specifier: ^1.2.1
version: 1.2.1
@@ -2167,6 +2170,9 @@ packages:
resolution: {integrity: sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==}
engines: {node: '>=10'}
+ dayjs@1.11.13:
+ resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
+
debug@2.6.9:
resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}
peerDependencies:
@@ -6985,6 +6991,8 @@ snapshots:
whatwg-mimetype: 2.3.0
whatwg-url: 8.7.0
+ dayjs@1.11.13: {}
+
debug@2.6.9:
dependencies:
ms: 2.0.0
diff --git a/src/components/TaskCard.vue b/src/components/TaskCard.vue
index 018ff8d..0a1535d 100644
--- a/src/components/TaskCard.vue
+++ b/src/components/TaskCard.vue
@@ -1,6 +1,7 @@
@@ -9,9 +10,12 @@ import qrw from "../static/icons/qrw.png";
任务编号:DF1212
-
+
08-13-09:54后可开始回填
+
+ 审核倒计时:
+
diff --git a/src/components/XAlert.vue b/src/components/XAlert.vue
new file mode 100644
index 0000000..6f1ec6c
--- /dev/null
+++ b/src/components/XAlert.vue
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/XCountdown.vue b/src/components/XCountdown.vue
new file mode 100644
index 0000000..bb55327
--- /dev/null
+++ b/src/components/XCountdown.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+ {{ hours < 10 ? `0${hours}` : hours }}
+ :
+ {{ minutes < 10 ? `0${minutes}` : minutes }}
+ :
+ {{ seconds < 10 ? `0${seconds}` : seconds }}
+
+
+
+
+
diff --git a/src/components/XDateRange.vue b/src/components/XDateRange.vue
new file mode 100644
index 0000000..48778c9
--- /dev/null
+++ b/src/components/XDateRange.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
+ -
+
+
+
+
+
diff --git a/src/components/XDateTime.vue b/src/components/XDateTime.vue
new file mode 100644
index 0000000..6f3e3a5
--- /dev/null
+++ b/src/components/XDateTime.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+ {{ placeholder }}
+ {{modalValue}}
+
+
+
+
+
diff --git a/src/components/XFilter.vue b/src/components/XFilter.vue
new file mode 100644
index 0000000..aae9710
--- /dev/null
+++ b/src/components/XFilter.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+ 重置
+ 确定
+
+
+
+
+
+
diff --git a/src/components/XFilterItem.vue b/src/components/XFilterItem.vue
new file mode 100644
index 0000000..1727a6f
--- /dev/null
+++ b/src/components/XFilterItem.vue
@@ -0,0 +1,29 @@
+
+
+
+
+ {{ label }}
+
+
+
+
+
diff --git a/src/components/XNav.vue b/src/components/XNav.vue
index e798886..0dc0f36 100644
--- a/src/components/XNav.vue
+++ b/src/components/XNav.vue
@@ -14,7 +14,7 @@ const title = ref(document.title);
-
+
+import {inject} from "vue";
+
+const modelValue = inject('modelValue');
+const {value} = defineProps({
+ value: {
+ type: [String, Number],
+ default: 0
+ }
+});
+
+
+
+
+
+
+
+
+
diff --git a/src/components/XRadioGroup.vue b/src/components/XRadioGroup.vue
new file mode 100644
index 0000000..d2226a8
--- /dev/null
+++ b/src/components/XRadioGroup.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/myTask/index.vue b/src/pages/myTask/index.vue
index b508de7..1f3402a 100644
--- a/src/pages/myTask/index.vue
+++ b/src/pages/myTask/index.vue
@@ -5,6 +5,12 @@ import {reactive, ref} from "vue";
import TaskCard from "../../components/TaskCard.vue";
import useTableQuery from "../../hooks/useTableQuery.js";
import Api from "../../api/index.js";
+import XFilter from "../../components/XFilter.vue";
+import XFilterItem from "../../components/XFilterItem.vue";
+import XRadioGroup from "../../components/XRadioGroup.vue";
+import XRadio from "../../components/XRadio.vue";
+import XDateRange from "../../components/XDateRange.vue";
+import XAlert from "../../components/XAlert.vue";
const tabs = [
{
@@ -25,8 +31,14 @@ const tabs = [
},
];
const current = ref(0);
-
-const po = reactive({});
+const showFilter = ref(false);
+const sumPo = reactive({
+ type: 0,
+ startTime: null,
+ endTime: null,
+});
+const po = reactive({
+});
const vo = reactive({
page: '',
rows: [],
@@ -48,6 +60,49 @@ const {loading, pagination, initFetchData} = useTableQuery({
+
+
+
+
+ 全部任务
+ 宣发
+ 评论
+ 续期
+
+
+
+
+
+
+ 全部平台
+ 抖音
+ 快手
+ 视频号
+ 小红书
+ 今日头条
+ 咸鱼
+
+
+
+
+
+
+ 全部状态
+ 未结算
+ 已结算
+
+
+
+
+
+
+
+
+
全部状态
筛选
@@ -95,14 +151,24 @@ const {loading, pagination, initFetchData} = useTableQuery({
- 到账收益(元)
+
+ 到账收益(元)
+
+
+
+ 到账收益
+ 根据您的任务完成情况
+ 实际获得的收益
+
+
+
5.60
-
+