Jelajahi Sumber

都能运app xu

xuwenqiang1992 2 tahun lalu
induk
melakukan
ea3a67c5b9
4 mengubah file dengan 21 tambahan dan 4 penghapusan
  1. 10 2
      manifest.json
  2. 2 1
      pages/index/me.vue
  3. 8 0
      pages/index/tabbar.vue
  4. 1 1
      unpackage/dist/dev/app-plus/manifest.json

+ 10 - 2
manifest.json

@@ -1,7 +1,7 @@
 {
-    "name" : "dnyAppTruck",
+    "name" : "都能运司机版",
     "appid" : "__UNI__1E7E6E2",
-    "description" : "",
+    "description" : "都能运司机版",
     "versionName" : "1.0.0",
     "versionCode" : "100",
     "transformPx" : false,
@@ -47,6 +47,14 @@
             /* SDK配置 */
             "sdkConfigs" : {
                 "ad" : {}
+            },
+            "icons" : {
+                "android" : {
+                    "hdpi" : "EPlogo-2-yun.png",
+                    "xhdpi" : "EPlogo-2-yun.png",
+                    "xxhdpi" : "EPlogo-2-yun.png",
+                    "xxxhdpi" : "EPlogo-2-yun.png"
+                }
             }
         }
     },

+ 2 - 1
pages/index/me.vue

@@ -45,6 +45,7 @@
 		},
 		data() {
 			return {
+        pageCurrent: 'me',
         text: '',
 				driverInfo: {
 					driverName: '',
@@ -71,7 +72,7 @@
 				});
 			},
       navTo(url) {
-        console.log("22222")
+        // console.log("22222")
         uni.navigateTo({
           url: url
         });

+ 8 - 0
pages/index/tabbar.vue

@@ -53,12 +53,20 @@
 		},
     onPullDownRefresh() {
       // console.log('refresh');
+      console.log(this.pageCurrent);
       if (this.pageCurrent == 'workTable') {
         this.$refs['workTableRef'].pullDownRefresh();
         setTimeout(function () {
           uni.stopPullDownRefresh();
         }, 1000);
+      }else {
+        if (this.pageCurrent == 'me') {
+          setTimeout(function () {
+            uni.stopPullDownRefresh();
+          }, 500);
+        }
       }
+
     },
 		methods: {
 

File diff ditekan karena terlalu besar
+ 1 - 1
unpackage/dist/dev/app-plus/manifest.json