Files
ylst-h5/src/views/Home/components/NewSurvey/index.vue
Huangzhe 7fdd0bfa5a refactor: 优化问卷列表页面功能
1. 修复用户名字段显示问题,从created_user改为creater_user
2. 优化日期显示,只显示年月日
3. 修复搜索功能,修正关键字参数为key_word
4. 优化空状态组件交互逻辑
5. 改进分页加载逻辑
2025-05-23 15:12:21 +08:00

35 lines
875 B
Vue

<template>
<div class="new_survey">
<div v-if="$route.name !== 'home'">
<van-popup v-model:show="show" round closeable position="bottom" teleport="#app">
<create-question :createdNewPage="false"></create-question>
</van-popup>
</div>
<navigation />
</div>
</template>
<script setup>
import CreateQuestion from '@/views/Home/components/CreateSurvey/CreateQuestion.vue';
import Navigation from '@/components/Navigation/Index.vue';
import { ref } from 'vue';
function create() {
show.value = true;
}
const show = defineModel('show', { type: Boolean, default: false });
</script>
<style scoped lang="scss">
@use '@/assets/css/theme';
.new_survey {
position: fixed;
bottom: 50px;
left: 0;
box-sizing: border-box;
width: 100vw;
border-radius: theme.$card-radius;
background: #fff;
}
</style>