Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 611330e1
authored
Dec 04, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修改banner样式
1 parent
67d27446
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
env.js
pages/boutique/index.vue
utils/logger/LocalLog.js
env.js
View file @
611330e
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'beta'
]
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'beta'
]
const
index
=
3
const
index
=
2
/**
/**
*
*
0本地
0本地
...
...
pages/boutique/index.vue
View file @
611330e
...
@@ -437,8 +437,12 @@ export default {
...
@@ -437,8 +437,12 @@ export default {
let
{
carBannerList
,
currentIndex
}
=
this
,
let
{
carBannerList
,
currentIndex
}
=
this
,
len
=
carBannerList
.
length
len
=
carBannerList
.
length
let
className
=
currentIndex
==
index
?
'current-item'
:
''
let
className
=
currentIndex
==
index
?
'current-item'
:
''
if
(
currentIndex
==
0
&&
index
==
len
-
1
)
className
+=
' current-item-left'
if
(
currentIndex
==
0
&&
index
==
len
-
1
)
{
else
if
(
currentIndex
==
len
-
1
&&
index
!=
0
)
className
+=
' current-item-left'
className
+=
' current-item-left'
}
else
if
(
currentIndex
==
len
-
1
)
{
if
(
index
!=
0
)
className
+=
' current-item-left'
}
else
{
else
{
if
(
index
<
currentIndex
)
className
+=
' current-item-left'
if
(
index
<
currentIndex
)
className
+=
' current-item-left'
else
className
+=
' current-item-right'
else
className
+=
' current-item-right'
...
...
utils/logger/LocalLog.js
View file @
611330e
...
@@ -4,19 +4,20 @@ import { getTime, withinSpliter, daysBetween } from './util'
...
@@ -4,19 +4,20 @@ import { getTime, withinSpliter, daysBetween } from './util'
class
LocalLog
{
class
LocalLog
{
logger
=
null
logger
=
null
constructor
()
{
constructor
()
{
this
.
logger
=
new
LogCat
()
// this.logger = new LogCat()
this
.
logger
=
{
}
}
}
debug
(
msg
)
{
debug
(
msg
)
{
this
.
logger
.
writeLog
(
LogLevel
.
DEBUG
,
msg
)
//
this.logger.writeLog(LogLevel.DEBUG, msg)
}
}
info
(
msg
)
{
info
(
msg
)
{
this
.
logger
.
writeLog
(
LogLevel
.
INFO
,
msg
)
//
this.logger.writeLog(LogLevel.INFO, msg)
}
}
warn
(
msg
)
{
warn
(
msg
)
{
this
.
logger
.
writeLog
(
LogLevel
.
WARN
,
msg
)
//
this.logger.writeLog(LogLevel.WARN, msg)
}
}
error
(
msg
)
{
error
(
msg
)
{
this
.
logger
.
writeLog
(
LogLevel
.
ERROR
,
msg
)
//
this.logger.writeLog(LogLevel.ERROR, msg)
}
}
getFiles
(
beginDate
,
endDate
)
{
getFiles
(
beginDate
,
endDate
)
{
const
logFiles
=
this
.
logger
.
getLogFileList
()
const
logFiles
=
this
.
logger
.
getLogFileList
()
...
...
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