|
@@ -46,6 +46,36 @@ var closeYy = function (){
|
|
|
modalZz.style.display = 'none'
|
|
|
}
|
|
|
window.onload = function(){
|
|
|
+
|
|
|
+ $("#showStore").click(function(){
|
|
|
+ var _this = this
|
|
|
+ $(".mask").show()
|
|
|
+ $(".store-info-list").animate({bottom:'0em'},"slow",function(){
|
|
|
+ $("body").css({'height':'100%','overflow':'hidden'})
|
|
|
+ $(_this).hide()
|
|
|
+ })
|
|
|
+ })
|
|
|
+ $("#close-store,.mask").click(function(e){
|
|
|
+ e.stopPropagation()
|
|
|
+ $(".store-info-list").animate({bottom:'-1000em'},"slow")
|
|
|
+ $("body").css({'height':'auto','overflow':'auto'})
|
|
|
+ $("#showStore").show()
|
|
|
+ $(".mask").hide()
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ $(".address").click(function(e){
|
|
|
+ e.stopPropagation()
|
|
|
+ wx.openLocation({
|
|
|
+ latitude: item.lat,
|
|
|
+ longitude: item.lng,
|
|
|
+ name: item.name,
|
|
|
+ address: item.addrDetail,
|
|
|
+ scale: 26,
|
|
|
+ infoUrl: ''
|
|
|
+ });
|
|
|
+ })
|
|
|
+
|
|
|
|
|
|
setTimeout(function(){
|
|
|
shareCls.getWxCofing(reqUrl)
|