3 changed files with 53 additions and 60 deletions
-
46src/views/graphite/components/TakePickture.vue
-
5src/views/graphite/components/index.ts
-
62src/views/graphite/index.vue
@ -1,46 +0,0 @@ |
|||
<template> |
|||
<div class="picture"> |
|||
<div class="area_btn"> |
|||
<img :src="PhotoSvg" class="photo_icon" /> |
|||
拍照 |
|||
</div> |
|||
</div> |
|||
</template> |
|||
<script lang="ts" setup> |
|||
import PhotoSvg from "@/assets/photo_icon.svg"; |
|||
</script> |
|||
<style lang="scss" scoped> |
|||
.picture { |
|||
margin-top: 3.25rem; |
|||
position: relative; |
|||
height: 0; |
|||
padding: 0; |
|||
padding-bottom: 75%; |
|||
|
|||
background-image: url("@/assets/picture.svg"); |
|||
background-repeat: no-repeat; |
|||
background-size: cover; |
|||
|
|||
border-radius: 0.5rem; |
|||
.area_btn { |
|||
position: absolute; |
|||
width: 100%; |
|||
bottom: 0; |
|||
height: 3.875rem; |
|||
|
|||
background: rgba(255, 255, 255, 0.5); |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
font-size: 1.375rem; |
|||
font-weight: bold; |
|||
color: #ffffff; |
|||
gap: 10px; |
|||
|
|||
.photo_icon { |
|||
width: 1.625rem; |
|||
height: 1.125rem; |
|||
} |
|||
} |
|||
} |
|||
</style> |
@ -1,5 +0,0 @@ |
|||
|
|||
export {default as HeatPosition} from './HeatPosition.vue' |
|||
export {default as TakePickture} from './TakePickture.vue' |
|||
//@ts-ignore
|
|||
export {default as AddLiquid} from './AddLiquid.vue' |
Write
Preview
Loading…
Cancel
Save
Reference in new issue