diff --git a/pages.json b/pages.json index d6270e1..eef403f 100644 --- a/pages.json +++ b/pages.json @@ -130,6 +130,14 @@ { "navigationBarTitleText" : "证件照合成" } + }, + { + "path" : "merge/face_1", + "style" : + { + "navigationBarTitleText" : "上传图片", + "navigationStyle": "custom" + } } ] diff --git a/pages/index/components/header.vue b/pages/index/components/header.vue index 241403c..5732263 100644 --- a/pages/index/components/header.vue +++ b/pages/index/components/header.vue @@ -2,7 +2,7 @@ - + @@ -20,14 +20,14 @@ export default { // theme: light || dark - props: ["bgColor", "title", "theme"], + props: ["bgColor", "title", "theme","left"], data() { return { navHeight: 80, thisBack:'', thisColor:'', - + left_style:'' } }, onLoad(options) { @@ -70,6 +70,12 @@ export default { this.thisBack = 'transparent'; } + + + if(this.left == 'false'){ + + this.left_style = "display:none" + } this.getNavHeight() }, diff --git a/pages/index/index.vue b/pages/index/index.vue index b9d0e62..f988fe4 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,6 +1,6 @@ + + + +