Commit a1ebeded authored by xinyuandu's avatar xinyuandu

wait

parent c59867f1
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</div> </div>
<div class="form-group phone-list-container panfang"> <div class="form-group phone-list-container panfang">
<input type="tel" class="form-control phone_jia" placeholder="请输入"> <input type="tel" class="form-control phone_jia" placeholder="请输入" id="panfang_data">
<ul></ul> <ul></ul>
</div> </div>
...@@ -470,7 +470,7 @@ ...@@ -470,7 +470,7 @@
</div>--> </div>-->
<!--</li>--> <!--</li>-->
<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> <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="请选择图片"> <input readonly="readonly" type="text" name="liebiao_pic_input" class="form-control" style="width: 150px !important;display:none" id="liebiao_pic_input" placeholder="请选择图片">
...@@ -478,7 +478,7 @@ ...@@ -478,7 +478,7 @@
<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>
</li> </li>-->
<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="">详情页轮播图(至少2张)</label> <label for="">详情页轮播图(至少2张)</label>
......
...@@ -70,7 +70,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -70,7 +70,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_internalYoushiObj = $('#internalYoushi'), //对内项目优势 _internalYoushiObj = $('#internalYoushi'), //对内项目优势
_foreignYoushiObj = $('#foreignYoushi'), //对外项目优势 _foreignYoushiObj = $('#foreignYoushi'), //对外项目优势
_qianyueRuleObj = $('#qianyueRule'), //签约规则 _qianyueRuleObj = $('#qianyueRule'), //签约规则
_imgUploadLiebiao = $('#liebiao_pic_ul'), //列表页封面图ul //_imgUploadLiebiao = $('#liebiao_pic_ul'), //列表页封面图ul
_imgUploadLunbo = $('#xiangqing_pic_ul'), //详情页轮播图ul _imgUploadLunbo = $('#xiangqing_pic_ul'), //详情页轮播图ul
_imgUploadLouceng = $('#louceng_pic_ul'), //楼层平面图ul _imgUploadLouceng = $('#louceng_pic_ul'), //楼层平面图ul
_pdfUploadFujian = $('#fujian_ul'), //附件ul _pdfUploadFujian = $('#fujian_ul'), //附件ul
...@@ -141,7 +141,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -141,7 +141,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
var _pcUserInfo = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); var _pcUserInfo = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
console.log(_pcUserInfo); console.log(_pcUserInfo);
$('#pf_tel_jia').prev().find('input').val(_pcUserInfo.id + '-' + _pcUserInfo.name + '-' + _pcUserInfo.phone).attr('data-id', _pcUserInfo.id); $('#panfang_data').val(_pcUserInfo.id + '-' + _pcUserInfo.name + '-' + _pcUserInfo.phone).attr('data-id', _pcUserInfo.id);
$('#acqx_tel_jia').prev().find('input').val(_pcUserInfo.id + '-' + _pcUserInfo.name + '-' + _pcUserInfo.phone).attr('data-id', _pcUserInfo.id); $('#acqx_tel_jia').prev().find('input').val(_pcUserInfo.id + '-' + _pcUserInfo.name + '-' + _pcUserInfo.phone).attr('data-id', _pcUserInfo.id);
//获取商铺标签之后在进行其他操作 //获取商铺标签之后在进行其他操作
...@@ -254,6 +254,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -254,6 +254,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
}); });
//房东手机号 //房东手机号
console.log()
_data['landlord_phone_array'] && $.each(_data['landlord_phone_array'], function(i, item) { _data['landlord_phone_array'] && $.each(_data['landlord_phone_array'], function(i, item) {
if(i === 0) { if(i === 0) {
$('#landlordPhone').val(item.phone).prev().val(item.name); $('#landlordPhone').val(item.phone).prev().val(item.name);
...@@ -356,11 +357,11 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -356,11 +357,11 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
//大讲堂调用共用方法赋值与取值 //大讲堂调用共用方法赋值与取值
setCKeditorValue('da_jiang_tang', _data['auditorium']); //大讲堂 setCKeditorValue('da_jiang_tang', _data['auditorium']); //大讲堂
//列表页封面图 //列表页封面图
if(_data['cover']){ /*if(_data['cover']){
_imgUploadLiebiao.html('<li><img title="点击查看大图" src="{0}" /><a href="javascript:;" class="delet-pic-btn">删除</a></li>'.stringFormatObj({ _imgUploadLiebiao.html('<li><img title="点击查看大图" src="{0}" /><a href="javascript:;" class="delet-pic-btn">删除</a></li>'.stringFormatObj({
'0': _urlCut + _data['cover'] '0': _urlCut + _data['cover']
})); }));
}; };*/
//详情页轮播图 //详情页轮播图
...@@ -1190,11 +1191,11 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -1190,11 +1191,11 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
} }
//列表页封面图验证是否上传 //列表页封面图验证是否上传
var _liebiaoPicObj = _imgUploadLiebiao.find('li>img'); /*var _liebiaoPicObj = _imgUploadLiebiao.find('li>img');
if(_liebiaoPicObj.length < 1) { if(_liebiaoPicObj.length < 1) {
alert('列表页封面图需要上传'); alert('列表页封面图需要上传');
return false; return false;
}; };*/
//详情页轮播图验证是否上传 //详情页轮播图验证是否上传
var _xiangqingPicObj = _imgUploadLunbo.find('li>img'); var _xiangqingPicObj = _imgUploadLunbo.find('li>img');
if(_xiangqingPicObj.length < 2) { if(_xiangqingPicObj.length < 2) {
......
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