企业微信自建应用的H5页面的顶部title怎么设置?

企业微信 文章 2022-01-12 14:20 2994 0 全屏看文

AI助手支持GPT4.0

企业微信自建应用的H5页面的顶部title怎么设置?How to set the top title of the H5 page of the enterprise WeChat self-built application?

企业微信自建应用的H5页面的顶部title怎么设置?

在企微打开的自建应用,即H5页面,顶部蓝色背景没有显示标题title,怎么设置自建页面的顶部title呢?

并且,这个标题只能居左显示吗,能不能居中显示

图一:自建页面(无title)

图二:企微客户详情页面(有title)

For the self built application opened in the enterprise and micro enterprise, i.e. H5 page, the title is not displayed on the top blue background. How to set the top title of the self built page? In addition, can this title only be displayed on the left? Can it be displayed in the middle? Figure 1: self built page (no title) Figure 2: enterprise and micro customer details page (with title)

回答:

Charlie:

安卓居左,ios居中

南巷挽清风:嗯嗯 我试试 感恩🙏
南巷挽清风:

可以 用的document.title就行

感谢大佬@微喵网络@Charlie


微喵网络:
<title>页面标题</title>
南巷挽清风:用vue写的单页面,用document.title = '标题'这样可以吗
Charlie:可以
微喵网络:可以
南巷挽清风:我去试试 感谢🙏

-EOF-

AI助手支持GPT4.0