|
@@ -49,9 +49,27 @@ namespace KdanCommon.CMSCollection.Data
|
|
|
|
|
|
[JsonProperty("event_bar_icon_image")]
|
|
[JsonProperty("event_bar_icon_image")]
|
|
public string EventBarIconImage { get; set; }
|
|
public string EventBarIconImage { get; set; }
|
|
|
|
+ public string EventBarIconImageUrlStr
|
|
|
|
+ {
|
|
|
|
+ get
|
|
|
|
+ {
|
|
|
|
+ if (string.IsNullOrEmpty(EventBarIconImage))
|
|
|
|
+ return null;
|
|
|
|
+ return $"{CMSCollection.CMSDomain}/assets/{EventBarIconImage}";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
[JsonProperty("event_bar_close_button_image")]
|
|
[JsonProperty("event_bar_close_button_image")]
|
|
public string EventBarCloseButtonImage { get; set; }
|
|
public string EventBarCloseButtonImage { get; set; }
|
|
|
|
+ public string EventBarCloseButtonImageUrlStr
|
|
|
|
+ {
|
|
|
|
+ get
|
|
|
|
+ {
|
|
|
|
+ if (string.IsNullOrEmpty(EventBarCloseButtonImage))
|
|
|
|
+ return null;
|
|
|
|
+ return $"{CMSCollection.CMSDomain}/assets/{EventBarCloseButtonImage}";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
[JsonProperty("event_bar_icon_visible")]
|
|
[JsonProperty("event_bar_icon_visible")]
|
|
public bool EventBarIconVisible { get; set; }
|
|
public bool EventBarIconVisible { get; set; }
|
|
@@ -67,9 +85,27 @@ namespace KdanCommon.CMSCollection.Data
|
|
|
|
|
|
[JsonProperty("dialog_image")]
|
|
[JsonProperty("dialog_image")]
|
|
public string DialogImage { get; set; }
|
|
public string DialogImage { get; set; }
|
|
|
|
+ public string DialogImageUrlStr
|
|
|
|
+ {
|
|
|
|
+ get
|
|
|
|
+ {
|
|
|
|
+ if (string.IsNullOrEmpty(DialogImage))
|
|
|
|
+ return null;
|
|
|
|
+ return $"{CMSCollection.CMSDomain}/assets/{DialogImage}";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
[JsonProperty("dialog_close_icon_image")]
|
|
[JsonProperty("dialog_close_icon_image")]
|
|
public string DialogCloseIconImage { get; set; }
|
|
public string DialogCloseIconImage { get; set; }
|
|
|
|
+ public string DialogCloseIconImageUrlStr
|
|
|
|
+ {
|
|
|
|
+ get
|
|
|
|
+ {
|
|
|
|
+ if (string.IsNullOrEmpty(DialogCloseIconImage))
|
|
|
|
+ return null;
|
|
|
|
+ return $"{CMSCollection.CMSDomain}/assets/{DialogCloseIconImage}";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
[JsonProperty("dialog_close_button_visible")]
|
|
[JsonProperty("dialog_close_button_visible")]
|
|
public bool DialogCloseButtonVisible { get; set; }
|
|
public bool DialogCloseButtonVisible { get; set; }
|