diff --git a/index.html b/index.html index 830bf1f..a485ce8 100644 --- a/index.html +++ b/index.html @@ -1,15 +1,15 @@ - - - - - - Juicy - - - -
- - + + + + + + vue-element-admin + + + +
+ + diff --git a/src/directive/sticky.js b/src/directive/sticky.js index d7da089..bc23466 100644 --- a/src/directive/sticky.js +++ b/src/directive/sticky.js @@ -10,12 +10,12 @@ vueSticky.install = Vue => { elStyle.position = '-webkit-sticky' elStyle.position = 'sticky' - // if the browser support css sticky(Currently Safari, Firefox and Chrome Canary) - // if (~elStyle.position.indexOf('sticky')) { - // elStyle.top = `${stickyTop}px`; - // elStyle.zIndex = zIndex; - // return - // } + // if the browser support css sticky(Currently Safari, Firefox and Chrome Canary) + // if (~elStyle.position.indexOf('sticky')) { + // elStyle.top = `${stickyTop}px`; + // elStyle.zIndex = zIndex; + // return + // } const elHeight = el.getBoundingClientRect().height const elWidth = el.getBoundingClientRect().width elStyle.cssText = `top: ${stickyTop}px; z-index: ${zIndex}` diff --git a/src/views/components-demo/dndList.vue b/src/views/components-demo/dndList.vue index 3d43639..140e4c7 100644 --- a/src/views/components-demo/dndList.vue +++ b/src/views/components-demo/dndList.vue @@ -1,8 +1,10 @@ diff --git a/src/views/components-demo/markdown.vue b/src/views/components-demo/markdown.vue index 59dbc25..afd07c6 100644 --- a/src/views/components-demo/markdown.vue +++ b/src/views/components-demo/markdown.vue @@ -3,7 +3,7 @@ Markdown 我们这里选用了 simplemde-markdown-editor ,简单的用vue封装了一下 - 相关文章 + 相关文章
@@ -16,26 +16,25 @@