网站空间如何升级,wordpress分类,wordpress主页设置分类,福州 网站建设 医疗前言#xff1a;哈喽#xff0c;大家好#xff0c;今天给大家分享一篇文章#xff01;并提供具体代码帮助大家深入理解#xff0c;彻底掌握#xff01;创作不易#xff0c;如果能帮助到大家或者给大家一些灵感和启发#xff0c;欢迎收藏关注哦 #x1f495; 目录 Deep… 前言哈喽大家好今天给大家分享一篇文章并提供具体代码帮助大家深入理解彻底掌握创作不易如果能帮助到大家或者给大家一些灵感和启发欢迎收藏关注哦 目录 DeepSeek 助力 Vue 开发打造丝滑的表单验证Form Validation前言页面效果指令输入组件属性定义1. 表单数据绑定相关2. 验证规则相关3. 样式和布局相关4. 其他 组件事件定义1. 验证相关2. 表单提交相关3. 字段值变化相关 其他可能实现的功能1. 验证规则扩展2. 错误提示处理3. 可访问性4. 性能优化5. 组件嵌套 think组件代码 代码测试测试代码正常跑通附其他基本代码编写路由 src\router\index.js编写展示入口 src\App.vue 页面效果相关文章 ️✍️️️️⚠️⬇️·正文开始⬇️·✅❓ 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣*️⃣#️⃣
DeepSeek 助力 Vue 开发打造丝滑的表单验证Form Validation
前言
DeepSeek 在电信、汽车等行业也展现出了广阔的应用前景。
在电信行业三大基础电信企业均全面接入 DeepSeek 开源大模型实现在多场景、多产品中应用针对热门的 DeepSeek-R1 模型提供专属算力方案和配套环境助力国产大模型性能释放。电信企业利用 DeepSeek 的强大能力结合自身在 5G、云平台、大数据等方面的优势拓展 AI 应用场景丰富 AI 应用供给。在智能客服方面DeepSeek 能够快速准确地回答用户的问题提供个性化的服务建议提升用户满意度在网络优化方面通过对大量网络数据的分析DeepSeek 可以帮助电信企业优化网络布局提高网络性能降低运营成本。
页面效果 指令输入 已经创建好了一个基于Vue3的组合式API的项目(Composition API)并能正常运行起来请帮我用 Vue3的组合式API(Composition API) 生成一个 表单验证FormValidation 的功能组件所有代码都保存在components/FormValidation 下的文件夹中。功能组件的script标签中只有setup属性使用普通 JavaScript 实现,不使用TypeScript。 功能要有如下属性 组件属性定义
1. 表单数据绑定相关
modelValue 说明用于双向绑定表单数据可使用 v-model 语法糖。通过它可以方便地获取和更新表单中所有字段的值。类型Object fields 说明定义表单的字段配置包含字段名、初始值、验证规则等信息。每个字段可以有不同的类型如文本框、下拉框等。类型Array
2. 验证规则相关
rules 说明定义表单字段的验证规则如必填项、长度限制、格式要求等。可以使用对象的形式键为字段名值为对应的验证规则数组。类型Object validateOnChange 说明控制是否在表单字段值发生变化时立即进行验证。默认为 true。类型Boolean
3. 样式和布局相关
labelWidth 说明设置表单标签的宽度统一表单布局。类型String 或 Number inline 说明控制表单是否以行内形式显示。类型Boolean
4. 其他
disabled 说明设置整个表单是否禁用。类型Boolean
组件事件定义
1. 验证相关
validate:success 说明当表单所有字段验证通过时触发可携带验证通过后的表单数据。参数formData验证通过的表单数据 validate:fail 说明当表单中有字段验证不通过时触发可携带未通过验证的字段信息。参数errors未通过验证的字段信息包含字段名和错误消息
2. 表单提交相关
submit 说明当用户点击表单提交按钮时触发会先进行表单验证验证通过后才会触发该事件。参数formData验证通过的表单数据
3. 字段值变化相关
change 说明当表单中任意字段的值发生变化时触发可携带变化的字段名和新值。参数fieldName变化的字段名value新值
其他可能实现的功能
1. 验证规则扩展
提供内置的常见验证规则如必填项、邮箱格式、手机号码格式等同时允许用户自定义验证规则。
2. 错误提示处理
提供友好的错误提示信息可通过自定义模板或配置错误消息的方式实现。支持在表单字段旁边实时显示错误信息。
3. 可访问性
确保表单组件符合可访问性标准如添加必要的 aria 属性方便屏幕阅读器等辅助设备使用。
4. 性能优化
避免不必要的验证如在字段值未变化时不重复验证。使用防抖或节流技术处理频繁的字段值变化验证。
5. 组件嵌套
支持表单组件的嵌套使用方便处理复杂的表单结构。
你有更好的建议也可以添加要注明。组件定义好后给出3个及以上的调用示例。 下面是现有目录 vueAndDeepseek/ ├── 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/ │ │ ├── DatePicker/ │ │ └── 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 │ │ ├── DatePickerView.vue │ │ └── AboutView.vue │ ├── App.vue # 根组件 │ └── main.js # 应用入口 ├── public/ # 公共资源目录 ├── index.html # HTML 模板 ├── package.json # 项目配置 ├── vite.config.js # Vite 配置 └── node_modules/ # 依赖包目录
think 好的我现在需要帮用户创建一个基于Vue3组合式API的表单验证组件。用户已经有一个项目结构需要将组件放在components/FormValidation目录下。组件需要使用setup语法糖且用普通JavaScript实现不用TypeScript。首先我得仔细分析用户的需求确保所有属性和事件都被正确处理。 首先组件属性部分。modelValue用于双向绑定所以需要用v-model来处理。fields定义表单字段每个字段可能有不同的类型比如文本框或下拉框。rules是验证规则可能需要内置一些常用规则如必填、邮箱格式等。validateOnChange控制是否在值变化时立即验证默认true。样式相关的labelWidth和inline需要处理布局。disabled属性控制整个表单的禁用状态。
接下来是事件。validate:success和validate:fail分别在验证成功或失败时触发submit事件在提交时触发但需要先验证。change事件在字段值变化时触发。这些事件需要在适当的时候被emit出去。
然后其他功能比如验证规则扩展错误提示可访问性性能优化等。内置的验证规则需要实现同时允许用户自定义。错误信息要实时显示可能需要在每个字段旁边展示。可访问性方面可能需要添加aria属性。性能方面避免不必要的验证可能用防抖或节流。
现在考虑组件的结构。表单组件需要遍历fields数组生成各个表单项每个表单项根据类型渲染不同的输入控件。验证逻辑需要在值变化时触发或者提交时触发。需要收集所有字段的错误信息并在对应位置显示。
首先组件内部需要使用reactive或ref来管理表单数据和错误信息。modelValue通过props传入然后用watch来同步内部表单数据。当内部数据变化时更新modelValue。对于每个字段需要绑定对应的值和事件处理比如input或change事件触发验证。
验证规则的实现是关键。每个规则可能是一个函数接收值并返回是否有效以及错误信息。例如必填规则检查值是否为空邮箱规则用正则表达式验证。当字段的值变化时如果validateOnChange为true则立即执行验证。否则可能在提交时验证。
在验证过程中收集每个字段的错误保存到errors对象里。如果所有字段都通过触发success事件否则触发fail事件。submit事件处理函数需要先执行整体验证再决定是否触发submit事件。
样式方面labelWidth可以用样式绑定比如:style“{ width: labelWidth }”。inline类控制表单是否行内显示。disabled属性应用到所有输入控件上。
调用示例部分用户需要三个以上的例子。比如登录表单、注册表单和行内表单。每个示例展示不同的配置如字段类型、规则、布局等。
现在开始编写代码。首先创建FormValidation.vue文件。在setup函数中处理props和emit。props按用户给的属性定义。modelValue用watch来监听变化同步到内部表单数据。每个字段的输入控件需要根据type渲染不同的元素比如input、select等。绑定value和事件比如input和change处理输入变化触发验证。
验证函数validateField根据字段名和值应用对应的规则。规则可以是内置的或自定义的。错误信息存储到errors对象并更新显示。整体验证函数validate遍历所有字段收集错误触发相应事件。
模板部分用v-for遍历fields生成表单项。每个项的标签宽度由labelWidth控制错误信息在输入框下方显示。提交按钮触发handleSubmit函数执行验证并触发submit事件。
内置验证规则需要定义比如required, email, minLength等。用户可以通过rules prop传入自定义规则。
在调用示例中展示如何传递modelValue、fields、rules等属性并监听事件。例如登录表单有用户名和密码注册表单包含邮箱和密码行内表单可能用不同的布局。
可能遇到的问题处理嵌套字段比如对象或数组结构但用户的需求中modelValue是对象每个字段名是顶层的。可能不需要处理嵌套。另外表单提交时阻止默认事件用submit.prevent。
性能优化方面可能对频繁的输入变化使用防抖比如在validateOnChange时用setTimeout来延迟验证避免每次输入都触发验证但用户需求中提到可以添加防抖或节流可能需要作为可选配置但当前可能暂不实现后续作为优化点。
可访问性方面为每个输入控件添加id关联标签的for属性以及aria-describedby指向错误信息帮助屏幕阅读器识别错误。
测试各个属性和事件是否正常工作比如禁用状态下所有输入不可用inline布局是否正确验证触发时机是否正确等。
最后确保代码符合用户要求的目录结构所有代码保存在components/FormValidation下可能是一个单独的.vue文件或者拆分多个文件但用户可能希望是一个文件。所以将组件代码放在FormValidation.vue中。
总结步骤 定义组件的props包括modelValue, fields, rules等。 在setup中处理modelValue的双向绑定使用emit(‘update:modelValue’)。 根据fields生成表单项处理不同输入类型。 实现验证逻辑包括内置规则和自定义规则。 处理验证触发时机根据validateOnChange决定是否立即验证。 收集错误信息并显示。 实现表单提交先验证再触发事件。 处理样式相关属性如labelWidth和inline。 添加可访问性属性。 编写调用示例展示不同配置。
组件代码
下面按照您的要求创建表单验证组件以下是分步实现方案
components/FormValidation/FormValidation.vue
templateform classform-validation :class{ form-inline: inline } submit.preventhandleSubmitdiv v-forfield in fields :keyfield.name classform-itemlabel :forfield.name classform-label:style{ width: labelWidth }{{ field.label }}/label!-- 文本输入 --inputv-iffield.type text || field.type password:idfield.namev-modelformData[field.name]:typefield.type:disableddisabledclassform-inputinputhandleInput(field.name)changehandleChange(field.name)!-- 下拉选择 --selectv-else-iffield.type select:idfield.namev-modelformData[field.name]:disableddisabledclassform-selectchangehandleChange(field.name)option v-foropt in field.options :keyopt.value :valueopt.value{{ opt.label }}/option/select!-- 错误提示 --div v-iferrors[field.name] classerror-message:aria-livepolite{{ errors[field.name] }}/div/divslot namesubmitbutton typesubmit classsubmit-btn:disableddisabled提交/button/slot/form
/templatescript setup
import { ref, reactive, watch, toRaw } from vue// 内置验证规则
const builtInRules {required: value ({valid: !!value,message: 必填项}),email: value ({valid: /^[^\s][^\s]\.[^\s]$/.test(value),message: 邮箱格式不正确}),minLength: min value ({valid: value.length min,message: 至少需要${min}个字符})
}const props defineProps({modelValue: {type: Object,required: true},fields: {type: Array,default: () []},rules: {type: Object,default: () ({})},validateOnChange: {type: Boolean,default: true},labelWidth: {type: [String, Number],default: 100px},inline: Boolean,disabled: Boolean
})const emit defineEmits([update:modelValue,validate:success,validate:fail,submit,change
])// 响应式数据
const formData reactive({ ...props.modelValue })
const errors reactive({})// 同步外部modelValue变化
watch(() props.modelValue, (newVal) {Object.assign(formData, newVal)
})// 输入处理
const handleInput (fieldName) {emit(update:modelValue, { ...formData })if (props.validateOnChange) {validateField(fieldName)}
}// 字段变化事件
const handleChange (fieldName) {const value formData[fieldName]emit(change, fieldName, value)
}// 单个字段验证
const validateField async (fieldName) {const rules props.rules[fieldName] || []const value formData[fieldName]for (const rule of rules) {let validator ruleif (typeof rule string builtInRules[rule]) {validator builtInRules[rule]}if (typeof validator function) {const result validator(value)if (!result.valid) {errors[fieldName] result.messagereturn false}} else if (typeof validator object validator.validator) {const customResult validator.validator(value)if (!customResult) {errors[fieldName] validator.message || 验证失败return false}}}delete errors[fieldName]return true
}// 整体验证
const validate async () {let isValid trueconst errorList []for (const field of props.fields) {const valid await validateField(field.name)if (!valid) {isValid falseerrorList.push({field: field.name,message: errors[field.name]})}}if (isValid) {emit(validate:success, toRaw(formData))} else {emit(validate:fail, errorList)}return isValid
}// 提交处理
const handleSubmit async () {const isValid await validate()if (isValid) {emit(submit, toRaw(formData))}
}// 暴露验证方法
defineExpose({ validate })
/scriptstyle scoped
.form-validation {max-width: 600px;margin: 0 auto;
}.form-item {margin-bottom: 1rem;
}.form-label {display: inline-block;margin-right: 1rem;text-align: right;
}.form-input,
.form-select {padding: 0.5rem;border: 1px solid #ccc;border-radius: 4px;width: 200px;
}.form-inline .form-item {display: inline-flex;margin-right: 1rem;
}.error-message {color: #ff4444;font-size: 0.875rem;margin-top: 0.25rem;
}.submit-btn {background-color: #42b983;color: white;padding: 0.5rem 1rem;border: none;border-radius: 4px;cursor: pointer;
}.submit-btn:disabled {background-color: #ccc;cursor: not-allowed;
}
/style以下是三个调用示例
登录表单示例在views/FormValidationView.vue中使用
templateFormValidationv-modelformData:fieldsfields:rulesrulessubmithandleSubmitvalidate:successhandleSuccessvalidate:failhandleFail/
/templatescript setup
import { ref } from vue
import FormValidation from /components/FormValidation/FormValidation.vueconst formData ref({username: ,password:
})const fields [{ name: username, label: 用户名, type: text },{ name: password, label: 密码, type: password }
]const rules {username: [required,value ({validator: v v.length 4,message: 用户名至少4个字符})],password: [required,minLength:6]
}const handleSubmit (formData) {console.log(提交数据:, formData)
}const handleSuccess (validData) {console.log(验证成功:, validData)
}const handleFail (errors) {console.error(验证失败:, errors)
}
/script注册表单示例
templateFormValidationv-modelregForm:fieldsregFields:rulesregRuleslabel-width120pxsubmithandleRegistertemplate #submitbutton typesubmit classcustom-submit立即注册/button/template/FormValidation
/templatescript setup
import { ref } from vueconst regForm ref({email: ,password: ,gender:
})const regFields [{ name: email, label: 电子邮箱, type: text },{ name: password, label: 设置密码, type: password },{ name: gender, label: 性别, type: select,options: [{ value: , label: 请选择 },{ value: male, label: 男性 },{ value: female, label: 女性 }]}
]const regRules {email: [required, email],password: [required, minLength:8],gender: [v !!v || 请选择性别]
}const handleRegister (formData) {console.log(注册数据:, formData)
}
/script行内表单示例
templateFormValidationv-modelinlineForm:fieldsinlineFields:rulesinlineRulesinlinelabel-width80pxchangehandleFieldChange/
/templatescript setup
import { ref } from vueconst inlineForm ref({search: ,category:
})const inlineFields [{ name: search, label: 搜索, type: text },{name: category,label: 分类,type: select,options: [{ value: , label: 全部 },{ value: 1, label: 电子产品 },{ value: 2, label: 图书 }]}
]const inlineRules {search: [v v.length 20 || 搜索词过长]
}const handleFieldChange (fieldName, value) {console.log(字段 ${fieldName} 变更为:, value)
}
/script组件特点说明
扩展性
支持通过组合式API轻松扩展验证规则支持自定义表单字段类型已内置text/password/select支持通过插槽自定义提交按钮
优化点
使用toRaw处理原始数据提升性能验证结果缓存避免重复验证通过defineExpose暴露验证方法方便外部调用
可访问性
自动关联label和输入框的id错误信息使用aria-live属性禁用状态自动添加相关属性
样式扩展建议
可通过CSS变量自定义颜色、间距等样式支持添加自定义class覆盖默认样式错误提示使用CSS动画增强用户体验
使用时可以根据实际需求通过组合不同的属性和验证规则来构建复杂的表单场景。
代码测试 运行正常 测试代码正常跑通附其他基本代码
添加路由页面展示入口
编写路由 src\router\index.js import { createRouter, createWebHistory } from vue-router
import RightClickMenuView from ../views/RightClickMenuView.vue
import RangePickerView from ../views/RangePickerView.vueconst 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.// 标签页Tabscomponent: () import(../views/TabsView.vue),},{path: /accordion,name: accordion,// 折叠面板Accordioncomponent: () import(../views/AccordionView.vue),},{path: /timeline,name: timeline,// 时间线Timelinecomponent: () 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)}],
})export default router
编写展示入口 src\App.vue script setup
import { RouterLink, RouterView } from vue-router
import HelloWorld from ./components/HelloWorld.vue
/scripttemplateheaderimg altVue logo classlogo src/assets/logo.svg width125 height125 /div classwrapperHelloWorld msgYou did it! /navRouterLink to/Progress/RouterLinkRouterLink to/tabsTabs/RouterLinkRouterLink to/accordionAccordion/RouterLinkRouterLink to/timelineTimeline/RouterLinkRouterLink to/backToTopBackToTop/RouterLinkRouterLink to/notificationNotification/RouterLinkRouterLink to/cardCard/RouterLinkRouterLink to/infiniteScrollInfiniteScroll/RouterLinkRouterLink to/switchSwitch/RouterLinkRouterLink to/sidebarSidebar/RouterLinkRouterLink to/breadcrumbsBreadcrumbs/RouterLinkRouterLink to/masonryLayoutMasonryLayout/RouterLinkRouterLink to/ratingRating/RouterLinkRouterLink to/datePickerDatePicker/RouterLinkRouterLink to/colorPickerColorPicker/RouterLinkRouterLink to/rightClickMenuRightClickMenu/RouterLinkRouterLink to/rangePickerRangePicker/RouterLinkRouterLink to/navbarNavbar/RouterLinkRouterLink to/formValidationFormValidation/RouterLink/nav/div/headerRouterView /
/templatestyle 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
页面效果 相关文章 ———— 相 关 文 章 ———— 0基础3步部署自己的DeepSeek安装步骤 DeepSeek 助力 Vue 开发打造丝滑的步骤条Step barhttps://blog.csdn.net/qq_33650655/article/details/145560497 DeepSeek 助力 Vue 开发打造丝滑的进度条Progress Barhttps://blog.csdn.net/qq_33650655/article/details/145577034 自己部署 DeepSeek 助力 Vue 开发打造丝滑的标签页Tabshttps://blog.csdn.net/qq_33650655/article/details/145587999 自己部署 DeepSeek 助力 Vue 开发打造丝滑的折叠面板Accordionhttps://blog.csdn.net/qq_33650655/article/details/145590404 自己部署 DeepSeek 助力 Vue 开发打造丝滑的时间线Timeline https://blog.csdn.net/qq_33650655/article/details/145597372 DeepSeek 助力 Vue 开发打造丝滑的返回顶部按钮Back to Tophttps://blog.csdn.net/qq_33650655/article/details/145615550 DeepSeek 助力 Vue 开发打造丝滑的通知栏Notification Barhttps://blog.csdn.net/qq_33650655/article/details/145620055 DeepSeek 助力 Vue 开发打造丝滑的卡片Cardhttps://blog.csdn.net/qq_33650655/article/details/145634564 DeepSeek 助力 Vue 开发打造丝滑的无限滚动Infinite Scrollhttps://blog.csdn.net/qq_33650655/article/details/145638452 DeepSeek 助力 Vue 开发打造丝滑的开关切换Switchhttps://blog.csdn.net/qq_33650655/article/details/145644151 DeepSeek 助力 Vue 开发打造丝滑的侧边栏Sidebarhttps://blog.csdn.net/qq_33650655/article/details/145654204 DeepSeek 助力 Vue 开发打造丝滑的面包屑导航Breadcrumbshttps://blog.csdn.net/qq_33650655/article/details/145656895 DeepSeek 助力 Vue 开发打造丝滑的瀑布流布局Masonry Layouthttps://blog.csdn.net/qq_33650655/article/details/145663699 DeepSeek 助力 Vue 开发打造丝滑的评分组件Ratinghttps://blog.csdn.net/qq_33650655/article/details/145664576 DeepSeek 助力 Vue 开发打造丝滑的日期选择器Date Picker未使用第三方插件 https://blog.csdn.net/qq_33650655/article/details/145673279 DeepSeek 助力 Vue 开发打造丝滑的颜色选择器Color Pickerhttps://blog.csdn.net/qq_33650655/article/details/145689522 DeepSeek 助力 Vue 开发打造丝滑的右键菜单RightClickMenuhttps://blog.csdn.net/qq_33650655/article/details/145706658 DeepSeek 助力 Vue 开发打造丝滑的范围选择器Range Pickerhttps://blog.csdn.net/qq_33650655/article/details/145713572 DeepSeek 助力 Vue 开发打造丝滑的导航栏Navbarhttps://blog.csdn.net/qq_33650655/article/details/145732421 到此这篇文章就介绍到这了,更多精彩内容请关注本人以前的文章或继续浏览下面的文章创作不易如果能帮助到大家,希望大家多多支持宝码香车~若转载本文一定注明本文链接。 更多专栏订阅推荐 htmlcssjs 绚丽效果 vue ✈️ Electron ⭐️ js 字符串 ✍️ 时间对象Date()操作