diff --git a/src/assets/css/layout.styl b/src/assets/css/layout.styl new file mode 100644 index 0000000..18c0fd3 --- /dev/null +++ b/src/assets/css/layout.styl @@ -0,0 +1,38 @@ +@import 'mixin.styl' + +.tooltip_wrap + position fixed + bottom 10% + z-index 10 + _wh(auto, 40px) + padding 5px 5px + background-color rgba(228,233,237,1) + _fj(row) + &:hover + opacity 1 !important +.left_tooltip_wrap + right 0 + border-top-left-radius 12px + border-bottom-left-radius 12px +.right_tooltip_wrap + left 0 + border-top-right-radius 12px + border-bottom-right-radius 12px +.tooltip_arrow + _wh(40px, 100%) + _font(14px, 30px, #999,,) +.tooltip_pages + height 100% + _fj(row) + transition width .3s ease + overflow hidden +.tooltip_page + _wh(30px, 100%) + margin 0 5px + _font(14px, 30px, #999,,) + border 1px solid #999 + border-radius 50% + &:hover + background-color #03fcfd + border-color #03fcfd + color #fff \ No newline at end of file diff --git a/src/main.js b/src/main.js index 1ac904f..0b4ab64 100644 --- a/src/main.js +++ b/src/main.js @@ -5,6 +5,7 @@ import router from './router' import store from './vuex/store' import '@css/reset.css' import '@css/iconfont.styl' +import '@css/layout.styl' import '@js/rem.js' import filter from '@js/filter.js' import { Dialog, toast } from '@js/mUtils.js' diff --git a/src/pages/modules/homepage/one.vue b/src/pages/modules/homepage/one.vue index 2189bec..b440d48 100644 --- a/src/pages/modules/homepage/one.vue +++ b/src/pages/modules/homepage/one.vue @@ -568,15 +568,15 @@ -
-
+
+
-
1
-
2
-
3
-
4
-
5
-
6
+
1
+
2
+
3
+
4
+
5
+
6