Explorar el Código

添加获取占用高度方法

xiaohaizhao hace 1 año
padre
commit
ed6aca674b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      colorui/components/cu-custom.vue

+ 3 - 0
colorui/components/cu-custom.vue

@@ -60,6 +60,9 @@ export default {
 			uni.navigateBack({
 				delta: 1
 			});
+		},
+		getHeight() {
+			return this.tovw(parseFloat(this.CustomBar) + parseFloat(this.heighten))
 		}
 	}
 }