diff --git a/src/platforms/h5/components/page/index.vue b/src/platforms/h5/components/page/index.vue
index 344dfc18e796e5f125d0adf5b863b2f4444fa91e..146311b44a8cfbca9949488ec575c9f8311ba818 100644
--- a/src/platforms/h5/components/page/index.vue
+++ b/src/platforms/h5/components/page/index.vue
@@ -132,6 +132,10 @@ export default {
default () {
return {}
}
+ },
+ titleImage: {
+ type: String,
+ default: ''
}
},
data () {
@@ -140,7 +144,8 @@ export default {
backButton: !this.isQuit && !this.$route.meta.isQuit, // redirectTo,reLaunch时可能动态修改 meta.isQuit
backgroundColor: this.navigationBarBackgroundColor,
textColor: this.navigationBarTextStyle === 'black' ? '#000' : '#fff',
- titleText: this.navigationBarTitleText,
+ titleText: this.navigationBarTitleText,
+ titleImage: this.titleImage,
duration: '0',
timingFunc: ''
}, this.titleNView)
diff --git a/src/platforms/h5/components/page/pageHead.vue b/src/platforms/h5/components/page/pageHead.vue
index 6dba259face572007772d0658619109a8edea856..32b4b5770b32385f176b1d94a31002575009fa7d 100644
--- a/src/platforms/h5/components/page/pageHead.vue
+++ b/src/platforms/h5/components/page/pageHead.vue
@@ -41,8 +41,14 @@
>
- {{ titleText }}
+ class="uni-loading"/>
+
+
+ {{ titleText }}
+