|
@@ -94,19 +94,18 @@
|
|
|
title="<?php echo $lang['nc_editable']; ?>"
|
|
|
class="alignleft editable tooltip w270"><?php echo $value['special_desc']; ?></span>
|
|
|
</td>
|
|
|
- <td><input type="hidden" name="special_id"
|
|
|
- value="<?php echo $value['special_id']; ?>">
|
|
|
- <span>设置关键字:</span>
|
|
|
+ <td><input type="hidden" name="special_id" value="<?php echo $value['special_id']; ?>">
|
|
|
+ <span>关键字:</span>
|
|
|
<br>
|
|
|
<input type="text" name="search_keyword" style="margin-bottom: 10px;" placeholder="添加该专题的搜索关键字"
|
|
|
value="<?php echo $value['keywords']; ?>">
|
|
|
<br>
|
|
|
- <span>设置搜索封面:</span>
|
|
|
- <?php if(empty($value['search_cover'])){?>
|
|
|
+ <span>封面:</span>
|
|
|
+ <?php if(empty($value['share_image'])){?>
|
|
|
<img class="dialog_item_image" src="" style="display: none;">
|
|
|
<?php }else{?>
|
|
|
<br>
|
|
|
- <img class="dialog_item_image" style="vertical-align: middle;" src="<?php echo UPLOAD_SITE_URL.'/mobile/special/s/'.$value['search_cover']?>">
|
|
|
+ <img class="dialog_item_image" style="vertical-align: middle;" src="<?php echo $value['share_image']?>">
|
|
|
<?php };?>
|
|
|
<input type="file" name="special_image" style="width: 62px;" data-special-id="<?php echo $value['special_id'];?>" class="btn_upload_image">
|
|
|
<input type="hidden" class="dialog_bg_image_name" value="">
|
|
@@ -253,7 +252,7 @@
|
|
|
$(this).siblings('.progress').text('').hide();
|
|
|
$(this).siblings('.dialog_item_image').attr('src', result.image_url);
|
|
|
$(this).siblings('.dialog_item_image').show();
|
|
|
- $(this).siblings('.dialog_bg_image_name').val(result.image_name);
|
|
|
+ $(this).siblings('.dialog_bg_image_name').val(result.image_url);
|
|
|
} else {
|
|
|
showError(result.error);
|
|
|
}
|