From 9b6ee433d7f6a6935bfafe9d4d6d5fa8dd846fbe Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Sat, 14 Sep 2024 20:12:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A0=B7=E5=BC=8F=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/luckGift/arrange.vue | 105 ++++++++++++++----------- src/views/luckGift/luckGiftData.vue | 22 +++--- src/views/luckGift/luckGiftDataAll.vue | 29 ++++--- 3 files changed, 84 insertions(+), 72 deletions(-) diff --git a/src/views/luckGift/arrange.vue b/src/views/luckGift/arrange.vue index eb66254..2070658 100644 --- a/src/views/luckGift/arrange.vue +++ b/src/views/luckGift/arrange.vue @@ -32,25 +32,27 @@
数组设置:
-
-
-
-
- 期望: {{ item.expect }} , +
+
+
+
+
+ 期望: {{ item.expect }} , +
+
+ 中奖率: {{ (item.winRate * 100).toFixed(2) }}% , +
-
- 中奖率: {{ (item.winRate * 100).toFixed(2) }}% , +
+ {{ arrInItem.multi }} +
-
- {{ arrInItem.multi }} - -
@@ -120,7 +122,9 @@ export default { // 保存 saveFun() { // - save(JSON.stringify({ poolList: this.arr, type: this.inquire.value })).then((res) => { + save( + JSON.stringify({ poolList: this.arr, type: this.inquire.value }) + ).then((res) => { if (res.code == 200) { ElMessage({ showClose: true, @@ -179,38 +183,47 @@ export default { .arrSet { margin-bottom: 0px; } - .arrContent { - // margin-bottom: 20px; - height: 50px; - line-height: 50px; - .arrBox { - .left { - float: left; - div { - min-width: 120px; - display: inline-block; - .b1 { - color: red; + .boxs { + display: flex; + // justify-content: space-between; + flex-wrap: wrap; + .arrContent { + // margin-bottom: 20px; + width: 190px; + height: 395px; + line-height: 30px; + margin-bottom: 20px; + .arrBox { + .left { + // float: left; + div { + min-width: 100px; + display: block; + // margin-bottom: -25px; + .b1 { + color: red; + } + .b2 { + color: blue; + } } - .b2 { - color: blue; + .left_in2 { + margin-bottom: 10px } } - .left_in2 { - margin-right: 30px; - } - } - .right { - float: left; - span { - display: inline-block; - margin-right: 5px; - } - .input { - display: inline-block; - width: 100px; - margin-right: 10px; - font-size: 16px; + .right { + float: left; + margin-bottom: 15px; + span { + display: inline-block; + width: 45px; + } + .input { + display: inline-block; + width: 100px; + margin-right: 10px; + font-size: 16px; + } } } } diff --git a/src/views/luckGift/luckGiftData.vue b/src/views/luckGift/luckGiftData.vue index 8ae65e5..db18c3f 100644 --- a/src/views/luckGift/luckGiftData.vue +++ b/src/views/luckGift/luckGiftData.vue @@ -52,17 +52,17 @@ border style="width: 100%; margin-top: 25px" > - - - - - - - - - - - + + + + + + + + + + + diff --git a/src/views/luckGift/luckGiftDataAll.vue b/src/views/luckGift/luckGiftDataAll.vue index 44ad686..afc46ea 100644 --- a/src/views/luckGift/luckGiftDataAll.vue +++ b/src/views/luckGift/luckGiftDataAll.vue @@ -35,21 +35,20 @@ border style="width: 100%; margin-top: 25px" > - - - - - - - - - - - + + + + + + + + + + +