会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yw3692582
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
23
下一页
2023年11月28日
html中直接引入Vue时可能会出现未解析时的解决方案
摘要: <div id="app" style="display: flex; position: absolute; left: -6000px"></div> 在mounted中: let app_dom = document.getElementById("app"); app_dom.style.l
阅读全文
posted @ 2023-11-28 09:04 yw3692582
阅读(204)
评论(0)
推荐(0)
2023年11月3日
el-table行高
摘要: /deep/ .el-table td, /deep/ .el-table th { padding: 8px 0; } // 鼠标悬停背景色 .el-table tbody tr:hover > td { background-color: transparent; }
阅读全文
posted @ 2023-11-03 08:51 yw3692582
阅读(61)
评论(0)
推荐(0)
2023年10月28日
web前端(Vue2.x)接收H264实时视频码流(二进制)进行播放
摘要: 1、安装 jmuxer npm install jmuxer@2.0.5 2、.vue文件中使用 <template> <div> <video id="dom_id" muted="muted" controls class="video_box"></video> <div v-if="!has
阅读全文
posted @ 2023-10-28 21:02 yw3692582
阅读(3240)
评论(0)
推荐(0)
2023年10月24日
vue移动鼠标在canvas上画不规则图形(整合别人的,增加了一些功能,写的有些乱,有时间再优化吧)
摘要: 1、draw_shape.js 1 /** 2 * 绘制不规则多边形 3 */ 4 5 import { Message } from 'element-ui' 6 7 export function draw_test(cav, list) { 8 // 画布初始化 9 let ctx = cav
阅读全文
posted @ 2023-10-24 13:35 yw3692582
阅读(1047)
评论(1)
推荐(0)
2023年10月16日
vue移动鼠标画矩形(抄别人的,下附原文地址)
摘要: 1、draw.js /** * 画布中绘制矩形 * 参数: cav-画布对象 list-矩形数组 i-选中矩形下标 **/ /* 操作执行方法分发 */ export function draw(cav, list, i) { // 画布初始化 let ctx = cav.getContext('2
阅读全文
posted @ 2023-10-16 14:16 yw3692582
阅读(519)
评论(0)
推荐(0)
2023年10月11日
Vue自定义指令实现复制功能
摘要: import Vue from 'vue' import store from '../store' function copyMethod(value) { let text = '' switch (typeof value) { case 'number': text = value.toSt
阅读全文
posted @ 2023-10-11 16:21 yw3692582
阅读(88)
评论(0)
推荐(0)
2023年9月26日
vue-seamless-scroll - vue无缝滚动、轮播表格
摘要: https://chenxuan0000.github.io/vue-seamless-scroll/zh/guide/#npm
阅读全文
posted @ 2023-09-26 09:53 yw3692582
阅读(111)
评论(0)
推荐(0)
2023年9月22日
HbuilderX将Vue项目打包后的dist,打包成安卓apk安装包
摘要: 1、先看这个(必看):https://www.cnblogs.com/lyt520/p/16545806.html 2、安装移动端log(如不需要可跳过此步骤) npm install vconsole main.js中引入: import VConsole from 'vconsole' cons
阅读全文
posted @ 2023-09-22 15:04 yw3692582
阅读(1965)
评论(0)
推荐(0)
2023年9月19日
nginx配置多个web项目
摘要: location / { root html; index index.html index.htm; try_files $uri $uri/ /index.html; } location /mobile { # 多层目录时不能用root,要用alias alias html/mobile; i
阅读全文
posted @ 2023-09-19 15:36 yw3692582
阅读(150)
评论(0)
推荐(0)
2023年9月13日
创建mixin.js文件,引入表格分页
摘要: // 前端分页 const tableFrontEndPaging = { data() { return { currpage: 1, page_size: 10, page_list: [10, 20, 50], currentPage: null, header_cell_style: { b
阅读全文
posted @ 2023-09-13 13:49 yw3692582
阅读(15)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
23
下一页
公告