From 0e5fe85948376400d26b259f9ce2f957002976ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?=
=?UTF-8?q?=E9=98=B4?= <185154740@qq.com>
Date: Thu, 6 Jan 2022 09:25:10 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/apps/AppHandSnapshot/AddSet.vue | 45 ++++++++-------
src/apps/AppHandSnapshot/AppHandSnapshot.vue | 59 +++++++++-----------
2 files changed, 49 insertions(+), 55 deletions(-)
diff --git a/src/apps/AppHandSnapshot/AddSet.vue b/src/apps/AppHandSnapshot/AddSet.vue
index 6b8af78e..8368f651 100644
--- a/src/apps/AppHandSnapshot/AddSet.vue
+++ b/src/apps/AppHandSnapshot/AddSet.vue
@@ -2,19 +2,18 @@
-
-
-
-
+
+
+
-

+
-

+
添加分类
@@ -23,7 +22,7 @@
@@ -41,7 +40,7 @@ export default {
fileIds: [],
},
flag: false,
- show: false
+ show: false,
}
},
methods: {
@@ -50,8 +49,8 @@ export default {
this.$refs.uForm.validate((valid) => {
if (valid) {
- if (!this.forms.content) {
- return this.$u.toast('请选择转交人')
+ if (!this.forms.title) {
+ return this.$u.toast('请输入事项分组')
}
const imgs = []
@@ -63,7 +62,7 @@ export default {
this.flag = true
this.$http
- .post(`/app/appvisitvondolence/addOrUpdate`, {
+ .post(`/app/appclapeventgroup/addOrUpdate`, {
title: this.forms.title,
content: this.forms.content,
// images: JSON.stringify(imgs) || [],
@@ -88,8 +87,8 @@ export default {
toSelectUser() {
console.log(123)
- uni.navigateTo({url: './SelectUser'})
- }
+ uni.navigateTo({ url: './SelectUser' })
+ },
},
}
@@ -144,24 +143,24 @@ export default {
}
}
}
- .remove-item{
+ .remove-item {
padding: 42px 0 42px 32px;
box-sizing: border-box;
background-color: #fff;
- img{
+ img {
width: 36px;
height: 36px;
margin-right: 12px;
vertical-align: middle;
}
- .input{
+ .input {
display: inline-block;
width: calc(100% - 48px);
height: 36px;
line-height: 36px;
}
- .color-2270F1{
- color: #2270F1;
+ .color-2270F1 {
+ color: #2270f1;
font-size: 30px;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 42px;
@@ -181,7 +180,7 @@ export default {
color: #ffffff;
}
- .footer{
+ .footer {
position: fixed;
bottom: 0;
width: 100%;
@@ -190,7 +189,7 @@ export default {
padding: 32px;
display: flex;
justify-content: space-between;
- div{
+ div {
height: 92px;
line-height: 92px;
box-sizing: border-box;
@@ -200,15 +199,15 @@ export default {
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
- .remove{
+ .remove {
flex: 1;
border: 1px solid #f46;
color: #f46;
margin-right: 32px;
}
- .confirm{
+ .confirm {
flex: 2;
- background: #3975C6;
+ background: #3975c6;
color: #fff;
}
}
diff --git a/src/apps/AppHandSnapshot/AppHandSnapshot.vue b/src/apps/AppHandSnapshot/AppHandSnapshot.vue
index 17cfc905..419de655 100644
--- a/src/apps/AppHandSnapshot/AppHandSnapshot.vue
+++ b/src/apps/AppHandSnapshot/AppHandSnapshot.vue
@@ -1,15 +1,10 @@
-
-
+
-
![]()
-
{{item.text}}
+
![]()
+
{{ item.text }}
@@ -26,38 +21,38 @@ export default {
data() {
return {
- component: 'Set',
+ component: 'List',
params: {},
refresh: true,
- tabIndex: 2,
+ tabIndex: 0,
tabs: [
{
img: require('./components/img/handle-icon.png'),
activeImg: require('./components/img/handle-icon-active.png'),
text: '办理',
- component: 'List'
+ component: 'List',
},
{
img: require('./components/img/statistics-icon.png'),
activeImg: require('./components/img/statistics-icon-active.png'),
text: '统计',
- component: 'Statistics'
+ component: 'Statistics',
},
- {
- img: require('./components/img/set-icon.png'),
- activeImg: require('./components/img/set-icon-active.png'),
- text: '配置',
- component: 'Set'
- }
+ // {
+ // img: require('./components/img/set-icon.png'),
+ // activeImg: require('./components/img/set-icon-active.png'),
+ // text: '配置',
+ // component: 'Set'
+ // }
],
- isTab: true
+ isTab: true,
}
},
components: {
List,
Statistics,
- Set
+ Set,
},
methods: {
@@ -72,10 +67,10 @@ export default {
this.$nextTick(() => {
this.refresh = true
})
- }
+ },
},
onShow() {
- document.title = "随手拍"
+ document.title = '随手拍'
uni.$on('hideTab', () => {
this.isTab = false
})
@@ -85,40 +80,40 @@ export default {
},
onReachBottom() {
uni.$emit('nextList')
- }
+ },
}