From 3913b3c5c8cde03f8c92d1c738d28c4a9bae7e55 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 22 十一月 2023 08:48:02 +0800 Subject: [PATCH] # --- App.vue | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 49 insertions(+), 2 deletions(-) diff --git a/App.vue b/App.vue index 5b22a79..71099d7 100644 --- a/App.vue +++ b/App.vue @@ -18,9 +18,56 @@ background-color: #f1f1f1; font-size: 28upx; color: #333333; - font-family: Helvetica Neue, Helvetica, sans-serif; + font-family: 'my-font',Helvetica Neue, Helvetica, sans-serif; } + + .status_bar { + height: var(--status-bar-height); + width: 100%; + background-color: #FFF; + position: sticky; + top: 0; + } + .search-bg { background-color: #FFF; + padding: 16rpx; + position: sticky; + top: 88rpx; + z-index: 999; + /* #ifdef APP-PLUS */ + top: 148rpx; + /* #endif */ + } -</style> + + @font-face { + font-family: my-font; + src: url('./static/font/NotoSansCJK-Light-3.otf'); + } + + .status_bar { + height: var(--status-bar-height); + width: 100%; + background-color: #FFF; + z-index: 99999; + } + .city { + display: flex; + align-items: center; + } + .fxbtn { + position: fixed; + bottom: 100rpx; + right: 40rpx; + width: 80rpx; + height: 80rpx; + background-color: #46a7ff; + color: #FFF; + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + + } +</style> \ No newline at end of file -- Gitblit v1.9.1