Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kxz-app-phone-h5
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huahua
kxz-app-phone-h5
Commits
4b3983ed
Commit
4b3983ed
authored
Feb 10, 2026
by
huahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
76ff4ccd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
pages/index/index_phone.vue
+5
-2
No files found.
pages/index/index_phone.vue
View file @
4b3983ed
...
@@ -2757,6 +2757,9 @@
...
@@ -2757,6 +2757,9 @@
* 部件旋转开始事件
* 部件旋转开始事件
*/
*/
rotateStart
:
function
(
e
)
{
rotateStart
:
function
(
e
)
{
console
.
log
(
"sdxcs"
)
// 点击选中部件
// 点击选中部件
this
.
itemClick
(
e
);
this
.
itemClick
(
e
);
// 获取当前选中的部件
// 获取当前选中的部件
...
@@ -2822,8 +2825,8 @@
...
@@ -2822,8 +2825,8 @@
var
item
=
items
[
index
];
var
item
=
items
[
index
];
item
.
touchMoveX
=
e
.
touches
[
0
].
clientX
;
item
.
touchMoveX
=
e
.
touches
[
0
].
clientX
;
item
.
touchMoveY
=
e
.
touches
[
0
].
clientY
;
item
.
touchMoveY
=
e
.
touches
[
0
].
clientY
;
let
cx
=
item
.
x
+
distanceX
;
let
cx
=
item
.
x
;
let
cy
=
item
.
y
+
distanceY
;
let
cy
=
item
.
y
;
let
c1
=
Math
.
atan2
(
item
.
touchY
-
cy
,
item
.
touchX
-
cx
)
*
180
/
(
Math
.
PI
);
let
c1
=
Math
.
atan2
(
item
.
touchY
-
cy
,
item
.
touchX
-
cx
)
*
180
/
(
Math
.
PI
);
let
c2
=
Math
.
atan2
(
item
.
touchMoveY
-
cy
,
item
.
touchMoveX
-
cx
)
*
180
/
(
Math
.
PI
);
let
c2
=
Math
.
atan2
(
item
.
touchMoveY
-
cy
,
item
.
touchMoveX
-
cx
)
*
180
/
(
Math
.
PI
);
let
angleC
;
let
angleC
;
...
...
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