标签:let his 图标 read app pre tap script ons
onReady() { let buttons = ‘按钮‘ //buttons = ‘\ue670‘ 如果是字体图标需要引入ttf文件 // #ifdef APP-PLUS var currentWebview = this.$mp.page.$getAppWebview(); console.log(currentWebview) var tn = currentWebview.getStyle().titleNView; tn.buttons[0].text = buttons; //[0] 按钮的下标 currentWebview.setStyle({ titleNView: tn }); // #endif }
标签:let his 图标 read app pre tap script ons
原文地址:https://www.cnblogs.com/lymconch/p/11286823.html