Showing
1 changed file
with
4 additions
and
9 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-07-23 12:53:15 | 2 | * @Date: 2024-07-23 12:53:15 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-24 18:26:06 | 4 | + * @LastEditTime: 2024-07-25 13:21:17 |
| 5 | * @FilePath: /temple_material_request/src/views/material_pre_request.vue | 5 | * @FilePath: /temple_material_request/src/views/material_pre_request.vue |
| 6 | * @Description: 待申领物资页面 | 6 | * @Description: 待申领物资页面 |
| 7 | --> | 7 | --> |
| ... | @@ -29,12 +29,6 @@ | ... | @@ -29,12 +29,6 @@ |
| 29 | </van-col> | 29 | </van-col> |
| 30 | </van-row> | 30 | </van-row> |
| 31 | </van-sticky> | 31 | </van-sticky> |
| 32 | - <van-list | ||
| 33 | - v-model:loading="loading" | ||
| 34 | - :finished="finished" | ||
| 35 | - finished-text="没有更多了" | ||
| 36 | - @load="onLoad" | ||
| 37 | - > | ||
| 38 | <div v-for="item in list" :id="item.id" :key="item" class="list-boxer"> | 32 | <div v-for="item in list" :id="item.id" :key="item" class="list-boxer"> |
| 39 | <van-row align="center" justify="space-between"> | 33 | <van-row align="center" justify="space-between"> |
| 40 | <van-col span="16" style="display: flex;"> | 34 | <van-col span="16" style="display: flex;"> |
| ... | @@ -64,7 +58,6 @@ | ... | @@ -64,7 +58,6 @@ |
| 64 | </van-row> | 58 | </van-row> |
| 65 | <div v-if="item.error" style="padding: 0.5rem 2rem 0 0; font-size: 0.85rem; color: red; text-align: right;">输入值有误</div> | 59 | <div v-if="item.error" style="padding: 0.5rem 2rem 0 0; font-size: 0.85rem; color: red; text-align: right;">输入值有误</div> |
| 66 | </div> | 60 | </div> |
| 67 | - </van-list> | ||
| 68 | <div style="height: 6rem;"></div> | 61 | <div style="height: 6rem;"></div> |
| 69 | <div style="position: fixed; left: 0; right: 0; bottom:4.5rem; padding: 1rem;"> | 62 | <div style="position: fixed; left: 0; right: 0; bottom:4.5rem; padding: 1rem;"> |
| 70 | <van-button icon="plus" type="primary" :color="styleColor.baseColor" plain block @click="addMore">添加更多</van-button> | 63 | <van-button icon="plus" type="primary" :color="styleColor.baseColor" plain block @click="addMore">添加更多</van-button> |
| ... | @@ -287,7 +280,9 @@ const onConfirm = ({ selectedValues, selectedOptions }) => { | ... | @@ -287,7 +280,9 @@ const onConfirm = ({ selectedValues, selectedOptions }) => { |
| 287 | }; | 280 | }; |
| 288 | 281 | ||
| 289 | onMounted(() => { | 282 | onMounted(() => { |
| 290 | - minDate.value = new Date() | 283 | + minDate.value = new Date(); |
| 284 | + // 测试 | ||
| 285 | + onLoad() | ||
| 291 | }) | 286 | }) |
| 292 | 287 | ||
| 293 | const addMore = () => { // 添加更多回调 | 288 | const addMore = () => { // 添加更多回调 | ... | ... |
-
Please register or login to post a comment