Remove the unused box-sizing.scss stylesheet and its import from the main SCSS index file. Update all Vue component template class references from the custom border-box class to the native box-border utility class to eliminate redundant custom CSS and align with the project's utility class conventions.
19 lines
451 B
Vue
19 lines
451 B
Vue
<template>
|
|
<view class="container w-full box-border border-ff overflow-hidden rounded-24 flex flex-col">
|
|
<!-- 占位撑开 -->
|
|
<view class="w-vw"></view>
|
|
<view class="flex flex-col m-4 box-border rounded-24">
|
|
<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> |