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
e0887a06
Commit
e0887a06
authored
May 15, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e840fc26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
93 deletions
+94
-93
rubik.vue
src/components/sallCenter/plugin/rubik.vue
+7
-1
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+87
-92
No files found.
src/components/sallCenter/plugin/rubik.vue
View file @
e0887a06
...
...
@@ -57,7 +57,13 @@
margin-bottom
:
10px
;
position
:
relative
;
}
.diy-rubik
.layout
.rubik
.delete
{
position
:
absolute
;
right
:
-16px
;
top
:
-16px
;
padding
:
8px
;
z-index
:
14
;
}
</
style
>
<
template
>
<div
:class=
"
{'active':rubData.isCked}">
...
...
src/components/sallCenter/templateEdit.vue
View file @
e0887a06
...
...
@@ -430,18 +430,18 @@
Id
:
'notice'
,
isCked
:
false
,
data
:
{
name
:
'公告'
,
content
:
''
,
icon
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/icon-notice.png'
,
textColor
:
'#ffffff'
,
background
:
'#f67f79'
,
headerUrl
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/icon-notice-title.png'
,
btnColor
:
'#ff4544'
,
btnWidth
:
500
,
btnHeight
:
80
,
btnRadius
:
40
,
btnText
:
'我知道了'
,
btnTextColor
:
'#ffffff'
name
:
'公告'
,
//公告名称
content
:
''
,
//公告内容
icon
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/icon-notice.png'
,
//公告图标
textColor
:
'#ffffff'
,
//文字颜色
background
:
'#f67f79'
,
//背景颜色
headerUrl
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/icon-notice-title.png'
,
//头部图片
btnColor
:
'#ff4544'
,
//按钮颜色
btnWidth
:
500
,
//按钮宽度
btnHeight
:
80
,
//按钮高度
btnRadius
:
40
,
//按钮圆角
btnText
:
'我知道了'
,
//按钮文本内容
btnTextColor
:
'#ffffff'
//按钮文本颜色
}
}
this
.
dataList
.
push
(
noticeObj
);
...
...
@@ -558,10 +558,10 @@
Id
:
'copyright'
,
isCked
:
false
,
data
:
{
picUrl
:
''
,
text
:
''
,
link
:
''
,
backgroundColor
:
'#fff'
,
picUrl
:
''
,
//版权图标
text
:
''
,
//版权文字
link
:
''
,
//版权链接
backgroundColor
:
'#fff'
,
//背景颜色
}
}
this
.
dataList
.
push
(
copyObj
);
...
...
@@ -587,9 +587,9 @@
Id
:
'user-info'
,
isCked
:
false
,
data
:
{
style
:
1
,
backgroundPicUrl
:
''
,
backgroundColor
:
'#ffffff'
,
style
:
1
,
//样式
backgroundPicUrl
:
''
,
//背景图片
backgroundColor
:
'#ffffff'
,
//背景颜色
}
}
this
.
dataList
.
push
(
userObj
);
...
...
@@ -880,29 +880,24 @@
Id
:
'advance'
,
isCked
:
false
,
data
:
{
buttonColor
:
'#ff4544'
,
list
:
[],
listStyle
:
1
,
fill
:
1
,
goodsCoverProportion
:
'1-1'
,
goodsStyle
:
1
,
textStyle
:
1
,
showGoodsName
:
true
,
showBuyBtn
:
true
,
buyBtnStyle
:
1
,
buyBtnText
:
'抢购'
,
showGoodsTag
:
false
,
customizeGoodsTag
:
false
,
goodsTagPicUrl
:
''
,
goodsIndex
:
0
,
start_x
:
0
,
showImg
:
false
,
backgroundColor
:
'#fff'
,
backgroundPicUrl
:
''
,
position
:
5
,
mode
:
1
,
backgroundHeight
:
100
,
backgroundWidth
:
100
,
buttonColor
:
'#ff4544'
,
//购买按钮颜色
list
:
[],
//商品列表
listStyle
:
1
,
//列表样式
fill
:
1
,
//商品封面图填充
goodsCoverProportion
:
'1-1'
,
//商品封面图宽高比例
goodsStyle
:
1
,
//商品样式
textStyle
:
1
,
//文本样式
showGoodsName
:
true
,
//显示商品名称
showBuyBtn
:
true
,
//显示购买按钮
buyBtnStyle
:
1
,
//购买按钮样式
buyBtnText
:
'抢购'
,
//购买按钮文字
showGoodsTag
:
false
,
//显示商品角标
customizeGoodsTag
:
false
,
//自定义商品角标样式
goodsTagPicUrl
:
''
,
//自定义商品角标
backgroundColor
:
'#fff'
,
//背景颜色
backgroundPicUrl
:
''
,
//背景图
backgroundHeight
:
100
,
//背景高度百分比
backgroundWidth
:
100
,
//背景宽度百分比
}
}
this
.
dataList
.
push
(
advanceObj
);
...
...
@@ -913,21 +908,21 @@
Id
:
'vip-card'
,
isCked
:
false
,
data
:
{
background
:
'#FFFFFF'
,
usePluginConfig
:
true
,
top_bottom_padding
:
0
,
buy_bg
:
'http://wx.weibaoge.cn/web/statics/img/app/vip_card/buy_bg.png'
,
renew_bg
:
'http://wx.weibaoge.cn/web/statics/img/app/vip_card/buy_bg.png'
,
buy_big_color
:
''
,
buy_small_color
:
''
,
buy_btn_color
:
''
,
buy_btn_bg_color
:
''
,
buy_big
:
''
,
buy_small
:
''
,
buy_btn_text
:
''
,
renew_text_color
:
''
,
renew_btn_bg_color
:
''
,
renew_text
:
''
,
background
:
'#FFFFFF'
,
//背景色
usePluginConfig
:
true
,
//使用插件配置
top_bottom_padding
:
0
,
//上下间距
buy_bg
:
'http://wx.weibaoge.cn/web/statics/img/app/vip_card/buy_bg.png'
,
//未购买用户默认背景图
renew_bg
:
'http://wx.weibaoge.cn/web/statics/img/app/vip_card/buy_bg.png'
,
//未购买用户背景图
buy_big_color
:
''
,
//未购买用户-大标题字体颜色
buy_small_color
:
''
,
//未购买用户-小标题背景颜色
buy_btn_color
:
''
,
//未购买用户-按钮文字颜色
buy_btn_bg_color
:
''
,
//未购买用户-按钮颜色
buy_big
:
''
,
//未购买用户-大标题文字
buy_small
:
''
,
//未购买用户-小标题文字
buy_btn_text
:
''
,
//未购买用户-按钮文字
renew_text_color
:
''
,
//已购买用户-文字颜色
renew_btn_bg_color
:
''
,
//已购买用户-按钮背景色
renew_text
:
''
,
//已购买用户-标题文字
}
}
this
.
dataList
.
push
(
vipObj
);
...
...
@@ -938,10 +933,10 @@
Id
:
'live'
,
isCked
:
false
,
data
:
{
background
:
'#f7f7f7'
,
is_show_goods
:
true
,
style_type
:
1
,
number
:
5
,
background
:
'#f7f7f7'
,
//背景颜色
is_show_goods
:
true
,
//显示商品
style_type
:
1
,
//卡片样式
number
:
5
,
//直播间数量
}
}
this
.
dataList
.
push
(
liveObj
);
...
...
@@ -952,8 +947,8 @@
Id
:
'empty'
,
isCked
:
false
,
data
:
{
background
:
'#ffffff'
,
height
:
10
,
background
:
'#ffffff'
,
//背景颜色
height
:
10
,
//高度
}
}
this
.
dataList
.
push
(
emptyObj
);
...
...
@@ -964,21 +959,21 @@
Id
:
'ad'
,
isCked
:
false
,
data
:
{
id
:
''
,
type
:
''
,
pic_url
:
''
,
video
:
''
,
award_type
:
'0'
,
award_coupons
:
[
id
:
''
,
//广告位ID
type
:
''
,
//广告位类型
pic_url
:
''
,
//广告封面图
video
_url
:
''
,
//视频播放链接
award_type
:
'0'
,
//广告奖励
award_coupons
:
[
//优惠券
/*{
send_num: 3,
name: '优惠券',
coupon_id: 710,
} */
],
award_num
:
''
,
award_limit_type
:
'0'
,
award_limit
:
0
,
award_num
:
''
,
//积分数量
award_limit_type
:
'0'
,
//奖励发放限制
award_limit
:
0
,
//限制次数
}
}
this
.
dataList
.
push
(
adObj
);
...
...
@@ -989,15 +984,15 @@
Id
:
'modal'
,
isCked
:
false
,
data
:
{
opened
:
false
,
list
:
[{
opened
:
false
,
//是否开启
list
:
[{
//广告图片数组
picUrl
:
''
,
link
:
{
url
:
''
,
openType
:
''
,
},
},
],
times
:
0
times
:
0
//弹窗次数
}
}
this
.
dataList
.
push
(
modalObj
);
...
...
@@ -1008,42 +1003,42 @@
Id
:
'quick-nav'
,
isCked
:
false
,
data
:
{
navSwitch
:
0
,
useMallConfig
:
true
,
navStyle
:
1
,
closedPicUrl
:
''
,
openedPicUrl
:
''
,
navSwitch
:
0
,
//快捷导航开关
useMallConfig
:
true
,
//使用商城配置
navStyle
:
1
,
//导航样式
closedPicUrl
:
''
,
//收起图标
openedPicUrl
:
''
,
//展开图标
home
:
{
opened
:
false
,
picUrl
:
''
,
opened
:
false
,
//是否返回首页
picUrl
:
''
,
//图标
},
customerService
:
{
opened
:
false
,
picUrl
:
''
,
opened
:
false
,
//小程序客服
picUrl
:
''
,
//小程序图片
},
tel
:
{
opened
:
false
,
picUrl
:
''
,
number
:
''
,
opened
:
false
,
//一键拨号开启
picUrl
:
''
,
//一键拨号图标
number
:
''
,
////一键拨号电话号码
},
web
:
{
opened
:
false
,
picUrl
:
''
,
opened
:
false
,
//网页链接开启
picUrl
:
''
,
url
:
''
,
},
mApp
:
{
mApp
:
{
//跳转小程序开启
opened
:
false
,
picUrl
:
''
,
appId
:
''
,
page
:
''
,
},
mapNav
:
{
mapNav
:
{
//地图导航
opened
:
false
,
picUrl
:
''
,
address
:
''
,
location
:
''
,
},
customize
:
{
customize
:
{
//自定义按钮
opened
:
false
,
picUrl
:
''
,
open_type
:
''
,
...
...
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