forked from mt-fe-group/mt-yd-ui
'update新图标、新样式'
This commit is contained in:
parent
5798e5b6e0
commit
2f4e9f31cd
BIN
src/assets/img/logo2.png
Normal file
BIN
src/assets/img/logo2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
src/assets/img/logo3.png
Normal file
BIN
src/assets/img/logo3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 63 KiB |
@ -292,7 +292,7 @@ img {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
height: $navbar--height;
|
height: $navbar--height;
|
||||||
background-color: #409EFF;
|
background-color: #0b58ff;
|
||||||
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
|
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
|
||||||
}
|
}
|
||||||
&--colorful {
|
&--colorful {
|
||||||
|
@ -121,7 +121,7 @@ const title = {
|
|||||||
// 或者也可以改造成自定义颜色:
|
// 或者也可以改造成自定义颜色:
|
||||||
const btnType = {
|
const btnType = {
|
||||||
add :'#0b58ff',
|
add :'#0b58ff',
|
||||||
save: '#0b58ff',
|
save: '#000',
|
||||||
update: '#0b58ff',
|
update: '#0b58ff',
|
||||||
reset: ''
|
reset: ''
|
||||||
// cancel: 'text'
|
// cancel: 'text'
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* @Author: fzq
|
* @Author: fzq
|
||||||
* @Date: 2023-01-06 15:49:50
|
* @Date: 2023-01-06 15:49:50
|
||||||
* @LastEditors: fzq
|
* @LastEditors: fzq
|
||||||
* @LastEditTime: 2023-01-13 16:46:13
|
* @LastEditTime: 2023-01-16 10:18:25
|
||||||
*/
|
*/
|
||||||
import i18n from '@/i18n'
|
import i18n from '@/i18n'
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
:header-cell-style="{ background: '#FAFAFA', color: '#000', height: '40px' }"
|
:header-cell-style="{ background: '#FAFAFA', color: '#000', height: '40px' }"
|
||||||
:max-height="maxHeight"
|
:max-height="maxHeight"
|
||||||
:span-method="spanMethod || null"
|
:span-method="spanMethod || null"
|
||||||
:row-style="{ height: '20px' }"
|
:row-style="{ height: '40px' }"
|
||||||
:cell-style="{ padding: '0px' }">
|
:cell-style="{ padding: '0px' }">
|
||||||
<!-- 表格头定义 -->
|
<!-- 表格头定义 -->
|
||||||
<!-- in tableHeadConfigs -->
|
<!-- in tableHeadConfigs -->
|
||||||
|
@ -72,7 +72,7 @@ t.andeng.btnVal = 'Button Value'
|
|||||||
t.andeng.btnBoxModel = 'Button Box Model'
|
t.andeng.btnBoxModel = 'Button Box Model'
|
||||||
|
|
||||||
|
|
||||||
t.copyright = 'Intelligent Automation Research Institute Co., Ltd'
|
t.copyright = 'VISHAKHA glass pvt Ltd'
|
||||||
t.dictValueList = 'View Details'
|
t.dictValueList = 'View Details'
|
||||||
t.save = 'Save'
|
t.save = 'Save'
|
||||||
t.add = 'Add'
|
t.add = 'Add'
|
||||||
@ -147,6 +147,12 @@ t.startTime = 'Start Time'
|
|||||||
t.endTime = 'End Time'
|
t.endTime = 'End Time'
|
||||||
t.today = 'Today'
|
t.today = 'Today'
|
||||||
t.time = 'Time'
|
t.time = 'Time'
|
||||||
|
t.eqId = 'Current Equipment ID:'
|
||||||
|
t.ti = 'Time'
|
||||||
|
t.plcCode = 'PLC Code'
|
||||||
|
t.equName = 'Equipment Name'
|
||||||
|
t.equCode = 'Equipment Code'
|
||||||
|
|
||||||
|
|
||||||
t.graph = 'Graph'
|
t.graph = 'Graph'
|
||||||
t.category = 'Category'
|
t.category = 'Category'
|
||||||
@ -444,7 +450,8 @@ t.login.username = 'Username'
|
|||||||
t.login.password = 'Password'
|
t.login.password = 'Password'
|
||||||
t.login.captcha = 'Captcha'
|
t.login.captcha = 'Captcha'
|
||||||
t.login.demo = 'Demo'
|
t.login.demo = 'Demo'
|
||||||
t.login.copyright = 'Copyright @Intelligent Automation Research Institute Co., Ltd Version: 1.0'
|
// t.login.copyright = 'Copyright @Intelligent Automation Research Institute Co., Ltd Version: 1.0'
|
||||||
|
t.login.copyright = 'Copyright @VISHAKHA glass pvt Ltd Version: 1.0'
|
||||||
t.login.warning = 'Already Login!'
|
t.login.warning = 'Already Login!'
|
||||||
|
|
||||||
t.schedule = {}
|
t.schedule = {}
|
||||||
|
@ -72,7 +72,7 @@ t.andeng.btnVal = '按钮值'
|
|||||||
t.andeng.btnBoxModel = '按钮盒模式'
|
t.andeng.btnBoxModel = '按钮盒模式'
|
||||||
|
|
||||||
|
|
||||||
t.copyright = '中建材智能自动化研究院有限公司'
|
t.copyright = 'VISHAKHA glass pvt Ltd'
|
||||||
t.dictValueList = '查看值列表'
|
t.dictValueList = '查看值列表'
|
||||||
t.save = '保存'
|
t.save = '保存'
|
||||||
t.add = '新增' // 1
|
t.add = '新增' // 1
|
||||||
@ -148,6 +148,11 @@ t.endTime = '结束时间' // 1
|
|||||||
t.to = '至' // 1
|
t.to = '至' // 1
|
||||||
t.today = '今天' // 1
|
t.today = '今天' // 1
|
||||||
t.time = '选择时间'
|
t.time = '选择时间'
|
||||||
|
t.eqId = '当前设备ID:'
|
||||||
|
t.ti = '时间'
|
||||||
|
t.plcCode = 'PLC 编码'
|
||||||
|
t.equName = '设备名称'
|
||||||
|
t.equCode = '设备编码'
|
||||||
|
|
||||||
t.graph = '图形'
|
t.graph = '图形'
|
||||||
t.category = '分类'
|
t.category = '分类'
|
||||||
@ -444,7 +449,8 @@ t.login.username = '用户名'
|
|||||||
t.login.password = '密码'
|
t.login.password = '密码'
|
||||||
t.login.captcha = '验证码'
|
t.login.captcha = '验证码'
|
||||||
t.login.demo = '在线演示'
|
t.login.demo = '在线演示'
|
||||||
t.login.copyright = '版权所有:中建材智能自动化研究院有限公司 版本: 1.0'
|
// t.login.copyright = '版权所有:中建材智能自动化研究院有限公司 版本: 1.0'
|
||||||
|
t.login.copyright = '版权所有:VISHAKHA glass pvt Ltd 版本: 1.0'
|
||||||
t.login.warning = '已经登录过了'
|
t.login.warning = '已经登录过了'
|
||||||
|
|
||||||
t.schedule = {}
|
t.schedule = {}
|
||||||
|
@ -19,7 +19,8 @@ const http = axios.create({
|
|||||||
* 请求拦截
|
* 请求拦截
|
||||||
*/
|
*/
|
||||||
http.interceptors.request.use(config => {
|
http.interceptors.request.use(config => {
|
||||||
config.headers['Accept-Language'] = Cookies.get('language') || 'zh-CN'
|
// config.headers['Accept-Language'] = Cookies.get('language') || 'zh-CN'
|
||||||
|
config.headers['Accept-Language'] = Cookies.get('language') || 'en'
|
||||||
config.headers['token'] = Cookies.get('token') || ''
|
config.headers['token'] = Cookies.get('token') || ''
|
||||||
// 默认参数
|
// 默认参数
|
||||||
var defaults = {}
|
var defaults = {}
|
||||||
@ -59,6 +60,7 @@ http.interceptors.response.use(response => {
|
|||||||
router.replace({ name: 'login' })
|
router.replace({ name: 'login' })
|
||||||
return Promise.reject(response.data.msg)
|
return Promise.reject(response.data.msg)
|
||||||
}
|
}
|
||||||
|
// 下三行注释掉
|
||||||
// else if (response.data.code === 500) {
|
// else if (response.data.code === 500) {
|
||||||
// return Promise.reject(response.data.msg)
|
// return Promise.reject(response.data.msg)
|
||||||
// }
|
// }
|
||||||
|
@ -10,14 +10,14 @@
|
|||||||
<h1 class="aui-navbar__brand" @click="$router.push({ name: 'home' })">
|
<h1 class="aui-navbar__brand" @click="$router.push({ name: 'home' })">
|
||||||
<a class="aui-navbar__brand-lg" href="javascript:;">
|
<a class="aui-navbar__brand-lg" href="javascript:;">
|
||||||
<!-- 36px -->
|
<!-- 36px -->
|
||||||
<img src="../assets/img/cnbm.png" style="width: 26px; height: 26px; position: relative; top: -0.075em; margin-right: 12px" alt="" />
|
<img src="../assets/img/logo2.png" style="width: 30.8px; height: 26px; position: relative; top: -0.075em; margin-right: 12px" alt="" />
|
||||||
{{ $t('brand.lg') }}
|
{{ $t('brand.lg') }}
|
||||||
</a>
|
</a>
|
||||||
<!-- <a class="aui-navbar__brand-mini" href="javascript:;">{{ $t('brand.mini') }}</a> -->
|
<!-- <a class="aui-navbar__brand-mini" href="javascript:;">{{ $t('brand.mini') }}</a> -->
|
||||||
<!-- 缩放时LOGO -->
|
<!-- 缩放时LOGO -->
|
||||||
<!-- <a class="aui-navbar__brand-mini" href="javascript:;"> -->
|
<!-- <a class="aui-navbar__brand-mini" href="javascript:;"> -->
|
||||||
<a class="aui-navbar__brand-mini" href="javascript:;">
|
<a class="aui-navbar__brand-mini" href="javascript:;">
|
||||||
<img src="../assets/img/cnbm.png" style="width: 26px; height: 26px; position: relative; top: 0em" alt="" />
|
<img src="../assets/img/logo2.png" style="width: 30.8px; height: 26px; position: relative; top: 0em" alt="" />
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
@ -133,7 +133,8 @@
|
|||||||
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
|
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
|
||||||
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
|
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
|
||||||
}">
|
}">
|
||||||
<a href="Lodap.zip"
|
<!-- href="Lodap.zip" -->
|
||||||
|
<a
|
||||||
><svg
|
><svg
|
||||||
:style="this.$route.meta.hiddenSiderbar !== true ? 'color: #000' : 'color: #fff'"
|
:style="this.$route.meta.hiddenSiderbar !== true ? 'color: #000' : 'color: #fff'"
|
||||||
style="width: 24px; height: 24px; vertical-align: -7px"
|
style="width: 24px; height: 24px; vertical-align: -7px"
|
||||||
@ -149,7 +150,8 @@
|
|||||||
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
|
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
|
||||||
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
|
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
|
||||||
}">
|
}">
|
||||||
<a href="google.exe">
|
<!-- href="google.exe" -->
|
||||||
|
<a >
|
||||||
<!-- <svg-icon style="width: 24px; height: 24px; vertical-align: -7px" icon-class="chrome" /></a> -->
|
<!-- <svg-icon style="width: 24px; height: 24px; vertical-align: -7px" icon-class="chrome" /></a> -->
|
||||||
<svg v-if="this.$route.meta.hiddenSiderbar" style="color: #fff; width: 24px; height: 24px; vertical-align: -7px">
|
<svg v-if="this.$route.meta.hiddenSiderbar" style="color: #fff; width: 24px; height: 24px; vertical-align: -7px">
|
||||||
<use xlink:href="#chrome2"></use>
|
<use xlink:href="#chrome2"></use>
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="mod-config">
|
<div class="mod-config">
|
||||||
<el-form :inline="true">
|
<el-form :inline="true" class="blueTip" size="small">
|
||||||
<el-form-item :label="'当前设备id'">
|
<el-form-item :label="$t('eqId')">
|
||||||
<strong>{{ $route.params.id }}</strong></el-form-item
|
<strong>{{ $route.params.id }}</strong></el-form-item
|
||||||
>
|
>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<!-- <base-table :page="pageIndex" :size="pageSize" :data="dataList" :table-head-configs="tableConfigs" :max-height="calcMaxHeight(8)" @operate-event="handleOperations" @refreshDataList="getDataList" /> -->
|
<!-- <base-table :page="pageIndex" :size="pageSize" :data="dataList" :table-head-configs="tableConfigs" :max-height="calcMaxHeight(8)" @operate-event="handleOperations" @refreshDataList="getDataList" /> -->
|
||||||
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="calcMaxHeight(8)" />
|
<base-table
|
||||||
|
:data="dataList"
|
||||||
|
:table-head-configs="tableConfigs"
|
||||||
|
:max-height="calcMaxHeight(8)" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -77,10 +80,10 @@ export default {
|
|||||||
type: 'index',
|
type: 'index',
|
||||||
name: i18n.t('index')
|
name: i18n.t('index')
|
||||||
},
|
},
|
||||||
{ prop: 'time', name: '时间', filter: timeFilter },
|
{ prop: 'time', name: this.$t('ti'), filter: timeFilter },
|
||||||
{ prop: 'plcCode', name: 'PLC 编码' },
|
{ prop: 'plcCode', name: this.$t('plcCode') },
|
||||||
{ prop: 'equName', name: '设备名称' },
|
{ prop: 'equName', name: this.$t('equName') },
|
||||||
{ prop: 'equCode', name: '设备编码' },
|
{ prop: 'equCode', name: this.$t('equCode') },
|
||||||
// ...['数值1', '数值2', '数值3'].map(name => {
|
// ...['数值1', '数值2', '数值3'].map(name => {
|
||||||
// return { prop: name, name }
|
// return { prop: name, name }
|
||||||
// })
|
// })
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
<h3 class="title" :title="$t('brand.lg')">
|
<h3 class="title" :title="$t('brand.lg')">
|
||||||
<img src="../../assets/img/cnbm.png" style="width: 1em; height: 1em; position: relative; top: 0em; margin-right: 12px" alt="">
|
<img src="../../assets/img/logo2.png" style="width: 43.7px; height: 36.9px; position: relative; top: -0.05em; margin-right: 5px" alt="">
|
||||||
{{ $t('brand.lg') }}
|
{{ $t('brand.lg') }}
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user