trial.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <title>产品试用</title>
  7. <meta name="description" content="">
  8. <meta name="keywords" content="">
  9. <link href="/css/ims/base.css" rel="stylesheet">
  10. <style>
  11. h1{
  12. margin-top: 30px;
  13. margin-bottom: 30px;
  14. font-size: 48px;
  15. font-weight: 400;
  16. font-style: italic;
  17. text-align: center;
  18. color: #333;
  19. }
  20. .trial{
  21. width: 715px;
  22. margin: 0 auto;
  23. padding-left: 180px;
  24. font-weight: 400;
  25. font-style: italic;
  26. font-size: 20px;
  27. background-color: #fff;
  28. color: #333;
  29. background-color: rgba(242, 242, 242, 1);
  30. }
  31. .trial p{
  32. line-height: 48px;
  33. }
  34. .trial span{
  35. font-size: 28px;
  36. color: #FF0000;
  37. }
  38. .btn-trial{
  39. display: block;
  40. margin: 0 auto;
  41. margin-top: 100px;
  42. margin-bottom: 50px;
  43. width: 430px;
  44. line-height: 54px;
  45. color: #fff;
  46. font-family: PingFangSC-Regular, "PingFang SC";
  47. font-weight: 400;
  48. font-style: normal;
  49. font-size: 20px;
  50. text-align: center;
  51. background-color: #2977ff;
  52. }
  53. </style>
  54. </head>
  55. <body>
  56. <?php if ($seasonName):?>
  57. <h1><?php echo $seasonName;?>试用规则</h1>
  58. <div class="trial">
  59. <p>本学期起止时间:<?php echo $startDate;?>至<?php echo $endDate;?></p>
  60. <p>本学期试用人数要求:参与试用的学生总数不得少于 <span><?php echo $trialNum;?></span> 人</p>
  61. <p>月考试次数:不得少于 <span><?php echo $examNum;?></span> 次</p>
  62. </div>
  63. <a href="<?php echo Yii::app()->createUrl('imsSale/doTrial',array('seasonId'=>$seasonId)) ;?>" class="btn-trial">开始试用</a>
  64. <?php else:?>
  65. <h3>暂无产品试用</h3>
  66. <?php endif;?>
  67. </body>
  68. </html>