Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
72d8cd1f
Commit
72d8cd1f
authored
Jul 14, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ae709dfa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
33 deletions
+38
-33
QRCode.vue
pages/teamLeader/components/QRCode.vue
+38
-33
No files found.
pages/teamLeader/components/QRCode.vue
View file @
72d8cd1f
...
...
@@ -36,14 +36,17 @@
margin-bottom
:
0
;
}
.sty-box
{
width
:
750px
;
height
:
1344px
;
position
:
absolute
;
top
:
-2000px
;
left
:
-1500px
;
// width: 750px;
// height: 1344px;
// position: fixed;
// top: -2000px;
// left: -1500px;
width
:
500rpx
;
height
:
500rpx
;
}
</
style
>
<
template
>
<view>
<u-popup
mode=
"center"
border-radius=
"20"
:popup=
"false"
v-model=
"currencyVisible"
:maskCloseAble=
"true"
...
...
@@ -58,7 +61,9 @@
<swiper
indicator-dots
circular
style=
"height:500rpx;width:500rpx"
:current=
"current"
@
change=
"changeHandler"
>
<swiper-item
v-for=
"(item, index) in list"
:key=
"index"
>
<canvas
canvas-id=
"TeamLeaderCanvas"
class=
"sty-box"
@
error=
"canvasIdErrorCallback"
>
<image
mode=
"aspectFit"
:src=
"item.Url"
/>
</canvas>
</swiper-item>
</swiper>
<!--
<img
:src=
"list[0].Url"
/>
-->
...
...
@@ -68,9 +73,9 @@
<view
class=
"flex1 PY20 text-center"
@
click=
"close"
>
取消
</view>
<view
class=
"flex1 PY20 text-center"
@
click=
"preservation"
>
保存
</view>
</view>
<canvas
canvas-id=
"firstCanvas"
class=
"sty-box"
@
error=
"canvasIdErrorCallback"
></canvas>
</view>
</u-popup>
</view>
</
template
>
<
script
>
export
default
{
...
...
@@ -144,7 +149,7 @@ export default {
});
let
that
=
this
;
uni
.
canvasToTempFilePath
({
canvasId
:
"
first
Canvas"
,
canvasId
:
"
TeamLeader
Canvas"
,
success
:
(
res
)
=>
{
uni
.
hideLoading
();
uni
.
showLoading
({
...
...
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