Commit a178db20 authored by xinyuandu's avatar xinyuandu

123

parent 636f2964
......@@ -10,7 +10,12 @@
.no-border{
border : none;
}
#preview{
#preview image{
height:300px !important;
width:500px !important;
}
#preview {
height:300px !important;
width:500px !important;
......@@ -125,7 +130,7 @@
<button class="btn btn-default">选择图片</button>
</div>
<div class="col-xs-12 img_area">
</div>
</div>
</div>
......
......@@ -172,7 +172,7 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
var img_label = '' ;
var image_show = "";
image_show += '<image width="100px" height="80px" src="'+data.data.list.img_file_path + '/' + data.data.list.img_name +'">"</image>';
image_show += '<image width="100px" height="80px" src="'+data.data.list.img_file_path + '/' + data.data.list.img_name +'"></image>';
if (data.data.list.img_type == 0){
img_type = "室外图";
} else if (data.data.list.img_type == 1){
......@@ -186,6 +186,7 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
$('#creat_time').text(data.data.list.create_time);
$('#picture_type_show').text(img_type);
$('#yetai_id_show').text(data.data.list.label);
$('.img_area_show').empty();
$('.img_area_show').append(image_show);
}
});
......
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