<?xml version="1.0"?>
<labeltemplate>
  <collageinfo>
    <![CDATA[
    <div class="sub_grade">
        <div class="box_group">
            <div class="title">
                {KS:Field:Cname}
            </div>
            <div class="price">
                <span>拼团价:</span>
                <i>￥{KS:Field:HeaderPrice}</i>
                <span> &nbsp; 原价:</span>
                <em class="cost">￥{KS:Field:Price}</em>
            </div>
            <div class="participation">
                组团人数:{KS:Field:Number}人
            </div>
            <div class="time">
                距离活动结束仅剩<countdown begin-time="{KS:Field:BeginDate}" end-time="{KS:Field:EndDate}"></countdown>
            </div>
        </div>
    </div>

    <div class="sub_bundling">
        <div class="box_group">
            <div class="title">
                开团并邀请<span>1</span>人参加，组团成功立即开始学习
            </div>
        </div>
    </div>
    ]]>
  </collageinfo>
  <collagelist>
    <![CDATA[
    <div class="group_buying">
        <div class="box_group">
            <div class="title">
                不想自己开团？可参加以下网友开的团，组团成功开始学习
            </div>
            <div class="inner">
                <ul>
                   [loop]
                    <li>
                        <div class="left">
                            <div class="icon"><img src="/UploadFiles/avatar/{KS:Field:UserID}.jpg"></div>
                            <div class="name_x">{KS:Field:UserName}</div>
                        </div>
                        <div class="right">
                            <a href="javascript:;" onclick="GotoCollage({KS:Field:CourseType},{KS:Field:CourseId},0,'{KS:Field:OrderID}')" class="go">去参团</a>
                            <div class="time">
                                <i>还差 <em>{KS:RemainPeople}</em> 人成团</i>
                                <div class="last_time">剩余<countdown class="times"  begin-time="{KS:BeginDate}" end-time="{KS:EndDate}"></countdown>
                                <!-- 结束 -->
                                </div>
                            </div>
                        </div>
                    </li>
                    [/loop]
                </ul>
                <div class="more" id="showMoreCollage">
                    
                </div>
            </div>
        </div>
    </div>
    ]]>
  </collagelist>
  <collagemember>
    <![CDATA[
    [loop]
    <li>
        <div class="left">
            <div class="icon">
                <img src="/UploadFiles/avatar/{KS:Field:UserId}.jpg">
                <div class="text">团员</div>
            </div>
            <div class="name_y">{KS:Field:UserName}</div>
        </div>
        <div class="right">
            <span>{KS:Day}</span><i>{KS:Clock}</i><em>开团</em>
        </div>
    </li>
    [/loop]
    ]]>
  </collagemember>
  <collagememberface>
    <![CDATA[
    [loop]
    <li><div class="icon"><img src="/UploadFiles/avatar/{KS:Field:UserId}.jpg"></div></li>
    [/loop]
    ]]>
  </collagememberface>
  <oncollage>
    <![CDATA[
    <div class="CollageUTipsBox last_members">就差<font>{KS:RemainPeople}</font>人成团啦，赶紧分享给好友参加吧！</div>
    ]]>
  </oncollage>
  <fail>
    <![CDATA[
    <div class="CollageUTipsBox CollageGrayTips">啊哦，拼团时间已过，未能成团~<br>您也可以选择原价购买哦~</div>
    <a href="{=GetRewriteUrl(courseview,{KS:Field:CourseId})}" class="CollageUButton">去购买</a>
    ]]>
  </fail>
  <success>
    <![CDATA[
    <div class="CollageUTipsBox CollageRedTips">恭喜你，拼团成功！赶紧去学习吧！</div>
    <a href="{KS:LearnUrl}" class="CollageUButton">立即去学习</a>
    ]]>
  </success>
  <other_oncollage>
    <![CDATA[
    <div class="CollageUTipsBox">还差<font>{KS:RemainPeople}</font>人就能成团啦！</div>
    <a href="javascrpt:;" onclick="GotoCollage({KS:Field:CourseType},{KS:Field:CourseId},0,'{KS:Field:OrderID}')" class="CollageUButton">立即去参团</a>
    ]]>
  </other_oncollage>
  <other_fail>
    <![CDATA[
    <div class="CollageUTipsBox CollageGrayTips">啊哦，拼团时间已过！<br/>您可以选择原价购买哦~</div>
    <a href="{=GetRewriteUrl(courseview,{KS:Field:CourseId})}" class="CollageUButton">去购买</a>
    ]]>
  </other_fail>
  <other_success>
    <![CDATA[
    <div class="CollageUTipsBox CollageRedTips">对不起，该拼团已成团！</div>
    <a href="javascrpt:;" onclick="GotoCollage({KS:Field:CourseType},{KS:Field:CourseId},1,'0')" class="CollageUButton">自己发起拼团</a>
    ]]>
  </other_success>
</labeltemplate>
