洪海涛 8 ani în urmă
părinte
comite
dde42e2663

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
www/vue/dist/static/css/app.css


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
www/vue/dist/static/js/app.js


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

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

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

@@ -1,8 +1,9 @@
 <template>
 <template>
   <div class="navigation">
   <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>
   </div>
 </template>
 </template>
 
 
@@ -21,12 +22,25 @@ export default {
   position: fixed;
   position: fixed;
   bottom: 0;
   bottom: 0;
   left: 0;
   left: 0;
-  border-top:1px solid #212121;
+  z-index: 2;
+  /*border-top:1px solid #212121;*/
   /*padding: .5em 0;*/
   /*padding: .5em 0;*/
   background-color: #FFF;
   background-color: #FFF;
 }
 }
-.navigation div{
+.navigation div.r_l{
   display: inline-block;
   display: inline-block;
   width: 33.33%;
   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>
 </style>

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

@@ -21,18 +21,20 @@ export default {
       swiperOption: {
       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 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是一个组件自有属性,如果notNextTick设置为true,组件则不会通过NextTick来实例化swiper,也就意味着你可以在第一时间获取到swiper对象,假如你需要刚加载遍使用获取swiper对象来做什么事,那么这个属性一定要是true
-        notNextTick: false,
+        notNextTick: true,
         // swiper configs 所有的配置同swiper官方api配置
         // swiper configs 所有的配置同swiper官方api配置
         autoplay: 5000,
         autoplay: 5000,
         // direction : 'vertical',
         // direction : 'vertical',
         // 默认为"slide"(位移切换),可设置为"fade"(淡入)"cube"(方块)"coverflow"(3d流)"flip"(3d翻转)
         // 默认为"slide"(位移切换),可设置为"fade"(淡入)"cube"(方块)"coverflow"(3d流)"flip"(3d翻转)
         effect: 'slide',
         effect: 'slide',
         grabCursor: true,
         grabCursor: true,
+        loop: true,
         setWrapperSize: true,
         setWrapperSize: true,
         // autoHeight: true,
         // autoHeight: true,
         // paginationType:"bullets",
         // paginationType:"bullets",
         pagination: '.swiper-pagination',
         pagination: '.swiper-pagination',
         paginationClickable: true,
         paginationClickable: true,
+        autoplayDisableOnInteraction: false,
         // prevButton: '.swiper-button-prev',
         // prevButton: '.swiper-button-prev',
         // nextButton: '.swiper-button-next',
         // nextButton: '.swiper-button-next',
         // scrollbar:'.swiper-scrollbar',
         // scrollbar:'.swiper-scrollbar',

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff