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
166269ff
Commit
166269ff
authored
Aug 21, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f366fab4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
10 deletions
+28
-10
shareFriend.vue
src/components/Share/shareFriend.vue
+28
-10
No files found.
src/components/Share/shareFriend.vue
View file @
166269ff
...
@@ -39,8 +39,9 @@
...
@@ -39,8 +39,9 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"发圈文案"
width=
"300"
>
<el-table-column
label=
"发圈文案"
width=
"300"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
MaterialInfo
}}
<img
@
click=
"getMaterInfo(scope.row)"
style=
"margin-left:3px;"
<span
v-html=
"scope.row.MaterialInfo"
></span>
src=
"../../assets/img/userman/edit1.png"
alt=
""
>
<!--
<img
@
click=
"getMaterInfo(scope.row)"
style=
"margin-left:3px;"
src=
"../../assets/img/userman/edit1.png"
alt=
""
>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"MaterialImg"
label=
"图片视频"
width=
"300"
>
<el-table-column
prop=
"MaterialImg"
label=
"图片视频"
width=
"300"
>
...
@@ -144,7 +145,8 @@
...
@@ -144,7 +145,8 @@
<el-button
type=
"text"
@
click=
"isShowGoods=true"
>
选择商品
</el-button>
<el-button
type=
"text"
@
click=
"isShowGoods=true"
>
选择商品
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
label=
"动态文案"
prop=
"MaterialInfo"
>
<el-form-item
label=
"动态文案"
prop=
"MaterialInfo"
>
<el-input
type=
"textarea"
:rows=
"6"
v-model=
"addMsg.MaterialInfo"
></el-input>
<UeEditor
style=
"width:750px;"
:defaultMsg=
"defaultMsg"
:config=
"config"
:IsMultiple=
"true"
ref=
"UeEditor1"
></UeEditor>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<label
slot=
"label"
>
动态图片
<label
slot=
"label"
>
动态图片
...
@@ -241,15 +243,25 @@
...
@@ -241,15 +243,25 @@
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
choiceMaterial
from
"@/components/common/choiceMaterial.vue"
;
import
choiceMaterial
from
"@/components/common/choiceMaterial.vue"
;
import
choiceGood
from
"@/components/common/choiceGood.vue"
;
import
choiceGood
from
"@/components/common/choiceGood.vue"
;
import
UeEditor
from
"@/components/global/UE.vue"
;
export
default
{
export
default
{
components
:
{
components
:
{
ChooseImg
,
ChooseImg
,
choiceMaterial
,
choiceMaterial
,
choiceGood
choiceGood
,
UeEditor
},
},
data
()
{
data
()
{
return
{
return
{
//UeEditor配置
defaultMsg
:
""
,
config
:
{
initialFrameWidth
:
null
,
initialFrameHeight
:
350
},
//编辑行号
sort_goods_id
:
0
,
sort_goods_id
:
0
,
//开始时间-结束时间
dateStr
:
[],
dateStr
:
[],
loading
:
false
,
loading
:
false
,
//是否显示新增分类
//是否显示新增分类
...
@@ -329,6 +341,8 @@
...
@@ -329,6 +341,8 @@
submitForm
(
formName
)
{
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
let
content
=
this
.
$refs
.
UeEditor1
.
getUEContent
();
this
.
addMsg
.
MaterialInfo
=
content
;
this
.
apipost
(
"/api/Share/SetShareFriend"
,
this
.
addMsg
,
this
.
apipost
(
"/api/Share/SetShareFriend"
,
this
.
addMsg
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -362,6 +376,9 @@
...
@@ -362,6 +376,9 @@
this
.
addMsg
.
GoodsId
=
tempObj
.
GoodsId
;
this
.
addMsg
.
GoodsId
=
tempObj
.
GoodsId
;
this
.
addMsg
.
CoverImg
=
tempObj
.
CoverImg
;
this
.
addMsg
.
CoverImg
=
tempObj
.
CoverImg
;
this
.
addMsg
.
GoodsName
=
tempObj
.
GoodsName
;
this
.
addMsg
.
GoodsName
=
tempObj
.
GoodsName
;
if
(
tempObj
.
MaterialInfo
)
{
this
.
defaultMsg
=
tempObj
.
MaterialInfo
;
}
this
.
addMsg
.
MaterialInfo
=
tempObj
.
MaterialInfo
;
this
.
addMsg
.
MaterialInfo
=
tempObj
.
MaterialInfo
;
if
(
tempObj
.
LinkUrl
)
{
if
(
tempObj
.
LinkUrl
)
{
this
.
addMsg
.
LinkUrl
=
tempObj
.
LinkUrl
;
this
.
addMsg
.
LinkUrl
=
tempObj
.
LinkUrl
;
...
@@ -369,9 +386,9 @@
...
@@ -369,9 +386,9 @@
this
.
addMsg
.
IsTop
=
tempObj
.
IsTop
;
this
.
addMsg
.
IsTop
=
tempObj
.
IsTop
;
this
.
addMsg
.
SortNum
=
tempObj
.
SortNum
;
this
.
addMsg
.
SortNum
=
tempObj
.
SortNum
;
this
.
addMsg
.
ImgList
=
tempObj
.
ImgList
;
this
.
addMsg
.
ImgList
=
tempObj
.
ImgList
;
this
.
addMsg
.
FirstLevelName
=
tempObj
.
FirstLevelName
;
this
.
addMsg
.
FirstLevelName
=
tempObj
.
FirstLevelName
;
this
.
addMsg
.
SecondLevelName
=
tempObj
.
SecondLevelName
;
this
.
addMsg
.
SecondLevelName
=
tempObj
.
SecondLevelName
;
this
.
addMsg
.
ThirdLevelName
=
tempObj
.
ThirdLevelName
;
this
.
addMsg
.
ThirdLevelName
=
tempObj
.
ThirdLevelName
;
}
}
this
.
IsShowCategory
=
false
;
this
.
IsShowCategory
=
false
;
}
else
{
}
else
{
...
@@ -405,13 +422,14 @@
...
@@ -405,13 +422,14 @@
this
.
addMsg
.
CateId
=
0
;
this
.
addMsg
.
CateId
=
0
;
this
.
addMsg
.
GoodsId
=
0
;
this
.
addMsg
.
GoodsId
=
0
;
this
.
addMsg
.
CoverImg
=
""
;
this
.
addMsg
.
CoverImg
=
""
;
this
.
addMsg
.
FirstLevelName
=
""
;
this
.
addMsg
.
FirstLevelName
=
""
;
this
.
addMsg
.
SecondLevelName
=
""
;
this
.
addMsg
.
SecondLevelName
=
""
;
this
.
addMsg
.
ThirdLevelName
=
""
;
this
.
addMsg
.
ThirdLevelName
=
""
;
this
.
addMsg
.
MaterialInfo
=
""
;
this
.
addMsg
.
MaterialInfo
=
""
;
this
.
addMsg
.
LinkUrl
=
""
;
this
.
addMsg
.
LinkUrl
=
""
;
this
.
addMsg
.
IsTop
=
1
;
this
.
addMsg
.
IsTop
=
1
;
this
.
addMsg
.
SortNum
=
1
;
this
.
addMsg
.
SortNum
=
1
;
this
.
defaultMsg
=
""
;
},
},
//更新是否置顶
//更新是否置顶
updateIsTop
(
item
)
{
updateIsTop
(
item
)
{
...
...
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