| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | 
							
- <{if $info.end == 2}>
 
-         <h3>活动已结束!</h3>
 
-         <p>感谢您的关注,期待您参与我们的其他活动</p>
 
-         <section class="button-wrapper">
 
-             <a class="button border" href="<{$listUrl}>">找找其他福利</a>
 
-             <a class="button" href="<{$giftsUrl}>">查看我的奖品</a>
 
-         </section>
 
- <{else}>
 
- <form id="ff">
 
-     <{foreach from=$forms item=form}>
 
-     <{if $form.type == 'text'}>
 
-     <input name="<{$form.name}>" type="text" class="input_style" placeholder="<{$form.name}>" > 
 
-     <{/if}>
 
-     <{if $form.type == 'textarea'}>
 
-     <textarea name="<{$form.name}>" class="input_textarea" placeholder="<{$form.name}>"></textarea>
 
-     <{/if}>
 
-     <{if $form.type == 'select'}>
 
-     <select name="<{$form.name}>">
 
-                  <option value="">请选择<{$form.name}></option>
 
-                  <{foreach from=$form.options item=option}>
 
-                  <option value="<{$option}>"><{$option}></option>
 
-                  <{/foreach}>
 
-                </select>
 
-     <{/if}>
 
-     <{/foreach}>
 
- </form>
 
- <section class="button-wrapper">
 
-     <a class="button"  id="common_submit_btn">提交资料</a>
 
- </section>
 
- <script>
 
- $("select").on('change', function () {
 
-     if ($(this).val() == '') {
 
-         $(this).css({'color':'#999'});
 
-     } else {
 
-         $(this).css({'color':''});
 
-     }
 
- });
 
- </script>
 
- <{/if}>
 
 
  |