Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re860_factory
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
waterword
re860_factory
Commits
d90d925e
Commit
d90d925e
authored
Jul 30, 2025
by
waterword
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
100 - 0,0 -100 循环亮度
parent
ed2e0da9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
factoryTestItem/factoryTestBright.evue
factoryTestItem/factoryTestBright.evue
+14
-2
factoryTestItem/factoryTestBright.evue.q.min.js.bc
factoryTestItem/factoryTestBright.evue.q.min.js.bc
+0
-0
No files found.
factoryTestItem/factoryTestBright.evue
View file @
d90d925e
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
var
bglight
=
require
(
"
bglight.js
"
);
var
bglight
=
require
(
"
bglight.js
"
);
var
value
=
0
;
var
value
=
0
;
var
flage
=
0
;
export
default
{
export
default
{
data
:
{
data
:
{
dynamicBindBrightnessValue
:
100
,
dynamicBindBrightnessValue
:
100
,
...
@@ -81,13 +82,24 @@
...
@@ -81,13 +82,24 @@
// wifiEventJS.connect_wifi(initWifissid, initWifipwd);
// wifiEventJS.connect_wifi(initWifissid, initWifipwd);
// wifiEventJS.enableWLANSwitch();
// wifiEventJS.enableWLANSwitch();
brightnessAutoValue
=
100
;
brightnessAutoValue
=
100
;
this
.
testTimer
=
this
.
$setInterval
(
this
.
InterValTime
,
50
0
,
[],
this
);
this
.
testTimer
=
this
.
$setInterval
(
this
.
InterValTime
,
1
0
,
[],
this
);
},
},
InterValTime
:
function
()
{
InterValTime
:
function
()
{
console
.
log
(
"
brightnessAutoValue=
"
+
brightnessAutoValue
);
console
.
log
(
"
brightnessAutoValue=
"
+
brightnessAutoValue
);
brightnessAutoValue
=
(
brightnessAutoValue
+
1
)
%
101
;
if
(
brightnessAutoValue
==
100
){
flage
=
0
}
else
if
(
brightnessAutoValue
==
0
){
flage
=
1
}
if
(
flage
==
1
){
brightnessAutoValue
++
;
}
else
{
brightnessAutoValue
--
;
}
this
.
dynamicBindBrightnessValue
=
brightnessAutoValue
;
this
.
dynamicBindBrightnessValue
=
brightnessAutoValue
;
this
.
crtBrightnessValue
=
brightnessAutoValue
;
this
.
crtBrightnessValue
=
brightnessAutoValue
;
...
...
factoryTestItem/factoryTestBright.evue.q.min.js.bc
View file @
d90d925e
No preview for this file type
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