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
056ce1c2
Commit
056ce1c2
authored
May 15, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
ba7e48cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
116 deletions
+2
-116
apps/classroom/Tpl/default/Vip/index_w3g.html
+2
-116
No files found.
apps/classroom/Tpl/default/Vip/index_w3g.html
View file @
056ce1c2
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</div>
</div>
<div
class=
"hint_top layout_h"
>
<div
class=
"hint_top layout_h"
>
<van-icon
class=
"self_center"
size=
"12"
:name=
"currentHint"
></van-icon>
<van-icon
class=
"self_center"
size=
"12"
:name=
"currentHint"
></van-icon>
<div
:class=
"currentColor"
class=
"text_12_400 self_center"
:class=
"currentColor"
style=
"margin-left: 0.125rem;"
>
{{currentState}}
</div>
<div
:class=
"currentColor"
class=
"text_12_400 self_center"
style=
"margin-left: 0.125rem;"
>
{{currentState}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"layout_h_b vip_info_bottom"
>
<div
class=
"layout_h_b vip_info_bottom"
>
...
@@ -36,121 +36,7 @@
...
@@ -36,121 +36,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <div class="page">
<div class="status border-line">
<if condition="$_SESSION['mid']">
<div class="login-status">
<div class="pic">
<img class="lazyload" data-original="{:getUserFace($user['uid'],b)}" alt="">
</div>
<div class="name">{:getUserName($user['uid'])}</div>
<div class="desc">
<if condition="$user['vip_type'] gt 0">
剩余有效期{$user.exp_date}天
<else />
(非会员)
</if>
{$user.vip_title}
</div>
<div class="btn">
<if condition="$user['is_high'] neq 1 || $user['vip_type'] eq 0">
<a href="{:U('home/User/recharge')}">
<if condition="$user['vip_type'] gt 0">
续费升级
<else />
开通会员
</if>
</a>
</if>
</div>
</div>
<else />
<div class="login-status">
<div class="pic">
<img class="lazyload" data-original="__THEME__/images/noavatar/big.jpg" alt="">
</div>
<div class="desc">开通会员专享免费课程</div>
<div class="btn">
<a href="{:U('basic/Passport/login')}">立即登录</a>
</div>
</div>
</if>
</div> -->
<!-- 会员类型 -->
<!-- <div class="member-type border-line">
<volist name="vipInfo" id="vip" offset="0">
<div class="types-item">
<div class="pic">
<img class="lazyload" data-original="{:getAttachUrlByAttachId($vip['cover'])}" alt="">
</div>
<div class="level">{$vip.title}</div>
<div class="price">¥{$vip.vip_month}/月</div>
<div class="price">¥{$vip.vip_year}/年</div>
</div>
</volist>
</div> -->
<!-- 会员特权 -->
<!-- <div class="member-priv border-line">
<div class="member-title">会员特权</div>
<div class="priv-tabs">
<volist name="vipInfo" id="vip">
<div class="item <eq name='key' value='0'> active </eq>">{$vip.title}</div>
</volist>
</div>
<div class="priv-con">
<volist name="vipInfo" id="vip">
<if condition="$vip['vip_course'] eq null">
<div class="priv-list">
<div class="no-data">
暂时没有课程数据
</div>
</div>
<else />
<div class="priv-list <eq name='key' value='0'> active </eq>">
<volist name="vip.vip_course" id="vce" offset="0" length="8">
<div class="item">
<a <if condition="$vce['type'] eq 1">href="{:U('course/Video/view',array('id'=>$vce['id']))}"<else/>href="{:U('live/Index/view',array('id'=>$vce['id']))}"</if> class="pic">
<img class="lazyload" src="{:getCover($vce['cover'],275,160)}" alt="">
</a>
<a <if condition="$vce['type'] eq 1">href="{:U('course/Video/view',array('id'=>$vce['id']))}"<else/>href="{:U('live/Index/view',array('id'=>$vce['id']))}"</if> class="name">{:t($vce['video_title'])}</a>
<div class="grid">
<span class="line"><php>if($marketConf['order_switch'] == 1) {</php>{$vce['video_order_count_mark']}<php>}else{</php>{$vce['video_order_count']}<php>}</php>人在学习</span>
<if condition="$vce['price'] eq 0">
<span class="free">免费</span>
<else/>
<span class="price">¥{$vce['price']}</span>
</if>
</div>
</div>
</volist>
<if condition="count($vip['vip_course']) eq 8">
<a href="javascript:;" class="priv-more" data-id="{$vip.id}">查看更多</a>
</if>
</div>
</if>
</volist>
</div>
</div> -->
<!-- 最新会员 -->
<!--
<div class="member-latest">
<div class="member-title">最新会员</div>
<div class="latest-grid">
<volist name="new_vip" id="nv">
<a href="{:U('home/UserShow/index',array('uid'=>$nv['uid']))}" class="latest-item">
<div class="pic">
<img class="lazyload" data-original="{:getUserFace($nv['uid'],b)}" alt="">
</div>
<div class="name">{:getUsername($nv['uid'])}</div>
</a>
</volist>
</div>
</div> -->
<!-- __THEME__/img/ -->
<script>
<script>
new
Vue
({
new
Vue
({
el
:
'#app'
,
el
:
'#app'
,
...
@@ -222,7 +108,7 @@
...
@@ -222,7 +108,7 @@
},
},
currentColor
:
function
()
{
currentColor
:
function
()
{
let
opt
=
this
.
options
[
this
.
tab
]
let
opt
=
this
.
options
[
this
.
tab
]
return
"__THEME__/img/"
+
opt
.
color
return
opt
.
color
},
},
currentState
:
function
()
{
currentState
:
function
()
{
let
opt
=
this
.
options
[
this
.
tab
]
let
opt
=
this
.
options
[
this
.
tab
]
...
...
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