微信自带的swiper不支持dot样式修改,如果UI设计的样式有变化,将很难自定义 以下,提供一种方案来解决dot样式自定义的问题 如图: 大致思路 就是隐藏默认swiper的dots,然后自定义自己的dotview,并同步事件 <!--index.wxml--> <view class="swip ...
分类:
微信 时间:
2020-06-19 15:47:51
阅读次数:
288
Step1.java环境配置 安装Jdk 官网下载jdk 地址:https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html 本篇文章下载的版本是14.0.1,系统是win7 X64(如果版本已经升级,流程应该差 ...
分类:
编程语言 时间:
2020-06-19 14:15:36
阅读次数:
65
一、docker info 出现"The devicemapper storage driver is deprecated "警告 需要修改docker安装磁盘文件系统的ftype参数为1 查询文件系统的ftype,如果为0,需要重新格式化磁盘,并修改磁盘文件系统的ftype参数为1 xsfs_i ...
分类:
其他好文 时间:
2020-06-18 19:23:18
阅读次数:
94
1 <Grid 2 Width="200" 3 Height="200" 4 Margin="0,0,0,0" 5 HorizontalAlignment="Center" 6 VerticalAlignment="Center"> 7 9 <Border 10 Name="Mask" 11 Gri ...
分类:
其他好文 时间:
2020-06-17 18:21:26
阅读次数:
76
legend: { selectedMode: true, top: 0, right: 0, orient: 'vertical', // itemWidth: 24, // itemHeight: 2, textStyle: { fontFamily: 'ABBvoiceCNSG-Regular ...
分类:
其他好文 时间:
2020-06-15 15:46:14
阅读次数:
515
Given any string of N (≥) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l r ...
分类:
其他好文 时间:
2020-06-15 15:34:10
阅读次数:
61
目录 一.介绍 二.问题提出 2.1内存原理图 2.2几个问题 三.回答问题 3.1为什么会出现内存泄漏 3.2若Entry使用弱引用 3.3弱引用配合自动回收 四.总结 一.介绍 之前使用ThreadLocal的时候,就听过ThreadLocal怎么怎么的可能会出现内存泄漏,具体原因也没去深究,就 ...
分类:
其他好文 时间:
2020-06-15 12:02:05
阅读次数:
100
loading.js function includeStyleElement(A, e) { if (!document.getElementById(e)) { var t = document.createElement("style"); t.id = e, (document.getEle ...
分类:
Web程序 时间:
2020-06-14 19:03:16
阅读次数:
77
居中问题 定位: 将元素居中 将元素水平居中 将元素垂直居中 样式: 文字毛玻璃效果 代码 将元素居中: 1.使用绝对定位实现1 { width: 50px; height: 50px; /*设置元素宽高*/ position: absolute; /*修改为绝对定位*/ top: 50%; lef ...
分类:
Web程序 时间:
2020-06-13 12:58:38
阅读次数:
66
可替换元素和非替换元素 可替换元素replaced element也称作可置换元素,其展现效果不是由CSS来控制的,这些元素是一种外部对象,它们外观的渲染,是独立于CSS的。非置换元素non-replaced element也称作非替换元素,其内容由CSS渲染直接表现给客户端。 可替换元素 一个内容 ...
分类:
其他好文 时间:
2020-06-10 13:27:56
阅读次数:
71