DeepSeek 助力 Vue3 开发:打造丝滑的日历(Calendar)
前言:哈喽,大家好,今天给大家分享一篇文章!并提供具体代码帮助大家深入理解,彻底掌握!创作不易,如果能帮助到大家或者给大家一些灵感和启发,欢迎收藏+关注哦 💕
目录
- DeepSeek 助力 Vue3 开发:打造丝滑的日历(Calendar)
- 📚前言
- 📚页面效果
- 📚指令输入
- 属性
- 事件
- 其他建议
- 📚think
- 📘组件代码
- 📚代码测试
- 📚测试代码正常跑通,附其他基本代码
- 📘编写路由 src\router\index.js
- 📘编写展示入口 src\App.vue
- 📚页面效果
- 📚相关文章
📚📗📕📘📖🕮💡📝🗂️✍️🛠️💻🚀🎉🏗️🌐🖼️🔗📊👉🔖⚠️🌟🔐⬇️·正文开始
⬇️·🎥😊🎓📩😺🌈🤝🤖📜📋🔍✅🧰❓📄📢📈 🙋0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣🔟🆗*️⃣#️⃣
DeepSeek 助力 Vue3 开发:打造丝滑的日历(Calendar)
📚前言
DeepSeek-V3-0324是DeepSeek团队于2025年3月24日发布的V3模型升级版本。虽然官方将其定位为小版本迭代,但在多个方面都有显著提升。以下是具体介绍:
- 性能提升
- 推理能力显著增强:借鉴DeepSeek - R1的强化学习技术,在数学与代码类评测集上取得突破性进展,MATH - 500、AIME 2024等数学竞赛题得分超越GPT - 4.5,在经典“4升水壶问题”等逻辑推理任务中,表现接近专业推理模型。
- 代码能力大幅提高:在开源评测平台kcores - llm - arena的代码能力测试中得分328.3分,超越Claude 3.7 Sonnet普通版(322.3分),接近其思维链版本(334.8分)。能一次性生成800行无错误网页代码,实现动态响应式布局,生成的代码在美观度和功能完备性上媲美Claude 3.7 Sonnet。
- 中文创作能力升级:针对中长篇文本进行专项优化后,可生成更具文学深度的内容,多轮对话中机械式应答减少,语言表达更趋近人类自然交流。
- 智能搜索与报告生成优化:联网搜索场景下,输出的报告数据详实度提升32%,排版美观度优化明显。
- 架构与参数:采用专家混合(MoE)架构,参数总量从6710亿增至6850亿,激活参数为370亿。通过动态路由机制仅激活部分专家,显著提升计算效率。引入偏差项机制解决传统MoE的负载不均衡问题,同时采用节点受限路由减少跨节点通信开销,训练效率提升一倍。使用FP8混合精度训练,降低资源消耗并加快推理速度,响应速度提升4倍。
- 开源协议:开源协议更新为MIT协议,允许自由商用、修改及模型蒸馏,开发者可无缝集成至商业系统,更加开放和友好。
- 部署与应用:苹果M3 Ultra芯片(200W功耗)即可流畅运行,部署成本降低90%。开源版本支持行业领先的128K超长上下文,适用于长文本处理任务。
总体而言,DeepSeek - V3 - 0324是一款性能全面、特色鲜明的国产开源大模型,在逻辑推理、代码生成和中文创意内容方面表现出色,为各类用户提供了实用的AI助手。
📚页面效果
📚指令输入
进入deepseek页面 https://chat.deepseek.com/
输入指令
已经创建好了一个基于Vue3的组合式API的项目(Composition API),并能正常运行起来,请帮我用 Vue3的组合式API(Composition API) 生成一个 日历(Calendar) 的功能组件,所有代码都保存在components/Calendar 下的文件夹中。功能组件的script标签中只有setup属性,使用普通 JavaScript 实现,不使用TypeScript。
功能要有,如下属性:
属性
- 日期相关
currentDate
:当前显示的日期,可用于初始化日历显示的月份和年份。minDate
:可选择的最小日期,限制用户选择范围。maxDate
:可选择的最大日期,限制用户选择范围。selectedDates
:已选中的日期,支持多选时可传入数组。
- 显示相关
showWeekNumbers
:是否显示周数。weekStartDay
:一周的起始日,如 0 表示周日,1 表示周一。showHeader
:是否显示日历头部,包含年月切换等操作。showTodayButton
:是否显示返回今日的按钮。
- 国际化相关
locale
:指定日历的语言环境,用于显示不同语言的月份和星期名称。
- 样式相关
theme
:指定日历的主题,如亮色、暗色。cellSize
:日历单元格的大小。
事件
- 日期选择
date-select
:当用户选择日期时触发,返回选中的日期。date-range-select
:当用户选择日期范围时触发,返回日期范围。
- 日历切换
month-change
:当用户切换月份时触发,返回当前显示的月份和年份。year-change
:当用户切换年份时触发,返回当前显示的年份。
- 其他
today-click
:当用户点击返回今日按钮时触发。
其他建议
- 性能优化:在渲染日历数据时,可采用虚拟列表技术,减少不必要的 DOM 渲染。
- 无障碍支持:确保日历组件支持键盘导航和屏幕阅读器,提高可用性。
- 自定义插槽:提供一些自定义插槽,让用户可以自定义日历的头部、日期单元格等部分。
- 动画效果:为日历的切换和选择操作添加一些动画效果,提升用户体验。
- 响应式设计:确保日历在不同屏幕尺寸下都能正常显示和使用。
你有更好的建议也可以添加,要注明。组件定义好后给出5个及以上的调用示例,示例中添加完整的数据和事件,确保每个示例是独立的。
下面是现有目录
DeepSeekAndVue/
├── src/ # 源代码目录
│ ├── assets/ # 静态资源
│ │ ├── base.css
│ │ ├── main.css
│ │ └── logo.svg
│ ├── components/ # 组件目录
│ │ ├── HelloWorld.vue
│ │ ├── TheWelcome.vue
│ │ ├── WelcomeItem.vue
│ │ ├── Progress/
│ │ │ └── Progress.vue
│ │ ├── Accordion/
│ │ ├── BackToTop/
│ │ ├── Card/
│ │ ├── InfiniteScroll/
│ │ ├── Notification/
│ │ ├── Timeline/
│ │ ├── Switch/
│ │ ├── Tabs/
│ │ ├── Sidebar/
│ │ ├── Breadcrumbs/
│ │ ├── MasonryLayout/
│ │ ├── Rating/
│ │ ├── ColorPicker/
│ │ ├── RightClickMenu/
│ │ ├── RangePicker/
│ │ ├── Navbar/
│ │ ├── FormValidation/
│ │ ├── CopyToClipboard/
│ │ ├── ClickAnimations/
│ │ ├── ThumbnailList/
│ │ ├── KeyboardShortcuts/
│ │ ├── CommentSystem/
│ │ ├── QRCode/
│ │ ├── RadioButton/
│ │ ├── Slider/
│ │ ├── ScrollAnimations/
│ │ ├── TextInput/
│ │ ├── Divider/
│ │ ├── Checkbox/
│ │ ├── TagInput/
│ │ ├── DropdownSelect/
│ │ ├── List/
│ │ ├── Header/
│ │ ├── Footer/
│ │ ├── Pagination/
│ │ ├── FloatingActionButton/
│ │ ├── PasswordInput/
│ │ ├── GridLayout/
│ │ ├── Flexbox/
│ │ ├── Modal/
│ │ ├── RichTextEditor/
│ │ ├── TimePicker/
│ │ ├── FileUpload/
│ │ ├── Autocomplete/
│ │ ├── MultistepForm/
│ │ ├── SearchBar/
│ │ ├── DynamicFormFields/
│ │ ├── Table/
│ │ ├── DatePicker/
│ │ ├── Calendar/
│ │ └── icons/
│ ├── router/ # 路由配置
│ │ └── index.js
│ ├── stores/ # Pinia 状态管理
│ │ └── counter.js
│ ├── views/ # 页面组件
│ │ ├── ProgressView.vue
│ │ ├── TabsView.vue
│ │ ├── SwitchView.vue
│ │ ├── TimelineView.vue
│ │ ├── NotificationView.vue
│ │ ├── CardView.vue
│ │ ├── InfiniteScrollView.vue
│ │ ├── BackToTopView.vue
│ │ ├── AccordionView.vue
│ │ ├── SidebarView.vue
│ │ ├── BreadcrumbsView.vue
│ │ ├── MasonryLayoutView.vue
│ │ ├── RatingView.vue
│ │ ├── ColorPickerView.vue
│ │ ├── RightClickMenuView.vue
│ │ ├── RangePickerView.vue
│ │ ├── NavbarView.vue
│ │ ├── FormValidationView.vue
│ │ ├── CopyToClipboardView.vue
│ │ ├── ClickAnimationsView.vue
│ │ ├── ThumbnailListView.vue
│ │ ├── KeyboardShortcutsView.vue
│ │ ├── CommentSystemView.vue
│ │ ├── QRCodeView.vue
│ │ ├── RadioButtonView.vue
│ │ ├── SliderView.vue
│ │ ├── ScrollAnimationsView.vue
│ │ ├── TextInputView.vue
│ │ ├── DividerView.vue
│ │ ├── CheckboxView.vue
│ │ ├── TagInputView.vue
│ │ ├── DropdownSelectView.vue
│ │ ├── ListView.vue
│ │ ├── HeaderView.vue
│ │ ├── FooterView.vue
│ │ ├── PaginationView.vue
│ │ ├── FloatingActionButtonView.vue
│ │ ├── GridLayoutView.vue
│ │ ├── PasswordInputView.vue
│ │ ├── FlexboxView.vue
│ │ ├── ModalView.vue
│ │ ├── RichTextEditorView.vue
│ │ ├── TimePickerView.vue
│ │ ├── FileUploadView.vue
│ │ ├── AutocompleteView.vue
│ │ ├── MultistepFormView.vue
│ │ ├── SearchBarView.vue
│ │ ├── DynamicFormFieldsView.vue
│ │ ├── TableView.vue
│ │ ├── DatePickerView.vue
│ │ ├── CalendarView.vue
│ │ └── AboutView.vue
│ ├── App.vue # 根组件
│ └── main.js # 应用入口
├── public/ # 公共资源目录
├── index.html # HTML 模板
├── package.json # 项目配置
├── vite.config.js # Vite 配置
└── node_modules/ # 依赖包目录
📚think
📘组件代码
我将按照您的要求创建Calendar组件。以下是分步实现的代码:
components/Calendar/Calendar.vue
<template><div class="calendar" :class="[themeClass, { 'calendar-week-numbers': showWeekNumbers }]"><!-- Header --><header v-if="showHeader" class="calendar-header"><slot name="header" :year="currentYear" :month="currentMonth" :prev="prevMonth" :next="nextMonth"><button @click="prevMonth"><</button><h2>{{ monthYearLabel }}</h2><button @click="nextMonth">></button></slot></header><!-- Week Numbers --><div v-if="showWeekNumbers" class="week-numbers"><div v-for="week in weeks" :key="week.number" class="week-number">{{ week.number }}</div></div><!-- Calendar Body --><div class="calendar-body"><!-- Week Days Header --><div class="week-days"><div v-for="day in weekDays" :key="day" class="week-day">{{ day }}</div></div><!-- Dates Grid --><div class="dates-grid"><buttonv-for="date in visibleDates":key="date.timestamp"class="date-cell":class="{'current-month': date.isCurrentMonth,'selected': isDateSelected(date.date),'disabled': !isDateSelectable(date.date)}":style="{ width: cellSize + 'px', height: cellSize + 'px' }"@click="handleDateClick(date.date)"><slot name="date-cell" :date="date.date" :isSelected="isDateSelected(date.date)" :isCurrentMonth="date.isCurrentMonth">{{ date.date.getDate() }}</slot></button></div></div><!-- Today Button --><footer v-if="showTodayButton" class="calendar-footer"><button @click="handleTodayClick">Today</button></footer></div>
</template><script setup>
import { ref, computed, watch } from 'vue'const props = defineProps({currentDate: {type: Date,default: () => new Date()},minDate: Date,maxDate: Date,selectedDates: {type: Array,default: () => []},showWeekNumbers: Boolean,weekStartDay: {type: Number,default: 1,validator: value => value >= 0 && value <= 6},showHeader: {type: Boolean,default: true},showTodayButton: Boolean,locale: {type: String,default: 'en-US'},theme: {type: String,default: 'light',validator: value => ['light', 'dark'].includes(value)},cellSize: {type: Number,default: 40}
})const emit = defineEmits(['date-select','date-range-select','month-change','year-change','today-click'
])// Reactive state
const currentViewDate = ref(new Date(props.currentDate))
const selectedDates = ref([...props.selectedDates])
let rangeStart = ref(null)// Computed properties
const currentYear = computed(() => currentViewDate.value.getFullYear())
const currentMonth = computed(() => currentViewDate.value.getMonth())const monthYearLabel = computed(() => {return currentViewDate.value.toLocaleDateString(props.locale, {year: 'numeric',month: 'long'})
})const weekDays = computed(() => {const days = []const date = new Date()date.setDate(date.getDate() - date.getDay() + props.weekStartDay)for (let i = 0; i < 7; i++) {days.push(date.toLocaleDateString(props.locale, { weekday: 'short' }))date.setDate(date.getDate() + 1)}return days
})const visibleDates = computed(() => {const dates = []const start = getCalendarStartDate()const end = getCalendarEndDate()const current = new Date(start)while (current <= end) {dates.push({date: new Date(current),isCurrentMonth: current.getMonth() === currentMonth.value,timestamp: current.getTime()})current.setDate(current.getDate() + 1)}return dates
})const weeks = computed(() => {const weeks = []let weekNumber = 1const startDate = getCalendarStartDate()const current = new Date(startDate)while (current <= getCalendarEndDate()) {if (current.getDay() === props.weekStartDay || weekNumber === 1) {const weekStart = new Date(current)weeks.push({number: getWeekNumber(weekStart),start: weekStart})weekNumber++}current.setDate(current.getDate() + 1)}return weeks
})const themeClass = computed(() => `theme-${props.theme}`)// Methods
function getCalendarStartDate() {const date = new Date(currentYear.value, currentMonth.value, 1)const day = date.getDay()const diff = (day - props.weekStartDay + 7) % 7date.setDate(date.getDate() - diff)return date
}function getCalendarEndDate() {const date = new Date(currentYear.value, currentMonth.value + 1, 0)const day = date.getDay()const diff = (props.weekStartDay - 1 - day + 7) % 7date.setDate(date.getDate() + diff)return date
}function getWeekNumber(date) {const d = new Date(date)d.setHours(0, 0, 0, 0)d.setDate(d.getDate() + 4 - (d.getDay() || 7))const yearStart = new Date(d.getFullYear(), 0, 1)return Math.ceil(((d - yearStart) / 86400000 + 1) / 7)
}function isDateSelected(date) {return selectedDates.value.some(d => d.toDateString() === date.toDateString())
}function isDateSelectable(date) {return (!props.minDate || date >= props.minDate) &&(!props.maxDate || date <= props.maxDate)
}function handleDateClick(date) {if (!isDateSelectable(date)) return// Handle range selectionif (rangeStart.value) {const start = new Date(rangeStart.value)const end = new Date(date)if (start > end) [start, end] = [end, start]emit('date-range-select', { start, end })rangeStart.value = null} else {selectedDates.value.push(date)emit('date-select', date)rangeStart.value = date}
}function handleTodayClick() {currentViewDate.value = new Date()emit('today-click', new Date())
}function prevMonth() {currentViewDate.value.setMonth(currentViewDate.value.getMonth() - 1)updateMonthYear()
}function nextMonth() {currentViewDate.value.setMonth(currentViewDate.value.getMonth() + 1)updateMonthYear()
}function updateMonthYear() {emit('month-change', {year: currentYear.value,month: currentMonth.value + 1})emit('year-change', currentYear.value)
}// Watchers
watch(() => props.selectedDates, (newVal) => {selectedDates.value = [...newVal]
})watch(currentViewDate, (newVal) => {currentViewDate.value = new Date(newVal)
})
</script><style scoped>
.calendar {font-family: Arial, sans-serif;max-width: 400px;margin: 0 auto;border: 1px solid #ccc;border-radius: 4px;padding: 1rem;
}.theme-dark {background-color: #333;color: white;
}.calendar-header {display: flex;justify-content: space-between;align-items: center;margin-bottom: 1rem;
}.week-days, .dates-grid {display: grid;grid-template-columns: repeat(7, 1fr);gap: 2px;
}.week-day {text-align: center;padding: 0.5rem;font-weight: bold;
}.date-cell {border: none;cursor: pointer;display: flex;align-items: center;justify-content: center;background: none;
}.date-cell.current-month {background-color: #f0f0f0;
}.date-cell.selected {background-color: #2196F3;color: white;
}.date-cell.disabled {opacity: 0.5;cursor: not-allowed;
}.week-numbers {display: flex;flex-direction: column;gap: 2px;margin-right: 0.5rem;
}.week-number {height: v-bind('cellSize + "px"');display: flex;align-items: center;justify-content: center;
}.calendar-week-numbers {display: flex;
}.calendar-body {flex: 1;
}.calendar-footer {margin-top: 1rem;text-align: center;
}
</style>
以下是5个调用示例:
- 基本使用
<template><Calendar@date-select="handleDateSelect"/>
</template><script setup>
import Calendar from '@/components/Calendar/Calendar.vue'const handleDateSelect = (date) => {console.log('Selected date:', date)
}
</script>
- 多选日期
<template><Calendarv-model:selected-dates="selectedDates"@date-select="handleSelect"/>
</template><script setup>
import { ref } from 'vue'
import Calendar from '@/components/Calendar/Calendar.vue'const selectedDates = ref([])
const handleSelect = (date) => {console.log('Selected dates:', selectedDates.value)
}
</script>
- 日期范围选择
<template><Calendar@date-range-select="handleRangeSelect"/>
</template><script setup>
import Calendar from '@/components/Calendar/Calendar.vue'const handleRangeSelect = ({ start, end }) => {console.log('Date range:', start, 'to', end)
}
</script>
- 自定义显示设置
<template><Calendar:show-week-numbers="true":week-start-day="1":show-header="false":show-today-button="true"theme="dark":cell-size="50"locale="zh-CN"/>
</template>
- 带日期限制
<template><Calendar:min-date="new Date(2024, 0, 1)":max-date="new Date(2024, 11, 31)"@date-select="handleSelect"/>
</template><script setup>
import Calendar from '@/components/Calendar/Calendar.vue'const handleSelect = (date) => {console.log('Valid date selected:', date)
}
</script>
组件特点说明:
- 使用组合式API实现,所有逻辑都在setup中组织
- 支持多种日期选择模式(单选、多选、范围选择)
- 完整的国际化支持
- 响应式布局,自动适应容器宽度
- 支持键盘导航(可通过添加键盘事件处理器扩展)
- 提供多个插槽(header、date-cell)用于自定义内容
- 内置主题系统,支持轻松扩展新主题
- 完善的日期验证逻辑
- 性能优化:使用计算属性缓存数据,减少重复计算
可以根据实际需求添加更多功能,如:
- 日期标记功能(节假日、特殊日期)
- 更强大的键盘导航支持
- 拖拽选择日期范围
- 周/月视图切换
- 自定义日期格式化函数等
📚代码测试
运行正常
📚测试代码正常跑通,附其他基本代码
- 添加路由
- 页面展示入口
📘编写路由 src\router\index.js
import { createRouter, createWebHistory } from 'vue-router'
import RightClickMenuView from '../views/RightClickMenuView.vue'
import RangePickerView from '../views/RangePickerView.vue'const router = createRouter({history: createWebHistory(import.meta.env.BASE_URL),routes: [{path: '/',name: 'progress',component: () => import('../views/ProgressView.vue'),},{path: '/tabs',name: 'tabs',// route level code-splitting// this generates a separate chunk (About.[hash].js) for this route// which is lazy-loaded when the route is visited.// 标签页(Tabs)component: () => import('../views/TabsView.vue'),},{path: '/accordion',name: 'accordion',// 折叠面板(Accordion)component: () => import('../views/AccordionView.vue'),},{path: '/timeline',name: 'timeline',// 时间线(Timeline)component: () => import('../views/TimelineView.vue'),},{path: '/backToTop',name: 'backToTop',component: () => import('../views/BackToTopView.vue')},{path: '/notification',name: 'notification',component: () => import('../views/NotificationView.vue')},{path: '/card',name: 'card',component: () => import('../views/CardView.vue')},{path: '/infiniteScroll',name: 'infiniteScroll',component: () => import('../views/InfiniteScrollView.vue')},{path: '/switch',name: 'switch',component: () => import('../views/SwitchView.vue')},{path: '/sidebar',name: 'sidebar',component: () => import('../views/SidebarView.vue')},{path: '/breadcrumbs',name: 'breadcrumbs',component: () => import('../views/BreadcrumbsView.vue')},{path: '/masonryLayout',name: 'masonryLayout',component: () => import('../views/MasonryLayoutView.vue')},{path: '/rating',name: 'rating',component: () => import('../views/RatingView.vue')},{path: '/datePicker',name: 'datePicker',component: () => import('../views/DatePickerView.vue')},{path: '/colorPicker',name: 'colorPicker',component: () => import('../views/ColorPickerView.vue')},{path: '/rightClickMenu',name: 'rightClickMenu',component: RightClickMenuView},{path: '/rangePicker',name: 'rangePicker',component: () => import('../views/RangePickerView.vue')},{path: '/navbar',name: 'navbar',component: () => import('../views/NavbarView.vue')},{path: '/formValidation',name: 'formValidation',component: () => import('../views/FormValidationView.vue')},{path: '/copyToClipboard',name: 'copyToClipboard',component: () => import('../views/CopyToClipboardView.vue')},{path: '/clickAnimations',name: 'clickAnimations',component: () => import('../views/ClickAnimationsView.vue')},{path: '/thumbnailList',name: 'thumbnailList',component: () => import('../views/ThumbnailListView.vue')},{path: '/keyboardShortcuts',name: 'keyboardShortcuts',component: () => import('../views/KeyboardShortcutsView.vue')},{path: '/commentSystem',name: 'commentSystem',component: () => import('../views/CommentSystemView.vue')},{path: '/qRCode',name: 'qRCode',component: () => import('../views/QRCodeView.vue')},{path: '/radioButton',name: 'radioButton',component: () => import('../views/RadioButtonView.vue')},{path: '/slider',name: 'slider',component: () => import('../views/SliderView.vue')},{path: '/scrollAnimations',name: 'scrollAnimations',component: () => import('../views/ScrollAnimationsView.vue')},{path: '/textInputView',name: 'textInputView',component: () => import('../views/TextInputView.vue')},{path: '/divider',name: 'divider',component: () => import('../views/DividerView.vue')},{path: '/checkbox',name: 'checkbox',component: () => import('../views/CheckboxView.vue')},{path: '/tagInput',name: 'tagInput',component: () => import('../views/TagInputView.vue')},{path: '/dropdownSelect',name: 'dropdownSelect',component: () => import('../views/DropdownSelectView.vue')},{path: '/list',name: 'list',component: () => import('../views/ListView.vue')},{path: '/header',name: 'header',component: () => import('../views/HeaderView.vue')},{path: '/footer',name: 'footer',component: () => import('../views/FooterView.vue')},{path: '/pagination',name: 'pagination',component: () => import('../views/PaginationView.vue')},{path: '/floatingActionButton',name: 'floatingActionButton',component: () => import('../views/FloatingActionButtonView.vue')},{path: '/gridLayout',name: 'gridLayout',component: () => import('../views/GridLayoutView.vue')},{path: '/passwordInput',name: 'passwordInput',component: () => import('../views/PasswordInputView.vue')},{path: '/flexbox',name: 'flexbox',component: () => import('../views/FlexboxView.vue')},{path: '/modal',name: 'modal',component: () => import('../views/ModalView.vue')},{path: '/richTextEditor',name: 'richTextEditor',component: () => import('../views/RichTextEditorView.vue')},{path: '/timePickerView',name: 'timePickerView',component: () => import('../views/TimePickerView.vue')},{path: '/multistepForm',name: 'multistepForm',component: () => import('../views/MultistepFormView.vue')},{path: '/table1',name: 'table1',component: () => import('../views/TableView1.vue')},{path: '/table2',name: 'table2',component: () => import('../views/TableView2.vue')},{path: '/table3',name: 'table3',component: () => import('../views/TableView3.vue')},{path: '/table4',name: 'table4',component: () => import('../views/TableView4.vue')},{path: '/table5',name: 'table5',component: () => import('../views/TableView5.vue')},{path: '/table6',name: 'table6',component: () => import('../views/TableView6.vue')},{path: '/table7',name: 'table7',component: () => import('../views/TableView7.vue')},{path: '/table8',name: 'table8',component: () => import('../views/TableView8.vue')},{path: '/table9',name: 'table9',component: () => import('../views/TableView9.vue')},{path: '/table10',name: 'table10',component: () => import('../views/TableView10.vue')},{path: '/table11',name: 'table11',component: () => import('../views/TableView11.vue')},{path: '/table12',name: 'table12',component: () => import('../views/TableView12.vue')},{path: '/table12_02',name: 'table12_02',component: () => import('../views/TableView12_02.vue')},{path: '/table14',name: 'table14',component: () => import('../views/TableView14.vue')},{path: '/table14_01',name: 'table14_01',component: () => import('../views/TableView14_01.vue')},{path: '/table14_02',name: 'table14_02',component: () => import('../views/TableView14_02.vue')},{path: '/table14_03',name: 'table14_03',component: () => import('../views/TableView14_03.vue')},{path: '/table14_04',name: 'table14_04',component: () => import('../views/TableView14_04.vue')},{path: '/table14_05',name: 'table14_05',component: () => import('../views/TableView14_05.vue')},{path: '/table14_06',name: 'table14_06',component: () => import('../views/TableView14_06.vue')},{path: '/table14_07',name: 'table14_07',component: () => import('../views/TableView14_07.vue')},{path: '/table14_08',name: 'table14_08',component: () => import('../views/TableView14_08.vue')},{path: '/table14_09',name: 'table14_09',component: () => import('../views/TableView14_09.vue')},{path: '/table14_10',name: 'table14_10',component: () => import('../views/TableView14_10.vue')},{path: '/table14_11',name: 'table14_11',component: () => import('../views/TableView14_11.vue')},{path: '/table14_12',name: 'table14_12',component: () => import('../views/TableView14_12.vue')},{path: '/table14_13',name: 'table14_13',component: () => import('../views/TableView14_13.vue')},{path: '/table14_14',name: 'table14_14',component: () => import('../views/TableView14_14.vue')},{path: '/table15',name: 'table15',component: () => import('../views/TableView15.vue')},{path: '/table15_01',name: 'table15_01',component: () => import('../views/TableView15_01.vue')},{path: '/table15_02',name: 'table15_02',component: () => import('../views/TableView15_02.vue')},{path: '/table15_03',name: 'table15_03',component: () => import('../views/TableView15_03.vue')},{path: '/table15_04',name: 'table15_04',component: () => import('../views/TableView15_04.vue')},{path: '/table15_05',name: 'table15_05',component: () => import('../views/TableView15_05.vue')},{path: '/table15_06',name: 'table15_06',component: () => import('../views/TableView15_06.vue')},{path: '/table15_07',name: 'table15_07',component: () => import('../views/TableView15_07.vue')},{path: '/table15_08',name: 'table15_08',component: () => import('../views/TableView15_08.vue')},{path: '/table15_09',name: 'table15_09',component: () => import('../views/TableView15_09.vue')},{path: '/table15_10',name: 'table15_10',component: () => import('../views/TableView15_10.vue')},{path: '/table15_11',name: 'table15_11',component: () => import('../views/TableView15_11.vue')},{path: '/table15_12',name: 'table15_12',component: () => import('../views/TableView15_12.vue')},{path: '/table15_13',name: 'table15_13',component: () => import('../views/TableView15_13.vue')},{path: '/table15_14',name: 'table15_14',component: () => import('../views/TableView15_14.vue')},{path: '/table16',name: 'table16',component: () => import('../views/TableView16.vue')},{path: '/table16_01',name: 'table16_01',component: () => import('../views/TableView16_01.vue')},{path: '/table16_02',name: 'table16_02',component: () => import('../views/TableView16_02.vue')},{path: '/table16_03',name: 'table16_03',component: () => import('../views/TableView16_03.vue')},{path: '/table16_04',name: 'table16_04',component: () => import('../views/TableView16_04.vue')},{path: '/table16_05',name: 'table16_05',component: () => import('../views/TableView16_05.vue')},{path: '/table16_06',name: 'table16_06',component: () => import('../views/TableView16_06.vue')},{path: '/table16_07',name: 'table16_07',component: () => import('../views/TableView16_07.vue')},{path: '/table16_08',name: 'table16_08',component: () => import('../views/TableView16_08.vue')},{path: '/table16_09',name: 'table16_09',component: () => import('../views/TableView16_09.vue')},{path: '/table16_10',name: 'table16_10',component: () => import('../views/TableView16_10.vue')},{path: '/table16_11',name: 'table16_11',component: () => import('../views/TableView16_11.vue')},{path: '/table16_12',name: 'table16_12',component: () => import('../views/TableView16_12.vue')},{path: '/table16_13',name: 'table16_13',component: () => import('../views/TableView16_13.vue')},{path: '/table16_14',name: 'table16_14',component: () => import('../views/TableView16_14.vue')},{path: '/table17',name: 'table17',component: () => import('../views/TableView17.vue')},{path: '/calendar',name: 'calendar',component: () => import('../views/CalendarView.vue')}],
})export default router
📘编写展示入口 src\App.vue
<script setup>
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script><template><header><img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" /><div class="wrapper"><HelloWorld msg="You did it!" /><nav><RouterLink to="/">Progress</RouterLink><RouterLink to="/tabs">Tabs</RouterLink><RouterLink to="/accordion">Accordion</RouterLink><RouterLink to="/timeline">Timeline</RouterLink><RouterLink to="/backToTop">BackToTop</RouterLink><RouterLink to="/notification">Notification</RouterLink><RouterLink to="/card">Card</RouterLink><RouterLink to="/infiniteScroll">InfiniteScroll</RouterLink><RouterLink to="/switch">Switch</RouterLink><RouterLink to="/sidebar">Sidebar</RouterLink><RouterLink to="/breadcrumbs">Breadcrumbs</RouterLink><RouterLink to="/masonryLayout">MasonryLayout</RouterLink><RouterLink to="/rating">Rating</RouterLink><RouterLink to="/datePicker">DatePicker</RouterLink><RouterLink to="/colorPicker">ColorPicker</RouterLink><RouterLink to="/rightClickMenu">RightClickMenu</RouterLink><RouterLink to="/rangePicker">RangePicker</RouterLink><RouterLink to="/navbar">Navbar</RouterLink><RouterLink to="/formValidation">FormValidation</RouterLink><RouterLink to="/copyToClipboard">CopyToClipboard</RouterLink><RouterLink to="/clickAnimations">ClickAnimations</RouterLink><RouterLink to="/thumbnailList">ThumbnailList</RouterLink><RouterLink to="/keyboardShortcuts">KeyboardShortcuts</RouterLink><RouterLink to="/commentSystem">CommentSystem</RouterLink><RouterLink to="/qRCode">QRCode</RouterLink><RouterLink to="/radioButton">RadioButton</RouterLink><RouterLink to="/slider">Slider</RouterLink><RouterLink to="/scrollAnimations">ScrollAnimations</RouterLink><RouterLink to="/textInputView">TextInput</RouterLink><RouterLink to="/divider">Divider</RouterLink><RouterLink to="/checkbox">Checkbox</RouterLink><RouterLink to="/tagInput">TagInput</RouterLink><RouterLink to="/dropdownSelect">DropdownSelect</RouterLink><RouterLink to="/list">List</RouterLink><RouterLink to="/header">Header</RouterLink><RouterLink to="/footer">Footer</RouterLink><RouterLink to="/pagination">Pagination</RouterLink><RouterLink to="/floatingActionButton">FloatingActionButton</RouterLink><RouterLink to="/gridLayout">GridLayout</RouterLink><RouterLink to="/passwordInput">PasswordInput</RouterLink><RouterLink to="/flexbox">Flexbox</RouterLink><RouterLink to="/modal">Modal</RouterLink><RouterLink to="/richTextEditor">RichTextEditor</RouterLink><RouterLink to="/timePickerView">TimePickerView</RouterLink><RouterLink to="/multistepForm">MultistepFormView</RouterLink><RouterLink to="/table1">Table1</RouterLink><RouterLink to="/table2">Table2</RouterLink><RouterLink to="/table3">Table3</RouterLink><RouterLink to="/table4">Table4</RouterLink><RouterLink to="/table5">Table5</RouterLink><RouterLink to="/table6">Table6空状态</RouterLink><RouterLink to="/table7">Table7空状态2</RouterLink><RouterLink to="/table8">Table8基础加载状态</RouterLink><RouterLink to="/table9">Table9自定义加载文本</RouterLink><RouterLink to="/table10">Table10完全自定义加载内容</RouterLink><RouterLink to="/table11">Table11加载结合分页</RouterLink><RouterLink to="/table12">Table12启用列宽调整</RouterLink><RouterLink to="/table12_02">table12_02自定义选择列宽度</RouterLink><RouterLink to="/table14">table14 添加表头固定功能</RouterLink><RouterLink to="/table14_01">table14_01</RouterLink><RouterLink to="/table14_02">table14_02</RouterLink><RouterLink to="/table14_03">table14_03</RouterLink><RouterLink to="/table14_04">table14_04</RouterLink><RouterLink to="/table14_05">table14_05</RouterLink><RouterLink to="/table14_06">table14_06</RouterLink><RouterLink to="/table14_07">table14_07</RouterLink><RouterLink to="/table14_08">table14_08</RouterLink><RouterLink to="/table14_09">table14_09</RouterLink><RouterLink to="/table14_10">table14_10</RouterLink><RouterLink to="/table14_11">table14_11</RouterLink><RouterLink to="/table14_12">table14_12</RouterLink><RouterLink to="/table14_13">table14_13</RouterLink><RouterLink to="/table14_14">table14_14</RouterLink><RouterLink to="/table15">table15 导出数据功能</RouterLink><RouterLink to="/table15_01">table15_01</RouterLink><RouterLink to="/table15_02">table15_02</RouterLink><RouterLink to="/table15_03">table15_03</RouterLink><RouterLink to="/table15_04">table15_04</RouterLink><RouterLink to="/table15_05">table15_05</RouterLink><RouterLink to="/table15_06">table15_06</RouterLink><RouterLink to="/table15_07">table15_07</RouterLink><RouterLink to="/table15_08">table15_08</RouterLink><RouterLink to="/table15_09">table15_09</RouterLink><RouterLink to="/table15_10">table15_10</RouterLink><RouterLink to="/table15_11">table15_11</RouterLink><RouterLink to="/table15_12">table15_12</RouterLink><RouterLink to="/table15_13">table15_13</RouterLink><RouterLink to="/table15_14">table15_14</RouterLink><RouterLink to="/table16">table16添加行拖拽排序功能</RouterLink><RouterLink to="/table16_01">table16_01</RouterLink><RouterLink to="/table16_02">table16_02</RouterLink><RouterLink to="/table16_03">table16_03</RouterLink><RouterLink to="/table16_04">table16_04</RouterLink><RouterLink to="/table16_05">table16_05</RouterLink><RouterLink to="/table16_06">table16_06</RouterLink><RouterLink to="/table16_07">table16_07</RouterLink><RouterLink to="/table16_08">table16_08</RouterLink><RouterLink to="/table16_09">table16_09</RouterLink><RouterLink to="/table16_10">table16_10</RouterLink><RouterLink to="/table16_11">table16_11</RouterLink><RouterLink to="/table16_12">table16_12</RouterLink><RouterLink to="/table16_13">table16_13</RouterLink><RouterLink to="/table16_14">table16_14</RouterLink><RouterLink to="/calendar">日历(Calendar)</RouterLink></nav></div></header><RouterView />
</template><style scoped>
header {line-height: 1.5;max-height: 100vh;
}.logo {display: block;margin: 0 auto 2rem;
}nav {width: 100%;font-size: 12px;text-align: center;margin-top: 2rem;
}nav a.router-link-exact-active {color: var(--color-text);
}nav a.router-link-exact-active:hover {background-color: transparent;
}nav a {display: inline-block;padding: 0 1rem;border-left: 1px solid var(--color-border);
}nav a:first-of-type {border: 0;
}@media (min-width: 1024px) {header {display: flex;place-items: center;padding-right: calc(var(--section-gap) / 2);}.logo {margin: 0 2rem 0 0;}header .wrapper {display: flex;place-items: flex-start;flex-wrap: wrap;}nav {text-align: left;margin-left: -1rem;font-size: 1rem;padding: 1rem 0;margin-top: 1rem;}
}
</style>
📚页面效果
📚相关文章
-
DeepSeek 助力 Vue 开发:打造丝滑的步骤条(Step bar)https://blog.csdn.net/qq_33650655/article/details/145560497
-
DeepSeek 助力 Vue 开发:打造丝滑的进度条(Progress Bar)https://blog.csdn.net/qq_33650655/article/details/145577034
-
DeepSeek 助力 Vue 开发:打造丝滑的标签页(Tabs)https://blog.csdn.net/qq_33650655/article/details/145587999
-
DeepSeek 助力 Vue 开发:打造丝滑的折叠面板(Accordion)https://blog.csdn.net/qq_33650655/article/details/145590404
-
DeepSeek 助力 Vue 开发:打造丝滑的时间线(Timeline )https://blog.csdn.net/qq_33650655/article/details/145597372
-
DeepSeek 助力 Vue 开发:打造丝滑的返回顶部按钮(Back to Top)https://blog.csdn.net/qq_33650655/article/details/145615550
-
DeepSeek 助力 Vue 开发:打造丝滑的通知栏(Notification Bar)https://blog.csdn.net/qq_33650655/article/details/145620055
-
DeepSeek 助力 Vue 开发:打造丝滑的卡片(Card)https://blog.csdn.net/qq_33650655/article/details/145634564
-
DeepSeek 助力 Vue 开发:打造丝滑的无限滚动(Infinite Scroll)https://blog.csdn.net/qq_33650655/article/details/145638452
-
DeepSeek 助力 Vue 开发:打造丝滑的开关切换(Switch)https://blog.csdn.net/qq_33650655/article/details/145644151
-
DeepSeek 助力 Vue 开发:打造丝滑的侧边栏(Sidebar)https://blog.csdn.net/qq_33650655/article/details/145654204
-
DeepSeek 助力 Vue 开发:打造丝滑的面包屑导航(Breadcrumbs)https://blog.csdn.net/qq_33650655/article/details/145656895
-
DeepSeek 助力 Vue 开发:打造丝滑的瀑布流布局(Masonry Layout)https://blog.csdn.net/qq_33650655/article/details/145663699
-
DeepSeek 助力 Vue 开发:打造丝滑的评分组件(Rating)https://blog.csdn.net/qq_33650655/article/details/145664576
-
DeepSeek 助力 Vue 开发:打造丝滑的日期选择器(Date Picker),未使用第三方插件 https://blog.csdn.net/qq_33650655/article/details/145673279
-
DeepSeek 助力 Vue 开发:打造丝滑的颜色选择器(Color Picker)https://blog.csdn.net/qq_33650655/article/details/145689522
-
DeepSeek 助力 Vue 开发:打造丝滑的右键菜单(RightClickMenu)https://blog.csdn.net/qq_33650655/article/details/145706658
-
DeepSeek 助力 Vue 开发:打造丝滑的范围选择器(Range Picker)https://blog.csdn.net/qq_33650655/article/details/145713572
-
DeepSeek 助力 Vue 开发:打造丝滑的导航栏(Navbar)https://blog.csdn.net/qq_33650655/article/details/145732421
-
DeepSeek 助力 Vue 开发:打造丝滑的表单验证(Form Validation)https://blog.csdn.net/qq_33650655/article/details/145735582
-
DeepSeek 助力 Vue 开发:打造丝滑的复制到剪贴板(Copy to Clipboard)https://blog.csdn.net/qq_33650655/article/details/145739569
-
DeepSeek 助力 Vue 开发:打造丝滑的点击动画(Click Animations)https://blog.csdn.net/qq_33650655/article/details/145766184
-
DeepSeek 助力 Vue 开发:打造丝滑的缩略图列表(Thumbnail List)https://blog.csdn.net/qq_33650655/article/details/145776679
-
DeepSeek 助力 Vue 开发:打造丝滑的 键盘快捷键(Keyboard Shortcuts) https://blog.csdn.net/qq_33650655/article/details/145780227
-
DeepSeek 助力 Vue 开发:打造丝滑的评论系统(Comment System)https://blog.csdn.net/qq_33650655/article/details/145781104
-
DeepSeek 助力 Vue 开发:打造丝滑的二维码生成(QR Code)https://blog.csdn.net/qq_33650655/article/details/145797928
-
DeepSeek 助力 Vue 开发:打造丝滑的单选按钮(Radio Button)https://blog.csdn.net/qq_33650655/article/details/145810620
-
DeepSeek 助力 Vue 开发:打造丝滑的滑块(Slider)https://blog.csdn.net/qq_33650655/article/details/145817161
-
DeepSeek 助力 Vue 开发:打造丝滑的滚动动画(Scroll Animations)https://blog.csdn.net/qq_33650655/article/details/145818571
-
DeepSeek 助力 Vue 开发:打造丝滑的文本输入框(Text Input)https://blog.csdn.net/qq_33650655/article/details/145837003
-
DeepSeek 助力 Vue 开发:打造丝滑的分割线(Divider)https://blog.csdn.net/qq_33650655/article/details/145849100
-
DeepSeek 助力 Vue 开发:打造丝滑的 复选框(Checkbox)https://blog.csdn.net/qq_33650655/article/details/145855695
-
DeepSeek 助力 Vue3 开发:打造丝滑的标签输入(Tag Input)https://blog.csdn.net/qq_33650655/article/details/145858574
-
DeepSeek 助力 Vue3 开发:打造丝滑的下拉选择框(Dropdown Select)https://blog.csdn.net/qq_33650655/article/details/145861882
-
DeepSeek 助力 Vue3 开发:打造丝滑的列表(List)https://blog.csdn.net/qq_33650655/article/details/145866384
-
DeepSeek 助力 Vue3 开发:打造丝滑的页眉(Header)https://blog.csdn.net/qq_33650655/article/details/145885122
-
DeepSeek 助力 Vue3 开发:打造丝滑的页脚(Footer)https://blog.csdn.net/qq_33650655/article/details/145886306
-
DeepSeek 助力 Vue3 开发:打造丝滑的分页(Pagination)https://blog.csdn.net/qq_33650655/article/details/145886824
-
DeepSeek 助力 Vue3 开发:打造丝滑的悬浮按钮(Floating Action Button)
https://blog.csdn.net/qq_33650655/article/details/145888339 -
DeepSeek 助力 Vue3 开发:打造丝滑的网格布局(Grid Layout)https://blog.csdn.net/qq_33650655/article/details/145893422
-
DeepSeek 助力 Vue3 开发:打造丝滑的密码输入框(Password Input))https://blog.csdn.net/qq_33650655/article/details/145903079
-
DeepSeek 助力 Vue3 开发:打造丝滑的弹性布局(Flexbox)https://blog.csdn.net/qq_33650655/article/details/145938677
-
DeepSeek 助力 Vue3 开发:打造丝滑的模态框(Modal)https://blog.csdn.net/qq_33650655/article/details/145938939
-
DeepSeek 助力 Vue3 开发:打造丝滑的时间选择器(Time Picker)https://blog.csdn.net/qq_33650655/article/details/145939053
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)示例1:基础表格 https://blog.csdn.net/qq_33650655/article/details/145939144
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)示例2: 分页和排序 https://blog.csdn.net/qq_33650655/article/details/146025347
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)示例3: 行选择 https://blog.csdn.net/qq_33650655/article/details/146025478
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)示例4: 自定义插槽 https://blog.csdn.net/qq_33650655/article/details/146025513
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)示例5: 搜索和过滤 https://blog.csdn.net/qq_33650655/article/details/146025532
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之功能优化,添加表格空状态提示 https://blog.csdn.net/qq_33650655/article/details/146042249
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之功能优化,添加表格空状态提示,带插图的空状态,Table7空状态2 https://blog.csdn.net/qq_33650655/article/details/146046044
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之功能优化,基础加载状态,Table8基础加载状态 https://blog.csdn.net/qq_33650655/article/details/146049283
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之功能优化,自定义加载文本,Table9自定义加载文本https://blog.csdn.net/qq_33650655/article/details/146049592
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之功能优化,完全自定义加载内容,Table10完全自定义加载内容 https://blog.csdn.net/qq_33650655/article/details/146049663
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之功能优化,加载结合分页 ,Table11加载结合分页 https://blog.csdn.net/qq_33650655/article/details/146049727
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之功能优化,添加列宽调整功能Table12 https://blog.csdn.net/qq_33650655/article/details/146139452
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14基础固定表头示例https://blog.csdn.net/qq_33650655/article/details/146166033
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_01基础固定表头示例 https://blog.csdn.net/qq_33650655/article/details/146162035
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_02带边框和斑马纹的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162045
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_03可调整列宽的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162057
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_04带选择框的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162076
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_05可排序的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162098
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_06带搜索功能的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162127
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_07带分页的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162135
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_08带加载状态的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162142
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_09自定义单元格的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162151
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_10空状态的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162165
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_11多功能组合的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162175
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_12自定义表头的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162186
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_13可展开行的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162201
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加列宽调整功能,示例Table14_14树形数据的固定表头表格 https://blog.csdn.net/qq_33650655/article/details/146162213
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能 https://blog.csdn.net/qq_33650655/article/details/146329292
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例1,TableView15_01基础导出功能示例 https://blog.csdn.net/qq_33650655/article/details/146349203
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例2,TableView15_02导出为CSV格式示例 https://blog.csdn.net/qq_33650655/article/details/146350878
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例3,TableView15_03导出全部数据示例 https://blog.csdn.net/qq_33650655/article/details/146351008
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例4,TableView15_04导出当前页数据示例 https://blog.csdn.net/qq_33650655/article/details/146382664
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例5,TableView15_05自定义导出按钮文本示例 https://blog.csdn.net/qq_33650655/article/details/146383279
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例6,TableView15_06自定义导出文件名示例 https://blog.csdn.net/qq_33650655/article/details/146383261
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例7,TableView15_07带边框和斑马纹的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351137
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例8,TableView15_08带选择框的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351159
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例9,TableView15_09带排序的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351181
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例10,TableView15_10带搜索的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351196
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例11,TableView15_11带分页的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351224
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例12,TableView15_12固定表头的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351254
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例13,TableView15_13可调整列宽的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351271
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加导出数据功能示例14,TableView15_14多功能组合的导出表格示例 https://blog.csdn.net/qq_33650655/article/details/146351297
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能 https://blog.csdn.net/qq_33650655/article/details/146351051
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例1,TableView16_01.vue 基础行拖拽排序示例 https://blog.csdn.net/qq_33650655/article/details/146516134
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例2,TableView16_02.vue 拖拽视觉反馈示例 https://blog.csdn.net/qq_33650655/article/details/146351077
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例3,TableView16_03 拖拽视觉反馈示例 https://blog.csdn.net/qq_33650655/article/details/146517501
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例4,TableView16_04 跨表格拖拽示例 https://blog.csdn.net/qq_33650655/article/details/146517613
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例5,TableView16_05 树形表格拖拽排序 https://blog.csdn.net/qq_33650655/article/details/146517619
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例6,TableView16_06 分页表格拖拽排序 https://blog.csdn.net/qq_33650655/article/details/146517627
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例7,TableView16_07 列拖拽排序示例 https://blog.csdn.net/qq_33650655/article/details/146351099
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例8,TableView16_08 筛选状态拖拽排序 https://blog.csdn.net/qq_33650655/article/details/146545632
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例9,TableView16_09 嵌套表格拖拽排序 https://blog.csdn.net/qq_33650655/article/details/146545641
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例10,TableView16_10 虚拟滚动拖拽示例 https://blog.csdn.net/qq_33650655/article/details/146545647
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例11,TableView16_11 拖拽与行编辑结合示例 https://blog.csdn.net/qq_33650655/article/details/146545654
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例12,TableView16_12 拖拽动画示例 https://blog.csdn.net/qq_33650655/article/details/146545665
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例13,TableView16_13 键盘辅助拖拽示例 https://blog.csdn.net/qq_33650655/article/details/146794579
-
DeepSeek 助力 Vue3 开发:打造丝滑的表格(Table)之添加行拖拽排序功能示例14,TableView16_14 拖拽自动保存示例 https://blog.csdn.net/qq_33650655/article/details/146795055
到此这篇文章就介绍到这了,更多精彩内容请关注本人以前的文章或继续浏览下面的文章,创作不易,如果能帮助到大家,希望大家多多支持宝码香车~💕,若转载本文,一定注明本文链接。
更多专栏订阅推荐:
👍 html+css+js 绚丽效果
💕 vue
✈️ Electron
⭐️ js
📝 字符串
✍️ 时间对象(Date())操作
相关文章:
DeepSeek 助力 Vue3 开发:打造丝滑的日历(Calendar)
前言:哈喽,大家好,今天给大家分享一篇文章!并提供具体代码帮助大家深入理解,彻底掌握!创作不易,如果能帮助到大家或者给大家一些灵感和启发,欢迎收藏关注哦 💕 目录 Deep…...
Conda使用方法详解
Conda是一个开源的包管理和环境管理系统,主要用于Python/R等科学计算领域,可以轻松管理不同项目的依赖关系。以下是Conda的详细使用方法: 一、安装与配置 1.安装Miniconda/Anaconda Miniconda是精简版,只包含conda和Python Ana…...
CausalML 基于机器学习算法的因果推理方法
CausalML 是一个 Python 包,它使用基于最新研究的机器学习算法提供一套提升建模和因果推理方法。它提供了一个标准界面,允许用户从实验或观察数据中估计条件平均处理效应 (CATE),也称为个体治疗效应 (ITE&a…...
HTML的svg元素
<svg>元素 <svg>是一种用于描述二维矢量图形的 XML 格式,可以直接嵌入 HTML 文档中。 <svg>基本用法 <svg>的几种基本用法,包括圆形,正方形,三角形,直线 ,折线等 <body><svg widt…...
文件上传、读取与包含漏洞解析及防御实战
一、漏洞概述 文件上传、读取和包含漏洞是Web安全中常见的高危风险点,攻击者可通过此类漏洞执行恶意代码、窃取敏感数据或直接控制服务器。其核心成因在于开发者未对用户输入内容进行充分验证或过滤,导致攻击者能够绕过安全机制,上传或执行…...
物联网与边缘计算之物联网架构(感知层、网络层、应用层)
一、感知层:数据采集与智能终端 1. 核心功能 感知层是物联网的数据入口,通过物理设备(如传感器、RFID标签)实时采集环境、设备或生物体的物理量(温度、湿度)、标识信息(如二维码)及…...
nvm使用手册
一、安装前准备 1. 卸载现有 Node.js(如已安装) # 删除全局 node 模块 sudo rm -rf /usr/local/lib/node_modules# 删除 node 可执行文件 sudo rm -rf /usr/local/bin/npm sudo rm -rf /usr/local/bin/node# 删除其他残留文件 sudo rm -rf ~/.npm sudo…...
Maven error:Could not transfer artifact
问题描述 当项目从私有仓库下载依赖时,Maven 报错,无法从远程仓库下载指定的依赖包,错误信息如下: Could not transfer artifact com.ding.abcd:zabk-java:pom from/to releases (http://192.1122.101/repory/mavenleases/): 此…...
【操作系统(Linux)】——通过案例学习父子进程的线程异步性
本篇旨在通过几个案例来学习父子进程的线程异步性 一、父进程与子进程 我们将要做的: 创建父子进程,观察父子进程执行的顺序,了解进程执行的异步行为 源代码: #include <stdio.h> #include <sys/types.h> #include…...
汽车CAN总线采样点和采样率详解
写在前面 本篇文章主要讲解在汽车电子中CAN总线采样率的相关知识点,内容涉及CAN波特率、采样点、时间份额、同步跳转宽度以及采样率的计算。 若有相关问题,欢迎评论沟通,共同进步。(*^▽^*) 1、CAN波特率 CAN波特率常规分为250kbps和500kbps,本文章主要以这两个波特率为…...
一款基于 .NET 8 + Vue 开源的、企业级中后台权限管理系统
前言 今天大姚给大家分享一款基于 .NET 8 Vue 开源、前后端分离的企业级中后台权限管理系统,助力快速完成常规业务需求开发:ApeVolo.Admin。 项目介绍 ApeVolo.Admin 一款基于.NET 8、SqlSugar、Vue、Elment UI、RBAC、前后端分离、开源(…...
创建两个进程
文章目录 创建两个进程**2. 实现思路及源代码**2.1 实现思路2.1.1 fork() 函数2.1.2 思路分析 2.2 源代码2.2.1 源代码分析2.2.2 源代码测试结果 **3. 打印进程树**3.1 tmux操作步骤3.1.1 启动 tmux3.1.2 分屏操作(Ctrlb是在告诉系统准备输入一个快捷键)…...
Zephyr、FreeRTOS、RT-Thread 定时器区别分析
一、核心特性对比 特性ZephyrFreeRTOSRT-Thread定时器类型系统定时器(k_timer)、硬件定时器软件定时器(基于系统tick)软件定时器、硬件定时器定时模式单次、周期性单次、自动重载(周期性)单次、周期、自定…...
.NET 中的深拷贝实现方法
在 .NET 中实现深拷贝(Deep Copy)有几种常用方法,深拷贝是指创建一个新对象,并递归地复制原对象及其所有引用对象,而不仅仅是复制引用。 目录 1. 使用序列化/反序列化2. 使用 JSON 序列化(Newtonsoft.Json…...
Vue/React组件/指令/Hooks封装的基本原则以及示例
一、组件封装原则与示例 Vue组件封装 核心原则 • 单一职责:每个组件只解决一个功能(如分页、过滤表单) • Props控制输入:通过定义明确的Props接口接收外部数据(类型校验、默认值) • Emit事件通信:子组件通过$emit向父组件传递动作(如分页切换) • 插槽扩展性:使用…...
医学分割新标杆!双路径PGM-UNet:CNN+Mamba实现病灶毫厘级捕捉
一、引言:医学图像分割的挑战与机遇 医学图像分割是辅助疾病诊断和治疗规划的关键技术,但传统方法常受限于复杂病理特征和微小结构。现有深度学习模型(如CNN和Transformer)虽各有优势,但CNN难以建模长距离依赖&…...
软考-高项,知识点一览十六 采购管理
十六 采购管理 项目采购管理包括从项目团队外部采购或获取所需产品、服务或成果的各个过程。被授权采购项目所需货物、服务的人员可以是项目团队、管理层或组织采购部的成员 。 管理基础 协议/采购合同 协议可以是合同、服务水平协议 (SLA) 、谅解备忘录、协议备…...
Spring MVC 视图解析器(JSP、Thymeleaf、Freemarker、 JSON/HTML、Bean)详解
Spring MVC 视图解析器详解 1. 视图解析器概述 视图解析器(ViewResolver)是 Spring MVC 的核心组件,负责将控制器返回的视图名称(如 success)转换为具体的 View 对象(如 Thymeleaf 模板或 JSP 文件&#x…...
Joomla 常用模块 - 在线用户与Joomla 常用模块 - 自定义HTML模块
Joomla 常用模块 - 在线用户 在这一节中,我们将介绍如何建立在线用户模块。在线用户模块是显示当前访问网站的匿名用户(如访客)和注册用户(登录用户)的数量。 建立在线用户模块你可以参考以下步骤: 1、选…...
缓存工具类
这里写目录标题 背景代码使用 背景 写oj系统过程中,需要使用缓存工具类。其功能为,先从缓存中获取数据,如数据不存在,从数据库中获取。 代码 package xyz.wry.utils;import org.springframework.util.ObjectUtils;import java.…...
【C++】list底层封装和实现
目录 节点类基本框架构造函数 list类构造函数拷贝构造函数赋值重载析构函数 迭代器类前言(string和vector的区别)迭代器模版参数的说明构造函数运算符重载- -运算符的重载运算符重载!运算符的重载*运算符的重载->运算符的重载 迭代器相关函数插入和删除函数inserterase函数p…...
一种替代DOORS在WORD中进行需求管理的方法 (二)
一、前景 参考: 一种替代DOORS在WORD中进行需求管理的方法(基于WORD插件的应用)_doors aspice-CSDN博客 二、界面和资源 WORD2013/WORD2016 插件 【已使用该工具通过第三方功能安全产品认证】: 1、 核心功能 1、需求编号和跟…...
学习海康VisionMaster之多直线查找
一:进一步学习了 今天学习下VisionMaster中的多直线查找,这个还是拟合直线的衍生应用,可以在测量框内同时查找多段时间 二:开始学习 1:什么是多直线查找? 一个检测框,就可以在检测框里面同时检…...
MATLAB的24脉波整流器Simulink仿真与故障诊断
本博客来源于CSDN机器鱼,未同意任何人转载。 更多内容,欢迎点击本专栏目录,查看更多内容。 目录 0 引言 1 故障数据采集 2 故障特征提取 3 故障诊断分类 4 结语 本博客内容是在MATLAB2023下完成。 0 引言 对于电力电子电路的故障诊断…...
顺序表专题(C语言)
文章目录 前言一、数据结构相关概念类比说明:书架与数据结构 二、线性表基本概念两种实现方式对比 三、顺序表的概念及结构1. 顺序表的定义2. 静态顺序表的基本结构关键点解析: 3. 结构体成员解释 四、顺序表分类五、动态顺序表的实现总结 前言 在C语言…...
Python Cookbook-5.9 在排序完毕的序列中寻找元素
任务 你需要寻找序列中的一系列元素。 解决方案 解决方案如果列表L已经是排序完毕的状态,则Python 标准库提供的 bisect 模块可以很容易地检查出元素x是否在L中: import bisect x_insert_point bisect.bisect_right(L,x) x_is_present L[x_insert_point-1:x_i…...
Johnson算法 流水线问题 java实现
某印刷厂有 6项加工任务J1,J2,J3,J4,J5,J6,需要在两台机器Mi和M2上完 成。 在机器Mi上各任务所需时间为5,1,8,5,3,4单位; 在机器M2上各任务所需时间为7,2,2,4,7,4单位。 即时间矩阵为: T1 {5, …...
10:00开始面试,10:08就出来了,问的问题有点变态。。。
从小厂出来,没想到在另一家公司又寄了。 到这家公司开始上班,加班是每天必不可少的,看在钱给的比较多的份上,就不太计较了。没想到8月一纸通知,所有人不准加班,加班费不仅没有了,薪资还要降40%…...
[Vue]App.vue讲解
页面中可以看见的内容不再在index.html中进行编辑,而是在App.vue中进行编辑。 组件化开发 在传统的html开发中,一个页面的资源往往都写在同一个html文件中。这种模式在开发小规模、样式简单的项目时会相当便捷,但当项目规模越来越大…...
python中的*args和**args
在 Python 里,*args 和 **kwargs 是两个特殊的语法,它们能让函数接收不定数量的参数。下面分别对它们进行介绍。 *args *args 用于向函数传递不定数量的非关键字参数,这些参数会被封装成一个元组。以下是示例代码: def sum_num…...
解决Spring Boot上传默认限制文件大小和完善超限异常(若依框架)
文章目录 报错信息问题分析技术原理解决方法1️⃣调整 Spring Boot 配置文件2️⃣检查内嵌 Tomcat 配置(可选)3️⃣ 代码自定义配置(覆盖配置文件) 全局异常处理代码 报错信息 org.springframework.web.multipart.MaxUploadSizeE…...
Pyside6使用QtWebEngine实现GUI嵌入网页内容
Pyside6是由Qt官方维护和开发的一个用于创建跨平台桌面应用程序的Python绑定库。QtWebEngine是Qt提供的一个模块,它基于Chromium项目,允许开发者在他们的应用程序中嵌入网页内容。通过结合Pyside6和QtWebEngine,开发者可以轻松地创建具有现代…...
【每日一个知识点】多项式回归(Polynomial Regression)
多项式回归(Polynomial Regression)是一种对非线性关系建模的回归方法,它是在线性回归的基础上,引入特征的高次项,从而捕捉自变量与因变量之间的非线性关系。 🔹一、基本概念 多项式回归的形式:…...
最新版PhpStorm超详细图文安装教程,带补丁包(2025最新版保姆级教程)
目录 前言 一、PhpStorm最新版下载 二、PhpStorm安装 三、PhpStorm补丁 四、运行PhpStorm 前言 PhpStorm 是 JetBrains 公司推出的 专业 PHP 集成开发环境(IDE),专为提升 PHP 开发效率设计。其核心功能包括智能代码补全、实时语法错误检…...
C++:模拟实现string
目录 一:string类 二:构造函数、拷贝构造函数及析构函数 1、构造函数 2、拷贝构造函数 3、析构函数 三、实现string中对容量操作的成员函数 1、size 2、capacity 3、reserve 4、resize 5、clear 6、empty 四、string类中对象的增删查改操作 …...
Python 小练习系列 | Vol.14:掌握偏函数 partial,用函数更丝滑!
🧩 Python 小练习系列 | Vol.14:掌握偏函数 partial,用函数更丝滑! 本节的 Python 小练习系列我们将聚焦一个 冷门但高能 的工具 —— functools.partial。它的作用类似于“函数的预设模板”,能帮你写出更加灵活、优雅…...
处理Excel的python库openpyxl、xlrd、xlwt、pandas有什么区别,搞懂它
openpyxl、xlrd、xlwt、pandas 都能处理 Excel 表格,但用途和适合的场景不同。今天做个总结: 库名功能支持格式读写支持样式备注openpyxl全面的.xlsx处理库.xlsx(Excel2007)✅✅✅首选xlrd读取.xls文件的老牌工具.xls(…...
【OSG学习笔记】Day 1: OSG初探——环境搭建与第一个3D窗口
什么是 OSG? 全称:OpenSceneGraph(开源场景图) 定位:一个基于 C/OpenGL 的高性能开源3D图形开发工具包,专注于实时渲染和复杂场景管理。 核心思想:通过 场景图(Scene Graph…...
linux--------------进程控制(下)
一、进程等待 1.1 进程等待必要性 子进程退出后,若父进程不管不顾,可能会产生 “僵尸进程”,进而造成内存泄漏。进程一旦变为僵尸状态,即使使用 kill -9 也无法将其杀死,因为无法杀死一个已死的进程。父进程需要了解…...
【Axure元件分享】移动端滑动拨盘日期选择器
在移动端产品设计中,日期选择器是用户交互中常见的组件,尤其在预订、日程管理等场景中扮演着关键角色。本文将介绍一款基于Axure的移动端滑动拨盘日期选择器元件,该元件通过模拟拨盘滑动交互效果,为用户提供直观日期选择体验。 下…...
基于 JavaWeb 的 SpringBoot 在线课程会员系统设计和实现(源码+文档+部署讲解)
技术范围:SpringBoot、Vue、SSM、HLMT、Jsp、PHP、Nodejs、Python、爬虫、数据可视化、小程序、安卓app、大数据、物联网、机器学习等设计与开发。 主要内容:免费功能设计、开题报告、任务书、中期检查PPT、系统功能实现、代码编写、论文编写和辅导、论文…...
Linux入门
复习:https://blog.csdn.net/ 操作系统概述 硬件和软件 计算机由硬件和软件组成 硬件:计算机系统中由电子,机械和光电元件等组成的各种物理装置的总称 软件:用户和计算机硬件之间的接口和桥梁,用户通过软件与计算机进行交流 而操作系统就是软件的一类. 操作系统 主要负…...
金融壹账通推出大模型一体机,加速金融行业AI落地与应用
在当前数字化和人工智能技术迅猛发展的背景下,金融行业正面临着效率提升、风险管控和客户体验优化的多重挑战。为应对这些需求,金融壹账通近期推出了全新的“大模型一体机”解决方案。该方案集算力、模型、工具链和应用场景于一体,不仅具备小投入、低门槛和私有化部署的优势,还…...
迁移WordPress网站(大文件版本)
安装插件All-in-One WP Migration,备份并下载文件,可以参考我的另外一篇文章wordpress 利用 All-in-One WP Migration全站转移使用工具解压缩.wpress文件 工具名称:wpress-extractor,github下载地址 或者 我已经上传,也…...
Linux普通用户怎么切换为root用户
在 Linux 中,普通用户切换到 root 用户的常用命令有以下几种: 切到root用户 sudo -i(当前用户的密码) su -(需要知道root 密码) 1. su 命令(需要知道 root 密码) su - 或 su - roo…...
WinForm真入门(11)——ComboBox控件详解
WinForm中 ComboBox 控件详解 ComboBox 是 WinForms 中一个集文本框与下拉列表于一体的控件,支持用户从预定义选项中选择或直接输入内容。以下从核心属性、事件、使用场景到高级技巧的全面解析: 一、ComboBox 核心属性 属性说明示例Items下拉…...
Spring 服务调用接口时,提示You should be redirected automatically to target URL:
问题 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><title>Redirecting...</title><h1>Redirecting...</h1><p>You should be redirected automatically to target URL: <a href"http://xxx/api/v1/branch…...
OpenCV--模板匹配
一、引言 在计算机视觉领域,模板匹配是一种用于在图像中查找特定目标的基本技术。OpenCV 作为广泛使用的计算机视觉库,提供了强大且易于使用的模板匹配功能。无论是在工业检测、图像识别还是机器人视觉等领域,模板匹配都发挥着重要作用。本文…...
【Ragflow】14.MinerU解析脚本,接入ragflow知识库
概述 前文写了下 MinerU 的解析效果,收到不少读者催更,想利用 MinerU 替换 Deepdoc 的原始的解析器。 我认为,开发新功能基本可遵循能用-好用-用好这三个阶段: 能用:先通过脚本实现该功能,主打的是能用就行 好用&am…...
【SpringCloud】从入门到精通(上)
今天主播我把黑马新版微服务课程MQ高级之前的内容都看完了,虽然在看视频的时候也记了笔记,但是看完之后还是忘得差不多了,所以打算写一篇博客再温习一下内容。 课程坐标:黑马程序员SpringCloud微服务开发与实战 微服务 认识单体架构 单体架…...