Files
dvcp_v2_wxcp_app/src/apps/AppVillagersCircle/Reject.vue

86 lines
1.5 KiB
Vue
Raw Normal View History

2022-02-15 18:42:21 +08:00
<template>
<div class="Reject">
<div class="text-area">
<div class="title">不通过理由</div>
2022-02-17 19:45:25 +08:00
<textarea placeholder="请输入" maxlength="200" v-model="value"></textarea>
2022-02-15 18:42:21 +08:00
</div>
<div class="footer" @click="submit">
<div class="btn">保存</div>
</div>
</div>
</template>
<script>
export default {
name: "Reject",
data() {
return {
value: '',
2022-02-17 19:45:25 +08:00
id: ''
2022-02-15 18:42:21 +08:00
};
},
onShow() {
document.title = '村民圈审核'
},
2022-02-17 19:45:25 +08:00
onLoad(o) {
this.id = o.id
2022-02-15 18:42:21 +08:00
},
methods: {
submit() {
2022-02-17 19:45:25 +08:00
this.$http.post('/app/appvillagercircleinfo/examine',null, {
params: {
id: this.id,
pass: 0,
opinion: this.value
}
}).then(res => {
console.log(res);
})
2022-02-15 18:42:21 +08:00
}
},
};
</script>
<style scoped lang="scss">
.Reject {
.text-area{
padding: 34px 32px;
background-color: #fff;
.title{
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 44px;
margin-bottom: 32px;
}
textarea{
width: 100%;
height: 500px;
word-break: break-all;
}
}
.footer {
width: 100%;
position: fixed;
bottom: 0;
left: 0;
}
.btn {
width: 100%;
height: 112px;
line-height: 112px;
text-align: center;
background: #3975C6;
font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFF;
}
.line-bg {
width: 100%;
height: 16px;
background: #F5F5F5;
}
}
</style>