|
@@ -161,7 +161,7 @@
|
|
//图片上传
|
|
//图片上传
|
|
simpleUpload: {
|
|
simpleUpload: {
|
|
// The URL the images are uploaded to.
|
|
// The URL the images are uploaded to.
|
|
- uploadUrl: '/sys/file_manager/ckeditorUploadImage'
|
|
|
|
|
|
+ uploadUrl: '/sys/file_manager/ckeditorUploadImage?infoid={$data.id}&cjid={$data.cjid}'
|
|
},
|
|
},
|
|
//自定义字体
|
|
//自定义字体
|
|
fontFamily: {
|
|
fontFamily: {
|
|
@@ -232,6 +232,7 @@
|
|
|
|
|
|
//添加标题图
|
|
//添加标题图
|
|
function addTitlePic() {
|
|
function addTitlePic() {
|
|
- layer_show('添加标题图', '{:url("file_manager/uploadimg", ["_layer"=>true,"img_id"=>"titlepic"])}', 800, 500);
|
|
|
|
|
|
+ let url = '{:url("file_manager/uploadimg", ["_layer"=>true,"img_id"=>"titlepic","infoid"=>$data.id,"cjid"=>$data.cjid])}'
|
|
|
|
+ layer_show('添加标题图', url, 800, 500);
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|