Merge branch 'dev_lxw' of https://gitlab.com/whyclxw1/gx_tieta.git into dev_lxw
| | |
| | | ,full: true
|
| | | ,anim: 4
|
| | | ,content: 'iframe/homeinfo1.html'
|
| | | ,success: function() {
|
| | | $('div[data-role=page]').hide();
|
| | | }
|
| | | ,end: function() {
|
| | | $('div[data-role=page]').show();
|
| | | }
|
| | | });
|
| | | layer.full(iframePopup);
|
| | | })
|
| | |
| | | ,full: true
|
| | | ,anim: 4
|
| | | ,content: 'iframe/homeinfo1.html'
|
| | | ,success: function() {
|
| | | $('div[data-role=page]').hide();
|
| | | }
|
| | | ,end: function() {
|
| | | $('div[data-role=page]').show();
|
| | | }
|
| | | });
|
| | | layer.full(iframePopup);
|
| | | // applyendyanshou(arr);
|
| | |
| | | ,full: true
|
| | | ,anim: 4
|
| | | ,content: 'iframe/seenhomeinfo.html'
|
| | | ,success: function() {
|
| | | $('div[data-role=page]').hide();
|
| | | }
|
| | | ,end: function() {
|
| | | $('div[data-role=page]').show();
|
| | | }
|
| | | });
|
| | | layer.full(iframePopup);
|
| | | });
|
| | |
| | | var uploadImgsLoad;
|
| | | var uploadImgs = upload.render({
|
| | | elem: '#imgsSelect'
|
| | | ,url: 'MyFileAction!uploadStationFile'
|
| | | ,url: 'MyFileAction!uploadStationFile_mobile'
|
| | | ,accept: 'image'
|
| | | ,multiple: true
|
| | | ,data: {
|
| | | json:JSON.stringify( {
|
| | | StationId: homeInfo.homeId,
|
| | | VideoOrImage: 'image'
|
| | | })
|
| | | }
|
| | | ,data:{} |
| | | ,auto: false
|
| | | ,bindAction: '#uploadImgs'
|
| | | ,choose: function(obj){
|
| | |
| | | imgsInfo.append(tr);
|
| | | });
|
| | | }
|
| | | ,before:function() {
|
| | | ,before:function(obj) {
|
| | | uploadImgsLoad = layer.load(1);
|
| | | // 设置提交的参数
|
| | | this.data.json = JSON.stringify({
|
| | | StationId: homeInfo.homeId
|
| | | ,VideoOrImage: 'image'
|
| | | ,binfmation: {
|
| | | StationId: homeInfo.homeId
|
| | | ,StationName: $('#homeName').val()
|
| | | ,latitude: $('#lat').val() // 纬度
|
| | | ,longitude: $('#lng').val() // 经度
|
| | | ,Address: $('#addr').val() // 地址
|
| | | }
|
| | | })
|
| | | }
|
| | | ,done:function(res) {
|
| | | var rs = JSON.parse(res.result);
|
| | |
| | | ,full: true
|
| | | ,anim: 4
|
| | | ,content: 'iframe/homeinfo1.html'
|
| | | ,success: function() {
|
| | | $('div[data-role=page]').hide();
|
| | | }
|
| | | ,end: function() {
|
| | | $('div[data-role=page]').show();
|
| | | }
|
| | | });
|
| | | layer.full(iframePopup);
|
| | | // applyendyanshou(arr);
|
| | |
| | | ,full: true
|
| | | ,anim: 4
|
| | | ,content: 'iframe/seenhomeinfo.html'
|
| | | ,success: function() {
|
| | | $('div[data-role=page]').hide();
|
| | | }
|
| | | ,end: function() {
|
| | | $('div[data-role=page]').show();
|
| | | }
|
| | | });
|
| | | layer.full(iframePopup);
|
| | | });
|