1234567891011121314151617181920212223242526272829303132333435363738 |
- <template>
- <div id="index">
- <el-row>
- <el-col :span="24">
- <el-col class="text_left" :span="24" v-for="(item, index) in questionnaireList" :key="index">
- <van-cell is-link @click.native="$router.push({ path: '/question/question', query: { id: item.id } })">{{ item.name }} </van-cell>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- export default {
- name: 'index',
- props: {
- info: null,
- questionnaireList: null,
- },
- components: {},
- data: () => ({
- form: {
- checkList: [],
- },
- }),
- created() {},
- computed: {},
- methods: {},
- };
- </script>
- <style lang="less" scoped>
- .text_left {
- width: 100%;
- line-height: 50px;
- padding: 20px 20px;
- color: blue;
- }
- </style>
|