Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
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 0cf1dfcb
authored
Aug 15, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
8dc7cbd3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
src/utils/draw.js
src/views/crowdfunding/components/createOrderImg.vue
src/views/crowdfunding/index.vue
src/utils/draw.js
View file @
0cf1dfc
...
@@ -182,7 +182,9 @@ class Draw {
...
@@ -182,7 +182,9 @@ class Draw {
if
(
this
.
getTextWidth
(
lastText
)
>
width
-
fontX
-
this
.
getTextWidth
(
'…'
))
throw
lastText
if
(
this
.
getTextWidth
(
lastText
)
>
width
-
fontX
-
this
.
getTextWidth
(
'…'
))
throw
lastText
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
e
=
`
${
error
}
…`
let
{
lastFont
}
=
textParams
if
(
lastFont
)
e
=
`
${
error
.
substring
(
0
,
error
.
length
-
lastFont
.
length
)}
…
${
lastFont
}
`
else
e
=
`
${
error
}
…`
}
}
}
}
let
textHeight
=
y
+
index
*
(
lineHeight
||
fontSize
)
let
textHeight
=
y
+
index
*
(
lineHeight
||
fontSize
)
...
...
src/views/crowdfunding/components/createOrderImg.vue
View file @
0cf1dfc
...
@@ -140,6 +140,7 @@ export default {
...
@@ -140,6 +140,7 @@ export default {
label
.
lineNum
=
2
label
.
lineNum
=
2
label
.
lineHeight
=
24
label
.
lineHeight
=
24
label
.
width
=
labelEndX
label
.
width
=
labelEndX
label
.
lastFont
=
':'
}
}
}
}
if
(
e
===
'支付定金'
)
{
if
(
e
===
'支付定金'
)
{
...
...
src/views/crowdfunding/index.vue
View file @
0cf1dfc
...
@@ -287,7 +287,8 @@ export default {
...
@@ -287,7 +287,8 @@ export default {
}
,
}
,
created
()
{
created
()
{
let
_this
=
this
let
_this
=
this
const
jsApiList
=
[
'getLocation'
,
const
jsApiList
=
[
'getLocation'
,
'openLocation'
,
'openLocation'
,
'getNetworkType'
,
'getNetworkType'
,
'onMenuShareAppMessage'
,
'onMenuShareAppMessage'
,
...
...
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