Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 120573f9
authored
May 18, 2021
by
fanx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
系统字体设置
1 parent
5869b7f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
src/views/user/setting/index.vue
src/views/user/setting/index.vue
View file @
120573f
...
...
@@ -65,7 +65,7 @@ export default {
faceIdChecked
:
false
,
// 面容ID解锁状态
showSysFont
:
false
,
sysFontText
:
'标准'
,
columns
:
[
'较小'
,
'标准'
,
'较大'
,
'超大'
],
columns
:
[
{
text
:
'较小'
,
value
:
98
},
{
text
:
'标准'
,
value
:
100
},
{
text
:
'较大'
,
value
:
110
},
{
text
:
'超大'
,
value
:
120
}
],
}
},
mounted
()
{
...
...
@@ -160,18 +160,9 @@ export default {
})
},
// 切换字体大小
onConfirm
(
value
)
{
this
.
sysFontText
=
value
let
size
;
if
(
value
==
'较小'
)
{
size
=
95
}
else
if
(
value
==
'较大'
)
{
size
=
110
}
else
if
(
value
==
'超大'
)
{
size
=
120
}
else
{
size
=
100
}
onConfirm
(
opt
)
{
this
.
sysFontText
=
opt
.
text
const
size
=
opt
.
value
NativeApi
.
nativeTextZoom
({
value
:
size
})
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment