Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-07-23 18:31:35 | 2 | * @Date: 2024-07-23 18:31:35 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-26 16:28:22 | 4 | + * @LastEditTime: 2024-08-13 10:18:33 |
| 5 | * @FilePath: /temple_material_request/src/components/materialDetail/index.vue | 5 | * @FilePath: /temple_material_request/src/components/materialDetail/index.vue |
| 6 | * @Description: 物资详情页面 | 6 | * @Description: 物资详情页面 |
| 7 | --> | 7 | --> |
| ... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
| 12 | position="right" | 12 | position="right" |
| 13 | :style="{ height: '100%', width: '100%' }" | 13 | :style="{ height: '100%', width: '100%' }" |
| 14 | > | 14 | > |
| 15 | - <div style="margin-top: 3rem; background-color: white;"> | 15 | + <div style="margin-top: 3rem; background-color: white; position: relative;"> |
| 16 | <div style="display: flex; justify-content: center; align-items: center;"> | 16 | <div style="display: flex; justify-content: center; align-items: center;"> |
| 17 | <div v-if="!goodInfo.cover" style="padding: 2rem 5rem; padding-bottom: 2rem; border: 1px solid #F2EDE6; background-color: #FFFDF6; text-align: center;"> | 17 | <div v-if="!goodInfo.cover" style="padding: 2rem 5rem; padding-bottom: 2rem; border: 1px solid #F2EDE6; background-color: #FFFDF6; text-align: center;"> |
| 18 | <van-image | 18 | <van-image |
| ... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
| 91 | </van-row> | 91 | </van-row> |
| 92 | </div> | 92 | </div> |
| 93 | <div style="height: 4rem;"></div> | 93 | <div style="height: 4rem;"></div> |
| 94 | - <div style="padding: 1rem; position: fixed; bottom: 10px; left:0; right: 0;"> | 94 | + <div style="padding: 1rem; position: sticky; bottom: 10px; left:0; right: 0;"> |
| 95 | <van-button block :color="styleColor.baseColor" @click="onClose">关闭</van-button> | 95 | <van-button block :color="styleColor.baseColor" @click="onClose">关闭</van-button> |
| 96 | </div> | 96 | </div> |
| 97 | </div> | 97 | </div> | ... | ... |
-
Please register or login to post a comment