mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-22 01:06:50 +08:00
iframe 页面无法进行点赞 点菜 评论
This commit is contained in:
@@ -615,9 +615,9 @@
|
|||||||
<span>查看评价</span>
|
<span>查看评价</span>
|
||||||
<button class="dialog-close" onclick="DialogHandler.closeDialog()" type="button">×</button>
|
<button class="dialog-close" onclick="DialogHandler.closeDialog()" type="button">×</button>
|
||||||
</div>
|
</div>
|
||||||
<textarea id="commentText" placeholder="请输入您的评价..."></textarea>
|
<textarea id="commentText" placeholder="本次风险筛查结果暂无评价"></textarea>
|
||||||
<div class='dialog-action'>
|
<div class='dialog-action'>
|
||||||
<button style='background: #3498db; color: white; border: 1px solid #3498db;' onclick="DialogHandler.saveComment()" type="button">发布</button>
|
<button id='saveBtn' style='background: #3498db; color: white; border: 1px solid #3498db;' onclick="DialogHandler.saveComment()" type="button">发布</button>
|
||||||
<button onclick="DialogHandler.closeDialog()" type="button">关闭</button>
|
<button onclick="DialogHandler.closeDialog()" type="button">关闭</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1201,11 +1201,28 @@
|
|||||||
var ping = document.getElementById('ping');
|
var ping = document.getElementById('ping');
|
||||||
var zan = document.getElementById('zan');
|
var zan = document.getElementById('zan');
|
||||||
|
|
||||||
|
var noNav = Utils.getQueryParam('noNav');
|
||||||
|
var noPadding = Utils.getQueryParam('noPT');
|
||||||
ping.onclick = function() {
|
ping.onclick = function() {
|
||||||
DialogHandler.showDialog();
|
DialogHandler.showDialog();
|
||||||
|
var commentText = document.getElementById('commentText')
|
||||||
|
var saveBtn = document.getElementById('saveBtn')
|
||||||
|
|
||||||
|
commentText.removeAttribute('disabled')
|
||||||
|
|
||||||
|
saveBtn.style.display = ''
|
||||||
|
if(noNav || noPadding){
|
||||||
|
commentText.setAttribute('disabled',true)
|
||||||
|
saveBtn.style.display = 'none'
|
||||||
|
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
zan.onclick = function() {
|
zan.onclick = function() {
|
||||||
|
if(noNav || noPadding){
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
var dataParams = {
|
var dataParams = {
|
||||||
taCode: StateManager.taCode,
|
taCode: StateManager.taCode,
|
||||||
resultId: StateManager.resultId,
|
resultId: StateManager.resultId,
|
||||||
@@ -1241,6 +1258,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
cai.onclick = function() {
|
cai.onclick = function() {
|
||||||
|
if(noNav || noPadding){
|
||||||
|
return false
|
||||||
|
}
|
||||||
var dataParams = {
|
var dataParams = {
|
||||||
taCode: StateManager.taCode,
|
taCode: StateManager.taCode,
|
||||||
resultId: StateManager.resultId,
|
resultId: StateManager.resultId,
|
||||||
|
|||||||
Reference in New Issue
Block a user