洪海涛 8 年之前
父节点
当前提交
dde42e2663

文件差异内容过多而无法显示
+ 0 - 0
www/vue/dist/static/css/app.css


文件差异内容过多而无法显示
+ 0 - 0
www/vue/dist/static/js/app.js


+ 3 - 0
www/vue/src/App.vue

@@ -31,4 +31,7 @@ export default {
   left: 0;
   bottom: 8%;
 }
+.app_box{
+  z-index: -1;
+}
 </style>

+ 19 - 5
www/vue/src/components/navigation.vue

@@ -1,8 +1,9 @@
 <template>
   <div class="navigation">
-    <div class=""><router-link to="/">首页</router-link></div>
-    <div class=""><router-link to="/Hello">订单</router-link></div>
-    <div class=""><router-link to="/mine">我的</router-link></div>
+    <div class="r_l"><router-link to="/">首页</router-link></div>
+    <div class="r_l"><router-link to="/Hello">订单</router-link></div>
+    <div class="r_l"><router-link to="/mine">我的</router-link></div>
+    <div class="clear"></div>
   </div>
 </template>
 
@@ -21,12 +22,25 @@ export default {
   position: fixed;
   bottom: 0;
   left: 0;
-  border-top:1px solid #212121;
+  z-index: 2;
+  /*border-top:1px solid #212121;*/
   /*padding: .5em 0;*/
   background-color: #FFF;
 }
-.navigation div{
+.navigation div.r_l{
   display: inline-block;
   width: 33.33%;
+  float: left;
+  background-color: red;
+}
+.navigation div.r_l a{
+  display: block;
+  width: 100%;
+  line-height: 120px;
+  text-decoration: none;
+  color: #212121;
+}
+.clear{
+  clear: both;
 }
 </style>

+ 3 - 1
www/vue/src/components/swiper.vue

@@ -21,18 +21,20 @@ export default {
       swiperOption: {
         // NotNextTick is a component's own property, and if notNextTick is set to true, the component will not instantiate the swiper through NextTick, which means you can get the swiper object the first time (if you need to use the get swiper object to do what Things, then this property must be true)
         // notNextTick是一个组件自有属性,如果notNextTick设置为true,组件则不会通过NextTick来实例化swiper,也就意味着你可以在第一时间获取到swiper对象,假如你需要刚加载遍使用获取swiper对象来做什么事,那么这个属性一定要是true
-        notNextTick: false,
+        notNextTick: true,
         // swiper configs 所有的配置同swiper官方api配置
         autoplay: 5000,
         // direction : 'vertical',
         // 默认为"slide"(位移切换),可设置为"fade"(淡入)"cube"(方块)"coverflow"(3d流)"flip"(3d翻转)
         effect: 'slide',
         grabCursor: true,
+        loop: true,
         setWrapperSize: true,
         // autoHeight: true,
         // paginationType:"bullets",
         pagination: '.swiper-pagination',
         paginationClickable: true,
+        autoplayDisableOnInteraction: false,
         // prevButton: '.swiper-button-prev',
         // nextButton: '.swiper-button-next',
         // scrollbar:'.swiper-scrollbar',

部分文件因为文件数量过多而无法显示