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
ece9102e
Commit
ece9102e
authored
Jun 07, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
030a7378
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
34 deletions
+9
-34
apps/home/Tpl/default/Home/exams_w3g.html
+9
-34
No files found.
apps/home/Tpl/default/Home/exams_w3g.html
View file @
ece9102e
...
@@ -105,10 +105,12 @@
...
@@ -105,10 +105,12 @@
<div
@
click=
"onMyTab(1)"
class=
"layout_center weight_full"
:class=
"myTab == 1 ? 'zhenti_tab_selected' : 'zhenti_tab_normal'"
>
收藏
</div>
<div
@
click=
"onMyTab(1)"
class=
"layout_center weight_full"
:class=
"myTab == 1 ? 'zhenti_tab_selected' : 'zhenti_tab_normal'"
>
收藏
</div>
</div>
</div>
<template
v-if=
"myTab == 1"
>
<template
v-if=
"myTab == 1"
>
<!-- <div class="zhenti_my_collect_cell layout_v">-->
<div
v-for=
"(item, index) in myCollect"
:key=
"index"
class=
"class_item layout_h"
>
<!-- <div class="text_16_600 color_333333"></div>-->
<div
class=
"zhenti_my_collect_cell layout_v"
>
<!-- <div class="text_12_400 color_999999 zhenti_my_collect_cell_time">2020-04-04 03:12:56</div>-->
<div
class=
"text_16_600 color_333333"
>
{{item.content}}
</div>
<!-- </div>-->
<div
class=
"text_12_400 color_999999 zhenti_my_collect_cell_time"
>
{{item.time}}
</div>
</div>
</div>
<span
style=
"margin-top: 35vh;"
v-if=
"myCollect.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
<span
style=
"margin-top: 35vh;"
v-if=
"myCollect.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
</template>
</template>
<template
v-if=
"myTab == 0"
>
<template
v-if=
"myTab == 0"
>
...
@@ -129,31 +131,6 @@
...
@@ -129,31 +131,6 @@
</div>
</div>
</div>
</div>
<span
style=
"margin-top: 35vh;"
v-if=
"myYiZuo.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
<span
style=
"margin-top: 35vh;"
v-if=
"myYiZuo.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
<!-- <div class="layout_v list_container">-->
<!-- <!– 项目1 –>-->
<!-- <div v-for="(item, index) in zhenti" :key="index" class="class_item layout_h">-->
<!-- <div class="class_left layout_v weight_full">-->
<!-- <div class="layout_h">-->
<!-- <div v-if="item.price > 0" class="mark_orange layout_center">付费</div>-->
<!-- <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 class="layout_h" style="margin-top: 1.25rem;">-->
<!-- <span class="text_12_400 color_999999">题数:{{item.count}}</span>-->
<!-- <span class="class_attr text_12_400 color_999999">推荐用时:{{item.time}}m</span>-->
<!-- <span class="class_attr text_12_400 color_999999">{{item.person}}</span>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="class_right layout_center">-->
<!-- <div @click="startDo(item)" v-if="item.price == 0 || item.is_buy" class="button_green layout_center">开始做题</div>-->
<!-- <div @click="onPay(item)" v-else-if="item.price > 0" class="button_orange layout_center">¥{{item.price}}</div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <span style="margin-top: 35vh;" v-if="zhenti.length == 0" class="text_14_400 color_999999 self_center">没有找到!</span>-->
<!-- </div>-->
</template>
</template>
</div>
</div>
</van-tab>
</van-tab>
...
@@ -419,11 +396,9 @@
...
@@ -419,11 +396,9 @@
let
array
=
res
.
data
.
data
.
length
>
0
?
res
.
data
.
data
:
[]
let
array
=
res
.
data
.
data
.
length
>
0
?
res
.
data
.
data
:
[]
that
.
myCollect
=
[].
concat
(
array
.
map
(
r
=>
{
that
.
myCollect
=
[].
concat
(
array
.
map
(
r
=>
{
return
{
return
{
id
:
r
.
exams_paper_id
,
id
:
r
.
question_info
.
exams_question_id
,
title
:
r
.
exams_paper_title
,
content
:
r
.
question_info
.
content
,
price
:
r
.
price
,
time
:
new
Date
(
r
.
ctime
*
1000
).
format
(
'yyyy-mm-dd HH:MM:ss'
),
time
:
new
Date
(
r
.
start_time
).
format
(
'yyyy-mm-dd HH:MM:ss'
),
score
:
r
.
score
}
}
}))
}))
}
}
...
...
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