Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vipSupplier
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王淑敏
vipSupplier
Commits
067bcd9a
Commit
067bcd9a
authored
5 years ago
by
初志鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploy
parent
f09b09f4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/layouts/components/Ad/index.vue
+2
-1
src/views/index/index.vue
+8
-1
No files found.
src/layouts/components/Ad/index.vue
View file @
067bcd9a
<
template
>
<div
class=
"vab-ad"
>
<div
v-if=
"nodeEnv !== 'development'"
class=
"vab-ad"
>
<el-carousel
v-if=
"adList"
height=
"30px"
...
...
@@ -20,6 +20,7 @@ import { getList } from "@/api/ad";
export
default
{
data
()
{
return
{
nodeEnv
:
process
.
env
.
NODE_ENV
,
adList
:
[],
};
},
...
...
This diff is collapsed.
Click to expand it.
src/views/index/index.vue
View file @
067bcd9a
<
template
>
<div
class=
"index-container"
>
<el-row
:gutter=
"20"
>
<el-col
:xs=
"24"
:sm=
"24"
:md=
"24"
:lg=
"24"
:xl=
"24"
>
<el-col
v-if=
"nodeEnv !== 'development'"
:xs=
"24"
:sm=
"24"
:md=
"24"
:lg=
"24"
:xl=
"24"
>
<el-alert
v-if=
"noticeList[0]"
:title=
"noticeList[0].title"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment