You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
2.1 KiB
57 lines
2.1 KiB
<div class="InfoTop">
|
|
<div>
|
|
<p class="font-22 color-white" style="text-align: center;"><span class="inline"><i class="iconfont icon-wancheng font-30 color-white mr10 fl" style="font-size: 20px;"></i>报名成功</span></p>
|
|
</div>
|
|
</div>
|
|
<div class="Infos">
|
|
<p class="Infos_title">基本信息</p>
|
|
<li class="clearfix">
|
|
<span>姓名</span>
|
|
<span><%= @training.name %></span>
|
|
</li>
|
|
<li class="clearfix">
|
|
<span>性别</span>
|
|
<span><%= @training.sex == 1 ? '男' : '女' %></span>
|
|
</li>
|
|
<li class="clearfix">
|
|
<span>单位</span>
|
|
<span><%= @training.school %></span>
|
|
</li>
|
|
<li class="clearfix">
|
|
<span>职称</span>
|
|
<span><%= @training.position %></span>
|
|
</li>
|
|
<li class="clearfix">
|
|
<span>手机号</span>
|
|
<span><%= @training.phone %></span>
|
|
</li>
|
|
</div>
|
|
|
|
<% if @training.training_type == 3 %>
|
|
<div class="Infos clearfix">
|
|
<p class="Infos_title">您关注的课程类型</p>
|
|
<% @training.research_field.to_s.split(',').each do |name| %>
|
|
<a href="javascript:void(0)" class="Infos_tag"><%= name %></a>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= link_to('修改资料', enroll_training_path(id: @friendly_id, disable_redirect: true), class: 'info_updateBtn') %>
|
|
|
|
<% if @training.training_payinfo.blank? || @training.training_payinfo.not_payed? %>
|
|
<div class="bottomBtn">
|
|
<%= link_to '转账支付', pay_training_path(id: @friendly_id, pay_type: 3), class: 'leftbtn' %>
|
|
<%#= link_to '微信支付', pay_training_path(id: @friendly_id, pay_type: 1), class: 'rightbtn' %>
|
|
<!-- TODO:: 测试微信支付,待删除 -->
|
|
<% if @test_wxpay %>
|
|
<%= link_to '微信支付', pay_training_path(id: @friendly_id, pay_type: 1), class: 'rightbtn' %>
|
|
<% else %>
|
|
<a href="javascript:void(0)" onclick="alert('即将开通');" class="rightbtn">微信支付</a>
|
|
<% end %>
|
|
</div>
|
|
<% else %>
|
|
<div class="bottomBtn">
|
|
<%= link_to '支付详情', pay_training_path(id: @friendly_id, pay_type: @training.training_payinfo.pay_type),
|
|
class: 'rightbtn', style: 'width: 100%;' %>
|
|
</div>
|
|
<% end %> |