点击链接检察api详情
https://docs.apicloud.com/Client-API/Func-Ext/photoBrowser
var photoBrowser = api.require(‘photoBrowser‘); seeImage: function(index,item) { var this_obj = this; photoBrowser.open({ images: this_obj.textareaClick[index].img, placeholderImg: ‘widget://image/loading_more.gif‘, bgColor: ‘#000‘ }, function(ret, err) { if (ret) { if (ret.eventType == ‘click‘) { photoBrowser.close() } } else { alert(JSON.stringify(err)); } }); photoBrowser.setIndex({ index: index }); }
,