个人示例<swiperautoplay="true"indicator-dots="{{true}}"class="ad-swiper"indicator-color="rgba(255,255,255,.5)"indicator-active-color="#FFF"><blockwx:for="{{advertisements}}"wx:key="ad_id"wx:for-i
分类:
微信 时间:
2020-02-09 00:28:13
阅读次数:
95
一、过渡模块的连写 1.过渡连写格式: 过渡属性 过渡时长 运动速度 延迟时间; 2.过渡连写注意点: (1)和分开写一样,如果想要多个属性添加过渡效果,也是使用逗号来隔开即可。 (2)连写的时候可以省略后面的两个参数,因为只要编写了前面的两个参数就已经满足了过渡的三要素。 (3)如果多个属性运动的 ...
分类:
Web程序 时间:
2020-02-08 09:50:48
阅读次数:
93
通过Java日期时间API系列9 Jdk8中java.time包中的新的日期时间API类的Period和Duration的区别 ,可以看出java8设计非常好,新增了Period和Duration类,专用于对比2个时间场景: Period,可以获取2个时间相差的年月日的属性。 Duration,可以 ...
分类:
编程语言 时间:
2020-02-06 23:12:21
阅读次数:
75
1. NewTimer package main import ( "time" "fmt" ) func main() { /* 1. func NewTimer(d Duration) *Timer 创建一个计时器,d时间以后触发 */ timer := time.NewTimer(3 *tim ...
分类:
其他好文 时间:
2020-02-03 09:42:42
阅读次数:
88
1.首先看app中怎么划分横纵坐标 2.swipe函数 def swipe(self, start_x, start_y, end_x, end_y, duration=None): """Swipe from one point to another point, for an optional ...
分类:
移动开发 时间:
2020-01-25 10:29:38
阅读次数:
166
eureka是什么? eureka是Netflix的子模块之一,也是一个核心的模块,eureka里有2个组件,一个是EurekaServer(一个独立的项目) 这个是用于定位服务以实现中间层服务器的负载平衡和故障转移,另一个便是EurekaClient(我们的微服务) 它是用于与Server交互的, ...
分类:
编程语言 时间:
2020-01-25 01:03:06
阅读次数:
97
1. 解锁JFR-XX:+UnlockCommercialFeatures -XX:+FlightRecorder 2. 查看APP的PIDjcmd 3. 启动JFRjcmd 12868 JFR.start name=201902211523 settings=e:\my.jfc duration= ...
分类:
编程语言 时间:
2020-01-23 11:14:45
阅读次数:
83
animation animation-name(动画名称) animation-name: keyfamename | none; //检索或设置对象所应用的动画名称 animation-duration(动画持续时间) animation-duration: time; //检索或设置对象动画的 ...
分类:
Web程序 时间:
2020-01-20 14:36:31
阅读次数:
75
分析视频流 stream[0] duration = 2019840 // 视频的时长时间戳,计算秒 2019840/12800 index = 0 // 流索引,这是一个视频流 nb_frames // 视频的总帧数 avg_frame_rate // 视频的帧数, num/den就是帧数 tim ...
分类:
其他好文 时间:
2020-01-18 10:20:36
阅读次数:
92
.animated { animation-duration: 2s; /*动画时间*/ animation-fill-mode: both; /*播放后的状态*/ } .animated { animation-iteration-count: infinite; /*动作循环的次数:infini ...
分类:
其他好文 时间:
2020-01-17 23:09:27
阅读次数:
108