대소변 수정

dev_bert
kyebyungha 3 years ago
parent a2a430b565
commit 6b0e524ac4

@ -1,4 +1,8 @@
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="/bf/m/js/jquery.bpopup.min.js"></script>
<link rel="stylesheet" href="${URL_STATIC_ROOT}/m/css/jquery-ui.min.css">
<style media="screen">
body {
background: #F4F5F5;
}
</style>

@ -1,11 +1,9 @@
<#include "/m/bf_daily_nutrition/include_top.ftl">
<!-- 대소변 -->
<div class="kinds_tabcont">
<#include "/m/bf_daily_nutrition/include_bf_nu_tp_6.ftl">
</div>
<!-- //대소변 -->
<!-- nutrition_kinds_basic -->
<!-- nutrition_kinds_basic -->
<div class="nutrition_kinds_basic nutrition_kinds_toilet">
@ -178,7 +176,6 @@
// 상단시계 am&pm on,off 효과
$(".nutrition_time_ampm span").click(function(e) {
e.stopPropagation();
if (!$(this).hasClass("active")) {
$(".nutrition_time_ampm span.active").removeClass("active");
$(this).addClass("active");
@ -203,13 +200,13 @@
}
});
$('#slider1').slider({
// 슬라이더바 이하값 색 강조
range: 'min', // max 로 설정시 이상값 강조
min: 0,
max: 100,
value: ${model['rm']['rest_qty']!},
value: <#if model['rm']['rest_qty']?exists> ${model['rm']['rest_qty']!}<#else>0</#if>,
step: 25,
animate: true,
change: function(event,ui){
@ -219,7 +216,6 @@
});
//대변색
$('#slider2').slider({
// 슬라이더바 이하값 색 강조
@ -227,7 +223,7 @@
min: 0,
max: 100,
value: <#if model['rm']['rest_tp']?exists && model['rm']['rest_tp'] == 19>${model['rm']['rest_color']!}<#else>0</#if>,
value: <#if model['rm']['rest_color']?exists>${model['rm']['rest_color']!}<#else>0</#if>,
step: 25,
animate: true,
change: function(event,ui){
@ -244,7 +240,7 @@
min: 0,
max: 100,
value: <#if model['rm']['rest_tp']?exists && model['rm']['rest_tp'] == 20>${model['rm']['rest_color']!}<#else>0</#if>,
value: <#if model['rm']['rest_color']?exists>${model['rm']['rest_color']!}<#else>0</#if>,
step: 33.3333,
animate: true,
change: function(event,ui){
@ -260,7 +256,7 @@
min: 0,
max: 100,
value: <#if model['rm']['rest_tp']?exists>${model['rm']['rest_qty']!}<#else>0</#if>,
value: <#if model['rm']['rest_qty']?exists>${model['rm']['rest_qty']!}<#else>0</#if>,
step: 25,
animate: true,
change: function(event,ui){
@ -275,7 +271,7 @@
min: 0,
max: 100,
value: <#if model['rm']['rest_tp']?exists && model['rm']['rest_tp'] == 19>${model['rm']['rest_degree']!}<#else>0</#if>,
value: <#if model['rm']['rest_degree']?exists>${model['rm']['rest_degree']!}<#else>0</#if>,
step: 25,
animate: true,
change: function(event,ui){

Loading…
Cancel
Save