<div id="tap_popover" class="box mui-popover mui-popover-action mui-popover-bottom" style="width: 50%; margin-left: 25%; margin-bottom: 60%; background: white;">
<img id="ewmimg" src="">
</div>
mui.ajax(__api_url+'/Index/opentask', {
data:{
'token':__tbkGetCookie('user_token'),
'task_id':taskid,
},
dataType: 'json',
type: 'post',
async: false,
headers: {'Content-Type': 'application/json'},
success: function (jsondata) {
if(jsondata.code == '1'){
var imgpath = __img_url + jsondata.data.ewm;
$("#ewmimg").attr('src',imgpath);
mui("#tap_popover").popover('toggle', document.getElementById("div"));
}else{
alert(jsondata.msg);
}
},
});