From c2e21e78d808f0ef35b9358a644d69b4ece54304 Mon Sep 17 00:00:00 2001 From: liupopo Date: Mon, 4 Dec 2023 12:00:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E8=B4=A7=E7=82=B9=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BB=8F=E7=BA=AC=E5=BA=A6=EF=BC=9B=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=BE=91=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +- src/components/Editor/index.vue | 279 ++++++++++++++++++ src/views/commodity/commodityAdd.vue | 425 ++++++++++++++------------- src/views/pickupPoint/indexAdd.vue | 10 +- 4 files changed, 503 insertions(+), 214 deletions(-) create mode 100644 src/components/Editor/index.vue diff --git a/package.json b/package.json index b49e755..2ed9be7 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,10 @@ "test:ci": "npm run lint && npm run test:unit" }, "dependencies": { - "echarts": "^5.4.3", "axios": "^0.24.0", "bpmn-js": "^9.2.2", "core-js": "^3.8.3", + "echarts": "^5.4.3", "ejs": "^2.7.4", "element-ui": "^2.15.14", "js-cookie": "2.2.0", @@ -27,6 +27,7 @@ "path-to-regexp": "2.4.0", "portfinder": "^1.0.21", "qs": "^6.9.4", + "quill": "^1.3.7", "sass-resources-loader": "^2.1.1", "viewerjs": "^1.9.0", "vue": "^2.6.14", diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue new file mode 100644 index 0000000..332c134 --- /dev/null +++ b/src/components/Editor/index.vue @@ -0,0 +1,279 @@ + + + + + diff --git a/src/views/commodity/commodityAdd.vue b/src/views/commodity/commodityAdd.vue index a7747be..25ed66a 100644 --- a/src/views/commodity/commodityAdd.vue +++ b/src/views/commodity/commodityAdd.vue @@ -1,217 +1,220 @@ \ No newline at end of file + .box-card { + margin-left: 60px; + margin-right: 60px; + min-width: 70%; + margin-top: 20px; + + .item { + display: flex; + flex-direction: row; + align-items: center; + margin-top: 15px; + height: 40px; + line-height: 40px; + + .item_text { + flex: 0.8; + font-size: 18px; + text-align: right; + } + + .item_input { + flex: 4; + font-size: 16px; + margin-left: 10px; + margin-right: 80px; + } + + .item_left_input { + width: 20%; + } + + .item_left_text { + height: 30px; + margin-left: 20px; + line-height: 30px; + color: #018AD2; + padding: 0px 15px; + border: 1.5px solid #018AD2; + border-radius: 5px; + + } + + .item_right { + flex: 1; + justify-items: center; + + .item_right_list_text { + font-size: 16px; + } + + .item_right_list_delect { + color: #5E94FF; + margin-left: 20px; + font-size: 16px; + text-decoration: underline; + } + } + + } + + } + diff --git a/src/views/pickupPoint/indexAdd.vue b/src/views/pickupPoint/indexAdd.vue index d74b3d1..64bb7f1 100644 --- a/src/views/pickupPoint/indexAdd.vue +++ b/src/views/pickupPoint/indexAdd.vue @@ -40,6 +40,10 @@ 排序: +
+ 经纬度: + +
@@ -63,7 +67,8 @@ businessHours: '', sort: 0, linker: '', - picUrl: '' + picUrl: '', + lonAndLat: '' } } }, @@ -97,7 +102,8 @@ businessHours: '', sort: 0, linker: '', - picUrl: '' + picUrl: '', + lonAndLat: '' } this.$emit('doback') },