Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a6c9a505
authored
Oct 18, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
43fba534
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
src/store/modules/download/index.js
src/views/download/Index.vue
view/25.js
view/app.js
src/store/modules/download/index.js
View file @
a6c9a505
...
@@ -57,7 +57,7 @@ const actions = {
...
@@ -57,7 +57,7 @@ const actions = {
if
(
data
.
err_code
==
0
)
{
if
(
data
.
err_code
==
0
)
{
window
.
location
.
href
=
data
.
data
[
0
].
file_url
;
window
.
location
.
href
=
"http://img.ichunt.com/video/cms/202106/24/e1c6c74253b02ffc26b48f9d7f212908.pdf"
;
return
return
let
platform
=
Util
.
isUerAgent
();
let
platform
=
Util
.
isUerAgent
();
...
...
src/views/download/Index.vue
View file @
a6c9a505
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<div
class=
"bar"
>
<div
class=
"bar"
>
<p
class=
"t2"
>
已下载{{item.download_num}}次
</p>
<p
class=
"t2"
>
已下载{{item.download_num}}次
</p>
<
template
v-if=
"loginCheck"
>
<
template
v-if=
"loginCheck"
>
<a
class=
"btn"
@
click=
"download(item.data_id,1)"
>
下载
</a>
<a
class=
"btn"
@
click=
"download(item.data_id,1)"
>
下载
1
</a>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<a
class=
"btn"
@
click=
"toUrl"
>
下载
</a>
<a
class=
"btn"
@
click=
"toUrl"
>
下载
</a>
...
...
view/25.js
View file @
a6c9a505
This diff is collapsed.
Click to expand it.
view/app.js
View file @
a6c9a505
This diff is collapsed.
Click to expand it.
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