dev_course
SylorHuang 6 years ago
parent 3b68ce2474
commit cf5e40b97f

@ -19,7 +19,7 @@
</div> </div>
<div class="mbt20 bgc"> <div class="mbt20 bgc">
<div class="ex-scores pd10 text-gray fs13 width100"> <div class="ex-scores pd10 text-gray fs13 width100">
<div class="inline-block pull-left max-100"> <div class="pull-left">
<% if @exercise_single_ques_count > 0 %> <% if @exercise_single_ques_count > 0 %>
<span class="mr15">单选题<span class="mlr5"><%= @exercise_single_ques_count %></span>题, <span class="mr15">单选题<span class="mlr5"><%= @exercise_single_ques_count %></span>题,
共<span class="mlr5"><%= @exercise_single_ques_scores %></span>分</span> 共<span class="mlr5"><%= @exercise_single_ques_scores %></span>分</span>
@ -45,7 +45,7 @@
共<span class="mlr5"><%= @exercise_ques_shixun_scores %></span>分</span> 共<span class="mlr5"><%= @exercise_ques_shixun_scores %></span>分</span>
<% end %> <% end %>
</div> </div>
<div style="text-align:right;word-break:keep-all;">合计<span class="text-blue mlr5"><%= @exercise_ques_count %></span>题, <div class="pull-right">合计<span class="text-blue mlr5"><%= @exercise_ques_count %></span>题,
共<span class="text-orange mlr5"><%= @exercise_ques_scores %></span>分 共<span class="text-orange mlr5"><%= @exercise_ques_scores %></span>分
</div> </div>
</div> </div>

@ -6,9 +6,9 @@ PDFKit.configure do |config|
dpi: 300, dpi: 300,
debug_javascript: true, debug_javascript: true,
javascript_delay: 500, javascript_delay: 500,
quiet: false # quiet: false
# stop_slow_scripts:false, stop_slow_scripts:false,
# no_stop_slow_scripts: true no_stop_slow_scripts: true
} }
end end

Loading…
Cancel
Save