perf: perf style (#89)

perf: perf style
This commit is contained in:
一万
2021-10-31 20:24:57 +08:00
committed by GitHub
parent 0fb7b5e983
commit 9ddf449ea7
20 changed files with 161 additions and 166 deletions

View File

@@ -5,7 +5,7 @@ import menuDynamic from "./menuDynamic.vue";
</script>
<template>
<div style="margin: 10px">
<div>
<el-row :gutter="24">
<el-col :xs="24" :sm="10" :md="10" :lg="8" :xl="10">
<!-- 基本使用 -->

View File

@@ -3,7 +3,7 @@ import { ReNormalCountTo, ReboundCountTo } from "/@/components/ReCountTo";
</script>
<template>
<div style="margin: 10px">
<div>
<el-row :gutter="24">
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
<el-card shadow="always">

View File

@@ -25,7 +25,7 @@ const onCropper = (): void => {
</script>
<template>
<div style="margin: 10px">
<div>
<div class="cropper-container">
<Cropper ref="refCropper" :width="'40vw'" :src="img" />
<img :src="cropperImg" class="croppered" v-if="cropperImg" />

View File

@@ -3,14 +3,11 @@ import { Amap } from "/@/components/ReMap";
</script>
<template>
<div class="map">
<Amap />
</div>
<Amap />
</template>
<style scoped>
.map {
width: 100%;
height: 89vh;
.main-content {
margin: 0;
}
</style>

View File

@@ -110,10 +110,6 @@ function changeDirection(val) {
</template>
<style lang="scss" scoped>
.box-card {
margin: 10px;
}
.card-header {
display: flex;
justify-content: space-between;

View File

@@ -23,12 +23,7 @@ const selectedVal = ({ left, right }): void => {
<template>
<div>
<el-card
class="box-card"
style="margin: 10px"
v-for="(item, key) in dataLists"
:key="key"
>
<el-card class="box-card" v-for="(item, key) in dataLists" :key="key">
<template #header>
<div class="card-header">
<span>{{ item.title }}</span>
@@ -44,3 +39,9 @@ const selectedVal = ({ left, right }): void => {
</el-card>
</div>
</template>
<style scoped>
.el-card {
margin-bottom: 10px;
}
</style>

View File

@@ -41,12 +41,11 @@ const settingTB: ContextProps = reactive({
<style lang="scss" scoped>
$W: 100%;
$H: 80vh;
$H: 70vh;
.split-pane {
width: 98%;
width: 70vw;
height: $H;
margin-top: 5px;
text-align: center;
font-size: 50px;
color: #fff;