|
|
|
@ -80,23 +80,25 @@
|
|
|
|
|
<#list model['lm_child'] as item>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="main_pofile_txt">
|
|
|
|
|
<h2><span name="child_nm">${item['name']!}</span></h2>
|
|
|
|
|
<p>${(item['m']?number/12)!}세 ${(item['m']?number%12)!}개월 (${item['gender_ko']!})</p>
|
|
|
|
|
<p>${(item['past_day'])!}일(${(item['past_day']?number/7)!}주 ${(item['past_day']?number%7)!}일) / (${item['past_month']!}개월 ${(item['past_day']?number%7)!}일)</p>
|
|
|
|
|
|
|
|
|
|
<#if item['day100'] gt 0>
|
|
|
|
|
<p>100일 D-${(item['day100'])!}일</p>
|
|
|
|
|
<#elseif item['day200'] gt 0>
|
|
|
|
|
<p>200일 D-${(item['day200'])!}일</p>
|
|
|
|
|
<#elseif item['day300'] gt 0>
|
|
|
|
|
<p>300일 D-${(item['day300'])!}일</p>
|
|
|
|
|
<#elseif item['day365'] gt 0>
|
|
|
|
|
<p>첫돌 D-${(item['day365'])!}일</p>
|
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
<h2>${item['name']!} (${item['gender_ko']!})</h2>
|
|
|
|
|
<p>${(item['past_day'])!}일 (${(item['past_day']?number/7)!}주 ${(item['past_day']?number%7)!}일/${item['past_month']!}개월 ${(item['past_day']?number%7)!}일)</p>
|
|
|
|
|
<p class="d_day">
|
|
|
|
|
<#if item['day100'] gt 0>
|
|
|
|
|
100일 D-${(item['day100'])!}일,${item['day100date']!}
|
|
|
|
|
<#elseif item['day200'] gt 0>
|
|
|
|
|
200일 D-${(item['day200'])!}일,${item['day200date']!}
|
|
|
|
|
<#elseif item['day300'] gt 0>
|
|
|
|
|
300일 D-${(item['day300'])!}일,${item['day300date']!}
|
|
|
|
|
<#elseif item['day365'] gt 0>
|
|
|
|
|
첫돌 D-${(item['day365'])!}일,${item['day365date']!}
|
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="main_pofile_img">
|
|
|
|
|
<p><a href ="${URL_ROOT}/m/bf_family_baby/view_bf_family_baby.do?smc_no=${item['smc_no']!}" ><img src="<#if item['append_300_img_file']?exists>${URL_ROOT}/file/get_img.do?mt_file_seq=${item['append_300_img_file']}<#else>${URL_STATIC_ROOT}/m/img/main/main_profile_img02.png</#if>" alt="프로필 사진" /></a></p>
|
|
|
|
|
<p>
|
|
|
|
|
<a href ="${URL_ROOT}/m/bf_family_baby/view_bf_family_baby.do?smc_no=${item['smc_no']!}" ><img src="<#if item['append_300_img_file']?exists>${URL_ROOT}/file/get_img.do?mt_file_seq=${item['append_300_img_file']}<#else>${URL_STATIC_ROOT}/m/img/main/main_profile_img02.png</#if>" alt="프로필 사진" /></a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</#list>
|
|
|
|
@ -110,54 +112,49 @@
|
|
|
|
|
|
|
|
|
|
<!-- main_pofile_info -->
|
|
|
|
|
<div class="main_pofile_info main_pofile_info01">
|
|
|
|
|
<div class="main_pofile_info_tit">
|
|
|
|
|
<span class="p_a">cm</span>
|
|
|
|
|
<span class="p_b">kg</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- main_pofile_info_txt -->
|
|
|
|
|
<div class="main_pofile_info_txt txt01 active">
|
|
|
|
|
<div class="main_pofile_info_txt01"><img src="${URL_STATIC_ROOT}/m/img/main/main_pofile_info_ico01.png" alt="기린 아이콘" /></div>
|
|
|
|
|
<div class="main_pofile_info_txt02"><strong><#if model['rm_last_h']['height']?exists>${model['rm_last_h']['height']!}cm<#else>-</#if></strong></div>
|
|
|
|
|
<div class="main_pofile_info_txt02"><strong><#if model['rm_last_h']['height']?exists>${model['rm_last_h']['height']!}<#else>-</#if></strong>cm</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- main_pofile_info_txt -->
|
|
|
|
|
<#if model['rm_last_w']?exists == true>
|
|
|
|
|
<!-- main_pofile_info_txt -->
|
|
|
|
|
<div class="main_pofile_info_txt txt02">
|
|
|
|
|
<div class="main_pofile_info_txt01"><img src="${URL_STATIC_ROOT}/m/img/main/main_pofile_info_ico01.png" alt="기린 아이콘" /></div>
|
|
|
|
|
<div class="main_pofile_info_txt02"><strong><#if model['rm_last_w']['weight']?exists>${model['rm_last_w']['weight']!}kg<#else>-</#if></strong></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="main_pofile_info_txt txt02">
|
|
|
|
|
<div class="main_pofile_info_txt02">
|
|
|
|
|
<strong><#if model['rm_last_w']['weight']?exists>${model['rm_last_w']['weight']!}kg<#else>-</#if></strong>kg</div>
|
|
|
|
|
</div>
|
|
|
|
|
</#if>
|
|
|
|
|
<div class="main_pofile_info_tit">
|
|
|
|
|
<span class="txt01 active">cm</span>
|
|
|
|
|
<span class="txt02">kg</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- main_pofile_info -->
|
|
|
|
|
<div class="main_pofile_info main_pofile_info02">
|
|
|
|
|
|
|
|
|
|
<!-- main_pofile_info_txt -->
|
|
|
|
|
<div class="main_pofile_info_txt txt01 active">
|
|
|
|
|
<div class="main_pofile_info_txt01"><img src="${URL_STATIC_ROOT}/m/img/main/main_pofile_info_ico02.png" alt="영양 아이콘" /></div>
|
|
|
|
|
<#if model['rm_child']['totalNutrition']?exists == true>
|
|
|
|
|
<div class="main_pofile_info_txt02"><strong>${model['rm_child']['totalNutrition']}%</strong></div>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if model['rm_child']['totalNutrition']?exists == false>
|
|
|
|
|
<div class="main_pofile_info_txt02"><strong>-</strong></div>
|
|
|
|
|
</#if>
|
|
|
|
|
<div class="main_pofile_info_txt02">
|
|
|
|
|
<#if model['rm_child']['totalNutrition']?exists == true>
|
|
|
|
|
<strong>${model['rm_child']['totalNutrition']}</strong>점
|
|
|
|
|
</#if>
|
|
|
|
|
<#if model['rm_child']['totalNutrition']?exists == false>
|
|
|
|
|
<strong>-</strong>
|
|
|
|
|
</#if>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- main_pofile_info_txt -->
|
|
|
|
|
<div class="main_pofile_info_txt txt02">
|
|
|
|
|
<div class="main_pofile_info_txt01"><img src="${URL_STATIC_ROOT}/m/img/main/main_pofile_info_ico02.png" alt="영양 아이콘" /></div>
|
|
|
|
|
<#if model['rm_child']['totalFood']?exists == true>
|
|
|
|
|
<div class="main_pofile_info_txt02"><strong>${model['rm_child']['totalFood']}%</strong></div>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if model['rm_child']['totalFood']?exists == false>
|
|
|
|
|
<div class="main_pofile_info_txt02"><strong>-</strong></div>
|
|
|
|
|
</#if>
|
|
|
|
|
<div class="main_pofile_info_txt02">
|
|
|
|
|
<#if model['rm_child']['totalFood']?exists == true>
|
|
|
|
|
<strong>${model['rm_child']['totalFood']}</strong>%
|
|
|
|
|
</#if>
|
|
|
|
|
<#if model['rm_child']['totalFood']?exists == false>
|
|
|
|
|
<strong>-</strong>
|
|
|
|
|
</#if>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="main_pofile_info_tit">
|
|
|
|
@ -176,7 +173,7 @@
|
|
|
|
|
<div class="swiper-wrapper">
|
|
|
|
|
<#list model['category_list'] as item>
|
|
|
|
|
<div class="swiper-slide">
|
|
|
|
|
<a href="javascript:void(0);" key="${item['val_1']!}"><span>${item['title']!}</span></a>
|
|
|
|
|
<a href="javascript:void(0);" style="background-color:${item['color_cd']}" key="${item['val_1']!}"><span>${item['title']!}</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</#list>
|
|
|
|
|
<div class="swiper-slide">
|
|
|
|
@ -189,14 +186,34 @@
|
|
|
|
|
|
|
|
|
|
<!-- main_cont_last_status -->
|
|
|
|
|
<div class="main_cont_last_status">
|
|
|
|
|
<#if (model['lm_last'])?has_content>
|
|
|
|
|
<#list model['lm_last'] as item>
|
|
|
|
|
<div>
|
|
|
|
|
<p>${item['cd_title']!}</p>
|
|
|
|
|
<span>${item['ago']!} / ${item['time_val']!}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</#list>
|
|
|
|
|
</#if>
|
|
|
|
|
<div>
|
|
|
|
|
<p>마지막 식사</p>
|
|
|
|
|
<#if (model['lm_last_meal'])?has_content>
|
|
|
|
|
<span>${model['lm_last_meal']['ago']!} / ${model['lm_last_meal']['time_val']!}</span>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if (model['lm_last_meal'])?has_content == false>
|
|
|
|
|
-
|
|
|
|
|
</#if>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p>마지막 수면</p>
|
|
|
|
|
<#if (model['lm_last_sleep'])?has_content>
|
|
|
|
|
<span>${model['lm_last_sleep']['ago']!} / ${model['lm_last_sleep']['time_val']!}</span>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if (model['lm_last_sleep'])?has_content == false>
|
|
|
|
|
-
|
|
|
|
|
</#if>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p>마지막 대소변</p>
|
|
|
|
|
<#if (model['lm_last_bedpan'])?has_content>
|
|
|
|
|
<span>${model['lm_last_bedpan']['ago']!} / ${model['lm_last_bedpan']['time_val']!}</span>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if (model['lm_last_bedpan'])?has_content == false>
|
|
|
|
|
-
|
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- //main_cont_last_status -->
|
|
|
|
|
|
|
|
|
@ -220,7 +237,7 @@
|
|
|
|
|
<div class="main_cont_line"></div>
|
|
|
|
|
|
|
|
|
|
<!-- 이미지 업로드 main_cont_camera -->
|
|
|
|
|
<ul id="ul_photo" class="main_cont_camera" style="overflow-y:auto; height:1200px;">
|
|
|
|
|
<ul id="ul_photo" class="main_cont_camera">
|
|
|
|
|
<#assign nutirition_cd_no_title = ''>
|
|
|
|
|
<#assign ago = ''>
|
|
|
|
|
|
|
|
|
@ -238,17 +255,19 @@
|
|
|
|
|
</#if>
|
|
|
|
|
<img src="<#if item['append_300_img_file']?exists>${URL_ROOT}/file/get_img.do?mt_file_seq=${item['append_300_img_file']}<#else>${URL_STATIC_ROOT}/m/img/child/child_pic_02.png</#if>" alt="사진영역">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="main_cont_circle"></div>
|
|
|
|
|
<div class="main_cont_circle" style="border-color: ${item['color_cd']};"></div>
|
|
|
|
|
<div class="main_cont_info">
|
|
|
|
|
<div class="info_title">
|
|
|
|
|
<p><#if (model['lm_nutrition'])?has_content>${nutirition_cd_no_title}</#if></p>
|
|
|
|
|
<p style="color: ${item['color_cd']};"><#if (model['lm_nutrition'])?has_content>${nutirition_cd_no_title}</#if></p>
|
|
|
|
|
<span class="info_time">${ago}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info_recode" onclick="location.href='${URL_ROOT}/m/bf_daily_nutrition/view_bf_daily_nutrition.do?dn_no=${item['dn_no']}'">
|
|
|
|
|
<p>기록내용</p>
|
|
|
|
|
<div class="info_amount">
|
|
|
|
|
<p>${time_text}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info_recode" style="border-color: ${item['color_cd']};" onclick="location.href='${URL_ROOT}/m/bf_daily_nutrition/view_bf_daily_nutrition.do?dn_no=${item['dn_no']}'">
|
|
|
|
|
<p style="color: ${item['color_cd']};">순간의 기록</p>
|
|
|
|
|
<span>
|
|
|
|
|
${memo}<br/>
|
|
|
|
|
${time_text}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|