Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Arena Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Ygopro Arena Web
Commits
bc619a43
Commit
bc619a43
authored
Mar 29, 2018
by
ganjingcun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new deck
parent
c16b4950
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2704 additions
and
3 deletions
+2704
-3
src/components/Deckprint.vue
src/components/Deckprint.vue
+4
-1
src/store/modules/account.js
src/store/modules/account.js
+2
-1
static/deck.html
static/deck.html
+2690
-0
static/konami.html
static/konami.html
+8
-1
No files found.
src/components/Deckprint.vue
View file @
bc619a43
...
...
@@ -40,6 +40,7 @@
<el-form-item
label=
"备选项"
:label-width=
"formLabelWidth"
>
<el-checkbox
v-model=
"checked"
>
是否生成图片
</el-checkbox>
<el-checkbox
v-model=
"checked2"
>
是否打印(会帮您调用打印程序)
</el-checkbox>
</el-form-item>
<el-form-item>
...
...
@@ -84,6 +85,7 @@
demo_url
:
""
,
demo1
:
[],
checked
:
false
,
checked2
:
false
,
demo2
:
[]
}
},
...
...
@@ -178,7 +180,8 @@
gameid
:
this
.
form
.
gameid
,
date
:
date
,
id
:
this
.
downloadPath
.
slice
(
7
),
img
:
this
.
checked
img
:
this
.
checked
,
print
:
this
.
checked2
,
}
var
request
=
querystring
.
stringify
(
opt
);
...
...
src/store/modules/account.js
View file @
bc619a43
...
...
@@ -31,6 +31,7 @@ const mutations = {
[
types
.
GET_BILL_LIST
]
(
state
,
{
listData
,
pageTotal
})
{
for
(
var
i
in
listData
)
{
listData
[
i
].
amount
=
listData
[
i
].
amount
.
toFixed
(
2
)
}
state
.
listData
=
listData
state
.
pageTotal
=
pageTotal
...
...
static/deck.html
0 → 100644
View file @
bc619a43
This source diff could not be displayed because it is too large. You can
view the blob
instead.
static/konami.html
View file @
bc619a43
...
...
@@ -927,6 +927,7 @@
this
.
deck
.
event
=
getParameterByName
(
'
event
'
);
var
gameid
=
getParameterByName
(
'
gameid
'
);
var
img
=
getParameterByName
(
'
img
'
);
var
print
=
getParameterByName
(
'
print
'
);
if
(
gameid
)
{
var
gameid_arr
=
gameid
.
split
(
''
);
...
...
@@ -996,7 +997,13 @@
link
.
href
=
dataUrl
;
link
.
click
();
});
},
1000
)
},
100
)
}
if
(
print
&&
print
===
"
true
"
)
{
setTimeout
(
function
()
{
window
.
print
();
},
500
)
}
},
(
res
)
=>
{
})
...
...
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