diff --git a/20191026/20191026.md b/20191026/20191026.md new file mode 100644 index 0000000..7115275 --- /dev/null +++ b/20191026/20191026.md @@ -0,0 +1,13 @@ +# 20191026 + +![js](https://img.shields.io/badge/language-js-orange.svg) + +* slider全功能 +[linkToHtml](./sliderFull.html) + +* `transform: translateY(-50%);` 垂直高度居中 + +* ```js + //焦点和图片不对等 当图片是第六张的时候焦点是第一张焦点 + spans[pic>4?0:pic].className = 'current'; + ``` \ No newline at end of file diff --git a/20191026/sliderFull.html b/20191026/sliderFull.html new file mode 100644 index 0000000..d3df0d8 --- /dev/null +++ b/20191026/sliderFull.html @@ -0,0 +1,196 @@ + + + + + + + Document + + + +
+
+ + +
+ < + > +
+
+
+ + + \ No newline at end of file diff --git a/Miscellaneous/vue.md b/Miscellaneous/vue.md new file mode 100644 index 0000000..1aed43c --- /dev/null +++ b/Miscellaneous/vue.md @@ -0,0 +1,3 @@ +# VUE个人积累 + +使用VUE-cli创建的项目发布之前必须将 config/index.js 中 build 下的 productionSourceMap: true, 改为 productionSourceMap: false, 否则生产环境中可以看见所有的源码 \ No newline at end of file diff --git a/README.md b/README.md index 02ab200..d8ef4aa 100644 --- a/README.md +++ b/README.md @@ -117,4 +117,15 @@ * [上课视频链接](https://pan.baidu.com/s/16mkeyFPbZJ7m-i8dAR8VtA&shfl=sharepset) 提取码:1ixx +--- + +## 20191026 + +![js](https://img.shields.io/badge/language-js-orange.svg) +[linkToMd](./20191026/20191026.md) + +* slider全功能 + +* [上课视频链接](https://pan.baidu.com/s/1RFngCxipb5ZMZMx9nsNHBQ) +提取码:s3un --- \ No newline at end of file