Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
4d10cb55
Commit
4d10cb55
authored
Feb 20, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增组件
parent
50d8baa8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
472 additions
and
7 deletions
+472
-7
nav-page.vue
src/components/sallCenter/plugin/nav-page.vue
+439
-0
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+33
-7
No files found.
src/components/sallCenter/plugin/nav-page.vue
0 → 100644
View file @
4d10cb55
This diff is collapsed.
Click to expand it.
src/components/sallCenter/templateEdit.vue
View file @
4d10cb55
...
...
@@ -296,6 +296,8 @@
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></storeGoods>
<educationteacher
v-if=
"item.Id=='educationteacher'"
:lsData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></educationteacher>
<navPage
v-if=
"item.Id=='nav-page'"
:navData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></navPage>
</div>
</div>
</div>
...
...
@@ -410,6 +412,7 @@
import
educationCustom
from
"../sallCenter/plugin/educationCustom"
import
reservestore
from
"../sallCenter/plugin/reservestore"
import
storeGoods
from
"../sallCenter/plugin/storeGoods"
import
navPage
from
"../sallCenter/plugin/nav-page"
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
...
...
@@ -486,7 +489,8 @@
educationCustom
,
reservestore
,
storeGoods
,
educationteacher
educationteacher
,
navPage
},
methods
:
{
//选择图片
...
...
@@ -626,9 +630,9 @@
Id
:
'notice'
,
isCked
:
false
,
data
:
{
name
:
'公告'
,
//公告名称
content
:
''
,
//公告内容
icon
:
this
.
domainManager
().
ImageUrl
+
'/Static/icon-notice.png'
,
//公告图标
name
:
'公告'
,
//公告名称
content
:
''
,
//公告内容
icon
:
this
.
domainManager
().
ImageUrl
+
'/Static/icon-notice.png'
,
//公告图标
textColor
:
'#ffffff'
,
//文字颜色
background
:
'#f67f79'
,
//背景颜色
headerUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/icon-notice-title.png'
,
//头部图片
...
...
@@ -715,9 +719,9 @@
right
:
0
,
//右边距
bottom
:
0
,
//下边距
left
:
0
,
//左边距
isfullscreen
:
false
,
//是否全屏
backgroundimage
:
''
,
//背景图片
radius
:
0
,
//视频圆角
isfullscreen
:
false
,
//是否全屏
backgroundimage
:
''
,
//背景图片
radius
:
0
,
//视频圆角
}
}
this
.
dataList
.
push
(
videoObj
);
...
...
@@ -1457,6 +1461,28 @@
}
this
.
dataList
.
push
(
lsObj
);
break
;
//导航栏目
case
'nav-page'
:
let
navPageObj
=
{
Id
:
'nav-page'
,
isCked
:
false
,
data
:
{
color
:
'#353535'
,
rows
:
1
,
//每页行数
columns
:
3
,
//每行个数
scroll
:
true
,
//左右滑动
navs
:
[],
//导航图标
showImg
:
false
,
//背景图片
backgroundColor
:
'#ffffff'
,
//背景颜色
backgroundPicUrl
:
''
,
//背景链接
position
:
5
,
//图片位置
mode
:
1
,
//填充方式
backgroundHeight
:
100
,
//背景图宽
backgroundWidth
:
100
,
//背景图高
}
}
this
.
dataList
.
push
(
navPageObj
);
break
;
}
},
//给子组件调用 重新排序上移下移
...
...
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