Commit ef7ecf11 authored by 黄奎's avatar 黄奎

页面修改

parent 89c205ab
......@@ -195,9 +195,12 @@
return detailsObj;
},
initFeature(isReload) {
this.FeatureData.FeatureHtmlJson.forEach(x=>{
x.dataObj.ShadowFontSize = x.dataObj.ShadowFontSize?Number(x.dataObj.ShadowFontSize):0
})
if (this.FeatureData && this.FeatureData.FeatureHtmlJson && typeof (this.FeatureData.FeatureHtmlJson) ==
Array) {
this.FeatureData.FeatureHtmlJson.forEach(x => {
x.dataObj.ShadowFontSize = x.dataObj.ShadowFontSize ? Number(x.dataObj.ShadowFontSize) : 0;
})
}
var oldJson = this.FeatureData.FeatureHtmlJson ?
JSON.parse(JSON.stringify(this.FeatureData.FeatureHtmlJson)) :
"";
......@@ -262,7 +265,7 @@
}
newObj.ShadowName = "遇见最美好的自己";
newObj.SubShadowName = "在古老的日本樱花街道";
newObj.ShadowFontSize = tripObj.ShadowFontSize?Number(tripObj.ShadowFontSize):0;
newObj.ShadowFontSize = tripObj.ShadowFontSize ? Number(tripObj.ShadowFontSize) : 0;
if (tripObj.scenicArray && tripObj.scenicArray.length > 0) {
newObj.DetailsName = tripObj.scenicArray[0].MainName;
var tempImgUrl = this.homeBg2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment