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
d1588489
Commit
d1588489
authored
Aug 20, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
11fb6dfc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
35 deletions
+48
-35
shareCategory.vue
src/components/Share/shareCategory.vue
+11
-8
shareFriend.vue
src/components/Share/shareFriend.vue
+35
-25
pluginCenter.vue
src/components/sallCenter/pluginCenter.vue
+2
-2
No files found.
src/components/Share/shareCategory.vue
View file @
d1588489
...
...
@@ -122,13 +122,12 @@
</
template
>
<
template
v-else
>
<div
class=
"head-title"
>
<span
@
click=
"IsShowCategory=true"
style=
"color:rgb(64, 158, 255);cursor:pointer;"
>
发圈素材分类
</span><span
<span
@
click=
"IsShowCategory=true
,clearMsg()
"
style=
"color:rgb(64, 158, 255);cursor:pointer;"
>
发圈素材分类
</span><span
style=
"margin:0 9px;color:#C0C4CC"
>
/
</span><span>
编辑
</span>
</div>
<div
class=
"content"
>
<div
class=
"conten_indder"
>
<el-form
label-width=
"150px"
>
<el-form-item
label=
"选择分类级别"
>
<template
v-if=
"editState"
>
<el-radio
:disabled=
"editState"
v-model=
"addMsg.Level"
:label=
"1"
>
一级分类
</el-radio>
...
...
@@ -204,8 +203,8 @@
</div>
</ul>
<div
style=
"text-align:right;margin-top:20px"
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"tierDig=false"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"tierDig=false"
>
确定
</el-button>
<el-button
size=
"small"
@
click=
"tierDig=false
,active1=-1,active2=-1
"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"tierDig=false
,active1=-1,active2=-1
"
>
确定
</el-button>
</div>
</div>
</el-dialog>
...
...
@@ -345,6 +344,9 @@
this
.
addMsg
.
Name
=
""
;
this
.
addMsg
.
Level
=
1
;
this
.
addMsg
.
ParentId
=
0
;
this
.
addMsg
.
SortNum
=
0
;
this
.
addMsg
.
FirstLevelName
=
""
;
this
.
addMsg
.
SecondLevelName
=
""
;
},
//点击一级分类
getChild
(
item
,
index
)
{
...
...
@@ -375,9 +377,10 @@
},
//点击切换1 2 3级分类
SelectTier
(
num
)
{
this
.
active1
=
-
1
;
this
.
active2
=
-
1
;
if
(
num
==
1
)
{
this
.
active1
=
-
1
;
this
.
active2
=
-
1
;
}
if
(
num
==
2
)
{
this
.
tierDig
=
true
;
...
...
@@ -411,13 +414,13 @@
item
.
children
.
forEach
((
item2
,
index2
)
=>
{
let
obj
=
{
Id
:
item2
.
Id
,
SortNum
:
index2
+
1
,
SortNum
:
index2
+
1
,
}
this
.
sortList
.
push
(
obj
)
})
let
obj
=
{
Id
:
item
.
Id
,
SortNum
:
index
+
1
,
SortNum
:
index
+
1
,
}
this
.
sortList
.
push
(
obj
)
})
...
...
src/components/Share/shareFriend.vue
View file @
d1588489
...
...
@@ -56,14 +56,14 @@
<el-table-column
prop=
"GoodsId"
label=
"商品信息"
width=
"250"
>
<
template
slot-scope=
"scope"
>
<div
flex=
"box:first"
v-if=
"scope.row.GoodsId>0"
>
<template
v-if=
"scope.row.ImgList.length>0"
>
<div
style=
"padding-right: 10px"
>
<img
style=
"width:50px;height:50px;"
:src=
"scope.row.ImgList[0]"
alt=
""
/>
</div>
</
template
>
<div
flex=
"cross:center"
>
<div
class=
"shareGoodName"
>
{{scope.row.GoodsName}}
</div>
</div>
<template
v-if=
"scope.row.ImgList.length>0"
>
<div
style=
"padding-right: 10px"
>
<img
style=
"width:50px;height:50px;"
:src=
"scope.row.ImgList[0]"
alt=
""
/>
</div>
</
template
>
<div
flex=
"cross:center"
>
<div
class=
"shareGoodName"
>
{{scope.row.GoodsName}}
</div>
</div>
</div>
</template>
</el-table-column>
...
...
@@ -125,11 +125,14 @@
<div
class=
"content"
>
<div
class=
"conten_indder"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"150px"
>
<el-form-item
label=
"一级分类"
v-if=
"
LevelOn
e"
>
<span>
{{
LevelOn
e
}}
</span>
<el-form-item
label=
"一级分类"
v-if=
"
addMsg.FirstLevelNam
e"
>
<span>
{{
addMsg
.
FirstLevelNam
e
}}
</span>
</el-form-item>
<el-form-item
label=
"二级分类"
v-if=
"LevelTwo"
>
<span>
{{
LevelTwo
}}
</span>
<el-form-item
label=
"二级分类"
v-if=
"addMsg.SecondLevelName"
>
<span>
{{
addMsg
.
SecondLevelName
}}
</span>
</el-form-item>
<el-form-item
label=
"三级分类"
v-if=
"addMsg.ThirdLevelName"
>
<span>
{{
addMsg
.
ThirdLevelName
}}
</span>
</el-form-item>
<el-form-item
label=
"分类编号"
>
<el-input
type=
"text"
size=
"small"
:disabled=
"true"
v-model=
"addMsg.CateId"
>
...
...
@@ -262,6 +265,8 @@
total
:
0
,
},
addMsg
:
{
FirstLevelName
:
""
,
//一级分类名称
SecondLevelName
:
""
,
//二级分类名称
Id
:
0
,
//编号
CateId
:
0
,
//分类编号
GoodsId
:
0
,
//商品编号
...
...
@@ -282,10 +287,7 @@
}]
},
CateDialog
:
false
,
//选择分类弹窗
LevelOne
:
''
,
//一级分类
LevelTwo
:
''
,
//二级分类
isSearch
:
-
1
,
//判断选择查询还是新增的
isShowGoods
:
false
,
//选择商品弹窗
isShowText
:
false
,
//发圈文案弹窗
updateTextInfo
:
{
...
...
@@ -359,7 +361,7 @@
this
.
addMsg
.
CateId
=
tempObj
.
CateId
;
this
.
addMsg
.
GoodsId
=
tempObj
.
GoodsId
;
this
.
addMsg
.
CoverImg
=
tempObj
.
CoverImg
;
this
.
addMsg
.
GoodsName
=
tempObj
.
GoodsName
;
this
.
addMsg
.
MaterialInfo
=
tempObj
.
MaterialInfo
;
if
(
tempObj
.
LinkUrl
)
{
this
.
addMsg
.
LinkUrl
=
tempObj
.
LinkUrl
;
...
...
@@ -367,6 +369,9 @@
this
.
addMsg
.
IsTop
=
tempObj
.
IsTop
;
this
.
addMsg
.
SortNum
=
tempObj
.
SortNum
;
this
.
addMsg
.
ImgList
=
tempObj
.
ImgList
;
this
.
addMsg
.
FirstLevelName
=
tempObj
.
FirstLevelName
;
this
.
addMsg
.
SecondLevelName
=
tempObj
.
SecondLevelName
;
this
.
addMsg
.
ThirdLevelName
=
tempObj
.
ThirdLevelName
;
}
this
.
IsShowCategory
=
false
;
}
else
{
...
...
@@ -400,7 +405,9 @@
this
.
addMsg
.
CateId
=
0
;
this
.
addMsg
.
GoodsId
=
0
;
this
.
addMsg
.
CoverImg
=
""
;
this
.
addMsg
.
FirstLevelName
=
""
;
this
.
addMsg
.
SecondLevelName
=
""
;
this
.
addMsg
.
ThirdLevelName
=
""
;
this
.
addMsg
.
MaterialInfo
=
""
;
this
.
addMsg
.
LinkUrl
=
""
;
this
.
addMsg
.
IsTop
=
1
;
...
...
@@ -507,18 +514,19 @@
this
.
msg
.
CateId
=
obj
.
Id
;
this
.
getList
();
}
else
{
this
.
LevelOn
e
=
''
;
this
.
LevelTwo
=
''
;
this
.
addMsg
.
FirstLevelNam
e
=
''
;
this
.
addMsg
.
SecondLevelName
=
''
;
if
(
obj
.
Level
==
1
)
{
this
.
LevelOn
e
=
obj
.
Name
;
this
.
addMsg
.
FirstLevelNam
e
=
obj
.
Name
;
}
if
(
obj
.
Level
==
2
)
{
this
.
LevelOn
e
=
obj
.
LevelOne
;
this
.
LevelTwo
=
obj
.
Name
;
this
.
addMsg
.
FirstLevelNam
e
=
obj
.
LevelOne
;
this
.
addMsg
.
SecondLevelName
=
obj
.
Name
;
}
if
(
obj
.
Level
==
3
)
{
this
.
LevelOne
=
obj
.
LevelOne
;
this
.
LevelTwo
=
obj
.
LevelTwo
;
this
.
addMsg
.
FirstLevelName
=
obj
.
LevelOne
;
this
.
addMsg
.
SecondLevelName
=
obj
.
LevelTwo
;
this
.
addMsg
.
ThirdLevelName
=
obj
.
Name
;
}
this
.
addMsg
.
CateId
=
obj
.
Id
;
}
...
...
@@ -600,11 +608,13 @@
padding-right
:
50%
;
min-width
:
1100px
;
}
.shareGoodName
{
.shareGoodName
{
-webkit-line-clamp
:
2
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
</
style
>
src/components/sallCenter/pluginCenter.vue
View file @
d1588489
...
...
@@ -104,7 +104,7 @@
</div>
</div>
</div>
<div
v-if=
"isShow==1
"
flex=
"dir:left box:first"
class=
"plugin-item"
@
click=
"goDiyCenter('FShareMain')"
>
<div
style=
"display:none
"
flex=
"dir:left box:first"
class=
"plugin-item"
@
click=
"goDiyCenter('FShareMain')"
>
<div
style=
"margin-right: 12px;background:rgb(51, 153, 255);height:50px;"
><img
src=
"../../assets/img/sallCenter/circle.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<div>
...
...
@@ -148,7 +148,7 @@
currentUser
:
{},
isChecked
:
1
,
Height
:
0
,
isShow
:
0
,
isShow
:
1
,
};
},
created
()
{
...
...
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