* Optimize style for cards in client.

This commit is contained in:
Hao Sun
2021-12-17 14:11:50 +08:00
parent 858894a72b
commit fd3a645a30
4 changed files with 47 additions and 14 deletions
+14
View File
@@ -483,10 +483,24 @@ $(function()
}
})
});
<?php if($this->app->getViewType() == 'xhtml'):?>
function handleLinkButtonClick()
{
var xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent(window.location.href.replace(/.display=card/, '').replace(/\.xhtml/, '.html'));
window.open(xxcUrl);
}
$(function()
{
function handleClientReady()
{
if(!window.adjustXXCViewHeight) return;
window.adjustXXCViewHeight(null, true);
}
if(window.xuanReady) handleClientReady();
else $(window).on('xuan-ready', handleClientReady);
});
<?php endif; ?>
</script>
<?php include '../../common/view/footer.html.php';?>