<template>
  <div id="info-1">
    <van-row>
      <van-col span="24" class="main">
        <van-col span="24" class="one">
          <van-form label-width="5em">
            <van-field v-model="info.title" name="title" label="论文题目" readonly />
            <van-field v-model="info.number" name="number" label="期刊及卷号" readonly />
            <van-field v-model="info.startnum" name="startnum" label="起止页码" readonly />
            <van-field v-model="info.type" name="type" label="论文类别" readonly />
            <van-field v-model="info.directionName" name="directionName" label="研究方向" readonly />
            <van-field v-model="info.userName" name="userName" label="作者" readonly />
          </van-form>
        </van-col>
      </van-col>
    </van-row>
  </div>
</template>

<script>
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'info-1',
  props: {
    info: { type: Object },
  },
  components: {},
  data: function () {
    return {};
  },
  created() {},
  methods: {},
  computed: {
    ...mapState(['user']),
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
  watch: {
    test: {
      deep: true,
      immediate: true,
      handler(val) {},
    },
  },
};
</script>

<style lang="less" scoped>
.main {
  .one {
    .van-divider {
      margin: 10px 0;
    }
  }
}
</style>
