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
dcd2ad49
Commit
dcd2ad49
authored
May 19, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A
parent
84a8dbef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
42 deletions
+17
-42
apps/home/Tpl/default/Home/exams_w3g.html
+17
-42
No files found.
apps/home/Tpl/default/Home/exams_w3g.html
View file @
dcd2ad49
...
@@ -32,54 +32,22 @@
...
@@ -32,54 +32,22 @@
</van-sticky>
</van-sticky>
<div
class=
"layout_v list_container"
>
<div
class=
"layout_v list_container"
>
<!-- 项目1 -->
<!-- 项目1 -->
<div
v-for=
"(i
dx, index) in [1,2,3,4,5,6,7,8,9,10]"
:key=
"id
x"
class=
"class_item layout_h"
>
<div
v-for=
"(i
tem, index) in zhenti"
:key=
"inde
x"
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_green 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>
</div>
<div
class=
"layout_h"
style=
"margin-top: 1.25rem;"
>
<span
class=
"text_12_400 color_999999"
>
题数:45
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
推荐用时:45m
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
45121已做
</span>
</div>
</div>
<div
class=
"class_right layout_center"
>
<div
class=
"button_green layout_center"
>
开始做题
</div>
</div>
</div>
<!-- 项目2 -->
<div
class=
"class_item layout_h"
>
<div
class=
"class_left layout_v weight_full"
>
<div
class=
"layout_h"
>
<div
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>
<div
class=
"layout_h"
style=
"margin-top: 1.25rem;"
>
<span
class=
"text_12_400 color_999999"
>
题数:45
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
推荐用时:45m
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
45121已做
</span>
</div>
</div>
<div
class=
"class_right layout_center"
>
<div
class=
"button_orange layout_center"
>
¥23
</div>
</div>
</div>
<!-- 项目3 -->
<div
class=
"class_item layout_h"
>
<div
class=
"class_left layout_v weight_full"
>
<div
class=
"layout_h"
>
<div
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>
<span
class=
"text_14_600 color_333333 weight_full van-multi-ellipsis--l2"
style=
"margin-left: 0.625rem;"
>
2020年国家公务员《行测》试卷(省级)-名师版
</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_999999"
>
题数:
45
</span>
<span
class=
"text_12_400 color_999999"
>
题数:
{{item.count}}
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
推荐用时:
45
m
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
推荐用时:
{{item.time}}
m
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
45121
已做
</span>
<span
class=
"class_attr text_12_400 color_999999"
>
{{item.person}}
已做
</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
v-if=
"item.price > 0"
class=
"button_orange layout_center"
>
¥{{item.price}}
</div>
<div
v-if=
"item.price == 0"
class=
"button_green layout_center"
>
开始做题
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -271,9 +239,16 @@
...
@@ -271,9 +239,16 @@
url
:
"{:U('exams/Index/paper')}"
+
"&api=1"
,
url
:
"{:U('exams/Index/paper')}"
+
"&api=1"
,
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
status
==
1
)
{
if
(
res
.
status
==
1
)
{
let
array
=
res
.
data
that
.
zhenti
=
[].
concat
(
array
.
map
(
r
=>
{
id
:
r
.
exams_paper_id
,
title
:
r
.
exams_paper_title
,
price
:
r
.
price
,
count
:
r
.
questions_count
,
time
:
r
.
reply_time
,
person
:
"0已做"
}))
}
}
}
}
})
})
...
...
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