|
@@ -1,4 +1,3 @@
|
|
|
-<!DOCTYPE HTML>
|
|
|
<html>
|
|
|
<head>
|
|
|
<title> 企业社区-首页</title>
|
|
@@ -67,6 +66,10 @@ if(typeof(signature) != "undefined" && signature != null && signature.length ==
|
|
|
<input type="text" id="query" class="form-control" style="height:40px;" name="words" placeholder="找企业" >
|
|
|
<input type="hidden" name="i_mingpian" id="i_mingpian" value="" />
|
|
|
<input type="hidden" name="mingpian" id="mingpian" value="" />
|
|
|
+ <input type="hidden" name="city" id="citys" value="">
|
|
|
+ <input type="hidden" name="cityNo" id="" value="1">
|
|
|
+ <input type="hidden" name="c_hfl" id="c_hfl" value=''>
|
|
|
+ <input type="hidden" name="c_zb" id="c_zb" value=''>
|
|
|
<span class="glyphicon glyphicon-camera input-after" id="camera"></span>
|
|
|
<span class="input-group-addon"><span onclick="$('#search').submit();" class="glyphicon glyphicon-search"></span></span>
|
|
|
</div>
|
|
@@ -87,7 +90,7 @@ $("#camera").click(function(){
|
|
|
sizeType: ['compressed'], // 可以指定是原图还是压缩图,默认二者都有
|
|
|
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
|
|
|
success: function (res) {
|
|
|
- var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
|
|
|
+ var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
|
|
|
uploadImage(localIds[0]);
|
|
|
}
|
|
|
});
|