优化代码
This commit is contained in:
@@ -114,6 +114,11 @@ export default {
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 400px) {
|
||||||
|
right: 1.5rem;
|
||||||
|
bottom: 1.5rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btns-inner {
|
.btns-inner {
|
||||||
@@ -139,7 +144,7 @@ export default {
|
|||||||
.btn {
|
.btn {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
width: 3.2rem;
|
width: 3.2rem;
|
||||||
height: 3.2rem;
|
height: 3.2rem;
|
||||||
background-color: @colorPrimary;
|
background-color: @colorPrimary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -207,12 +212,3 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
|
||||||
@media screen and (max-width: 400px) {
|
|
||||||
.floating-btn {
|
|
||||||
right: 1.5rem;
|
|
||||||
bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
@@ -158,9 +158,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.tool-elem {
|
.content {
|
||||||
.content {
|
max-width: 30rem;
|
||||||
max-width: 30rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@@ -70,26 +70,24 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.tool-elem {
|
.content {
|
||||||
.content {
|
max-width: 40rem;
|
||||||
max-width: 40rem;
|
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 5rem;
|
width: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input {
|
.el-input {
|
||||||
margin: 0 0.5rem;
|
margin: 0 0.5rem;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@@ -93,7 +93,7 @@ export default {
|
|||||||
window.eval(this.input.value);
|
window.eval(this.input.value);
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
||||||
let time = new Date();
|
let time = new Date();
|
||||||
|
|
||||||
output.id += 1;
|
output.id += 1;
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<!-- 内容 -->
|
<!-- 内容 -->
|
||||||
<el-main class="home-content">
|
<el-main class="home-content">
|
||||||
<div class="wrapper">
|
<div class="wrapper" @contextmenu.prevent>
|
||||||
|
|
||||||
<!-- 搜索引擎 -->
|
<!-- 搜索引擎 -->
|
||||||
<div v-show="show.searchEngine" class="search-engine">
|
<div v-show="show.searchEngine" class="search-engine">
|
||||||
|
@@ -179,7 +179,7 @@ export default {
|
|||||||
|
|
||||||
.category {
|
.category {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: top;
|
align-items: flex-start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@@ -56,7 +56,7 @@ export default {
|
|||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.tools-detail {
|
.tools-detail {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: top;
|
align-items: flex-start;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/deep/ .tool-elem {
|
/deep/ .tool-elem {
|
||||||
|
Reference in New Issue
Block a user