Browse Source

银农app 修改公示公告

wulanhaote
yujk 3 years ago
parent
commit
534cc30dd2
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/views/onlineHome/publicity.vue

+ 4
- 4
src/views/onlineHome/publicity.vue View File

@@ -18,7 +18,7 @@
<p style="display:inline-block;background: #EC4B2C;height:20px;width: 20px;border-radius: 2px;margin-right: 10px;float: left"></p><p style="font-weight: bold;font-size: 18px;">{{item}}</p>
</template>
<template #label>
<p style="font-size: 16px">内容</p>
<p style="font-size: 16px"></p>
</template>
</van-cell>
</van-list>
@@ -45,15 +45,15 @@
// 异步更新数据
// setTimeout 仅做示例,真实场景中一般为 ajax 请求
setTimeout(() => {
for (let i = 0; i < 10; i++) {
this.list.push(this.list.length + 1+"标题");
for (let i = 0; i < 1; i++) {
this.list.push("暂无公示公告");
}

// 加载状态结束
this.loading = false;

// 数据全部加载完成
if (this.list.length >= 40) {
if (this.list.length >= 1) {
this.finished = true;
}
}, 1000);


Loading…
Cancel
Save