fix: 健康管理系统,换行统一修改。

This commit is contained in:
tianyongbao
2024-12-20 19:55:02 +08:00
parent 6cafc2c3e3
commit 73a9e4fb1f
4 changed files with 8 additions and 8 deletions

View File

@@ -264,7 +264,7 @@ onLoad(() => {
function formatMultiLineData(data) {
if (data != null) {
return data.replace(/<br\/>/g, '')
return data.replace(/<br\/>/g, '\n')
}
}
function dictStr(val, arr) {

View File

@@ -278,7 +278,7 @@ onLoad(() => {
function formatMultiLineData(data) {
if (data != null) {
return data.replace(/<br\/>/g, '')
return data.replace(/<br\/>/g, '\n')
}
}
function openOrCloseDate(data) {

View File

@@ -333,7 +333,7 @@ onLoad(() => {
function formatMultiLineData(data) {
if (data != null) {
return data.replace(/<br\/>/g, '')
return data.replace(/<br\/>/g, '\n')
}
}
function openOrCloseDate(data) {

View File

@@ -106,7 +106,7 @@
<div class="item">
<img src="@/static/images/one.png" alt="" />
<div class="info-sum">
<div class="title">正常次数(小于36.9)</div>
<div class="title">正常( &lt;36.9)</div>
<div class="num">{{ temp.normalTempCount }}<span></span></div>
</div>
</div>
@@ -129,7 +129,7 @@
<div class="item">
<img src="@/static/images/ticketSum.png" alt="" />
<div class="info-sum">
<div class="title">高烧大于38.5</div>
<div class="title">高烧>38.5</div>
<div class="num">{{ temp.higherTempCount }}<span></span></div>
</div>
</div>
@@ -141,7 +141,7 @@
<view class="list-item">
<view class="item-header">
<u--text lines="2"
:text="item.name+item.time+' 测量 '+item.count+' 次'" size="30rpx" color="#333333" ></u--text>
:text="item.name+' '+item.time+' 测量 '+item.count+' 次'" size="30rpx" color="#333333" ></u--text>
</view>
<view class="item-row">
<text class="row-label">最高体温</text>
@@ -156,7 +156,7 @@
<text class="row-value">{{ item.average+" ℃"}}</text>
</view>
<view class="item-row">
<text class="row-label">测量明细</text>
<text class="row-label">测量明细</text><br>
<text class="row-value">{{ formatMultiLineData(item.detail)}}</text>
</view>
</view>
@@ -240,7 +240,7 @@ onLoad(() => {
function formatMultiLineData(data) {
if (data != null) {
return data.replace(/<br\/>/g, '')
return data.replace(/<br\/>/g, '\n')
}
}
function openOrCloseDate(data) {