随笔 - 42,  文章 - 0,  评论 - 3,  阅读 - 24113

随笔分类 -  样例

VUE 图片识别
摘要:1、安装依赖 // 安装Element-UI npm install element-ui --save // 安装 ocr 和 ocrdet npm i @paddlejs-models/ocrdet@0.0.3 --save npm i @paddlejs-models/ocr@1.1.2 -- 阅读全文
posted @ 2023-12-22 09:54 丶凉雨拾忆 阅读(467) 评论(0) 推荐(0) 编辑
Vue OpenAi ChatGpt
摘要:1、提示 由于国内注册 https://api.openai.com 比较麻烦,直接购买的第三方接口和key 淘宝购买,几块钱1个月 3、自己娱乐够用 2、前端框架 Vant 移动端使用 axios 3、创建拦截器,api/request.js /* * @Descripttion: 文件说明 * 阅读全文
posted @ 2023-11-15 10:38 丶凉雨拾忆 阅读(221) 评论(0) 推荐(0) 编辑
JS 两个数组并集,交集,差集
摘要:1、两个数组并集,交集,差集 const array1 = [33, 22, 22, 55, 33, 11, 33, 5, 7, 4] const array2 = [11, 11, 33, 44, 66, 66, 99, 99, 0, 789, 765, 765, 44444] //~ 不能有重复 阅读全文
posted @ 2023-11-13 09:35 丶凉雨拾忆 阅读(221) 评论(0) 推荐(0) 编辑
VUE2+Swiper(H5邀请函开发)
摘要:#1、引入swiper * 安装固定版本 ``` npm i swiper@5.3.6 npm i vue-awesome-swiper@4.0.4 ``` #2、下载 `https://3.swiper.com.cn/download/index.html` 1. 下载 animate.min.c 阅读全文
posted @ 2023-08-31 16:07 丶凉雨拾忆 阅读(834) 评论(0) 推荐(0) 编辑
vue 固定按钮滑动隐藏显示
摘要:#1、源码 <!-- * @Descripttion: 菜单名称 * @version: 0.0.1 * @Author: PengShuai * @Date: 2023-03-09 10:40:45 * @LastEditors: PengShuai * @LastEditTime: 2023-0 阅读全文
posted @ 2023-03-09 11:18 丶凉雨拾忆 阅读(153) 评论(0) 推荐(0) 编辑
Node 连接Mysql 通过接口返回数据
摘要:1、创建项目 // 创建 package.json npm init // 安装依赖 npm i body-parser npm i express npm i mysql 2、目录结构 3、创建 config.js 文件 并导出 /* * @Descripttion: 菜单名称 * @versio 阅读全文
posted @ 2023-03-06 16:15 丶凉雨拾忆 阅读(50) 评论(0) 推荐(0) 编辑
vue 甘特图 一行多条任务 可拖拽
摘要:#1、安装 highcharts npm install highcharts --save #2、页面引用 // 引入 import Highcharts from 'highcharts/highcharts-gantt.src.js' // 引入拖拽 import factory from ' 阅读全文
posted @ 2023-02-13 09:33 丶凉雨拾忆 阅读(2103) 评论(0) 推荐(0) 编辑
Vue 求两数组之间的差值
摘要:##1、方法 计算属性 <!-- * @Descripttion: 数组差值 * @version: 0.0.1 * @Author: PengShuai * @Date: 2022-08-03 15:22:28 * @LastEditors: PengShuai * @LastEditTime: 阅读全文
posted @ 2022-08-03 15:26 丶凉雨拾忆 阅读(747) 评论(0) 推荐(0) 编辑
创建Vue 项目
摘要:###1、安装node http://nodejs.cn/ ###2、检测node 与 npm 检测是否安装成功 1、 WIN + R 进入 CMD 2、 输入 Node -V 查看版本号 3、 输入 Npm -V 查看版本号 ###2、安装淘宝镜像 (可不用安装) // 安装淘宝镜像 npm co 阅读全文
posted @ 2022-07-02 11:21 丶凉雨拾忆 阅读(68) 评论(0) 推荐(0) 编辑
vue 数组删除(对象)单条删除,多条删除
摘要:#一、数组单行删除 ###1、数据源 <!-- * @Descripttion:单行删除 * @version: 0.0.1 * @Author: PengShuai * @Date: 2022-06-01 17:30:04 * @LastEditors: PengShuai * @LastEdit 阅读全文
posted @ 2022-06-01 17:17 丶凉雨拾忆 阅读(883) 评论(0) 推荐(0) 编辑
vue 无缝滚动
摘要:#1、创建 <!-- * @Descripttion: 无缝滚动 * @version: 0.0.1 * @Author: PengShuai * @Date: 2021-03-22 09:10:16 * @LastEditors: PengShuai * @LastEditTime: 2022-0 阅读全文
posted @ 2022-04-18 11:21 丶凉雨拾忆 阅读(746) 评论(0) 推荐(0) 编辑
vue 二进制 导出 Excel
摘要:#1、方法示例 // 主表导出 onMainExport(row) { const params = { id: '参数', } this.$library.api .Post({ url: 'API地址', params, responseType: 'blob', // 导出类型 }) .the 阅读全文
posted @ 2022-04-12 11:37 丶凉雨拾忆 阅读(226) 评论(0) 推荐(0) 编辑
Webview H5 小程序 分享功能
摘要:#1、Webview说明 Webview可以内嵌在移动端,实现前端的混合式开发,大多数混合式开发框架都是基于WebView模式进行二次开发的。 #2、前端代码 VUE 1)、安装依赖 npm i weixin-js-sdk -s 2)、全局注入 import wx from 'weixin-js-s 阅读全文
posted @ 2022-03-30 16:45 丶凉雨拾忆 阅读(1237) 评论(0) 推荐(0) 编辑
创建Node服务
摘要:#1、创建空文件夹 01_Server // 创建 package.json npm init #2、安装 node express 框架 npm i express #3、创建 app.js #4、创建路由 /* * @Description: node * @Author: PengShuai 阅读全文
posted @ 2022-02-18 15:18 丶凉雨拾忆 阅读(67) 评论(0) 推荐(0) 编辑
vue 点击选中效果
摘要:#1、创建 <!-- * @Description: 菜单DEMO * @Author: PengShuai * @Date: 2022-02-17 09:16:19 * @LastEditors: PengShuai * @LastEditTime: 2022-02-17 10:27:49 --> 阅读全文
posted @ 2022-02-17 10:38 丶凉雨拾忆 阅读(1049) 评论(0) 推荐(0) 编辑
vue dhtmlx-gantt(甘特图-拖拽)
摘要:#1、安装依赖 cnpm i dhtmlx-gantt -s 或 npm i dhtmlx-gantt -s #2、创建demo.vue <!-- * @Description: gantt * @Author: PengShuai * @Date: 2022-02-14 10:31:40 * @L 阅读全文
posted @ 2022-02-14 13:47 丶凉雨拾忆 阅读(4676) 评论(1) 推荐(0) 编辑
vue element-ui 表格前端操作
摘要:#1、布局 <div class="wrapper"> <!-- 按钮组 --> <div class="btn-box"> <div class="btn"><el-button @click="onAdd">新增</el-button></div> <div class="btn"><el-bu 阅读全文
posted @ 2022-02-08 17:15 丶凉雨拾忆 阅读(204) 评论(0) 推荐(0) 编辑
vue 单选-多选
摘要:#1、代码 <div v-for="(item, index) in list" :key="index"> <div> 问题:{{ index + 1 }}、{{ item.title }} <span v-if="item.state 'single'">(单选)</span> <span v- 阅读全文
posted @ 2022-01-27 14:35 丶凉雨拾忆 阅读(178) 评论(0) 推荐(0) 编辑
vue 过滤查询(计算属性 computed)
摘要:#1、结构 <template> <div class="Ling"> <input type="text" v-model="searchValue" /> <div v-for="(item, index) in personInfoListSearch" :key="index"> {{ it 阅读全文
posted @ 2022-01-21 13:29 丶凉雨拾忆 阅读(258) 评论(0) 推荐(0) 编辑
vue 消息推送 WebSocket
摘要:#1、创建WebSocket.js文件 #2、设置链接 const url = "localhost:8080" #3、方法 class WebSocketClass { constructor() { this.instance = null; this.connect(); } static g 阅读全文
posted @ 2022-01-07 13:56 丶凉雨拾忆 阅读(993) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示