Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
周志凯
/
read-space-proj
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 360cf225
authored
Jun 08, 2020
by
周志凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
styles: read-space version 1.0
1 parent
2c6a8bc5
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
14 deletions
src/assets/i18n/i18n.js
src/assets/i18n/langs/zh_CN.js
src/main.js
src/views/Management/DeviceSearch/device-search.vue
src/views/home.vue
src/views/login/login.vue
src/assets/i18n/i18n.js
View file @
360cf22
...
...
@@ -12,7 +12,7 @@ var lang = ['zh_CN','en_US','zh_TW','mall_CN']
function
loadI18nMessages
(
lang
)
{
return
import
(
/* webpackChunkName: "[request]" */
`./langs/
${
lang
}
`
).
then
(
msg
=>
{
i18n
.
setLocaleMessage
(
lang
,
msg
.
default
)
i18n
.
locale
=
localStorage
.
getItem
(
'lang'
)
||
'mall
_CN'
i18n
.
locale
=
'zh
_CN'
return
Promise
.
resolve
()
})
}
...
...
src/assets/i18n/langs/zh_CN.js
View file @
360cf22
...
...
@@ -4,7 +4,7 @@ const zh_CN = {
btn
:
'登 录'
,
rememberPw
:
'记住密码'
,
loginLoading
:
'正在登录中...'
,
platformName
:
'
智慧连锁客流分析平台
'
platformName
:
'
阅读空间
'
},
home
:
{
home
:
'首页'
,
...
...
src/main.js
View file @
360cf22
...
...
@@ -55,10 +55,9 @@ Object.keys(custom).forEach(key => {
});
// 读取配置文件 多项目 默认6.0 平台
const
platformName
=
window
.
_vionConfig
.
platform
||
'mall'
document
.
title
=
'阅读空间'
Vue
.
prototype
.
$Project
=
platformName
Vue
.
prototype
.
$Project
=
'store'
// 读取配置文件 菜单权限 默认有菜单权限
Vue
.
prototype
.
$Menu
=
window
.
_vionConfig
.
allMenu
||
false
;
...
...
src/views/Management/DeviceSearch/device-search.vue
View file @
360cf22
...
...
@@ -35,11 +35,11 @@
</el-table-column>
-->
<el-table-column
prop=
"serialnum"
:label=
"$t('table.deviceNum')"
align=
"center"
></el-table-column>
<el-table-column
prop=
"localIp"
:label=
"$t('table.localIP')"
align=
"center"
></el-table-column>
<el-table-column
:label=
"$t('table.bloc')"
align=
"center"
>
<
!--
<
el-table-column
:label=
"$t('table.bloc')"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
account
?
scope
.
row
.
account
.
name
:
'--'
}}
</span>
</
template
>
</el-table-column>
</el-table-column>
-->
<el-table-column
:label=
"$t('table.square')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
mall
?
scope
.
row
.
mall
.
name
:
'--'
}}
</span>
...
...
src/views/home.vue
View file @
360cf22
...
...
@@ -5,9 +5,9 @@
<el-row>
<el-col
:span=
"4"
:offset=
"1"
class=
"col-logo"
>
<div
class=
"logo-img"
>
<
!--
<router-link
to=
"/"
>
-->
<
router-link
to=
"/"
>
<img
src=
"~@/assets/img/logo.png"
alt=
""
/>
<
!--
</router-link>
--
>
<
/router-link
>
</div>
</el-col>
<el-col
:span=
"12"
class=
"col-menu"
>
...
...
@@ -63,7 +63,7 @@
<span
@
click=
"logout"
class=
"exit-span"
>
{{$t('home.dropOut')}}
</span>
<!-- <locale-component></locale-component> -->
</div>
<
lange-Select
v-if=
"$Project !== 'mall'"
></lange-Select
>
<
!-- <lange-Select v-if="$Project !== 'mall'"></lange-Select> --
>
</div>
</el-col>
</el-row>
...
...
src/views/login/login.vue
View file @
360cf22
...
...
@@ -2,9 +2,6 @@
<div
id=
"userLayout"
class=
"user-layout-wrapper"
>
<div
class=
"container"
>
<div
class=
"login-container"
>
<div
class=
"login-header"
v-if=
"$Project !== 'mall'"
>
<lange-select
class=
"login-lang"
></lange-select>
</div>
<el-form
ref=
"loginForm"
:model=
"loginForm"
...
...
@@ -53,10 +50,10 @@
>
{{
falg
?
$t
(
'login.loginLoading'
)
:
$t
(
'login.btn'
)
}}
</el-button>
<el-checkbox
v-model=
"rememberPass"
class=
"remember-checkbox-wrapper"
>
{{
$t
(
'login.rememberPw'
)
}}
</el-checkbox>
</el-form-item>
<div
class=
"login-footer"
>
<
!--
<
div
class=
"login-footer"
>
<p>
{{
footerText
}}
</p>
<p>
京ICP备12023019号-3
</p>
</div>
</div>
-->
</el-form>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment