Delete the src/static/scss/margin.scss utility file, update all component templates to replace pre-defined margin classes with inline arbitrary pixel values (e.g. mb-[4px] instead of mb-4), and clean up long template lines for better readability.
19 lines
441 B
Vue
19 lines
441 B
Vue
<template>
|
|
<view class="container w-full border-ff overflow-hidden rounded-[24px] flex flex-col">
|
|
<!-- 占位撑开 -->
|
|
<view class="w-vw"></view>
|
|
<view class="flex flex-col m-[4px] rounded-[24px]">
|
|
<slot name="content"></slot>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
</script>
|
|
|
|
<style scoped>
|
|
.container {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0px 9px 34px 0px rgba(27, 9, 91, 0.07);
|
|
}
|
|
</style> |