Files
dvcp_v2_wechat_app/src/project/fengdu/AppNewFarmerBank/integralAdd.vue

78 lines
1.5 KiB
Vue
Raw Normal View History

2023-03-31 10:48:06 +08:00
<template>
<div class="integralAdd">
2023-03-31 14:51:04 +08:00
<div class="item">
<div class="left">事件类型</div>
2023-03-31 16:00:28 +08:00
<AiSelect class="right" dict="clapEventStatus" v-model="form.type"></AiSelect>
</div>
<div class="items">
<p>详情描述</p>
<textarea v-model="form.content" :maxlength="300" placeholder="请输入详细描述..."></textarea>
<div class="tips">{{ form.content.length }}/300</div>
2023-03-31 14:51:04 +08:00
</div>
2023-03-31 10:48:06 +08:00
</div>
</template>
<script>
export default {
name: "integralAdd",
appName: '积分申请',
data() {
return {
2023-03-31 14:51:04 +08:00
form: {
type: 0,
2023-03-31 16:00:28 +08:00
content: '',
2023-03-31 14:51:04 +08:00
}
2023-03-31 10:48:06 +08:00
}
},
2023-03-31 14:51:04 +08:00
onLoad(o) {
this.$dict.load(['clapEventStatus'])
}
2023-03-31 10:48:06 +08:00
}
</script>
<style lang="scss" scoped>
.integralAdd {
2023-03-31 14:51:04 +08:00
.item {
width: 100%;
display: flex;
justify-content: space-between;
background: #FFF;
padding: 24px 32px;
2023-03-31 16:00:28 +08:00
box-sizing: border-box;
margin-top: 24px;
2023-03-31 14:51:04 +08:00
.left {
width: 250px;;
}
.right {
width: calc(100% - 200px);
text-align: right;
}
2023-03-31 16:00:28 +08:00
::v-deep .AiSelect {
float: right;
}
}
.items {
width: 100%;
background: #FFF;
margin-top: 24px;
p {
padding: 24px 32px;
box-sizing: border-box;
border: 1px solid #EEEEEE;
}
textarea {
padding: 24px 32px;
box-sizing: border-box;
}
.tips {
padding: 12px 32px;
box-sizing: border-box;
text-align: right;
color: #999999;
font-size: 24px;
font-weight: 400;
}
2023-03-31 14:51:04 +08:00
}
2023-03-31 10:48:06 +08:00
}
</style>