Selaa lähdekoodia

背景图替换

master
pengpeng.zhai 2 vuotta sitten
vanhempi
commit
0d8299d7a1
3 muutettua tiedostoa jossa 4 lisäystä ja 5 poistoa
  1. 3
    3
      README.md
  2. BIN
      tunland/p7/images/bg.jpg
  3. 1
    2
      tunland/p7/js/index.js

+ 3
- 3
README.md Näytä tiedosto

@@ -1,8 +1,8 @@
1 1
 # foton_pickup-202304
2 2
 
3
-福田皮卡火星7+火星9
3
+## 福田皮卡火星7+火星9
4 4
 
5
-*** 如何使用
5
+### 如何使用
6 6
 1. 本地启动web服务(如Apache)后将tunland放在根目录
7 7
 2. 火星7 PC端访问 http://127.0.0.1/tunland/p7/index.html
8 8
 3. 火星7 移动端访问 http://127.0.0.1/tunland/p7/indexm.html
@@ -10,7 +10,7 @@
10 10
 5. 火星9 移动端访问 http://127.0.0.1/tunland/p9/indexm.html
11 11
 
12 12
 
13
-*** 目录结构
13
+### 目录结构
14 14
 ```
15 15
 .
16 16
 ├── README.md

BIN
tunland/p7/images/bg.jpg Näytä tiedosto


+ 1
- 2
tunland/p7/js/index.js Näytä tiedosto

@@ -132,7 +132,6 @@ window.foton = window.foton || {};
132 132
         let jctj = $(".jctj").offset().top;
133 133
         let cspz = $(".cspz").offset().top;
134 134
         window.onscroll = function(){
135
-            console.log(1111, _this.listenScroll);
136 135
             if(_this.listenScroll === false){ return}
137 136
 
138 137
             let top = window.scrollY + 1000;
@@ -159,7 +158,7 @@ window.foton = window.foton || {};
159 158
       new Swiper(".qjzs .swiper-container", {
160 159
         prevButton:'.qjzs .wg',
161 160
         nextButton:'.qjzs .ns',
162
-        onTouchStart: function(swiper){
161
+        onSlideChangeStart: function(swiper){
163 162
             // alert(swiper.activeIndex);
164 163
             $("#container .qjzs .nav .line").toggleClass("right");
165 164
         }

Loading…
Peruuta
Tallenna