2025年6月30日17:05:20
This commit is contained in:
@@ -40,6 +40,15 @@ const routes = [
|
||||
},
|
||||
component: () => import('@/views/dietaryNutritionTips/dietaryNutritionTips4.vue')
|
||||
},
|
||||
{
|
||||
path: '/dietaryNutritionTips5',
|
||||
name: 'dietaryNutritionTips5',
|
||||
meta: {
|
||||
title: '膳食营养温馨提示',
|
||||
rootValue: 108
|
||||
},
|
||||
component: () => import('@/views/dietaryNutritionTips/dietaryNutritionTips5.vue')
|
||||
},
|
||||
{
|
||||
path: '/dataBoard',
|
||||
name: 'dataBoard',
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div class="footer">公共事务中心</div>
|
||||
<div class="footer">公共事务中心 开始时间:{{ startDay }}</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -140,6 +140,7 @@ export default {
|
||||
currentData: "",
|
||||
doingDay: "-",
|
||||
list: [],
|
||||
startDay: "-",
|
||||
|
||||
// 明确区分不同用途的定时器ID
|
||||
pageChangeTimerId: null, // 用于页面切换或重试的定时器
|
||||
@@ -375,6 +376,7 @@ export default {
|
||||
if (res.success && res.result && res.result.rankList && res.result.rankList.length > 0) { // 确保有数据才赋值和滚动
|
||||
_this.doingDay = res.result.doingDay === null ? "-" : res.result.doingDay;
|
||||
_this.list = res.result.rankList; // 更新列表数据
|
||||
_this.startDay = res.result.startDay === null ? "-" : res.result.startDay;
|
||||
_this.callAndroidPostLog(`数据加载成功,列表长度:${_this.list.length}。`);
|
||||
|
||||
_this.$nextTick(() => {
|
||||
@@ -989,12 +991,9 @@ export default {
|
||||
color: #ffffff;
|
||||
width: 100%;
|
||||
height: 95px;
|
||||
font-size: 36px;
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
line-height: 95px;
|
||||
padding-right: 40px;
|
||||
text-align: right;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.nullData {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user