chore: stylelint(use pnpm lint:style)

This commit is contained in:
xingyu
2023-08-04 21:33:00 +08:00
parent 71a874dfb4
commit 784a1be8a1
31 changed files with 296 additions and 149 deletions

View File

@ -300,12 +300,12 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
:deep(.el-button.is-text) {
margin-left: 0;
padding: 8px 4px;
margin-left: 0;
}
:deep(.el-button.is-link) {
margin-left: 0;
padding: 8px 4px;
margin-left: 0;
}
</style>

View File

@ -147,10 +147,10 @@ const listToString = (list: UploadUserFile[], separator?: string) => {
}
:deep(.upload-file-list .el-upload-list__item) {
border: 1px solid #e4e7ed;
line-height: 2;
margin-bottom: 10px;
position: relative;
margin-bottom: 10px;
line-height: 2;
border: 1px solid #e4e7ed;
}
:deep(.el-upload-list__item-file-name) {

View File

@ -229,16 +229,16 @@ const uploadError = () => {
position: absolute;
top: 0;
right: 0;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
cursor: pointer;
background: rgb(0 0 0 / 60%);
opacity: 0;
box-sizing: border-box;
transition: var(--el-transition-duration-fast);
align-items: center;
justify-content: center;
.handle-icon {
display: flex;

View File

@ -248,16 +248,16 @@ const handlePictureCardPreview: UploadProps['onPreview'] = (uploadFile) => {
position: absolute;
top: 0;
right: 0;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
cursor: pointer;
background: rgb(0 0 0 / 60%);
opacity: 0;
box-sizing: border-box;
transition: var(--el-transition-duration-fast);
align-items: center;
justify-content: center;
.handle-icon {
display: flex;

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,7 @@
ref="canvas"
:src="'data:image/png;base64,' + pointBackImgBase"
alt=""
style="width: 100%; height: 100%; display: block"
style="display: block; width: 100%; height: 100%"
@click="bindingClick ? canvasClick($event) : undefined"
/>

View File

@ -9,7 +9,7 @@
<img
:src="'data:image/png;base64,' + backImgBase"
alt=""
style="width: 100%; height: 100%; display: block"
style="display: block; width: 100%; height: 100%"
/>
<div v-show="showRefresh" class="verify-refresh" @click="refresh">
<i class="iconfont icon-refresh"></i>
@ -63,7 +63,7 @@
<img
:src="'data:image/png;base64,' + blockBackImgBase"
alt=""
style="width: 100%; height: 100%; display: block; -webkit-user-drag: none"
style="display: block; width: 100%; height: 100%; -webkit-user-drag: none"
/>
</div>
</div>

View File

@ -39,12 +39,12 @@ const getBindValue = computed(() => {
</template>
<style lang="scss" scoped>
:deep(.el-button.is-text) {
margin-left: 0;
padding: 8px 4px;
margin-left: 0;
}
:deep(.el-button.is-link) {
margin-left: 0;
padding: 8px 4px;
margin-left: 0;
}
</style>

View File

@ -38,12 +38,12 @@ const getBindValue = computed(() => {
</template>
<style lang="scss" scoped>
:deep(.el-button.is-text) {
margin-left: 0;
padding: 8px 4px;
margin-left: 0;
}
:deep(.el-button.is-link) {
margin-left: 0;
padding: 8px 4px;
margin-left: 0;
}
</style>

View File

@ -1,6 +1,6 @@
<template>
<div class="my-process-designer">
<div class="my-process-designer__header" style="display: table-row-group; z-index: 999">
<div class="my-process-designer__header" style="z-index: 999; display: table-row-group">
<slot name="control-header"></slot>
<template v-if="!$slots['control-header']">
<ElButtonGroup key="file-control">

View File

@ -565,11 +565,11 @@ watch(
}
.element-overlays {
box-sizing: border-box;
width: 200px;
padding: 8px;
color: #fafafa;
background: rgb(0 0 0 / 60%);
border-radius: 4px;
color: #fafafa;
width: 200px;
box-sizing: border-box;
}
</style>

View File

@ -31,15 +31,15 @@ const addTask = (event, options: any = {}) => {
<style scoped lang="scss">
.my-process-palette {
box-sizing: border-box;
padding: 80px 20px 20px;
box-sizing: border-box;
.test-button {
box-sizing: border-box;
padding: 8px 16px;
border-radius: 4px;
border: 1px solid rgb(24 144 255 / 80%);
cursor: pointer;
border: 1px solid rgb(24 144 255 / 80%);
border-radius: 4px;
box-sizing: border-box;
}
}
</style>