Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
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
李智书
xzf_uniapp-wechat-web
Commits
572fc0f4
Commit
572fc0f4
authored
Sep 06, 2023
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v_req_8.2' of
https://git.xiaopay.net/lizhishu/xzf_uniapp-wechat-web
into v_req_8.2
parents
bceba90f
b692d4af
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
src/pages/ApplyConsumption/campusReport/campusReport.vue
src/pages/ApplyConsumption/campusReport/campusReport.vue
+2
-2
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+2
-2
src/template.h5.html
src/template.h5.html
+1
-0
No files found.
src/pages/ApplyConsumption/campusReport/campusReport.vue
View file @
572fc0f4
...
@@ -309,7 +309,7 @@
...
@@ -309,7 +309,7 @@
}
}
return
(
false
);
return
(
false
);
}
}
import
html2cancas
from
"
html2canvas
"
//
import html2cancas from "html2canvas"
import
Canlendar
from
'
@/components/canlendar.vue
'
import
Canlendar
from
'
@/components/canlendar.vue
'
// 时间处理模块
// 时间处理模块
import
moment
from
'
moment
'
import
moment
from
'
moment
'
...
@@ -445,7 +445,7 @@
...
@@ -445,7 +445,7 @@
},
},
toImage
:
function
()
{
toImage
:
function
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
html2can
c
as
(
document
.
getElementsByClassName
(
"
campusReport
"
)[
0
],
{
html2can
v
as
(
document
.
getElementsByClassName
(
"
campusReport
"
)[
0
],
{
useCORS
:
true
,
useCORS
:
true
,
// 解决截图不完整问题
// 解决截图不完整问题
scale
:
1
,
scale
:
1
,
...
...
src/pages/SchoolReport/SchoolReport.vue
View file @
572fc0f4
...
@@ -1169,7 +1169,7 @@
...
@@ -1169,7 +1169,7 @@
</template>
</template>
<
script
>
<
script
>
import
html2cancas
from
"
html2canvas
"
//
import html2cancas from "html2canvas"
var
gHost
=
"
https://
"
+
window
.
location
.
host
;
var
gHost
=
"
https://
"
+
window
.
location
.
host
;
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
gHost
=
"
https://fpdev.xiaopay.net
"
;
gHost
=
"
https://fpdev.xiaopay.net
"
;
...
@@ -1618,7 +1618,7 @@
...
@@ -1618,7 +1618,7 @@
},
},
toImage
:
function
()
{
toImage
:
function
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
html2can
c
as
(
document
.
getElementsByClassName
(
"
tainer
"
)[
0
],
{
html2can
v
as
(
document
.
getElementsByClassName
(
"
tainer
"
)[
0
],
{
useCORS
:
true
,
useCORS
:
true
,
// 解决截图不完整问题
// 解决截图不完整问题
scale
:
1
,
scale
:
1
,
...
...
src/template.h5.html
View file @
572fc0f4
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<title>
<title>
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
</title>
</title>
<script
src=
"https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/src/js/html2canvas.js"
></script>
<script
src=
"//xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/src/js/jquery-1.8.0.min.js"
async=
"async"
></script>
<script
src=
"//xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/src/js/jquery-1.8.0.min.js"
async=
"async"
></script>
<script
src=
"//xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/src/js/weui.min.js"
async=
"async"
></script>
<script
src=
"//xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/src/js/weui.min.js"
async=
"async"
></script>
<script
src=
"//xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/src/js/jweixin-1.6.0.js"
></script>
<script
src=
"//xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/src/js/jweixin-1.6.0.js"
></script>
...
...
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