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
28f5cb6b
Commit
28f5cb6b
authored
May 21, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A
parent
48129225
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletions
+23
-1
apps/home/Tpl/default/Home/order_w3g.html
+23
-1
No files found.
apps/home/Tpl/default/Home/order_w3g.html
View file @
28f5cb6b
...
@@ -28,7 +28,9 @@
...
@@ -28,7 +28,9 @@
<div
v-if=
"opt.options"
class=
"layout_h order_inner_tab"
style=
"background: white;z-index: 220;"
>
<div
v-if=
"opt.options"
class=
"layout_h order_inner_tab"
style=
"background: white;z-index: 220;"
>
<div
v-for=
"(innerOpt, idx) in opt.options"
:key=
"idx"
@
click=
"onInnerTab(idx)"
class=
"layout_center weight_full"
:class=
"innerTab == idx ? 'zhenti_tab_selected' : 'zhenti_tab_normal'"
>
{{innerOpt.title}}
</div>
<div
v-for=
"(innerOpt, idx) in opt.options"
:key=
"idx"
@
click=
"onInnerTab(idx)"
class=
"layout_center weight_full"
:class=
"innerTab == idx ? 'zhenti_tab_selected' : 'zhenti_tab_normal'"
>
{{innerOpt.title}}
</div>
</div>
</div>
<div
v-if=
"innerTab != 1"
v-for=
"(item, i) in listItem(opt)"
:key=
"i"
class=
"order_image_item layout_v"
>
<template
v-for=
"(item, i) in listItem(opt)"
>
<!-- 带图 -->
<div
v-if=
"showImage(item)"
class=
"order_image_item layout_v"
>
<div
class=
"layout_h"
>
<div
class=
"layout_h"
>
<van-image
height=
"72"
width=
"128"
fit=
"cover"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
></van-image>
<van-image
height=
"72"
width=
"128"
fit=
"cover"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
></van-image>
<div
class=
"layout_v_b weight_full"
style=
"margin-left: 0.75rem;"
>
<div
class=
"layout_v_b weight_full"
style=
"margin-left: 0.75rem;"
>
...
@@ -48,6 +50,23 @@
...
@@ -48,6 +50,23 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 不带图 -->
<div
v-if=
"!showImage(item)"
class=
"order_image_item layout_v"
>
<span
class=
"text_14_600 color_333333"
>
[班级课程]透视理论01——认识透视
</span>
<span
class=
"text_14_600 color_FF3B3B"
style=
"margin-top: 0.5rem;"
>
¥100
</span>
<div
class=
"divider"
style=
"margin-top: 1rem;"
></div>
<div
class=
"order_action_bar layout_h_b"
>
<div
class=
"weight_full layout_h self_center"
>
<span
class=
"text_12_400 color_333333"
>
应付款:
</span>
<span
class=
"text_14_600 color_FF3B3B"
>
¥100
</span>
</div>
<div
class=
"layout_h_r"
>
<div
v-if=
"showSolid(index)"
class=
"order_action_solid self_center"
style=
"margin-left: 0.75rem;"
>
去支付
</div>
<div
v-if=
"showHollow(index)"
class=
"order_action_hollow self_center"
>
{{hollowText(index)}}
</div>
</div>
</div>
</div>
</template>
</div>
</div>
</van-tab>
</van-tab>
...
@@ -107,6 +126,9 @@
...
@@ -107,6 +126,9 @@
return
index
==
0
return
index
==
0
}
}
},
},
showImage
:
function
(
item
)
{
return
false
},
hollowText
:
function
(
index
)
{
hollowText
:
function
(
index
)
{
return
function
(
index
)
{
return
function
(
index
)
{
return
index
==
0
?
'取消订单'
:
'删除订单'
return
index
==
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