微信js的配置对象

时间:2016-02-02 21:30:12   收藏:0   阅读:309

ValueStack vs=(ValueStack)request.getAttribute("struts.valueStack");
String openId=(String)vs.findValue("openId");
String url = basePath + "daka"+"?openId="+openId;

String photoUrl=(String)vs.findValue("photoUrl");

 

// 5.2 图片预览
document.querySelector(‘#previewImage‘).onclick = function () {
wx.previewImage({
current: ‘<%=photoUrl%>‘,
urls: [
‘<%=photoUrl%>‘
]
});
};

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!