Commit d23fa3b0399082e2fe0a5b46c38e407a615ed538
1 parent
d7f05956
基础信息功能修订
Showing
4 changed files
with
84 additions
and
19 deletions
src/main/resources/static/pages/base/carpark/edit_select.html
| ... | ... | @@ -29,7 +29,7 @@ |
| 29 | 29 | </div> |
| 30 | 30 | </div> |
| 31 | 31 | <div class="form-group"> |
| 32 | - <label class="col-md-3 control-label">修改方式:</label> | |
| 32 | + <label class="col-md-3 control-label"><span class="required"> * </span>修改方式 :</label> | |
| 33 | 33 | <div class="col-md-9"> |
| 34 | 34 | <div class="icheck-list"> |
| 35 | 35 | <label> |
| ... | ... | @@ -54,7 +54,7 @@ |
| 54 | 54 | $('#editPositions_select_mobal').on('editSelectMobal_show', function(e, map,fun,carParkE,ajaxd){ |
| 55 | 55 | // 显示选择修改方式弹出层 |
| 56 | 56 | $('#editPositions_select_mobal').modal({show : true,backdrop: 'static',keyboard: false}); |
| 57 | - $('.tipso-animation').tipso({ | |
| 57 | + /* $('.tipso-animation').tipso({ | |
| 58 | 58 | speed : 100, |
| 59 | 59 | background : '#0ed0e8', |
| 60 | 60 | color : '#ffffff', |
| ... | ... | @@ -72,6 +72,27 @@ $('#editPositions_select_mobal').on('editSelectMobal_show', function(e, map,fun, |
| 72 | 72 | setTimeout(function(){ |
| 73 | 73 | $('.tipso-animation').tipso('show'); |
| 74 | 74 | setTimeout(function(){$('.tipso-animation').tipso('hide');},4000); |
| 75 | + },500); */ | |
| 76 | + setTimeout(function(){ | |
| 77 | + var offsetY = $('.modal-dialog').offset().top-3 , | |
| 78 | + offsetX = $('.modal-dialog').offset().left-10 ; | |
| 79 | + $('.tipso-animation').tipso({ | |
| 80 | + speed : 100, | |
| 81 | + background : '#0ed0e8', | |
| 82 | + color : '#ffffff', | |
| 83 | + position :'right', | |
| 84 | + width : 390, | |
| 85 | + delay : 400, | |
| 86 | + animationIn : 'bounceIn', | |
| 87 | + animationOut : 'bounceOut', | |
| 88 | + offsetX : -(offsetX), | |
| 89 | + offsetY : -(offsetY), | |
| 90 | + content :'<span style="display:block; float:left;font-size:x-small;line-height:12px">A)手动规划:手动在地图上画出停车场范围,然后双击鼠标右键保存.</span></br>'+ | |
| 91 | + '<span style="display:block; float:left;font-size:x-small">B)重新编辑:编辑原始位置与站点信息.</span>', | |
| 92 | + | |
| 93 | + }); | |
| 94 | + $('.tipso-animation').tipso('show'); | |
| 95 | + setTimeout(function(){$('.tipso-animation').tipso('hide');},4000); | |
| 75 | 96 | },500); |
| 76 | 97 | var carParkObj = carParkE.getEitdCarPark(); |
| 77 | 98 | // 获取停车场名称元素并赋值 | ... | ... |
src/main/resources/static/pages/base/station/edit_select.html
| ... | ... | @@ -56,7 +56,7 @@ $('#editPositions_select_mobal').on('editSelectMobal_show', function(e, map,drm, |
| 56 | 56 | console.log(EditStation); |
| 57 | 57 | // 显示选择修改方式弹出层 |
| 58 | 58 | $('#editPositions_select_mobal').modal({show : true,backdrop: 'static',keyboard: false}); |
| 59 | - $('.tipso-animation').tipso({ | |
| 59 | + /* $('.tipso-animation').tipso({ | |
| 60 | 60 | speed : 100, |
| 61 | 61 | background : '#0ed0e8', |
| 62 | 62 | color : '#ffffff', |
| ... | ... | @@ -74,6 +74,27 @@ $('#editPositions_select_mobal').on('editSelectMobal_show', function(e, map,drm, |
| 74 | 74 | setTimeout(function(){ |
| 75 | 75 | $('.tipso-animation').tipso('show'); |
| 76 | 76 | setTimeout(function(){$('.tipso-animation').tipso('hide');},4000); |
| 77 | + },500); */ | |
| 78 | + setTimeout(function(){ | |
| 79 | + var offsetY = $('.modal-dialog').offset().top-3 , | |
| 80 | + offsetX = $('.modal-dialog').offset().left-10 ; | |
| 81 | + $('.tipso-animation').tipso({ | |
| 82 | + speed : 100, | |
| 83 | + background : '#0ed0e8', | |
| 84 | + color : '#ffffff', | |
| 85 | + position :'right', | |
| 86 | + width : 390, | |
| 87 | + delay : 400, | |
| 88 | + animationIn : 'bounceIn', | |
| 89 | + animationOut : 'bounceOut', | |
| 90 | + offsetX : -(offsetX), | |
| 91 | + offsetY : -(offsetY), | |
| 92 | + content :'<span style="display:block; float:left;font-size:x-small;line-height:12px">A)重新绘制位置:手动在地图上画出站点范围,然后双击鼠标右键保存.</span></br>'+ | |
| 93 | + '<span style="display:block; float:left;font-size:x-small">B)编辑原始位置:编辑原始位置与站点信息.</span>', | |
| 94 | + | |
| 95 | + }); | |
| 96 | + $('.tipso-animation').tipso('show'); | |
| 97 | + setTimeout(function(){$('.tipso-animation').tipso('hide');},4000); | |
| 77 | 98 | },500); |
| 78 | 99 | // 获取站点名称元素并赋值 |
| 79 | 100 | $('#stationNamebootboxInput').val(EditStation.zdmc); | ... | ... |
src/main/resources/static/pages/base/stationroute/add_select.html
| ... | ... | @@ -48,7 +48,7 @@ |
| 48 | 48 | $('#add_select_mobal').on('AddSelectMobal.show', function(e,map_,drw,ajaxd_,stationObj,lineObj,fun){ |
| 49 | 49 | // 加载显示mobal |
| 50 | 50 | $('#add_select_mobal').modal({show : true,backdrop: 'static', keyboard: false}); |
| 51 | - $('.tipso-animation').tipso({ | |
| 51 | + /* $('.tipso-animation').tipso({ | |
| 52 | 52 | speed : 100, |
| 53 | 53 | background : '#0ed0e8', |
| 54 | 54 | color : '#ffffff', |
| ... | ... | @@ -66,6 +66,27 @@ $('#add_select_mobal').on('AddSelectMobal.show', function(e,map_,drw,ajaxd_,stat |
| 66 | 66 | setTimeout(function(){ |
| 67 | 67 | $('.tipso-animation').tipso('show'); |
| 68 | 68 | setTimeout(function(){$('.tipso-animation').tipso('hide');},4000); |
| 69 | + },500); */ | |
| 70 | + setTimeout(function(){ | |
| 71 | + var offsetY = $('.modal-dialog').offset().top-3 , | |
| 72 | + offsetX = $('.modal-dialog').offset().left-10 ; | |
| 73 | + $('.tipso-animation').tipso({ | |
| 74 | + speed : 100, | |
| 75 | + background : '#0ed0e8', | |
| 76 | + color : '#ffffff', | |
| 77 | + position :'right', | |
| 78 | + width : 390, | |
| 79 | + delay : 400, | |
| 80 | + animationIn : 'bounceIn', | |
| 81 | + animationOut : 'bounceOut', | |
| 82 | + offsetX : -(offsetX), | |
| 83 | + offsetY : -(offsetY), | |
| 84 | + content :'<span style="display:block; float:left;font-size:x-small;line-height:10px">A)系统生成:根据站点名称自动生成以150米为半径范围的圆.</span></br>'+ | |
| 85 | + '<span style="display:block; float:left;font-size:x-small">B)手动添加:手动在地图上画出站点范围,然后双击鼠标右键保存.</span>', | |
| 86 | + | |
| 87 | + }); | |
| 88 | + $('.tipso-animation').tipso('show'); | |
| 89 | + setTimeout(function(){$('.tipso-animation').tipso('hide');},4000); | |
| 69 | 90 | },500); |
| 70 | 91 | // 站点名称改变事件 |
| 71 | 92 | $('#stationNamebootboxInput').on('change',function() { | ... | ... |
src/main/resources/static/pages/base/stationroute/edit_select.html
| ... | ... | @@ -52,22 +52,24 @@ $('#edit_select_mobal').on('editSelectMobal_show', function(e, map_,drw,ajaxd,ed |
| 52 | 52 | var Station = sel[0].original; |
| 53 | 53 | // 显示选择修改方式弹出层 |
| 54 | 54 | $('#edit_select_mobal').modal({show : true,backdrop: 'static',keyboard: false}); |
| 55 | - $('.tipso-animation').tipso({ | |
| 56 | - speed : 100, | |
| 57 | - background : '#0ed0e8', | |
| 58 | - color : '#ffffff', | |
| 59 | - position :'right', | |
| 60 | - width : 390, | |
| 61 | - delay : 400, | |
| 62 | - animationIn : 'bounceIn', | |
| 63 | - animationOut : 'bounceOut', | |
| 64 | - offsetX : -485, | |
| 65 | - offsetY : -25, | |
| 66 | - content :'<span style="display:block; float:left;font-size:x-small;line-height:10px">A)重新绘制位置:手动在地图上画出站点范围,然后双击鼠标右键保存.</span></br>'+ | |
| 67 | - '<span style="display:block; float:left;font-size:x-small">B)编辑原始位置:编辑原始位置与站点信息.</span>', | |
| 68 | - | |
| 69 | - }); | |
| 70 | 55 | setTimeout(function(){ |
| 56 | + var offsetY = $('.modal-dialog').offset().top-3 , | |
| 57 | + offsetX = $('.modal-dialog').offset().left-10 ; | |
| 58 | + $('.tipso-animation').tipso({ | |
| 59 | + speed : 100, | |
| 60 | + background : '#0ed0e8', | |
| 61 | + color : '#ffffff', | |
| 62 | + position :'right', | |
| 63 | + width : 390, | |
| 64 | + delay : 400, | |
| 65 | + animationIn : 'bounceIn', | |
| 66 | + animationOut : 'bounceOut', | |
| 67 | + offsetX : -(offsetX), | |
| 68 | + offsetY : -(offsetY), | |
| 69 | + content :'<span style="display:block; float:left;font-size:x-small;line-height:10px">A)重新绘制位置:手动在地图上画出站点范围,然后双击鼠标右键保存.</span></br>'+ | |
| 70 | + '<span style="display:block; float:left;font-size:x-small">B)编辑原始位置:编辑原始位置与站点信息.</span>', | |
| 71 | + | |
| 72 | + }); | |
| 71 | 73 | $('.tipso-animation').tipso('show'); |
| 72 | 74 | setTimeout(function(){$('.tipso-animation').tipso('hide');},4000); |
| 73 | 75 | },500); | ... | ... |