<template>
  <div id="info-1">
    <van-row>
      <van-col span="24" class="main">
        <van-col span="24" class="one">
          <van-form label-width="4em">
            <van-field v-model="info.name" name="name" label="活动名称" readonly />
            <van-field v-model="info.type" name="type" label="类型" readonly />
            <van-field v-model="info.servicetype" name="servicetype" label="服务形式" readonly />
            <van-field v-model="info.serviceusers" name="serviceusers" label="服务受众人数" readonly />
            <van-field v-model="info.transfertype" name="transfertype" label="转移形式及内容" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.result" name="result" label="结果" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.content" name="content" label="备注" type="textarea" autosize rows="1" 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>
