parent
c37737032d
commit
5b07839cf6
@ -0,0 +1,34 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="bkg">
|
||||
<view class="top">
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 750 320"
|
||||
preserveAspectRatio="xMinYMin meet">
|
||||
<path d="m 0 0 L 0 254 C 264 172 ,590 404, 750 282 L 750 0 z" fill="red"></path>
|
||||
</svg>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.bkg {
|
||||
|
||||
position: fixed;
|
||||
inset: 0 0 0 0;
|
||||
|
||||
.top {
|
||||
height: 24vh;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in new issue