|
@@ -87,7 +87,7 @@ export default {
|
|
const {titleDetail,titleContent,title} = page
|
|
const {titleDetail,titleContent,title} = page
|
|
//兼容之前的ppt
|
|
//兼容之前的ppt
|
|
if(!titleDetail||!titleContent){
|
|
if(!titleDetail||!titleContent){
|
|
- slide.addText(this.pageList[i].title, {
|
|
|
|
|
|
+ slide.addText(title, {
|
|
placeholder:"slideTitle",
|
|
placeholder:"slideTitle",
|
|
x:'10%',
|
|
x:'10%',
|
|
y:'5.5%',
|
|
y:'5.5%',
|
|
@@ -99,11 +99,13 @@ export default {
|
|
const {left,top,width,height} = titleDetail
|
|
const {left,top,width,height} = titleDetail
|
|
const text = toTextProps(toJson(titleContent))
|
|
const text = toTextProps(toJson(titleContent))
|
|
slide.addText(text,{
|
|
slide.addText(text,{
|
|
- placeholder:"slideTitle",
|
|
|
|
|
|
+ /* placeholder:"slideTitle", */ //加上后会走母版slideTitle的设置
|
|
x:left+'%',
|
|
x:left+'%',
|
|
y:top+'%',
|
|
y:top+'%',
|
|
w:width+'%',
|
|
w:width+'%',
|
|
- h:height+'%'
|
|
|
|
|
|
+ h:height+'%',
|
|
|
|
+ color:'333333',
|
|
|
|
+ fontSize:12
|
|
})
|
|
})
|
|
}
|
|
}
|
|
return slide
|
|
return slide
|