fix: 健康管理系统,换行统一修改。
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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">正常( <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) {
|
||||
|
||||
Reference in New Issue
Block a user