diff --git a/pages.json b/pages.json
index f8cddeb..b108082 100644
--- a/pages.json
+++ b/pages.json
@@ -34,6 +34,12 @@
"navigationBarTitleText": "轮灌方案",
"navigationStyle": "custom"
}
+ }, {
+ "path": "pages/irrigation/add/addtask",
+ "style": {
+ "navigationBarTitleText": "轮灌任务",
+ "navigationStyle": "custom"
+ }
}, {
"path": "pages/irrigation/details/taskdetails",
"style": {
@@ -46,6 +52,18 @@
"navigationBarTitleText": "轮灌详情",
"navigationStyle": "custom"
}
+ }, {
+ "path": "pages/irrigation/irrigationgroup",
+ "style": {
+ "navigationBarTitleText": "轮灌组列表",
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "pages/irrigation/config",
+ "style": {
+ "navigationBarTitleText": "轮灌组配置",
+ "navigationStyle": "custom"
+ }
}, {
"path": "pages/irrigation/rotationrecord",
"style": {
diff --git a/pages/irrigation/add/addtask.vue b/pages/irrigation/add/addtask.vue
new file mode 100644
index 0000000..d25f929
--- /dev/null
+++ b/pages/irrigation/add/addtask.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+ 请选择轮灌方案
+
+
+
+
+ 请选择起始组
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/irrigation/add/scheme.vue b/pages/irrigation/add/scheme.vue
index 17a5fe8..7cf50a2 100644
--- a/pages/irrigation/add/scheme.vue
+++ b/pages/irrigation/add/scheme.vue
@@ -1,14 +1,64 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/pages/irrigation/config.vue b/pages/irrigation/config.vue
new file mode 100644
index 0000000..3704a8a
--- /dev/null
+++ b/pages/irrigation/config.vue
@@ -0,0 +1,150 @@
+
+
+
+
+
+ 轮灌组:1
+
+
+ 时长:12:12:12
+
+
+ 已选:2
+
+
+
+
+
+
+
+
+
+
+
+ 分组1
+
+
+
+
+
+
+
+
+
+ 出水口:1-1
+ 阀门:三通阀
+
+
+
+
+
+
+
+
+
+ 出水口:1-2
+ 阀门:多通阀
+
+
+
+
+
+
+
+
+ 出水口:1-3
+ 阀门:多通阀
+
+
+
+
+
+
+
+
+ 出水口:1-3
+ 阀门:多通阀
+
+ 未绑定阀门
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/irrigation/details/irrigationdetails.vue b/pages/irrigation/details/irrigationdetails.vue
index 322e152..ef892ac 100644
--- a/pages/irrigation/details/irrigationdetails.vue
+++ b/pages/irrigation/details/irrigationdetails.vue
@@ -79,8 +79,6 @@
methods: {
-
-
// 页面跳转
rotationrecord() {
uni.navigateTo({
diff --git a/pages/irrigation/details/taskdetails.vue b/pages/irrigation/details/taskdetails.vue
index cfa34ab..725de3a 100644
--- a/pages/irrigation/details/taskdetails.vue
+++ b/pages/irrigation/details/taskdetails.vue
@@ -60,10 +60,8 @@
+
+
\ No newline at end of file
diff --git a/static/scss/app.css b/static/scss/app.css
index bda5df1..b479f4e 100644
--- a/static/scss/app.css
+++ b/static/scss/app.css
@@ -1,3 +1,23 @@
+/* 表单 */
+.uni-forms{background-color: #fff !important;padding: 10px !important;}
+.uni-forms-item {
+ margin-bottom: 10px !important;
+ }
+ .uni-forms-item__label{min-width: 80px !important;}
+ .uni-forms-item__content{align-content: center !important;}
+/* 表单复选 */
+.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .checklist-text {
+ color: #39ac4f !important;
+ }
+
+.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .checkbox__inner {
+ border-color: #39ac4f !important;
+ background-color: #39ac4f !important;
+ }
+
+ /* 表单单选 */
+ .uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .radio__inner{border-color: #39ac4f !important;}
+ .uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .radio__inner .radio__inner-icon{background-color: #39ac4f !important;}
/* 徽标数 */
.u-badge {
border-radius: 5px !important;
@@ -23,15 +43,6 @@
}
/* 按钮 */
-
-.u-button {
- width: fit-content !important;
-}
-
-.u-button--square {
- border-radius: 5px !important;
-}
-
.u-button--large {
width: 100% !important;
height: 38px !important;
@@ -44,12 +55,16 @@
.u-button--small {
height: 25px !important;
}
-
+.u-button--mini {min-width: 38px !important;
+ width: fit-content !important;
+}
.u-button--success {
background-color: #39ac4f !important;
border-color: #39ac4f !important;
}
-
+.u-button--square {
+ border-radius: 5px !important;
+}
.u-button--plain {
background-color: transparent !important;
}
@@ -85,7 +100,7 @@
background-color: #39ac4f;
color: #fff;
}
-
+.bottom-btn{position: fixed;bottom: 0;width: 100%;}
/* 字体颜色 */
.font-red {
color: #e60012;
@@ -161,21 +176,22 @@
display: flex;
align-items: center;
}
-
-.cards-title view .text {
+.cards-title view view{font-size:0.8rem ;}
+.cards-title view .text {font-size: 0.875rem;
margin-right: 10px;
color: #39ac4f;
font-weight: bold;
}
-.cards-title .title-r .uni-tag {
+.cards-title .title-r .uni-tag
+, .cards-title .title-r .u-button{
margin-left: 5px;
}
-
+.cards-title .icon{color: #39ac4f; font-size: 1.3rem;margin-right: 10px;}
.cards-content {
padding: 10px;
}
-
+/* 文字列表 */
.txt-list {
display: flex;
justify-content: space-between;
@@ -199,7 +215,20 @@
.right .iconfont {
color: #bbb;
}
-
+/* 灰色条 */
+.greybar{
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ grid-template-rows: auto;
+ background-color: #f3f3f3;padding: 10px;border-radius: 4px;margin-bottom: 10px;}
+.greybar:last-child,.greybar-box:last-child{margin-bottom: 0;}
+.greybar view>span,.greybar-box .title span{color: #39ac4f;margin-left: 6px;font-weight: bold;font-size: 0.9rem;}
+.greybar-box{background-color: #f3f3f3;margin-bottom: 10px;}
+.greybar-box .title{padding: 10px;border-bottom: 1px solid #c7c7c7;display: grid;
+ grid-template-columns: repeat(2, 1fr);}
+.greybar>view:first-child,.greybar-box .title>view:first-child span{color: #00baad;}
+.greybar-box .no-data{display: flex;align-items: center;justify-content: center;padding:20px 10px;color: #a6a6a6;font-size: 16px;}
+.greybar-box .no-data .iconfont{font-size: 24px;margin-right: 10px;}
.card-font {
height: auto;
overflow: hidden;
@@ -210,4 +239,22 @@
display: inline-flex;
float: right;
margin-left: 10px;
-}
\ No newline at end of file
+}
+
+/* 展示信息 */
+.text-intel{width: 100%;background-color: #fff;padding: 10px;display: flex;font-size: 14px;}
+.text-intel >view{display:flex;align-items: center;margin-right: 20px;}
+.text-intel >view .text{font-size: 0.875rem;
+ color: #39ac4f;
+ font-weight: bold;}
+ /* 表单按钮 */
+ .form-btn{display: flex; gap: 10px;margin-top: 50px;}
+ /* 表单下拉框 */
+ .select{display: flex;
+ box-sizing: border-box;
+ flex-direction: row;
+ align-items: center;
+ border: 1px solid #dcdfe6;
+ border-radius: 4px;padding-left: 10px; line-height: 1;
+ font-size: 14px;
+ height: 35px; color: #999;}
\ No newline at end of file