Showing
1 changed file
with
21 additions
and
22 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-07-23 16:24:08 | 2 | * @Date: 2024-07-23 16:24:08 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-23 18:18:22 | 4 | + * @LastEditTime: 2024-07-24 09:39:18 |
| 5 | * @FilePath: /temple_material_request/src/components/chooseMaterial/index.vue | 5 | * @FilePath: /temple_material_request/src/components/chooseMaterial/index.vue |
| 6 | * @Description: 选择物资组件 | 6 | * @Description: 选择物资组件 |
| 7 | --> | 7 | --> |
| ... | @@ -14,26 +14,26 @@ | ... | @@ -14,26 +14,26 @@ |
| 14 | @close="onClose" | 14 | @close="onClose" |
| 15 | :style="{ height: '100%' }" | 15 | :style="{ height: '100%' }" |
| 16 | > | 16 | > |
| 17 | - <van-sticky :offset-top="-33"> | 17 | + <van-sticky :offset-top="-33"> |
| 18 | - <div style="margin-top: 2rem; background-color: white;"> | 18 | + <div style="margin-top: 2rem; background-color: white;"> |
| 19 | - <div style="padding: 1rem;"> | 19 | + <div style="padding: 1rem;"> |
| 20 | - <van-row gutter="10" justify="center" align="center"> | 20 | + <van-row gutter="10" justify="center" align="center"> |
| 21 | - <van-col span="16"> | 21 | + <van-col span="16"> |
| 22 | - <div style="background-color: #FBF9F1; display: flex; border-radius: 5rem; padding: 0 1rem; align-items: center; justify-content: center;"> | 22 | + <div style="background-color: #FBF9F1; display: flex; border-radius: 5rem; padding: 0 1rem; align-items: center; justify-content: center;"> |
| 23 | - <van-icon name="search" /><van-field v-model="value" label="" placeholder="搜索物资" style="background-color: #FBF9F1;" /> | 23 | + <van-icon name="search" /><van-field v-model="value" label="" placeholder="搜索物资" style="background-color: #FBF9F1;" /> |
| 24 | - </div> | 24 | + </div> |
| 25 | - </van-col> | 25 | + </van-col> |
| 26 | - <van-col span="8"> | 26 | + <van-col span="8"> |
| 27 | - <div @click="showType" style="border-radius: 8px; border: 1px solid #DBDBDB; padding: 0.5rem 0 0.5rem 1rem; font-size: 0.9rem; color: #B4B4B4;"> | 27 | + <div @click="showType" style="border-radius: 8px; border: 1px solid #DBDBDB; padding: 0.5rem 0 0.5rem 1rem; font-size: 0.9rem; color: #B4B4B4;"> |
| 28 | - 物资分类 | 28 | + 物资分类 |
| 29 | - <van-icon name="arrow-down" color="#A67939" /> | 29 | + <van-icon name="arrow-down" color="#A67939" /> |
| 30 | - </div> | 30 | + </div> |
| 31 | - </van-col> | 31 | + </van-col> |
| 32 | - </van-row> | 32 | + </van-row> |
| 33 | - </div> | 33 | + </div> |
| 34 | - </div> | 34 | + </div> |
| 35 | - </van-sticky> | 35 | + </van-sticky> |
| 36 | - <!-- TODO:物资列表显示值需要过滤掉购物车已经选中的物资,新增的物资需要显示在购物车最上面 --> | 36 | + <!-- TODO:物资列表显示值需要过滤掉购物车已经选中的物资,新增的物资需要显示在购物车最上面 --> |
| 37 | <van-list | 37 | <van-list |
| 38 | v-model:loading="loading" | 38 | v-model:loading="loading" |
| 39 | :finished="finished" | 39 | :finished="finished" |
| ... | @@ -66,7 +66,6 @@ | ... | @@ -66,7 +66,6 @@ |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | <van-back-top class="custom" bottom="12vh" z-index="9999">返回顶部</van-back-top> | 68 | <van-back-top class="custom" bottom="12vh" z-index="9999">返回顶部</van-back-top> |
| 69 | - | ||
| 70 | <van-dialog v-model:show="show_type" title="请选择筛选分类" @confirm="onConfirm" show-cancel-button :confirm-button-color="styleColor.baseColor"> | 69 | <van-dialog v-model:show="show_type" title="请选择筛选分类" @confirm="onConfirm" show-cancel-button :confirm-button-color="styleColor.baseColor"> |
| 71 | <div style="padding: 1rem;"> | 70 | <div style="padding: 1rem;"> |
| 72 | <van-checkbox-group v-model="type_checked" shape="square" :checked-color="styleColor.baseColor"> | 71 | <van-checkbox-group v-model="type_checked" shape="square" :checked-color="styleColor.baseColor"> | ... | ... |
-
Please register or login to post a comment