Commit 0db7877d authored by agping's avatar agping

商学院修改

parent e52eac2c
...@@ -231,6 +231,12 @@ ...@@ -231,6 +231,12 @@
.cke_skin_kama .cke_wrapper{ .cke_skin_kama .cke_wrapper{
background-color:#fff; background-color:#fff;
} }
#modal_detail_value{
height: 200px;
overflow-y: scroll;
border: 1px solid #ccc;
background: #fff;
}
</style> </style>
<!--导航star--> <!--导航star-->
...@@ -357,7 +363,7 @@ ...@@ -357,7 +363,7 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<table class="table table-striped table-bordered table-hover table-condensed"> <table class="table table-striped table-bordered table-hover table-condensed">
<tbody id="" class="text-center"> <tbody id="" class="">
<tr> <tr>
<td> <td>
<form class="form-horizontal" action="/agents/add_user" id=""> <form class="form-horizontal" action="/agents/add_user" id="">
...@@ -386,8 +392,6 @@ ...@@ -386,8 +392,6 @@
<li class="list-group-item"> <li class="list-group-item">
<!--封面图 一张--> <!--封面图 一张-->
<div class="form-group full-width-100 full-pic-area"> <div class="form-group full-width-100 full-pic-area">
<!--<label for="">列表页封面图(1张)</label>-->
<!--<input readonly="readonly" type="text" name="liebiao_pic_input" class="form-control" style="width: 150px !important;display:none" id="liebiao_pic_input" placeholder="请选择图片">-->
<span class="tip"></span> <span class="tip"></span>
</div> </div>
<ul class="img-pre-ul" id="liebiao_pic_ul"></ul> <ul class="img-pre-ul" id="liebiao_pic_ul"></ul>
...@@ -399,15 +403,8 @@ ...@@ -399,15 +403,8 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label">内容:</label> <label class="col-sm-2 control-label">内容:</label>
<div class="col-sm-9"> <div class="col-sm-9">
<!--<div class="form-group" style="width: 100%;">-->
<div class="" style="width: 100%;"> <div class="" style="width: 100%;">
<!--<label for="" style="width: 100%;">内容</label>--> <div style="width : 100%" id="modal_detail_value" ></div>
<textarea style=";width : 100% ;height:120px;;border :none !important ;" id="modal_detail_value" readonly></textarea>
<!--<div class="input-group" style="width: 100%;" id="dajiangtang">
<?php
create_editor('goods_sup_id','');
?>
</div>-->
</div> </div>
</div> </div>
...@@ -418,18 +415,12 @@ ...@@ -418,18 +415,12 @@
<label class="col-sm-2 control-label">附件<!--(格式为pdf/doc,选填,上限为10个)--></label> <label class="col-sm-2 control-label">附件<!--(格式为pdf/doc,选填,上限为10个)--></label>
<div class="col-sm-9"> <div class="col-sm-9">
<div class="file-upload-area" style="padding-left:15px!important"> <div class="file-upload-area" style="padding-left:15px!important">
<!--<div class="btn-area">
<input type="file" id="file_input" class="" data-limittop="10" />
</div>-->
<ul class="img-pre-ul" id="fujian_ul"></ul> <ul class="img-pre-ul" id="fujian_ul"></ul>
<p><strong>点击文件名称即可下载</strong></p> <p class="text-center"><strong>点击文件名称即可下载</strong></p>
</div> </div>
</div> </div>
</div> </div>
<p class="translation-text" style="display: none;"></p>
</form> </form>
<!--<button type="button" class="btn btn-primary" id="add_news">保存 </button>-->
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -160,9 +160,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde ...@@ -160,9 +160,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
dataType: "json", dataType: "json",
success: function(data) { success: function(data) {
if(data.code == 200) { if(data.code == 200) {
$(".translation-text").html(''); $('#modal_detail_value').html(data.data.content);
$(".translation-text").append(data.data.content);
$('#modal_detail_value').val($(".translation-text").text());
$("#announcement_title").val(data.data.title); $("#announcement_title").val(data.data.title);
$("#district_id2").val(data.data.s_label_id * 1); //商学院标签id $("#district_id2").val(data.data.s_label_id * 1); //商学院标签id
var _data = data['data']; var _data = data['data'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment