|
|
|
@ -3,30 +3,34 @@
|
|
|
|
|
*/ |
|
|
|
|
!(function () { |
|
|
|
|
// 正文
|
|
|
|
|
BI.config("bi.constant.design.widget.detail.table_style.font_family", function(items) { |
|
|
|
|
return BI.concat(items, [{ |
|
|
|
|
value: "adidasHeader", |
|
|
|
|
text: "自定义字体头字体" |
|
|
|
|
}, { |
|
|
|
|
value: "adidasBody", |
|
|
|
|
text: "自定义字体Bodyzi字体" |
|
|
|
|
}]); |
|
|
|
|
BI.config("bi.provider.template_style", function (p) { |
|
|
|
|
p.inject({ |
|
|
|
|
fonts: [{ |
|
|
|
|
value: "adidasHeader", |
|
|
|
|
text: "自定义字体头字体" |
|
|
|
|
}, { |
|
|
|
|
value: "adidasBody", |
|
|
|
|
text: "自定义字体Bodyzi字体" |
|
|
|
|
}] |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// 标题
|
|
|
|
|
BI.config("bi.constant.materials.rich_editor.font_family", function(items) { |
|
|
|
|
return BI.concat(items, [{ |
|
|
|
|
value: "adidasHeader", |
|
|
|
|
text: "自定义字体头字体" |
|
|
|
|
}, { |
|
|
|
|
value: "adidasBody", |
|
|
|
|
text: "自定义字体Bodyzi字体" |
|
|
|
|
}]); |
|
|
|
|
BI.config("bi.provider.combo.font_family", function (p) { |
|
|
|
|
p.inject({ |
|
|
|
|
fonts: [{ |
|
|
|
|
value: "adidasHeader", |
|
|
|
|
text: "自定义字体头字体" |
|
|
|
|
}, { |
|
|
|
|
value: "adidasBody", |
|
|
|
|
text: "自定义字体Bodyzi字体" |
|
|
|
|
}] |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// 默认属性配置
|
|
|
|
|
BI.config("bi.provider.widget.conf", function(p) { |
|
|
|
|
p.config({ |
|
|
|
|
BI.config("bi.provider.widget.conf", function (p) { |
|
|
|
|
p.inject({ |
|
|
|
|
axisWidth: 0, |
|
|
|
|
hGridWidth: 0, |
|
|
|
|
vGridWidth: 0 |
|
|
|
|