📝: 更新文档
This commit is contained in:
parent
649c0ace92
commit
7ee17661ce
@ -137,12 +137,8 @@ function handleScroll() {
|
|||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
border: 1px solid whitesmoke;
|
border: 1px solid whitesmoke;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: var(--c-bg);
|
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
}
|
}
|
||||||
.lay-code:hover {
|
|
||||||
box-shadow: var(--shadow-2);
|
|
||||||
}
|
|
||||||
.lay-code .source {
|
.lay-code .source {
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
@ -150,7 +146,6 @@ function handleScroll() {
|
|||||||
.lay-code .meta {
|
.lay-code .meta {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
height: 0;
|
height: 0;
|
||||||
background-color: var(--c-page-background);
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: height 0.2s;
|
transition: height 0.2s;
|
||||||
}
|
}
|
||||||
@ -160,10 +155,8 @@ function handleScroll() {
|
|||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
border: 1px solid whitesmoke;
|
border: 1px solid whitesmoke;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: var(--c-bg);
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: var(--c-text-light-1);
|
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
.lay-code .source .description p {
|
.lay-code .source .description p {
|
||||||
@ -179,7 +172,6 @@ function handleScroll() {
|
|||||||
background-color: rgba(27, 31, 35, 0.05);
|
background-color: rgba(27, 31, 35, 0.05);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
color: var(--c-text-light);
|
|
||||||
}
|
}
|
||||||
.lay-code .control {
|
.lay-code .control {
|
||||||
height: 44px;
|
height: 44px;
|
||||||
@ -188,9 +180,8 @@ function handleScroll() {
|
|||||||
border-top: 1px solid whitesmoke;
|
border-top: 1px solid whitesmoke;
|
||||||
border-bottom-left-radius: 4px;
|
border-bottom-left-radius: 4px;
|
||||||
border-bottom-right-radius: 4px;
|
border-bottom-right-radius: 4px;
|
||||||
background: var(--c-bg);
|
background-color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: var(--c-text);
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@ -200,10 +191,6 @@ function handleScroll() {
|
|||||||
z-index: 11;
|
z-index: 11;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
.lay-code .control:hover {
|
|
||||||
background-color: var(--c-page-background);
|
|
||||||
color: var(--c-brand);
|
|
||||||
}
|
|
||||||
.lay-code .control > i {
|
.lay-code .control > i {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
::: demo 使用 `lay-input` 标签, 创建输入框
|
::: demo 使用 `lay-input` 标签, 创建输入框
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
{{ data1 }}
|
|
||||||
<lay-input v-model="data1"></lay-input>
|
<lay-input v-model="data1"></lay-input>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<lay-card>
|
<lay-card>
|
||||||
<lay-row>
|
<lay-row>
|
||||||
<lay-col md="2">
|
<lay-col md="2">
|
||||||
<lay-avatar src="https://portrait.gitee.com/uploads/avatars/user/702/2106738_wanglin300_1639442830.png!avatar200"></lay-avatar>
|
<lay-avatar src="https://portrait.gitee.com/uploads/avatars/user/702/2106738_wanglin300_1639442830.png"></lay-avatar>
|
||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col md="3">
|
<lay-col md="3">
|
||||||
halo
|
halo
|
||||||
@ -103,7 +103,7 @@
|
|||||||
<lay-card>
|
<lay-card>
|
||||||
<lay-row>
|
<lay-row>
|
||||||
<lay-col md="2">
|
<lay-col md="2">
|
||||||
<lay-avatar src="https://portrait.gitee.com/uploads/avatars/user/2596/7789823_finalsummer_1613993823.png!avatar200"></lay-avatar>
|
<lay-avatar src="https://portrait.gitee.com/uploads/avatars/user/2596/7789823_finalsummer_1613993823.png"></lay-avatar>
|
||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col md="3">
|
<lay-col md="3">
|
||||||
finalsummer
|
finalsummer
|
||||||
|
@ -131,7 +131,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return `
|
return `
|
||||||
<lay-code>
|
<lay-code>
|
||||||
${description ? `<template #description>${descTemplate}</template>` : ""}
|
${description ? `<template #description>${descTemplate}</template>` : ""}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user