From 6e4ef5855e54f99808e21f47a8607cf982ea5e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TOP=E7=B3=AF=E7=B1=B3?= <1130395124@qq.com> Date: Sun, 26 Feb 2023 00:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=84=E4=BB=B7=E5=B8=88?= =?UTF-8?q?=E5=82=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/components/order/action.vue | 14 +- src/pages.json | 6 + src/pages/worker/appraise.vue | 173 +++ src/uni_modules/uni-icons/changelog.md | 22 + .../uni-icons/components/uni-icons/icons.js | 1169 +++++++++++++++++ .../components/uni-icons/uni-icons.vue | 96 ++ .../components/uni-icons/uniicons.css | 663 ++++++++++ .../components/uni-icons/uniicons.ttf | Bin 0 -> 35760 bytes src/uni_modules/uni-icons/package.json | 86 ++ src/uni_modules/uni-icons/readme.md | 8 + src/uni_modules/uni-rate/changelog.md | 25 + .../uni-rate/components/uni-rate/uni-rate.vue | 360 +++++ src/uni_modules/uni-rate/package.json | 88 ++ src/uni_modules/uni-rate/readme.md | 12 + src/uni_modules/uni-scss/changelog.md | 8 + src/uni_modules/uni-scss/index.scss | 1 + src/uni_modules/uni-scss/package.json | 82 ++ src/uni_modules/uni-scss/readme.md | 4 + src/uni_modules/uni-scss/styles/index.scss | 7 + .../uni-scss/styles/setting/_border.scss | 3 + .../uni-scss/styles/setting/_color.scss | 66 + .../uni-scss/styles/setting/_radius.scss | 55 + .../uni-scss/styles/setting/_space.scss | 56 + .../uni-scss/styles/setting/_styles.scss | 167 +++ .../uni-scss/styles/setting/_text.scss | 24 + .../uni-scss/styles/setting/_variables.scss | 146 ++ .../uni-scss/styles/tools/functions.scss | 19 + src/uni_modules/uni-scss/theme.scss | 31 + src/uni_modules/uni-scss/variables.scss | 62 + 30 files changed, 3450 insertions(+), 4 deletions(-) create mode 100644 src/pages/worker/appraise.vue create mode 100644 src/uni_modules/uni-icons/changelog.md create mode 100644 src/uni_modules/uni-icons/components/uni-icons/icons.js create mode 100644 src/uni_modules/uni-icons/components/uni-icons/uni-icons.vue create mode 100644 src/uni_modules/uni-icons/components/uni-icons/uniicons.css create mode 100644 src/uni_modules/uni-icons/components/uni-icons/uniicons.ttf create mode 100644 src/uni_modules/uni-icons/package.json create mode 100644 src/uni_modules/uni-icons/readme.md create mode 100644 src/uni_modules/uni-rate/changelog.md create mode 100644 src/uni_modules/uni-rate/components/uni-rate/uni-rate.vue create mode 100644 src/uni_modules/uni-rate/package.json create mode 100644 src/uni_modules/uni-rate/readme.md create mode 100644 src/uni_modules/uni-scss/changelog.md create mode 100644 src/uni_modules/uni-scss/index.scss create mode 100644 src/uni_modules/uni-scss/package.json create mode 100644 src/uni_modules/uni-scss/readme.md create mode 100644 src/uni_modules/uni-scss/styles/index.scss create mode 100644 src/uni_modules/uni-scss/styles/setting/_border.scss create mode 100644 src/uni_modules/uni-scss/styles/setting/_color.scss create mode 100644 src/uni_modules/uni-scss/styles/setting/_radius.scss create mode 100644 src/uni_modules/uni-scss/styles/setting/_space.scss create mode 100644 src/uni_modules/uni-scss/styles/setting/_styles.scss create mode 100644 src/uni_modules/uni-scss/styles/setting/_text.scss create mode 100644 src/uni_modules/uni-scss/styles/setting/_variables.scss create mode 100644 src/uni_modules/uni-scss/styles/tools/functions.scss create mode 100644 src/uni_modules/uni-scss/theme.scss create mode 100644 src/uni_modules/uni-scss/variables.scss diff --git a/package.json b/package.json index 77ed897..cabcab0 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "flyio": "^0.6.2", "less": "^4.1.3", "less-loader": "^4.1.0", + "node-sass": "^4.14.1", "regenerator-runtime": "^0.12.1", "vue": "^2.6.11", "vuex": "^3.2.0" diff --git a/src/components/order/action.vue b/src/components/order/action.vue index 7460e02..0cd507e 100644 --- a/src/components/order/action.vue +++ b/src/components/order/action.vue @@ -12,17 +12,17 @@ - + 评价师傅 - + 申请退款 - + 重新申请 @@ -53,18 +53,24 @@ export default { mounted() {}, destroyed() {}, methods: { + // 取消 cancelOrder() { this.$emit("cancelOrder"); }, + // 删除 delOrder() { this.$emit("delOrder"); }, + // 评价 appraiseOrder() { - this.$emit("appraiseOrder"); + // this.$emit("appraiseOrder"); + this.$utils.toPage('/pages/worker/appraise?id=' + this.order.worker.id); }, + // 退款 drawbackOrder() { this.$emit("drawbackOrder"); }, + // 重新提交 reapplyOrder() { this.$emit("reapplyOrder"); }, diff --git a/src/pages.json b/src/pages.json index 8520b2f..5f79d35 100644 --- a/src/pages.json +++ b/src/pages.json @@ -61,6 +61,12 @@ "navigationBarTitleText": "师傅详情" } }, + { + "path": "pages/worker/appraise", + "style": { + "navigationBarTitleText": "评价师傅" + } + }, { "path": "pages/demand/demand", "style": { diff --git a/src/pages/worker/appraise.vue b/src/pages/worker/appraise.vue new file mode 100644 index 0000000..28da71f --- /dev/null +++ b/src/pages/worker/appraise.vue @@ -0,0 +1,173 @@ +