视频WEB插件 V1.5.2 (海康威视)
摘要:目前只使用到了预览demo, 预览demo使用时,不仅要改变 监控点编号cameraIndexCode, Appkey、AppSecret、Ip、Port这些都是要去做更改的
阅读全文
posted @
2022-05-27 17:59
dandanyajin
阅读(1454)
推荐(0) 编辑
字体渐变 兼容 ie
摘要:由 background: linear-gradient(0deg, #09AFE8 0%, #23E3AB 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; 变为 <svg width="100
阅读全文
posted @
2022-05-19 10:51
dandanyajin
阅读(95)
推荐(0) 编辑
自定义 el-dialog的title
摘要:<el-dialog v-if="open" :title="title" :modal-append-to-body='false' :visible.sync="open" width="1281px" v-dialogDrag > <span slot="title" style="color
阅读全文
posted @
2022-05-08 16:57
dandanyajin
阅读(1592)
推荐(0) 编辑
打开一个新窗口
摘要:<a href='/leakageMonitoring/clustering?clusterList=${JSON.stringify(_row)}&crudList=${JSON.stringify(this.$refs.crud.query)}' target='_blank'> <el-but
阅读全文
posted @
2022-05-08 16:53
dandanyajin
阅读(53)
推荐(0) 编辑
列表自动滚动
摘要:实现功能:列表自动滚动,鼠标进入停止滚动,鼠标滚轮可滑动查看 注:vite不能使用datav <div @mousewheel.prevent="wheel" @mouseover="mouseOver" @mouseleave="mouseLeave"> <ul class="infinite_l
阅读全文
posted @
2022-05-08 16:10
dandanyajin
阅读(236)
推荐(0) 编辑
vue element ui 周期与日期组件联动
摘要:今日 本月 本季度 本年 export function cycleTimeLinkage(type){ let date = new Date(); date.setDate(1); let month = parseInt(date.getMonth() + 1); //当前月 let day
阅读全文
posted @
2022-05-08 15:55
dandanyajin
阅读(248)
推荐(0) 编辑
获取url的参数
摘要:export function GetQueryString(name){ let reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); let r = window.location.search.substr(1).match(reg); if(r!
阅读全文
posted @
2022-05-08 15:40
dandanyajin
阅读(2)
推荐(0) 编辑
css 关于nth-child的使用
摘要:要求列表的奇数行与单数行的背景颜色不同 li:nth-child(2n){ background: rgba(20,55,120,0.2) } 除了上述使用较多的情况,还有 // 第一行背景有颜色 li:first-child{ background: rgba(20,55,120,0.2) } /
阅读全文
posted @
2022-05-06 10:11
dandanyajin
阅读(76)
推荐(0) 编辑
vue 添加字体文件
摘要:@font-face { font-family: 'ZKKH'; //重命名字体名 src: url('zkkh.ttf'); //引入字体 font-weight: normal; font-style: normal; } @font-face { font-family: 'DIN-Bold
阅读全文
posted @
2022-05-05 10:30
dandanyajin
阅读(112)
推荐(0) 编辑