From 9161acb57c9b462bd169d637f815113b18aab610 Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Fri, 11 Nov 2022 14:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E4=B8=8A=E6=9E=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/capacityOnTheShelf/Algorithm.vue | 81 +++-- .../components/PutOnTheShelf.vue | 334 ++++++++++++------ 2 files changed, 271 insertions(+), 144 deletions(-) diff --git a/front/src/views/capacityOnTheShelf/Algorithm.vue b/front/src/views/capacityOnTheShelf/Algorithm.vue index 6a896068..1dc59bbb 100644 --- a/front/src/views/capacityOnTheShelf/Algorithm.vue +++ b/front/src/views/capacityOnTheShelf/Algorithm.vue @@ -98,7 +98,7 @@ @confirm="changeSfys('上一步')" @cancel="cancel" > - + @@ -123,7 +124,7 @@ @confirm="changeYycj('上一步')" @cancel="cancel" > - + - - + - - + @@ -195,7 +198,7 @@ @confirm="changeYycj('下一步')" @cancel="cancel" > - + - - + - - + @@ -946,36 +950,47 @@ onBeforeUnmount(() => { } .btn { display: flex; - justify-content: space-between; + justify-content: center; padding: 0.1rem 3.5rem 0; - button { - cursor: pointer; - font-size: 0.14rem; - width: 0.8rem; - height: 0.35rem; - text-align: center; - color: #fff; - border: none; - border-radius: 0.06rem; - background: #0087ff; + // button { + // cursor: pointer; + // font-size: 14px; + // text-align: center; + // color: #fff; + // border: none; + // border-radius: 0.06rem; + // background: #0087ff; + // margin-right:12px; + // margin-right:12px; + .quxiao{ margin-right:12px; - } - button:nth-of-type(1) { - background: #0058e1; - color:#ffffff; + cursor: pointer; width: 90px; height: 32px; - border-radius: 2px; - border: 1px #0058e1 solid; - } - button:nth-of-type(2) { - width: 90px; - height: 32px; background: #ffffff; color:#0058e1; border-radius: 2px; border: 1px #0058e1 solid; - } + } + // .quxiao:hover{ + // background: #0058e1; + // color:#ffffff; + // } + .buzhou{ + margin-right:12px; + cursor: pointer; + background: #0058e1; + color:#ffffff; + width: 90px; + height: 32px; + border-radius: 2px; + border: 1px #0058e1 solid; + } + // .buzhou:hover{ + // background: #ffffff; + // color:#0058e1; + // } + } .first { justify-content: center; diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 1ae9e7e4..370ea9d9 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -19,7 +19,7 @@ v-for="(val, index) in data[title.name]" :key="'key1' + val.name + index" > -
+ + +
+ +
删除
+
+
- {{ attr.name }} : + + *{{ attr.name }}: - + + +
{{ val[attr.field] + (attr.company || '') }}
-
+
- -
+ +
- {{ val.name }}: + *{{ val.name }}: - + + + - + /> --> +
+
+ {{ itemSelect }} +
+
+
- 添加更多{{ title.name }} + + 添加多个{{ title.name }}
@@ -201,12 +273,33 @@ :placeholder="'请输入' + item.name + ',不超过50个字符'" @change="changeIiem(item.name, item.note1)" /> - + /> --> + + +
+
+ {{ itemSelect }} +
+
- - - - + >