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
8042a5fd
authored
Oct 18, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
5d85bb9c
Expand all
Hide 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 @
8042a5fd
...
@@ -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
=
"http://img.ichunt.com/video/cms/202108/30/ace4d17499e5a1531f74a73a600d16f4.zip"
;
window
.
location
.
href
=
data
.
data
[
0
].
file_url
;
return
return
let
platform
=
Util
.
isUerAgent
();
let
platform
=
Util
.
isUerAgent
();
...
...
src/views/download/Index.vue
View file @
8042a5fd
...
@@ -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)"
>
下载
2
</a>
<a
class=
"btn"
@
click=
"download(item.data_id,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 @
8042a5fd
This diff is collapsed.
Click to expand it.
view/app.js
View file @
8042a5fd
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