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

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

@ -5,7 +5,7 @@
</div> </div>
<div class="container"> <div class="container">
<div class="card"> <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)" > <van-cell v-for="item in policyList" :key="item" @click="goToPolicyDetails(item.id)" >
<div class="font-pingfangB font-size17">{{ item.title }}</div> <div class="font-pingfangB font-size17">{{ item.title }}</div>
<div class="flex flex-x flex-end m-top10"> <div class="flex flex-x flex-end m-top10">

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

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

Loading…
Cancel
Save