|
@@ -1,14 +1,28 @@
|
|
|
/******************** 这里放组件样式 ********************/
|
|
|
|
|
|
-/***** 项目中组件 *****/
|
|
|
-// view
|
|
|
+/***** view *****/
|
|
|
view{box-sizing: border-box;}
|
|
|
|
|
|
-// 对齐方式
|
|
|
-.lli-tl{text-align: left;}
|
|
|
-.lli-tc{text-align: center;}
|
|
|
-.lli-tr{text-align: right;}
|
|
|
-
|
|
|
+/***** 对齐方式 *****/
|
|
|
+.ezy-tl{text-align: left;}
|
|
|
+.ezy-tc{text-align: center;}
|
|
|
+.ezy-tr{text-align: right;}
|
|
|
|
|
|
+/***** 状态栏 *****/
|
|
|
+.ezy-status-bar{height: var(--status-bar-height);width: 100%;background-color: red;}
|
|
|
|
|
|
+/***** 页面高度 *****/
|
|
|
+//标题栏
|
|
|
+$titleBar-page: calc(100vh - var(--status-bar-height));
|
|
|
+//tabBar
|
|
|
+$titleBar-page: calc(100vh - 50px);
|
|
|
+//标题栏 + tabBar
|
|
|
+$titleBar-tabBar-page: calc(100vh - var(--status-bar-height) - 50px);
|
|
|
|
|
|
+/***** 模拟标题栏 *****/
|
|
|
+.ezy-title-bar {
|
|
|
+ height: calc(44px + env(safe-area-inset-top));
|
|
|
+ position: fixed;top: var(--status-bar-height);left: var(--window-left);right: var(--window-right);
|
|
|
+ background-color: rgb(248, 248, 248);color: rgb(0, 0, 0);box-sizing: border-box;
|
|
|
+ display: flex;align-items: center;justify-content: center;overflow: hidden;z-index: 998;
|
|
|
+ }
|