refactor: 重构最新问卷组件
- 最新问卷组件样式更新 - 内容调整 - 增加 hooks 内容支持
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<script setup lang="ts">
|
||||
import { surveys } from "./Hooks/useRequestHooks"
|
||||
import { surveys } from './Hooks/useRequestHooks';
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<van-cell>
|
||||
<div style="text-align: left;">新建问卷</div>
|
||||
<van-row>
|
||||
<van-col span="6" v-for="survey in surveys" :key="survey.title" class="survey">
|
||||
<img width="45px" :src="survey.icon" alt=" " />
|
||||
<span>{{ survey.title }}</span>
|
||||
</van-col>
|
||||
</van-row>
|
||||
</van-cell>
|
||||
<van-cell>
|
||||
<div style="text-align: left;">新建问卷</div>
|
||||
<van-row>
|
||||
<van-col v-for="survey in surveys" :key="survey.title" span="6" class="survey">
|
||||
<img width="45px" :src="survey.icon" alt=" " />
|
||||
<span>{{ survey.title }}</span>
|
||||
</van-col>
|
||||
</van-row>
|
||||
</van-cell>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user