diff --git a/src/components/TaskCard.vue b/src/components/TaskCard.vue index 0a1535d..2a2e9c2 100644 --- a/src/components/TaskCard.vue +++ b/src/components/TaskCard.vue @@ -2,10 +2,11 @@ import dy from "../static/images/抖音.png"; import qrw from "../static/icons/qrw.png"; import XCountdown from "./XCountdown.vue"; +import {toPage} from "../utils/uils.js"; diff --git a/src/components/XNoticeBar.vue b/src/components/XNoticeBar.vue new file mode 100644 index 0000000..a13d154 --- /dev/null +++ b/src/components/XNoticeBar.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/src/pages.json b/src/pages.json index 7d57142..64cd5ef 100644 --- a/src/pages.json +++ b/src/pages.json @@ -65,6 +65,13 @@ "navigationStyle": "custom" } }, + { + "path": "pages/taskDetails/index", + "style": { + "navigationBarTitleText": "任务详情", + "navigationStyle": "custom" + } + }, { "path": "pages/comingSoon/index", "style": { diff --git a/src/pages/taskDetails/components/CollectMaterials.vue b/src/pages/taskDetails/components/CollectMaterials.vue new file mode 100644 index 0000000..4270f3f --- /dev/null +++ b/src/pages/taskDetails/components/CollectMaterials.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/pages/taskDetails/components/MyBackfill.vue b/src/pages/taskDetails/components/MyBackfill.vue new file mode 100644 index 0000000..f1d705a --- /dev/null +++ b/src/pages/taskDetails/components/MyBackfill.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/pages/taskDetails/components/ReviewCommunication.vue b/src/pages/taskDetails/components/ReviewCommunication.vue new file mode 100644 index 0000000..701f3d7 --- /dev/null +++ b/src/pages/taskDetails/components/ReviewCommunication.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/pages/taskDetails/components/TaskDetails.vue b/src/pages/taskDetails/components/TaskDetails.vue new file mode 100644 index 0000000..b0c29e2 --- /dev/null +++ b/src/pages/taskDetails/components/TaskDetails.vue @@ -0,0 +1,64 @@ + + + + + diff --git a/src/pages/taskDetails/index.vue b/src/pages/taskDetails/index.vue index de97206..b2cf936 100644 --- a/src/pages/taskDetails/index.vue +++ b/src/pages/taskDetails/index.vue @@ -1,11 +1,172 @@ - diff --git a/src/scss/global.scss b/src/scss/global.scss index 7c89ced..184d092 100644 --- a/src/scss/global.scss +++ b/src/scss/global.scss @@ -28,11 +28,12 @@ $primary-color: #2D5CF6; } .ellipsis-1 { - display: -webkit-box; /* 创建一个伸缩容器 */ + display: inline-block; /* 创建一个伸缩容器 */ -webkit-box-orient: vertical; /* 设置伸缩容器的方向为垂直 */ -webkit-line-clamp: 1; /* 限制显示的行数为2行 */ overflow: hidden; /* 超出内容隐藏 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ + white-space: nowrap; } .ellipsis-2 { @@ -42,3 +43,7 @@ $primary-color: #2D5CF6; overflow: hidden; /* 超出内容隐藏 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ } + +.nowrap { + white-space: nowrap; +} diff --git a/src/static/icons/goodsIcon.png b/src/static/icons/goodsIcon.png new file mode 100644 index 0000000..5635571 Binary files /dev/null and b/src/static/icons/goodsIcon.png differ diff --git a/src/static/icons/link.png b/src/static/icons/link.png new file mode 100644 index 0000000..2386ff7 Binary files /dev/null and b/src/static/icons/link.png differ diff --git a/src/static/icons/warn.png b/src/static/icons/warn.png new file mode 100644 index 0000000..150ddf6 Binary files /dev/null and b/src/static/icons/warn.png differ