Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
uniapp_vedio
Commits
6c9cb4d5
Commit
6c9cb4d5
authored
Dec 13, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快手状态栏返回键优化
parent
d2ea13e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
App.vue
vedio/App.vue
+7
-2
status-title.vue
vedio/components/status-title/status-title.vue
+1
-1
uni-popup.vue
vedio/components/uni-popup/uni-popup.vue
+4
-4
No files found.
vedio/App.vue
View file @
6c9cb4d5
...
...
@@ -12,8 +12,13 @@
// #ifndef APP-PLUS || H5 || MP-ALIPAY || MP-LARK
const
menuButtonObject
=
uni
.
getMenuButtonBoundingClientRect
();
this
.
globalData
.
titlePadding
=
res
.
screenWidth
-
menuButtonObject
.
right
;
this
.
globalData
.
titleButtonWidth
=
this
.
globalData
.
titlePadding
+
menuButtonObject
.
width
;
this
.
globalData
.
titlePadding
=
res
.
screenWidth
-
menuButtonObject
.
right
;
this
.
globalData
.
titleButtonWidth
=
this
.
globalData
.
titlePadding
+
menuButtonObject
.
width
;
// #ifdef MP-KUAISHOU
this
.
globalData
.
titlePadding
=
8
;
this
.
globalData
.
titleButtonWidth
=
100
;
// #endif
this
.
globalData
.
titleBarHeight
=
menuButtonObject
.
height
+
(
menuButtonObject
.
top
-
res
.
statusBarHeight
)
*
2
+
2
;
// #endif
...
...
vedio/components/status-title/status-title.vue
View file @
6c9cb4d5
...
...
@@ -123,7 +123,7 @@
&
-title
{
flex
:
1
;
text-align
:
center
;
font-size
:
40
rpx
;
font-size
:
36
rpx
;
}
}
</
style
>
vedio/components/uni-popup/uni-popup.vue
View file @
6c9cb4d5
...
...
@@ -11,7 +11,7 @@
</view>
</
template
>
<
script
>
import
uniTransition
from
'@/components/uni-transition/uni-transition.vue'
//
import uniTransition from '@/components/uni-transition/uni-transition.vue'
/**
* PopUp 弹出层
* @description 弹出层组件,为了解决遮罩弹层的问题
...
...
@@ -27,9 +27,9 @@
export
default
{
name
:
'UniPopup'
,
components
:
{
uniTransition
},
//
components: {
//
uniTransition
//
},
props
:
{
// 开启动画
animation
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment