Browse Source

更改网页名字为数字移风,删掉loding

master
是小王呀\24601 1 year ago
parent
commit
9dac63d0d5
  1. 2
      yifengdian-company-report/public/index.html
  2. 2
      yifengdian-company-report/src/views/policy.vue
  3. 42
      yifengdian-company-report/src/views/vegetable.vue

2
yifengdian-company-report/public/index.html

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<title>数字移风</title>
</head>
<body>
<noscript>

2
yifengdian-company-report/src/views/policy.vue

@ -5,7 +5,7 @@
</div>
<div class="container">
<div class="card">
<van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
<van-list>
<van-cell v-for="item in policyList" :key="item" @click="goToPolicyDetails(item.id)" >
<div class="font-pingfangB font-size17">{{ item.title }}</div>
<div class="flex flex-x flex-end m-top10">

42
yifengdian-company-report/src/views/vegetable.vue

@ -6,7 +6,7 @@
</van-sidebar>
</div>
<div class="flex1" style="overflow-y: scroll;height: 100vh;">
<van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
<van-list >
<div v-for="(item, index) in numList" :key="index" class="item m-top10">
<div class="unit m-top15">{{ item.placeOrgName }}</div>
<div class="van-ellipsis m-top12">种植时间{{ item.growTime }}</div>
@ -109,27 +109,27 @@ export default {
console.log(this.allNum);
},
onLoad() {
setTimeout(() => {
// if (this.refreshing) {
// this.list = [];
// this.refreshing = false;
// }
// onLoad() {
// setTimeout(() => {
// // if (this.refreshing) {
// // this.list = [];
// // this.refreshing = false;
// // }
for (let i = 0; i < 10; i++) {
this.vegetList.push({
unit: '瑞克斯旺有限公司',
startTime: '2024-02-03',
endTime: '2024-02-04',
num: '100'
});
}
this.loading = false;
if (this.vegetList.length >= 40) {
this.finished = true;
}
}, 1000);
},
// for (let i = 0; i < 10; i++) {
// this.vegetList.push({
// unit: '',
// startTime: '2024-02-03',
// endTime: '2024-02-04',
// num: '100'
// });
// }
// this.loading = false;
// if (this.vegetList.length >= 40) {
// this.finished = true;
// }
// }, 1000);
// },
},
components: {},
computed: {},

Loading…
Cancel
Save