Explorar el Código

修改药品‘已用完’文字颜色

yezehua hace 8 años
padre
commit
96ad72ef18
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      js/util.js

+ 1 - 1
js/util.js

@ -180,7 +180,7 @@ function getDaysRemaining(item) {
		var preTime = new Date(presCreateTime.replace(/-/g,'/')).getTime()
		var remain = minDrugDay - ((curTime - preTime)/(24 * 3600 * 1000)).toFixed(1)
		if(remain < 0) {
			return "药品已用完"
			return '<span style="color: #ff3b30;">已用完</span>'
		}
		return remain
	} else {