Quellcode durchsuchen

Signed-off-by: liuboyan <632697560@qq.com>
bug

liuboyan vor 4 Jahren
Ursprung
Commit
a6206a9b45
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 1 1
      manifest.json
  2. 4 1
      pages/index/home.vue

+ 1 - 1
manifest.json

@@ -14,7 +14,7 @@
 			"OAuth": {}
 		},
 		"softinput": {
-			"mode": "adjustPan"
+			"mode": "adjustResize"
 		},
 		/* 模块配置 */
 		"distribute": {

+ 4 - 1
pages/index/home.vue

@@ -76,7 +76,7 @@
 				});
 				return false
 			}
-			_self = this; // 浏览器调试时需要打开,微信调试时需关闭
+			// _self = this; // 浏览器调试时需要打开,微信调试时需关闭
 			this.cWidth = uni.upx2px(750) - 30;
 			this.setData(1, 'creat')
 			this.setData(2, 'creat')
@@ -390,11 +390,14 @@
 				width: 100%;
 				height: 200px;
 				float: left;
+				position: relative;
 
 				.chart-canvas {
 					width: 100% !important;
 					height: 200px !important;
+					position: relative;
 					float: left;
+					overflow: hidden;
 				}
 			}
 		}