From 15a4ddd35c848892a81e0c238505e72d272ce8ee Mon Sep 17 00:00:00 2001 From: xusd Date: Mon, 17 Jun 2024 16:21:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=8A=A5=E5=BA=9F=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/equipCancel/equipCancel.js | 16 ++ pages/work/equipCancel/detailsEquipCancel.vue | 156 ++++++++++++- pages/work/equipCancel/listEquipCancel.vue | 220 +++++++++++++++++- 3 files changed, 383 insertions(+), 9 deletions(-) create mode 100644 api/equipCancel/equipCancel.js diff --git a/api/equipCancel/equipCancel.js b/api/equipCancel/equipCancel.js new file mode 100644 index 0000000..4a61f8f --- /dev/null +++ b/api/equipCancel/equipCancel.js @@ -0,0 +1,16 @@ +import request from "@/utils/request"; + +export function listEquipCancel(query) { + return request({ + url: "/scrap/record/list", + method: "get", + params: query, + }); +} + +export function getEquipCancelById(id) { + return request({ + url: "/scrap/record/" + id, + method: "get", + }); +} \ No newline at end of file diff --git a/pages/work/equipCancel/detailsEquipCancel.vue b/pages/work/equipCancel/detailsEquipCancel.vue index 8183fd0..4423266 100644 --- a/pages/work/equipCancel/detailsEquipCancel.vue +++ b/pages/work/equipCancel/detailsEquipCancel.vue @@ -1,22 +1,170 @@ diff --git a/pages/work/equipCancel/listEquipCancel.vue b/pages/work/equipCancel/listEquipCancel.vue index 8183fd0..fa8629e 100644 --- a/pages/work/equipCancel/listEquipCancel.vue +++ b/pages/work/equipCancel/listEquipCancel.vue @@ -1,22 +1,232 @@ + .card-group .card-title { + left: 20px !important; + color: #333; + font-weight: 600; + display: flex; + justify-content: space-between; + width: calc(100% - 20px) !important; + } + + .card-group .card-title .label-btn { + margin: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-top-left-radius: 16px; + border-bottom-left-radius: 16px; + letter-spacing: 1px; + } + + .card-group .cu-list.menu-avatar>.cu-item { + height: 50px; + } + + .card-group .cu-list.menu-avatar>.cu-item:after { + border-bottom: none !important; + } + + .card-group .content-container { + padding-left: 20px; + color: #909399; + margin-bottom: 6px; + } + + .card-group .content-container .text-content .iconfont { + font-size: 16px; + margin-right: 4px; + } + + .card-group .content-container .text-content .text-description { + font-size: 14px; + } + + .card-group .text-bottom { + margin: 0 20px; + border-top: 1px dotted #aaa; + padding: 6px 0; + } + + /* 卡片的样式 end */ + + /* 下拉加载提示字的样式 end */ + .loading-tip { + font-size: 12px; + color: #666; + padding-bottom: 12px; + text-align: center; + } + \ No newline at end of file