集成 prettier 插件, 新增 npm run lint:prettier 命令
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
.layui-elem-quote {
|
||||
margin-bottom: 10px;
|
||||
padding: 15px;
|
||||
line-height: 1.6;
|
||||
border-left: 5px solid #5fb878;
|
||||
border-radius: 0 2px 2px 0;
|
||||
background-color: #fafafa;
|
||||
margin-bottom: 10px;
|
||||
padding: 15px;
|
||||
line-height: 1.6;
|
||||
border-left: 5px solid #5fb878;
|
||||
border-radius: 0 2px 2px 0;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.layui-quote-nm {
|
||||
border-style: solid;
|
||||
border-width: 1px 1px 1px 5px;
|
||||
background: 0 0;
|
||||
}
|
||||
border-style: solid;
|
||||
border-width: 1px 1px 1px 5px;
|
||||
background: 0 0;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
|
||||
<script setup lang="ts">
|
||||
import { defineProps } from "vue";
|
||||
import "./index.less"
|
||||
import "./index.less";
|
||||
|
||||
const props = defineProps<{
|
||||
nm?: boolean;
|
||||
@@ -17,4 +17,4 @@ const props = defineProps<{
|
||||
<blockquote class="layui-elem-quote" :class="{ 'layui-quote-nm': nm }">
|
||||
<slot />
|
||||
</blockquote>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user