Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
00c76a3a
Commit
00c76a3a
authored
May 19, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A
parent
d6a266d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
apps/home/Tpl/default/Home/exams_w3g.html
+11
-10
No files found.
apps/home/Tpl/default/Home/exams_w3g.html
View file @
00c76a3a
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
<div
v-if=
"item.price == 0"
class=
"button_green layout_center"
>
下载试题
</div>
<div
v-if=
"item.price == 0"
class=
"button_green layout_center"
>
下载试题
</div>
</div>
</div>
</div>
</div>
<span
style=
"margin-top: 35vh;"
v-if=
"download.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
</div>
</div>
</van-tab>
</van-tab>
...
@@ -108,21 +109,24 @@
...
@@ -108,21 +109,24 @@
<div
class=
"text_12_400 color_999999 zhenti_my_collect_cell_time"
>
2020-04-04 03:12:56
</div>
<div
class=
"text_12_400 color_999999 zhenti_my_collect_cell_time"
>
2020-04-04 03:12:56
</div>
</div>
</div>
<!-- 项目2 -->
<!-- 项目2 -->
<div
v-if=
"myTab == 0"
class=
"class_item layout_h"
>
<div
v-if=
"myTab == 0"
v-for=
"(item, index) in myYiZuo"
:key=
"index"
class=
"class_item layout_h"
>
<div
class=
"class_left layout_v weight_full"
>
<div
class=
"class_left layout_v weight_full"
>
<div
class=
"layout_h"
>
<div
class=
"layout_h"
>
<div
class=
"mark_orange layout_center"
>
付费
</div>
<div
v-if=
"item.price > 0"
class=
"mark_orange layout_center"
>
付费
</div>
<span
class=
"text_14_600 color_333333 weight_full van-multi-ellipsis--l2"
style=
"margin-left: 0.625rem;"
>
2020年国家公务员《行测》试卷(省级)-名师版
</span>
<div
v-if=
"item.price == 0"
class=
"mark_green layout_center"
>
免费
</div>
<span
class=
"text_14_600 color_333333 weight_full van-multi-ellipsis--l2"
style=
"margin-left: 0.625rem;"
>
{{item.title}}
</span>
</div>
</div>
<div
class=
"layout_h"
style=
"margin-top: 1.25rem;"
>
<div
class=
"layout_h"
style=
"margin-top: 1.25rem;"
>
<span
class=
"text_12_400 color_primary"
>
得分:
80
</span>
<span
class=
"text_12_400 color_primary"
>
得分:
{{item.score}}
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
2020-04-04 03:12:56
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
{{item.time}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"class_right layout_center"
>
<div
class=
"class_right layout_center"
>
<div
class=
"button_green layout_center"
>
查看详情
</div>
<div
class=
"button_green layout_center"
>
查看详情
</div>
</div>
</div>
</div>
</div>
<span
style=
"margin-top: 35vh;"
v-if=
"myYiZuo.length == 0 && myTab=0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
<span
style=
"margin-top: 35vh;"
v-if=
"myYiZuo.length == 0 && myTab=1"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
</div>
</div>
</van-tab>
</van-tab>
...
@@ -316,8 +320,6 @@
...
@@ -316,8 +320,6 @@
url
:
"{:U('home/Home/exams')}"
+
"?api=1&tab=2"
,
url
:
"{:U('home/Home/exams')}"
+
"?api=1&tab=2"
,
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
)
return
if
(
res
.
status
==
1
)
{
if
(
res
.
status
==
1
)
{
let
array
=
res
.
data
.
data
.
length
>
0
?
res
.
data
.
data
:
[]
let
array
=
res
.
data
.
data
.
length
>
0
?
res
.
data
.
data
:
[]
that
.
download
=
[].
concat
(
array
.
map
(
r
=>
{
that
.
download
=
[].
concat
(
array
.
map
(
r
=>
{
...
@@ -325,9 +327,8 @@
...
@@ -325,9 +327,8 @@
id
:
r
.
exams_paper_id
,
id
:
r
.
exams_paper_id
,
title
:
r
.
exams_paper_title
,
title
:
r
.
exams_paper_title
,
price
:
r
.
price
,
price
:
r
.
price
,
count
:
r
.
questions_count
,
time
:
new
Date
(
r
.
start_time
).
format
(
'yyyy-mm-dd HH:MM:ss'
),
time
:
r
.
reply_time
,
score
:
r
.
score
person
:
r
.
exams_user
+
"已做"
}
}
}))
}))
}
}
...
...
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