随笔分类 -  vue

摘要:包的版本 "@videojs-player/vue": "^1.0.0", "flv.js": "1.6.2", "video.js": "^8.22.0", "flv-extend": "^0.3.0", <template> <!-- 封装的视频播放器组件 --> <video-player r 阅读全文
posted @ 2025-03-23 12:17 前端搬运工bug 阅读(95) 评论(0) 推荐(0)
摘要:包的版本 "@videojs-player/vue": "^1.0.0", "flv.js": "1.6.2", "video.js": "^8.22.0", <template> <!-- 封装的视频播放器组件 --> <video-player ref="videRef" :options="s 阅读全文
posted @ 2025-03-22 13:47 前端搬运工bug 阅读(233) 评论(0) 推荐(0)
摘要:<div style="padding: 20px;"> <div class="case_img" @mousedown="show_coords"> <img alt="" style="width: 100%;" :src="formState.highlightimg.indexOf('ht 阅读全文
posted @ 2025-03-04 11:23 前端搬运工bug 阅读(104) 评论(0) 推荐(0)
摘要:"scripts": { "dev": "vite", "build": "tsc --noEmit && vite build --mode production", "stg": "tsc --noEmit && vite build --mode stg", "tests": "tsc --n 阅读全文
posted @ 2024-07-16 18:07 前端搬运工bug 阅读(20) 评论(0) 推荐(0)
摘要:先删除 package-lock.json和node_modules 再安装 兼容低版本安装方式 npm install --legacy-peer-deps 启动命令 npm run serve window 环境打包命令 npm run build:win 注意: 如果是要跑liunx 环境就需 阅读全文
posted @ 2024-07-13 17:13 前端搬运工bug 阅读(44) 评论(0) 推荐(0)
摘要:<template> <div class="max_box"> <a-tabs v-model:activeKey="activeKey" @change="callback"> <a-tab-pane :tab="item.tab" v-for="item in state.list" :key 阅读全文
posted @ 2024-05-28 15:40 前端搬运工bug 阅读(34) 评论(0) 推荐(0)
摘要:<template> <div class="app_box"> <div class="app_box_title" ref="refTile"> <el-form :inline="true" :model="formInline" class="demo-form-inline" label- 阅读全文
posted @ 2024-05-10 11:42 前端搬运工bug 阅读(253) 评论(0) 推荐(0)
摘要:<template> <el-select ref="myselectref" v-model="currentValue" v-bind="$attrs"> <slot name="option"> <el-option v-for="item in $attrs.options" :key="i 阅读全文
posted @ 2024-05-06 11:59 前端搬运工bug 阅读(153) 评论(0) 推荐(0)
摘要:`` 使用插件 "postcss-pxtorem": "^6.1.0", postcss.config.cjs 文件配置 module.exports = { plugins: { autoprefixer: { overrideBrowserslist: [ "Android 4.1", "iOS 阅读全文
posted @ 2024-05-06 11:34 前端搬运工bug 阅读(1109) 评论(0) 推荐(0)
摘要:// 勾选规则 // 1.勾选当前不勾联动选子级 // 2.勾选当前需要联动勾选父级 // 3.勾选当前取消需要联动取消子级和联动取消父级,如果存在平级则不取消父级 <template> <a-spin :spinning="state.spining"> <div> <a-modal ref="m 阅读全文
posted @ 2024-05-06 11:09 前端搬运工bug 阅读(305) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-11-13 16:31 前端搬运工bug 阅读(9) 评论(0) 推荐(0)
摘要:效果图 <template> <!-- --> <div class='stepBar' v-if="list"> <dl> <dd v-for="(item, index) in list" :key="index" :class="{ actafter: index + 1 <= selecte 阅读全文
posted @ 2023-08-11 22:46 前端搬运工bug 阅读(52) 评论(0) 推荐(0)
摘要:1.在桌面运行cmd,使用官方命令创建vite npm init vite@latest 2.回车 2.回车 直接cd vite-v2 进入vite-v2文件夹后输入 npm install 安装依赖 默认文件夹是这样的 在cmd继续安装vue2依赖命令 npm install vue@2.x vu 阅读全文
posted @ 2022-09-01 21:21 前端搬运工bug 阅读(433) 评论(0) 推荐(0)
摘要:<!-- 订单列表 --> <template> <div class="pariculasr"> <fh :Text="{...propsText}"></fh> <van-row type="flex"> <van-col span="24"> <van-search v-model="valu 阅读全文
posted @ 2022-06-20 16:56 前端搬运工bug 阅读(624) 评论(0) 推荐(0)
摘要:1.vue -v 检查自己的 vue-cli 版本号是否新版 2. 最好卸载旧版vue-cli npm uninstall vue-cli -g 3.重新安装新版vue-cli npm install -g @vue/cli 4. 创建vue项目命令 vue create demo //文件名 不支 阅读全文
posted @ 2022-06-20 16:25 前端搬运工bug 阅读(287) 评论(0) 推荐(0)
摘要:报错前代码 代码修改为 阅读全文
posted @ 2022-06-20 16:24 前端搬运工bug 阅读(70) 评论(0) 推荐(0)
摘要:报错的问题 直接上代码 自定义图标名称 阅读全文
posted @ 2022-01-26 10:28 前端搬运工bug 阅读(395) 评论(0) 推荐(0)
摘要:使用命令强制 安装替换版本最新版本 npm install -g @vue/cli --force 阅读全文
posted @ 2021-11-05 09:52 前端搬运工bug 阅读(57) 评论(0) 推荐(0)