Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
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
黄奎
mall.oytour.com
Commits
2cad0934
Commit
2cad0934
authored
May 22, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e5cb95d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
RB_Miniprogram_Template_Extend.cs
.../Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
+46
-0
MiniprogramTemplateModule.cs
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
+1
-0
No files found.
Mall.Model/Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
View file @
2cad0934
...
...
@@ -61,6 +61,47 @@ namespace Mall.Model.Extend.MarketingCenter
public
object
data
{
get
;
set
;
}
}
/// <summary>
/// 背景组件
/// </summary>
public
class
backgroundItem
{
/// <summary>
/// 背景颜色
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// 背景高度
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// 背景图片地址
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 背景宽度
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
/// <summary>
/// 填充方式
/// </summary>
public
int
mode
{
get
;
set
;
}
/// <summary>
/// 图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
/// <summary>
/// 是否显示背景图片
/// </summary>
public
bool
showImg
{
get
;
set
;
}
}
/// <summary>
/// 搜索插件
/// </summary>
...
...
@@ -992,6 +1033,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// 电话
/// </summary>
public
string
mobile
{
get
;
set
;
}
/// <summary>
/// 门店封面图
/// </summary>
public
string
CoverImg
{
get
;
set
;
}
}
/// <summary>
...
...
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
View file @
2cad0934
...
...
@@ -129,6 +129,7 @@ namespace Mall.Module.MarketingCenter
{
switch
(
item
.
Id
)
{
case
"background"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
backgroundItem
>(
item
.
data
.
ToString
());
break
;
case
"search"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
searchItem
>(
item
.
data
.
ToString
());
break
;
case
"nav"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
navItem
>(
item
.
data
.
ToString
());
break
;
case
"banner"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
bannerItem
>(
item
.
data
.
ToString
());
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