屏蔽配置
This commit is contained in:
@@ -2,19 +2,18 @@
|
||||
<div class="AddSet">
|
||||
<div class="contents">
|
||||
<u-form :model="forms" ref="uForm" label-width="auto" :border-bottom="false">
|
||||
<u-form-item label="事项分组" prop="status" required :border-bottom="false" right-icon="arrow-right">
|
||||
<u-input v-model="forms.status" placeholder="请选择事项分组" />
|
||||
</u-form-item>
|
||||
<u-form-item label="类别" prop="status" required :border-bottom="false">
|
||||
<u-form-item label="事项分组" prop="title" required :border-bottom="false" right-icon="arrow-right">
|
||||
<u-input v-model="forms.title" placeholder="请输入事项分组" />
|
||||
</u-form-item>
|
||||
<u-form-item label="类别" prop="status" required :border-bottom="false"> </u-form-item>
|
||||
<div class="remove-item">
|
||||
<img src="./components/img/remove-icon.png" alt="">
|
||||
<img src="./components/img/remove-icon.png" alt="" />
|
||||
<div class="input">
|
||||
<u-input v-model="forms.status" placeholder="请输入" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="remove-item">
|
||||
<img src="./components/img/add-icon.png" alt="">
|
||||
<img src="./components/img/add-icon.png" alt="" />
|
||||
<div class="input color-2270F1">添加分类</div>
|
||||
</div>
|
||||
</u-form>
|
||||
@@ -23,7 +22,7 @@
|
||||
<!-- <div class="btn" @click="submit">保存</div> -->
|
||||
<div class="footer">
|
||||
<div class="remove">删除</div>
|
||||
<div class="confirm">保存</div>
|
||||
<div class="confirm" @click="submit">保存</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -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' })
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user