|
|
|
@ -465,8 +465,10 @@
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//是否只使用构建工具
|
|
|
|
|
if ($('#PcAmp input').is(':checked')) {
|
|
|
|
|
editor.readonly(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//新闻日历
|
|
|
|
|
$(function () {
|
|
|
|
@ -555,10 +557,6 @@
|
|
|
|
|
<a href="<?php echo($amp_build_url); ?>" target="_blank"> HTML构建工具 </a>
|
|
|
|
|
</label> |
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function() {
|
|
|
|
|
if ($('#PcAmp input').is(':checked')) {
|
|
|
|
|
editor.readonly(true);
|
|
|
|
|
}
|
|
|
|
|
$('#PcAmp input').on('change', function(){
|
|
|
|
|
var checked = $(this).is(':checked');
|
|
|
|
|
if(checked) {
|
|
|
|
@ -568,8 +566,7 @@
|
|
|
|
|
meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'no');
|
|
|
|
|
editor.readonly(false);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php if ($information->amp_status === '1') { ?>
|
|
|
|
|