<template>
  <div id="question">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="infoTop">
          <el-image style="width:250px;height:60px;" :src="pic"></el-image>
        </el-col>
        <el-col :span="24" class="form">
          <el-col :span="24" class="image">
            <el-image :src="formImage" style="width:100px;height:80px;"></el-image>
          </el-col>
          <el-form ref="form" :model="form">
            <el-form-item label="您是否愿意继续关注本平台">
              <el-radio-group v-model="form.resource">
                <el-radio label="愿意"></el-radio>
                <el-radio label="不愿意"></el-radio>
              </el-radio-group>
            </el-form-item>
            <el-form-item>
              <el-button type="primary" @click="onSubmit">确认提交</el-button>
            </el-form-item>
          </el-form>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'question',
  props: {},
  components: {},
  data: () => ({
    pic: require('@/assets/diaocha.gif'),
    formImage: require('@/assets/cha.png'),
    form: {
      resource: '',
    },
  }),
  created() {},
  computed: {},
  methods: {
    onSubmit() {
      console.log('submit!');
    },
  },
};
</script>

<style lang="less" scoped>
.infoTop {
  width: 250px;
  height: 60px;
  overflow: hidden;
}
.image {
  text-align: center;
  margin: 20px 0;
}
.form .el-form {
  float: left;
  width: 100%;
  text-align: center;
}
/deep/.el-radio {
  color: #000;
}
/deep/.el-form-item__label {
  width: 100%;
  text-align: center;
  color: #000;
}
</style>
