mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-12-21 15:00:28 +08:00
perf: 使用pnpm lint格式化代码,适配最新版的stylelint规则
This commit is contained in:
@@ -63,12 +63,12 @@ export default defineComponent({
|
||||
<style scoped>
|
||||
.wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
border: 3px dashed rgba(90, 167, 164, 0.9);
|
||||
background-color: rgb(90 167 164 / 20%);
|
||||
border: 3px dashed rgb(90 167 164 / 90%);
|
||||
border-radius: 8px;
|
||||
background-color: rgba(90, 167, 164, 0.2);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -98,13 +98,13 @@ export default defineComponent({
|
||||
<style scoped>
|
||||
.wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
margin-bottom: 30px;
|
||||
border: 3px dashed rgba(90, 167, 164, 0.9);
|
||||
background-color: rgb(90 167 164 / 20%);
|
||||
border: 3px dashed rgb(90 167 164 / 90%);
|
||||
border-radius: 8px;
|
||||
background-color: rgba(90, 167, 164, 0.2);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -60,12 +60,12 @@ export default ExampleSFC;
|
||||
<style scoped>
|
||||
.wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
border: 3px dashed rgba(90, 167, 164, 0.9);
|
||||
background-color: rgb(90 167 164 / 20%);
|
||||
border: 3px dashed rgb(90 167 164 / 90%);
|
||||
border-radius: 8px;
|
||||
background-color: rgba(90, 167, 164, 0.2);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -44,8 +44,8 @@ const onCropper = (): void => {
|
||||
<style scoped>
|
||||
.cropper-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.el-button {
|
||||
|
||||
@@ -110,7 +110,7 @@ function addDanmu() {
|
||||
<el-link
|
||||
href="https://github.com/hellodigua/vue-danmaku/tree/vue3"
|
||||
target="_blank"
|
||||
style="font-size: 16px; margin: 0 4px 5px"
|
||||
style="margin: 0 4px 5px; font-size: 16px"
|
||||
>
|
||||
vue3-danmaku
|
||||
</el-link>
|
||||
@@ -197,10 +197,10 @@ function addDanmu() {
|
||||
align-items: center;
|
||||
|
||||
.img {
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
border-radius: 50%;
|
||||
height: 25px;
|
||||
margin-right: 5px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ onMounted(() => {
|
||||
href="https://sortablejs.github.io/vue.draggable.next/#/simple"
|
||||
target="_blank"
|
||||
:icon="useRenderIcon(Rank)"
|
||||
style="font-size: 16px; margin: 0 4px 5px"
|
||||
style="margin: 0 4px 5px; font-size: 16px"
|
||||
>
|
||||
vuedraggable
|
||||
</el-link>
|
||||
@@ -150,35 +150,36 @@ onMounted(() => {
|
||||
/* grid列表拖拽 */
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 33.3% 33.3% 33.3%;
|
||||
grid-template-rows: 33.3% 33.3% 33.3%;
|
||||
grid-template-columns: 33.3% 33.3% 33.3%;
|
||||
}
|
||||
|
||||
.item-single {
|
||||
font-size: 1.5em;
|
||||
height: 77px;
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
line-height: 85px;
|
||||
border: 1px solid #e5e4e9;
|
||||
text-align: center;
|
||||
cursor: move;
|
||||
border: 1px solid #e5e4e9;
|
||||
}
|
||||
|
||||
.item-cut {
|
||||
font-size: 1.5em;
|
||||
height: 77px;
|
||||
font-size: 1.5em;
|
||||
line-height: 77px;
|
||||
text-align: center;
|
||||
border: 1px solid #e5e4e9;
|
||||
cursor: move;
|
||||
border: 1px solid #e5e4e9;
|
||||
}
|
||||
|
||||
.item {
|
||||
font-size: 2em;
|
||||
text-align: center;
|
||||
line-height: 100px;
|
||||
border: 1px solid #e5e4e9;
|
||||
text-align: center;
|
||||
cursor: move;
|
||||
@media screen and (max-width: 750px) {
|
||||
border: 1px solid #e5e4e9;
|
||||
|
||||
@media screen and (width <= 750px) {
|
||||
line-height: 90px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ watch(
|
||||
<el-link
|
||||
href="https://github.com/leezng/vue-json-pretty"
|
||||
target="_blank"
|
||||
style="font-size: 16px; margin: 0 4px 5px"
|
||||
style="margin: 0 4px 5px; font-size: 16px"
|
||||
>
|
||||
vue-json-pretty
|
||||
</el-link>
|
||||
@@ -91,7 +91,7 @@ watch(
|
||||
<el-link
|
||||
href="https://github.com/surmon-china/vue-codemirror"
|
||||
target="_blank"
|
||||
style="font-size: 16px; margin: 0 4px 5px"
|
||||
style="margin: 0 4px 5px; font-size: 16px"
|
||||
>
|
||||
codemirror6
|
||||
</el-link>
|
||||
|
||||
@@ -125,8 +125,8 @@ function changeDirection(val) {
|
||||
<style lang="scss" scoped>
|
||||
.card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
span {
|
||||
margin-right: 20px;
|
||||
@@ -134,23 +134,23 @@ function changeDirection(val) {
|
||||
}
|
||||
|
||||
.warp {
|
||||
height: 270px;
|
||||
width: 360px;
|
||||
height: 270px;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
list-style: none;
|
||||
|
||||
li,
|
||||
a {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 30px;
|
||||
font-size: 15px;
|
||||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,9 +57,9 @@ $H: 70vh;
|
||||
.split-pane {
|
||||
width: 70vw;
|
||||
height: $H;
|
||||
text-align: center;
|
||||
font-size: 50px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border: 1px solid #e5e6eb;
|
||||
|
||||
.dv-a,
|
||||
@@ -67,8 +67,8 @@ $H: 70vh;
|
||||
.dv-c {
|
||||
width: $W;
|
||||
height: $W;
|
||||
color: rgba($color: dodgerblue, $alpha: 0.8);
|
||||
line-height: $H;
|
||||
color: rgba($color: dodgerblue, $alpha: 80%);
|
||||
}
|
||||
|
||||
.dv-b,
|
||||
@@ -77,11 +77,11 @@ $H: 70vh;
|
||||
}
|
||||
|
||||
.dv-b {
|
||||
color: rgba($color: #000, $alpha: 0.8);
|
||||
color: rgba($color: #000, $alpha: 80%);
|
||||
}
|
||||
|
||||
.dv-c {
|
||||
color: rgba($color: #ce272d, $alpha: 0.8);
|
||||
color: rgba($color: #ce272d, $alpha: 80%);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -42,7 +42,7 @@ onMounted(() => {
|
||||
href="https://v3.h5player.bytedance.com/"
|
||||
target="_blank"
|
||||
:icon="useRenderIcon(VideoPlay)"
|
||||
style="font-size: 16px; margin: 0 4px 5px"
|
||||
style="margin: 0 4px 5px; font-size: 16px"
|
||||
>
|
||||
西瓜播放器
|
||||
</el-link>
|
||||
|
||||
Reference in New Issue
Block a user