{eyou:notempty name='$eyou.field.courseware' /}<a href="{$eyou.field.courseware}" target="_blank">视i频地址</a>{eyou:else /} {/eyou:notempty}
<!-- 价格 --> <div class="video-period"> {eyou:gt name="$eyou.field.users_price" value="0"} <div class="price Bebas text-white float-left">¥{$eyou.field.users_price}</div> <div class="video-buy-now button button-big bg-blue text-center radius-rounded text-middle" style="display:none;" id="BuyOnclick13579"></div> {eyou:else/} <div class="video-free-now button button-big bg-blue text-center radius-rounded text-middle">免费</div> {/eyou:gt} </div> <!-- 价格 end-->
<!-- 分集目录 --> <ul class="video-period-list"> {eyou:videolist aid='$eyou.field.aid' id='video'} <li> <a href="javascript:;" {$video.onclick}> <p title="{$video.file_title}">{$i}.{$video.file_title}</p> <div class="video-info"> 时长:{$video.file_time} <span>{eyou:eq name="video.gratis" value="1"}<span class="text-white">试看</span>{eyou:else/}<span class="text-gray VideoButton13579"></span>{/eyou:eq}</span> </div> </a> </li> {$video.hidden} {/eyou:videolist} </ul> <!-- 分集目录 end -->
<div class="jw-video"> <!-- 视频 begin--> {eyou:videoplay aid='$eyou.field.aid' autoplay='off' id='video'} <video src="{$video.file_url}" {$video.id} width="100%" controls preload="auto" oncontextmenu="return false"></video> {$video.hidden} {/eyou:videoplay} <!-- 视频 end--> </div> <!-- 播放权限遮罩 begin --> <div class="jw-video-expense text-center" id="VideoDiv13579" style="display: none;"> <div class="apply text-center"> <p class="text-middle text-white" id="MsgTitle13579"></p> <div class="blank-middle"></div> <div class="button button-big bg-blue text-center radius-rounded text-middle" id="MsgOnclick13579"></div> </div> </div> <!-- 播放权限遮罩 end -->
{eyou:arclist row='12' tagid='list001' addfields='file_url'} {eyou:videoplay aid='$field.aid' id='video'} <video src="{$video.file_url}" {$video.id} controls="controls" autostart="false" width="238" height="148" ></video> {$video.hidden} {/eyou:videoplay}
{eyou:list titlelen='30'} <a href="{$field.arcurl}" title="{$field.title}"><img src="{$field.litpic}"></a> <p>标题:{$field.title}</p> <p>价格: {eyou:gt name="$field.users_price" value="0"} ¥{$field.users_price} {eyou:else/} 免费 {/eyou:gt} </p> <p>阅读次数:{$field.click}</p> <p>时间:{$field.total_duration}</p> {/eyou:list}
{eyou:flink titlelen='45' type='text'} <a href="{$field.url}" {$field.target}>{$field.title}</a> {/eyou:flink}
{eyou:hotwords num='6' subday='365' maxlength='20' id='field'} <a href='{$field.url}' target="_blank">{$field.word}</a> {/eyou:hotwords}
{eyou:arcview aid='106'} {eyou:arcview id='field2'} {eyou:volist name="$field2.image_list" id='field3'} <img src="{$field3.image_url}" alt="{$field3.intro}"> {/eyou:volist} {/eyou:arcview} {/eyou:arcview}
{eyou:channel type='top'} {$field.englist_name} {eyou:channel} {eyou:channelartlist typeid='1,0'} {eyou:field name='englist_name'/} {/eyou:channelartlist}
{eyou:guestbookform type='default'} <form method="POST" action="{$field.action}" {$field.formhidden} onsubmit="{$field.submit}" > <input id="attr_1" type="text" value="" name="{$field.attr_1}" placeholder="{$field.itemname_1}"> <input id="attr_2" type="text" value="" name="{$field.attr_2}" placeholder="{$field.itemname_2}"> <textarea id="attr_3" cols="40" rows="3" name="{$field.attr_3}" placeholder="{$field.itemname_3}"></textarea> <input type="submit" value="提交"> {$field.hidden} </form> {/eyou:guestbookform}
{eyou:type typeid='115'} <a href="{$field.typeurl}">{$field.typename}</a> {/eyou:type}
{$field.channeltype}
{eyou:tag getall='1'} <a href='{$field.link}'>{$field.tag}({$field.total})</a> {/eyou:tag}
{eyou:if condition="$Think.cookie.home_lang =='cn'"} 我是{$Think.cookie.home_lang} {eyou:else /} 我是{$Think.cookie.home_lang} {/eyou:if}
{eyou:arclist} {eyou:memberinfos mid='$field.users_id' id='users' addfields='para_3'} <img src="{$users.head_pic}" class="userface radius-circle"/>{$users.nickname} {$users.para_3} {$users.hidden} {/eyou:memberinfos} {/eyou:arclist}
{eyou:user type='info'} <div id="{$field.id}"> <span id="{$field.level_name}"></span> {$field.hidden} </div> {/eyou:user}
{if condition="$vo.value == 属性值"}checked{/if}
{eyou:notempty name="$field.typelink"}target="_blank"{/eyou:notempty}
<!--tag标签调用--> {eyou:channelartlist typeid='2,3'} {eyou:channel type="son" id='field2'} {eyou:notempty name='$field2.children' /} <!-- 如果有三级 --> <p> <h2>{$field2.typename}</h2> {eyou:channel name="$field2.children" id='field3'} {eyou:tag getall='1' typeid='$field3.typeid'} <span><a href='{$field.link}'>{$field.tag}</a></span> {/eyou:tag} {/eyou:channel} </p> {eyou:else /} <p> <h2>{$field2.typename}</h2> {eyou:tag getall='1' typeid='$field2.typeid'} <span><a href='{$field.link}'>{$field.tag}</a></span> {/eyou:tag} {/eyou:notempty} </p> {/eyou:channel} {/eyou:channelartlist}
{eyou:channelartlist typeid='2,3'} {eyou:channel type="son" id='field2'} <!-- 如果有三级 --> {eyou:notempty name='$field2.children' /} <p> <h2>{$field2.typename}{$field2.typeid}</h2> {eyou:channel name="$field2.children" id='field3'} {eyou:tag getall='1' typeid='$field3.typeid'} <span><a href='{$field.link}'>{$field.tag}</a></span> {/eyou:tag} {/eyou:channel} </p> {eyou:else /} <p> <h2>{$field2.typename}{$field2.typeid}</h2> {eyou:tag getall='1' typeid='$field2.typeid'} <span><a href='{$field.link}'>{$field.tag}</a></span> {/eyou:tag} {/eyou:notempty} </p> {/eyou:channel} {/eyou:channelartlist}
{eyou:notempty name='$eyou.field.has_children' /} <!-- 有子栏目时显示的内容 --> {eyou:else /} <!-- 没有子栏目时显示的内容 --> {/eyou:notempty}
{eyou:eq name='$field.字段' value='1'}开的内容{eyou:else /}关的内容{/eyou:eq}
{eyou:if condition="($eyou.field.自定义字段名称 != '')"} //如果不为空,显示不为空的内容 {eyou:else /} //如果为空,显示 {/eyou:if}
{eyou:php} $UsersData = session('users'); $userid=$UsersData['users_id']; {/eyou:php} {eyou:empty name='$userid' /} 未登录见到的提示信息 {eyou:else/} 登录后见到的信息 {/eyou:empty}
{eyou:arclist} {eyou:eq name='$i' value='1'}<!--判断开始--> <a href="{$field.arcurl}">{$field.title}</a><!--第一条--> {else /}<!--判断第一条结束--> <a href="{$field.arcurl}">{$field.title}</a><!--余下条数--> {/eyou:eq}<!--判断结束--> {/eyou:arclist}
{eyou:channel type="top" row="10" id="field"} <a href="{$field.typeurl}">{$field.typename}</a> {neq name='$i' value='$__LIST__|count=###'} <span>|</span> {/neq} {/eyou:channel}
{eyou:adv pid='广告位置ID' row='5'} <a href="{$field.links}" {$field.target} <img src="{$field.litpic}" alt="{$field.title}" /></a> {/eyou:adv}
{eyou:range name='$Request.controller' value='Index' type='in'}只在首页显示{/eyou:range} {eyou:range name='$Request.action' value='lists' type='in'}只在列表页显示 {/eyou:range} {eyou:range name='$Request.action' value='view' type='in'}只在内容页展示 {/eyou:range} {eyou:range name='$Request.controller' value='Index' type='notin'} 除了首页之外都显示 {/eyou:range} {eyou:range name='$Request.action' value='lists,view' type='in'}只在列表页、内容页显示 {/eyou:range}
{eyou:channelartlist typeid='115,117'} <a href="{eyou:field name='typeurl' /}">{eyou:field name='typename' /}</a> {/eyou:channelartlist}
<li class="{eyou:eq name='$Request.param.m' value='Index'}hover{/eyou:eq}"> <a href="{eyou:global name='web_cmsurl' /}">首页</a> </li> {eyou:channel type="top" id="field" currentstyle="active"} <li class="{$field.currentstyle}"> <a href="{$field.typeurl}">{$field.typename}</a></li> {/eyou:channel
<li class="{eyou:eq name='$Request.param.m' value='Index'}hover{/eyou:eq}"> <a href="{eyou:global name='web_cmsurl' /}">首页</a> </li> {eyou:channel type="top" row="60" id="field" currentstyle="hover"} <li class="{$field.currentstyle}"><a href="{$field.typeurl}">{$field.typename}</a> {eyou:notempty name="$field.children"} <ul class="subnav"> eyou:channel name="$field.children" row="100" id="field2"} <li><a href="{$field2.typeurl}">{$field2.typename}</a></li> {/eyou:channel} </ul> {/eyou:notempty} </li> {/eyou:channel}
<li class="{eyou:eq name='$Request.param.m' value='Index'}hover{/eyou:eq}"> <a href="{eyou:global name='web_cmsurl' /}">首页</a></li> {eyou:channel type="top" row="60" id="field" currentstyle="hover"} <li class="{$field.currentstyle}"><a href="{$field.typeurl}">{$field.typename}</a> {eyou:notempty name="$field.children"} <ul class="subnav"> eyou:channel name="$field.children" row="100" id="field2"} <li><a href="{$field2.typeurl}">{$field2.typename}</a> {eyou:notempty name="$field2.children"} <ul class="subnav2"> {eyou:channel name="$field2.children" row="100" id="field3"} <li><a href="{$field2.typeurl}">{$field3.typename}</a> </li> {/eyou:channel} </ul> {/eyou:notempty} </li> {/eyou:channel} </ul> {/eyou:notempty} </li> {/eyou:channel}
<li class="{eyou:eq name='$Request.param.m' value='Index'}hover{/eyou:eq}"> <a href="{eyou:global name='web_cmsurl' /}">首页</a> </li> {eyou:channelartlist currentstyle="active" typeid='88,159'} <li class="{$field.currentstyle}"><a href="{eyou:field name='typeurl' /}"> {eyou:field name='typename' /}</a> {/eyou:channelartlist}
{eyou:user type='info'} <div id="{$field.id}"> <a id="{$field.url}" href=""><img id="{$field.head_pic}" /></a> {$field.hidden} </div> {/eyou:user}
{eyou:language type='default'} <a href="{$field.url}"><img src="{$field.logo}" alt="{$field.title}"> {$field.title}</a> {/eyou:language}
<title>{$eyou.field.seo_title}</title> <meta name="description" content="{$eyou.field.seo_description}" /> <meta name="keywords" content="{$eyou.field.seo_keywords}" />
<!--购物车组件start--> {eyou:sppurchase id='field' currentstyle='btn-danger'} <!--价格标签--> <div class="ey-price"><span>¥{$field.users_price}</span></div> <!--商品参数--> {eyou:volist name="$field.ReturnData" id='field2'} <div class="row"> <label class="col-sm-7">{$field2.spec_name}</label> <div class="col-sm-10"> {eyou:volist name="$field2.spec_value" id='field3'} <a href="JavaScript:void(0);" {$field3.SpecData} class="btn {$field3.SpecClass}">{$field3.spec_value}</a> {/eyou:volist} </div> </div> {/eyou:volist} <!--商品数量选择--> <div class="ey-number"> <label>数量</label> <div class="btn-input"> <button class="layui-btn" {$field.ReduceQuantity}>-</button> <input type="text" class="layui-input {$field.UpdateQuantity}> <button class="layui-btn" {$field.IncreaseQuantity}>+</button> </div> </div> <!--库存数量,后台可控制是否显示--> <span {$field.stock_show}>库存量:{$field.stock_count} 件</span> <!--购买和加入购物车按钮--> <div class="ey-buyaction"> <a class="ey-joinin" href="JavaScript:void(0);" {$field.ShopAddCart}>加入购物车</a> <a class="ey-joinbuy" href="JavaScript:void(0);" {$field.BuyNow}>立即购买</a> </div> <!--别漏掉这个--> {$field.hidden} {/eyou:sppurchase} <!--购物车组件end-->