From 73cbc19a8a52cdac15fd5909d268a63bd4d9564b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=B9?= <> Date: Wed, 22 Jan 2025 11:53:59 +0800 Subject: [PATCH] . --- pages/batch-control/edit.vue | 33 +++++++++++++++---- pages/batch-control/index.vue | 2 +- pages/irrigation/config.vue | 62 +++++++++++++++-------------------- 3 files changed, 54 insertions(+), 43 deletions(-) diff --git a/pages/batch-control/edit.vue b/pages/batch-control/edit.vue index c4f364d..87b37b6 100644 --- a/pages/batch-control/edit.vue +++ b/pages/batch-control/edit.vue @@ -44,16 +44,16 @@ - - + + - - + + - - + + 未绑定阀门 @@ -309,4 +309,25 @@ width: 50px; padding-left: 5px !important; } + + + // 按钮列表 + ::v-deep .uni-forms-item__content { + + .check-box { + + .uni-data-checklist { + .checklist-group { + justify-content: space-around; + .checklist-box.is--tag.is-checked { + background-color: #39ac4f; + border-color: #39ac4f; + } + + } + } + + } + } + \ No newline at end of file diff --git a/pages/batch-control/index.vue b/pages/batch-control/index.vue index 1038c60..0113d88 100644 --- a/pages/batch-control/index.vue +++ b/pages/batch-control/index.vue @@ -6,7 +6,7 @@ diff --git a/pages/irrigation/config.vue b/pages/irrigation/config.vue index 0f69df0..2e1e57f 100644 --- a/pages/irrigation/config.vue +++ b/pages/irrigation/config.vue @@ -36,19 +36,16 @@ - - 轮灌组1 + + - - 轮灌组1 + + - - 轮灌组1 + + @@ -59,24 +56,20 @@ - - 轮灌组1 + + - - 轮灌组1 + + - - 轮灌组1 + + - - 轮灌组1 + + @@ -166,6 +159,7 @@ padding-bottom: 38px !important; } + // 按钮列表 ::v-deep .uni-forms-item__content { display: flex; flex: none; @@ -178,27 +172,23 @@ align-items: center; flex-direction: column; - text { - font-size: 12px; + .uni-tag { + margin-top: 5px; } - .uni-data-checklist { - .checklist-group { - width: fit-content !important; - padding: 0; + .u-button--small { + width: 50px; + height: 26px; - .checklist-box.is--tag.is-checked { - background-color: #39ac4f; - border-color: #39ac4f; - } - - .checklist-box { - padding: 5px 15px; - margin: 0; - } + .u-button__text { + font-size: 14px !important; } } + .u-button--info { + border: 1px #DCDFE6 solid; + background-color: #f5f5f5; + } } }