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
1afacd0f
Commit
1afacd0f
authored
4 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
19c63f2a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
117 additions
and
106 deletions
+117
-106
shareFriend.vue
src/components/Share/shareFriend.vue
+1
-2
setMember.vue
src/components/UserMan/setMember.vue
+0
-1
educationIndex.vue
src/components/education/educationIndex.vue
+2
-2
UE.vue
src/components/global/UE.vue
+6
-3
image-text.vue
src/components/sallCenter/plugin/image-text.vue
+19
-8
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+89
-90
No files found.
src/components/Share/shareFriend.vue
View file @
1afacd0f
...
...
@@ -364,8 +364,7 @@
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
//let content = this.$refs.UeEditor1.getUEContent();
//this.addMsg.MaterialInfo = content;
this
.
apipost
(
"/api/Share/SetShareFriend"
,
this
.
addMsg
,
res
=>
{
this
.
loading
=
false
;
...
...
This diff is collapsed.
Click to expand it.
src/components/UserMan/setMember.vue
View file @
1afacd0f
...
...
@@ -219,7 +219,6 @@
this
.
getData
()
}
this
.
getgradeList
();
},
methods
:
{
input
(){},
...
...
This diff is collapsed.
Click to expand it.
src/components/education/educationIndex.vue
View file @
1afacd0f
...
...
@@ -187,7 +187,7 @@
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/educationOrder'}" @click="isChecked='/educationOrder',CommonJump('educationOrder')">
<i
class=
"el-icon-menu"
></i><span>
课程订单
</span>
</li>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/uploadKCSet'}" @click="isChecked='/uploadKCSet',CommonJump('uploadKCSet')">
<
!--
<
li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/uploadKCSet'}" @click="isChecked='/uploadKCSet',CommonJump('uploadKCSet')">
<i
class=
"el-icon-menu"
></i><span>
上传配置
</span>
</li>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/activityList'}" @click="isChecked='/activityList',CommonJump('activityList')">
...
...
@@ -195,7 +195,7 @@
</li>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/resultPageList'}" @click="isChecked='/resultPageList',CommonJump('resultPageList')">
<i
class=
"el-icon-menu"
></i><span>
调查列表
</span>
</li>
</li>
-->
</ul>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/components/global/UE.vue
View file @
1afacd0f
...
...
@@ -75,7 +75,10 @@
this
.
changeState
=
false
;
},
getUEContent
()
{
// 获取内容方法
return
this
.
editor
.
getContent
()
if
(
this
.
editor
)
{
return
this
.
editor
.
getContent
();
}
return
""
;
},
loadUe
()
{
const
_this
=
this
;
...
...
@@ -102,11 +105,11 @@
}
});
this
.
editor
.
addListener
(
'keyup'
,
editor
=>
{
this
.
isInputChange
=
fals
e
;
this
.
isInputChange
=
tru
e
;
_this
.
$emit
(
'input'
,
_this
.
editor
.
getContent
());
});
this
.
editor
.
addListener
(
'contentChange'
,
editor
=>
{
this
.
isInputChange
=
fals
e
;
this
.
isInputChange
=
tru
e
;
_this
.
$emit
(
'input'
,
_this
.
editor
.
getContent
());
});
}
...
...
This diff is collapsed.
Click to expand it.
src/components/sallCenter/plugin/image-text.vue
View file @
1afacd0f
...
...
@@ -33,7 +33,7 @@
</div>
</div>
<div
class=
"diy-component-edit imgVisible"
:class=
"
{'visibleA':imageData.isCked}">
<UE
:defaultMsg=
"data.content"
:config=
"config"
ref=
"ue"
@
input=
"input
"
></UE>
<UE
v-model=
"data.content"
:defaultMsg=
"data.content"
:config=
"config"
ref=
"ue"
:IsMultiple=
"true
"
></UE>
</div>
</div>
</div>
...
...
@@ -47,15 +47,19 @@
},
data
()
{
return
{
data
:
this
.
imageData
.
data
,
data
:
{
content
:
''
},
config
:
{
initialFrameWidth
:
null
,
initialFrameHeight
:
350
,
},
content
:
''
};
},
created
()
{},
created
()
{
var
content
=
this
.
imageData
.
data
.
content
;
this
.
data
.
content
=
content
;
},
methods
:
{
//向父组件传值 并调用排序
resetSord
(
IsUp
)
{
...
...
@@ -65,16 +69,23 @@
delPlugin
()
{
this
.
$emit
(
'comDelPlugin'
,
this
.
index
);
},
input
(
obj
)
{
this
.
data
.
content
=
obj
getContent
(
)
{
return
this
.
$refs
.
ue
.
getUEContent
();
},
},
computed
:
{},
mounted
()
{
this
.
$refs
.
ue
.
InitData
();
this
.
$refs
.
ue
.
loadUe
();
},
watch
:
{
data
:
{
deep
:
true
,
handler
(
newVal
,
oldVal
)
{
let
newContent
=
newVal
.
content
;
this
.
data
.
content
=
newContent
;
this
.
imageData
.
data
.
content
=
newContent
;
},
}
}
};
...
...
This diff is collapsed.
Click to expand it.
src/components/sallCenter/templateEdit.vue
View file @
1afacd0f
...
...
@@ -280,22 +280,22 @@
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></imageText>
<topic
v-if=
"item.Id=='topic'"
:topicData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></topic>
<shopinfo
v-if=
"item.Id=='shop-info'"
:shopinfoData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></shopinfo>
<shopinfo
v-if=
"item.Id=='shop-info'"
:shopinfoData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></shopinfo>
<sidao
v-if=
"item.Id=='drive-guide'"
:sidaoData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></sidao>
<education
v-if=
"item.Id=='education'"
:eduData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
<education
v-if=
"item.Id=='education'"
:eduData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></education>
<educationArticle
v-if=
"item.Id=='educationArticle'"
:zxData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></educationArticle>
<educationCustom
v-if=
"item.Id=='educationCustom'"
:cusData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></educationCustom>
<reservestore
v-if=
"item.Id=='reservestore'"
:reserData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></reservestore>
<storeGoods
v-if=
"item.Id=='storeGoods'"
:storeData=
"item"
@
getSord=
"getSord"
@
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>
<educationArticle
v-if=
"item.Id=='educationArticle'"
:zxData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></educationArticle>
<educationCustom
v-if=
"item.Id=='educationCustom'"
:cusData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></educationCustom>
<reservestore
v-if=
"item.Id=='reservestore'"
:reserData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></reservestore>
<storeGoods
v-if=
"item.Id=='storeGoods'"
:storeData=
"item"
@
getSord=
"getSord"
@
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>
</div>
</div>
</div>
...
...
@@ -575,7 +575,7 @@
right
:
0
,
//右边距
bottom
:
0
,
//下边距
left
:
0
,
//左边距
searchPosition
:
0
,
//搜索框位置(0-默认,1-顶部)
searchPosition
:
0
,
//搜索框位置(0-默认,1-顶部)
}
}
this
.
dataList
.
push
(
searchObj
);
...
...
@@ -1281,21 +1281,21 @@
headInfo
:
"赞美生活,样样满意"
,
//用户介绍
backgroundPicUrl
:
''
,
//背景图片
backgroundColor
:
'#ffffff'
,
//背景颜色
bottonImg
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/1598255454000_522.png"
,
//按钮图片
fontColor
:
""
,
//字体颜色
fontName
:
""
,
//字体
fontSize
:
12
,
//字体大小
isBold
:
"true"
,
//是否加粗
bottonImg
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/1598255454000_522.png"
,
//按钮图片
fontColor
:
""
,
//字体颜色
fontName
:
""
,
//字体
fontSize
:
12
,
//字体大小
isBold
:
"true"
,
//是否加粗
}
};
this
.
dataList
.
push
(
shopInfoObj
);
break
;
//司导组件
case
'drive-guide'
:
let
driveObj
=
{
Id
:
'drive-guide'
,
isCked
:
false
,
data
:
{
case
'drive-guide'
:
let
driveObj
=
{
Id
:
'drive-guide'
,
isCked
:
false
,
data
:
{
SearchBackground
:
''
,
//搜索背景
SearchTips
:
''
,
//搜索框文字
Tips
:
'每辆车都会配备一名专业导游,方便游客出行'
,
// 按钮上面的文字提示
...
...
@@ -1311,91 +1311,91 @@
IsShowCarClass
:
1
,
//是否显示车辆类型筛选0-否,1-是
IsShowTravelGuestNum
:
1
,
//是否显示出行人数筛选0-否,1-是
ButtonFilletPX
:
0
,
// 按钮圆角像素
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
//右边距
}
}
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
//右边距
}
}
this
.
dataList
.
push
(
driveObj
);
break
;
//最近学习组件
//最近学习组件
case
'education'
:
let
eduObj
=
{
Id
:
'education'
,
isCked
:
false
,
data
:{
Cover
:
''
,
//封面图
Name
:
''
,
//课程名称
showProgress
:
0
,
//显示进度
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
BtnPosition
:
0
//按钮位置
data
:
{
Cover
:
''
,
//封面图
Name
:
''
,
//课程名称
showProgress
:
0
,
//显示进度
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
BtnPosition
:
0
//按钮位置
}
}
this
.
dataList
.
push
(
eduObj
);
break
;
//资讯
//资讯
case
'educationArticle'
:
let
zxObj
=
{
Id
:
'educationArticle'
,
isCked
:
false
,
data
:{
goodsLength
:
10
,
//商品数量
addGoodsType
:
0
,
//商品添加方式【0-自定义,1-最新】
listStyle
:
-
1
,
//列表样式[-1-列表模式,0-左右滑动,1-一行一个]
isCked
:
false
,
data
:
{
goodsLength
:
10
,
//商品数量
addGoodsType
:
0
,
//商品添加方式【0-自定义,1-最新】
listStyle
:
-
1
,
//列表样式[-1-列表模式,0-左右滑动,1-一行一个]
backgroundColor
:
'#fff'
,
//背景颜色
SearchFilletPX
:
0
,
//圆角
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
SearchFilletPX
:
0
,
//圆角
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
list
:
[],
//商品列表
}
}
this
.
dataList
.
push
(
zxObj
);
break
;
//自定义列表
//自定义列表
case
'educationCustom'
:
let
customObj
=
{
Id
:
'educationCustom'
,
isCked
:
false
,
data
:{
goodsLength
:
10
,
//商品数量
listStyle
:
-
1
,
//列表样式[-1-列表模式,0-左右滑动,1-一行一个,2-一行两个3-一行三个]
backgroundColor
:
'#fff'
,
//背景颜色
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
SearchFilletPX
:
0
,
//组件圆角
list
:[]
//自定义列表
Id
:
'educationCustom'
,
isCked
:
false
,
data
:
{
goodsLength
:
10
,
//商品数量
listStyle
:
-
1
,
//列表样式[-1-列表模式,0-左右滑动,1-一行一个,2-一行两个3-一行三个]
backgroundColor
:
'#fff'
,
//背景颜色
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
SearchFilletPX
:
0
,
//组件圆角
list
:
[]
//自定义列表
}
}
this
.
dataList
.
push
(
customObj
);
break
;
break
;
case
'reservestore'
:
let
reserObj
=
{
Id
:
'reservestore'
,
isCked
:
false
,
data
:{
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
IsShowStoreImg
:
true
,
//是否显示商店图片
SearchFilletPX
:
0
//圆角像素
Id
:
'reservestore'
,
isCked
:
false
,
data
:
{
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
IsShowStoreImg
:
true
,
//是否显示商店图片
SearchFilletPX
:
0
//圆角像素
}
}
this
.
dataList
.
push
(
reserObj
);
break
;
break
;
case
'storeGoods'
:
let
storeGoodObj
=
{
Id
:
'storeGoods'
,
isCked
:
false
,
data
:{
Id
:
'storeGoods'
,
isCked
:
false
,
data
:
{
showCat
:
false
,
//显示分类
catPosition
:
'top'
,
//分类栏位置
catStyle
:
1
,
//分类样式
...
...
@@ -1430,21 +1430,21 @@
}
}
this
.
dataList
.
push
(
storeGoodObj
);
break
;
//老师
break
;
//老师
case
'educationteacher'
:
let
lsObj
=
{
Id
:
'educationteacher'
,
isCked
:
false
,
data
:{
addGoodsType
:
0
,
//商品添加方式【0-自定义,1-最新】
listStyle
:
0
,
//列表样式[-1-列表模式,0-左右滑动,1-一行一个]
isCked
:
false
,
data
:
{
addGoodsType
:
0
,
//商品添加方式【0-自定义,1-最新】
listStyle
:
0
,
//列表样式[-1-列表模式,0-左右滑动,1-一行一个]
backgroundColor
:
'#fff'
,
//背景颜色
SearchFilletPX
:
0
,
//圆角
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
SearchFilletPX
:
0
,
//圆角
PaddingTop
:
0
,
//上边距
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
TeacherList
:
[],
//商品列表
}
}
...
...
@@ -1477,7 +1477,6 @@
getItem
(
item
)
{
this
.
dataList
.
forEach
(
x
=>
{
x
.
isCked
=
false
;
})
if
(
item
.
Id
==
"rubik"
)
{
if
(
item
.
data
.
list
&&
item
.
data
.
list
.
length
>
0
)
{
...
...
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