Browse Source

添加获取占用高度方法

xiaohaizhao 1 year ago
parent
commit
ed6aca674b
1 changed files with 3 additions and 0 deletions
  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))
 		}
 	}
 }