
5 changed files with 146 additions and 81 deletions
@ -0,0 +1,62 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<head> |
||||
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
||||
|
<script type="text/javascript" src="{$smarty.const.CSS_URL}/js/jquery-1.8.1.min.js"></script> |
||||
|
<script type="text/javascript" src="{$smarty.const.CSS_URL}/js/jquery.form.js"></script> |
||||
|
<meta charset="utf-8"> |
||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
||||
|
<title>首页</title> |
||||
|
<meta name="viewport" content="width=device-width,initial-scale=1"> |
||||
|
{literal} |
||||
|
<style> |
||||
|
body{ |
||||
|
padding: 70px; |
||||
|
font-size: 26px; |
||||
|
line-height: 37px; |
||||
|
} |
||||
|
.title{ |
||||
|
text-align: center; |
||||
|
font-size: 40px; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
.user_case_name{ |
||||
|
border-left:10px solid #DD4B38; |
||||
|
font-size: 32px; |
||||
|
padding-left: 5px; |
||||
|
font-weight: bold; |
||||
|
margin-top: 50px; |
||||
|
} |
||||
|
.line{ |
||||
|
margin: 20px 0; |
||||
|
} |
||||
|
.case{ |
||||
|
background-color: #FDF9F2; |
||||
|
padding: 20px; |
||||
|
margin: 20px 0; |
||||
|
} |
||||
|
.case-title{ |
||||
|
color: #955239; |
||||
|
} |
||||
|
.case-line{ |
||||
|
line-height: 37px; |
||||
|
padding-bottom: 20px; |
||||
|
} |
||||
|
</style> |
||||
|
{/literal} |
||||
|
</head> |
||||
|
<body> |
||||
|
<div class="title">我的医案</div> |
||||
|
{foreach from=$data.user_case_list key=key item=item} |
||||
|
<div class="user_case_name">{$item.name}</div> |
||||
|
<div class="line">{$item.patient_name},{$item.patient_sex},{$item.patient_age}岁,{$item.case_time}诊</div> |
||||
|
<div class="line">{$item.patient_say}</div> |
||||
|
<div class="line">{$item.first_diagnosis}</div> |
||||
|
<div class="line">{$item.diagnosis}</div> |
||||
|
<div class="case"> |
||||
|
<div class="case-line"><span class="case-title">处方</span> 共{$item.prescribe_num}付</div> |
||||
|
<div>{$item.case_info}{$item.case_herb_info}</div> |
||||
|
</div> |
||||
|
<div class="line">{$item.feedback}</div> |
||||
|
{/foreach} |
||||
|
</body> |
||||
|
</html> |
Loading…
Reference in new issue