修复图片路径

master
星期八 6 years ago
parent 699ba0b7f6
commit 3881fe91fa
  1. 2
      src/main/webapp/WEB-INF/views/jsp/cms/wechat/message/index.jsp
  2. 3
      src/main/webapp/WEB-INF/views/jsp/cms/wechat/rule/index.jsp

@ -139,6 +139,8 @@
fileElementId:"file", fileElementId:"file",
data:obj, data:obj,
success: function(result){ success: function(result){
console.log(result);
if(result.success==true){ if(result.success==true){
$.messager.alert('提醒','提交成功','warning'); $.messager.alert('提醒','提交成功','warning');
$("#editDate").dialog('close'); $("#editDate").dialog('close');

@ -119,7 +119,6 @@
<div class="keyword-content" id="keyword"> <div class="keyword-content" id="keyword">
<div class="keyword-content-row"> <div class="keyword-content-row">
<select class="keyword-select"> <select class="keyword-select">
<c:forEach var="wechatKeywordMatchinType" items="${wechatKeywordMatchinTypeMap}" > <c:forEach var="wechatKeywordMatchinType" items="${wechatKeywordMatchinTypeMap}" >
<option value="${wechatKeywordMatchinType.key}" >${wechatKeywordMatchinType.value}</option> <option value="${wechatKeywordMatchinType.key}" >${wechatKeywordMatchinType.value}</option>
</c:forEach> </c:forEach>
@ -653,7 +652,7 @@
html += ' <div class="message-row" onclick="onMessaegRow(this)">'; html += ' <div class="message-row" onclick="onMessaegRow(this)">';
html += '<input type="hidden" value="'+wechatMessage.id+'" />'; html += '<input type="hidden" value="'+wechatMessage.id+'" />';
html +='<div class="message-title">'+wechatMessage.title+'</div>'; html +='<div class="message-title">'+wechatMessage.title+'</div>';
html +='<img class="message-image" src="'+wechatMessage.imagerUrl+'" width="50" height="60">'; html +='<img class="message-image" src="${ctx}/loadFile/'+wechatMessage.imageUrl+'" width="50" height="60">';
html +='<div class="message-content">'+content +'</div>'; html +='<div class="message-content">'+content +'</div>';
html +='<div class="message-createTime">更新于 '+wechatMessage.updateTime+' </div>'; html +='<div class="message-createTime">更新于 '+wechatMessage.updateTime+' </div>';
html +='<div class="chekc-Div '+isShow+'" > <img class ="check-image" src="${ctx}/resources/cms/wechat/rule/image/u710.png"></div>'; html +='<div class="chekc-Div '+isShow+'" > <img class ="check-image" src="${ctx}/resources/cms/wechat/rule/image/u710.png"></div>';

Loading…
Cancel
Save