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