码迷,mamicode.com
首页 >  
搜索关键字:轮播 viewpager handler    ( 9944个结果
SpringBoot 整合JWT
1、依赖 <dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>3.4.0</version> </dependency> 2、JWT工具类生成 import com.auth0.jw ...
分类:编程语言   时间:2021-01-27 13:14:05    阅读次数:0
js发布订阅模式实现eventBus
class EventBus { constructor(){} handlerBus={} //注册 $on(eventName,handler){ if(!this.handlerBus.hasOwnProperty(eventName)){ this.handlerBus[eventName] ...
分类:Web程序   时间:2021-01-22 12:01:16    阅读次数:0
Sentinel上下文创建及执行
Sentinel上下文创建及执行,入口示例代码: public static void fun() { Entry entry = null; try { entry = SphU.entry(SOURCE_KEY); } catch (BlockException e1) { } finally ...
分类:其他好文   时间:2021-01-20 11:51:13    阅读次数:0
navigator 标签
<!-- 导航组件 navigator 0 块级元素 默认会换行 可以直接加宽度和高度 1 url 要跳转的页面路径 绝对路径 相对路径 2 target 要跳转到当前的小程序 还是其他的小程序的页面 self 默认值 自己 小程序的页面 miniProgram 其他的小程序的页面 3 open-t ...
分类:其他好文   时间:2021-01-19 11:47:53    阅读次数:0
Vue_使用watch监听对象的三种方法
data: { datas: { a: 77, b: 86 } } 使用deep:true深层次监听 'datas':{ handler:function(newVal){ console.log(this.datas); }, deep:true } 监听某一个具体的属性 'datas.a':{ ...
分类:其他好文   时间:2021-01-18 10:45:24    阅读次数:0
Spring MVC 注解开发
Spring MVC 注解开发 所需pom依赖: <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.2.0.RELEASE</version> < ...
分类:编程语言   时间:2021-01-14 11:33:10    阅读次数:0
使用swiper完成轮播图
swiper:https://www.swiper.com.cn/usage/index.html 安装swiper cnpm i -S swiper 在功能组件中定义Swiper组件并设置好插槽 <template> <div class="swiper-container"> <div clas ...
分类:其他好文   时间:2021-01-13 11:31:56    阅读次数:0
react native 自定义ScrollView组件(水平滑动)
ScrollView组件常用于轮播图或引导页,那么水平滚动则比较常用 自定义水平的CKScrollView.js组件类 1 import React,{Component} from 'react'; 2 import { 3 View, 4 Text, 5 StyleSheet, 6 Scroll ...
分类:其他好文   时间:2021-01-12 11:05:38    阅读次数:0
python之logging日志(二)
日志封装 1、封装日志函数(主要) 1)封装:将代码装在一个盒子里面,盒子的形式有函数、类。即将代码逻辑封装成函数或者类,然后再调用函数和类 2)日志函数的封装: a、def get_logger(name,logger_level,stream_handler_level,fmt_str,file ...
分类:编程语言   时间:2021-01-07 12:17:33    阅读次数:0
Handler详解
Handler使用详解 1. 简单实现 1.1 基础知识 void handleMessage(Message msg); 处理消息的方法,通常是用于被重写! sendEmptyMessage(int what); 发送空消息 sendEmptyMessageDelayed(int what,lon ...
分类:其他好文   时间:2021-01-07 12:04:03    阅读次数:0
9944条   上一页 1 ... 6 7 8 9 10 ... 995 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!