You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudnote_web/pages/index/upload.vue

42 lines
1.1 KiB

<template>
<el-form ref="form" :model="form" label-width="80px">
<el-form-item label="论文类型">
<el-select v-model="form.type">
<el-option v-for="item in options" :key="item.value" :value="item.value" placeholder="请输入论文类型">{{item.label}}</el-option>
</el-select>
</el-form-item>
<el-form-item label="论文作者">
<el-col :span="4">
<el-input v-model="form.author" placeholder="请输入论文作者"></el-input>
</el-col>
</el-form-item>
<el-form-item label="学科专业">
<el-col :span="4">
<el-input v-model="form.profession" placeholder="请输入学科专业"></el-input>
</el-col>
</el-form-item>
</el-form>
</template>
<script lang="ts">
export default {
name: 'upload',
data(){
return {
form:{
type:'',
author:'',
profession:''
},
options: [{
value: '选项1',
label: '硕士论文'
},{
value: '选项2',
label: '博士论文'
}]
}
}
}
</script>