提交 a9201c79 authored 作者: junjie's avatar junjie

feat(frontend):i18n fix;run build 样式冲突 fix后测试

上级 e8e8a9c3
<template> <template>
<div style="width: 100%;height: 100%;"> <div style="width: 100%;height: 100vh;">
<span style="line-height: 35px; position: absolute; top:10px;right: 20px;z-index:100000"> <span style="line-height: 35px; position: absolute; top:10px;right: 20px;z-index:100000">
<el-button size="mini" @click="toDir"> <el-button size="mini" @click="toDir">
关闭 关闭
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<div class="toolbar"> <div class="toolbar">
<div class="canvas-config"> <div class="canvas-config">
<span> {{ $t(panel.canvas_size)}} </span> <span> {{ $t('panel.canvas_size') }} </span>
<input v-model="canvasStyleData.width"> <input v-model="canvasStyleData.width">
<span>*</span> <span>*</span>
<input v-model="canvasStyleData.height"> <input v-model="canvasStyleData.height">
</div> </div>
<div class="canvas-config" style="margin-right: 10px"> <div class="canvas-config" style="margin-right: 10px">
<span> {{ $t(panel.canvas_scale)}} </span> <span> {{ $t('panel.canvas_scale') }} </span>
<input v-model="scale" @input="handleScaleChange"> % <input v-model="scale" @input="handleScaleChange"> %
</div> </div>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<span style="float: right;margin-left: 10px"> <span style="float: right;margin-left: 10px">
<el-button size="mini" @click="closePanelEdit"> <el-button size="mini" @click="closePanelEdit">
{{ $t(commons.close) }} {{ $t('commons.close') }}
</el-button> </el-button>
</span> </span>
</div> </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div v-loading="requestStatus==='waiting'" class="rect-shape"> <div v-loading="requestStatus==='waiting'" class="rect-shape">
<div v-if="requestStatus==='error'" style=";width: 100%;height: 100%;background-color: #ece7e7; text-align: center"> <div v-if="requestStatus==='error'" style=";width: 100%;height: 100%;background-color: #ece7e7; text-align: center">
<div style="font-size: 12px; color: #9ea6b2;"> <div style="font-size: 12px; color: #9ea6b2;">
{{ $t(panel.error_data) }}<br> {{ $t('panel.error_data') }}<br>
{{ message }} {{ message }}
</div> </div>
</div> </div>
......
...@@ -73,8 +73,8 @@ export default { ...@@ -73,8 +73,8 @@ export default {
size: 'Global Size' size: 'Global Size'
}, },
login: { login: {
title: 'Login Form', title: 'Login',
welcome: 'welcome To ', welcome: 'Welcome To ',
logIn: 'Login', logIn: 'Login',
username: 'Username', username: 'Username',
password: 'Password', password: 'Password',
......
...@@ -852,7 +852,7 @@ export default { ...@@ -852,7 +852,7 @@ export default {
field: '字段', field: '字段',
unshared_people: '未分享人员', unshared_people: '未分享人员',
shared_people: '已分享人员', shared_people: '已分享人员',
error_data: '获取数据出错 请联系管理员 Error getting data, please contact administrator', error_data: '获取数据出错,请联系管理员',
canvas_size: '画布大小', canvas_size: '画布大小',
canvas_scale: '画布比例', canvas_scale: '画布比例',
style: '样式', style: '样式',
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</template> </template>
<el-dropdown class="top-dropdown" style="display: flex;align-items: center;"> <el-dropdown class="top-dropdown" style="display: flex;align-items: center;">
<span class="el-dropdown-link" style="font-size: 13px;"> <span class="el-dropdown-link" style="font-size: 14px;">
{{ name }}<i class="el-icon-arrow-down el-icon--right" /> {{ name }}<i class="el-icon-arrow-down el-icon--right" />
</span> </span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
body { body {
height: $contentHeight; //height: $contentHeight;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
...@@ -30,7 +30,7 @@ html { ...@@ -30,7 +30,7 @@ html {
} }
#app { #app {
height: $contentHeight; //height: $contentHeight;
} }
*, *,
......
...@@ -42,7 +42,7 @@ $subMenuHover:#f18126; ...@@ -42,7 +42,7 @@ $subMenuHover:#f18126;
$sideBarWidth: 210px; $sideBarWidth: 210px;
$topBarHeight: 56px; $topBarHeight: 56px;
$contentHeight: 100vh; $contentHeight: calc(100vh - 56px);
// the :export directive is the magic sauce for webpack // the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</div> </div>
<div class="login-btn"> <div class="login-btn">
<el-button type="primary" class="submit" size="default" @click.native.prevent="handleLogin"> <el-button type="primary" class="submit" size="default" @click.native.prevent="handleLogin">
{{ $t('commons.button.login') }} {{ $t('commons.login') }}
</el-button> </el-button>
</div> </div>
<div class="login-msg"> <div class="login-msg">
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
.login-background { .login-background {
background-color: $--background-color-base; background-color: $--background-color-base;
height: 100%; height: 100vh;
@include login-center; @include login-center;
} }
......
...@@ -115,7 +115,7 @@ import { get } from '@/api/panel/panel' ...@@ -115,7 +115,7 @@ import { get } from '@/api/panel/panel'
// 引入样式 // 引入样式
import '@/components/canvas/assets/iconfont/iconfont.css' import '@/components/canvas/assets/iconfont/iconfont.css'
import '@/components/canvas/styles/animate.css' import '@/components/canvas/styles/animate.css'
import '@/components/canvas/styles/reset.css' // import '@/components/canvas/styles/reset.css'
import { ApplicationContext } from '@/utils/ApplicationContext' import { ApplicationContext } from '@/utils/ApplicationContext'
import FilterDialog from '../filter/filterDialog' import FilterDialog from '../filter/filterDialog'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论