如何修改地址栏icon图标
PC端域名上方的小logo图标的可以通过网页head的link指定
要设置head的link需要添加一个html文件控制,html文件的名字为template.html,内容如下:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="SHORTCUT ICON" href="xxxx"/>
</head>
</html>
其中href就是指向的是图标地址,可以是http开头的路径,也可以是/开头的路径。
配置/开头的路径,如下:在pc/img下有一个icon.png图片,路径就可以配置为/entry/pcapp/pc/img/icon.png