点击时背景色变化多出侧滑线,默认进来就是侧边栏第一个 <template> <ul class="class_left"> <li v-for="(item, index) in labels" :key="index" @click="Tap(index, item)"> <div :class= ...
分类:
其他好文 时间:
2021-04-26 13:02:51
阅读次数:
0
一,定位介绍 定位的基本思想很简单,它允许你定义元素出现在页面的任何位置. 是通过position属性配合left,right...等来实现的. 二,定位类别 1.相对定位 相对定位就是相对于自己以前在标准流中的位置来移动 语法: position: relative; 配合left, top, r ...
分类:
Web程序 时间:
2021-04-24 11:55:51
阅读次数:
0
tarjan 模板 int low[N],dfn[N],Stack[N],belong[N]; //最小下表,时间戳,一个用数组模拟的栈 //belong[x]表示x所属的强连通分量的编号 int idx,top;//,动态时间戳,栈顶 int scc; //scc表示强连通分量的个数 bool i ...
分类:
其他好文 时间:
2021-04-23 12:23:00
阅读次数:
0
function backToTop () { cancelAnimationFrame(timer); // 获取当前毫秒数 const startTime = Date.now(); // 获取当前页面的滚动高度 const scrollTop = document.body.scrollTop ...
分类:
其他好文 时间:
2021-04-23 12:07:09
阅读次数:
0
基于seq2seq文本生成的解码/采样策略 基于Seq2Seq模型的文本生成有各种不同的decoding strategy。文本生成中的decoding strategy主要可以分为两大类: Argmax Decoding: 主要包括beam search, class-factored softm ...
分类:
其他好文 时间:
2021-04-23 12:06:07
阅读次数:
0
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:
系统相关 时间:
2021-04-23 11:53:02
阅读次数:
0
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:
系统相关 时间:
2021-04-22 16:20:40
阅读次数:
0
等待唤醒机制: 1:我们知道Object中有wait/notify机制,但是这种机制是基于Monitor机制实现,使用Monitor Object操作的,所以wait/notify方法是在sychronized作用域范围内才能使用的,不然会报错。 而且notify要在wait方法调用之后进行调用才有 ...
分类:
其他好文 时间:
2021-04-22 15:27:51
阅读次数:
0
环境:ubnutu 修改daemon.json vim /etc/docker/daemon.json { "graph":"/data/docker-data" } 转移旧文件 docker数据默认存放路径为:/var/lib/docker,我这里转移到/data/docker-data 和dae ...
分类:
其他好文 时间:
2021-04-21 12:22:15
阅读次数:
0
ls = [[] for i in range(7)] print('ls==', ls) for k in range(1, 7): # 1-9 test = [i for i in range(k)] ls[k] = test print('ls==', ls) 运行结果: ...
分类:
编程语言 时间:
2021-04-21 11:59:58
阅读次数:
0