修复地址弹窗问题

This commit is contained in:
git-ping
2019-09-25 17:46:59 +08:00
parent 1f549985b4
commit 8694822a30
3 changed files with 6 additions and 4 deletions

View File

@@ -156,6 +156,9 @@ Page({
show = true;
t = 0;
}
this.setData({
show: true
});
// this.animation.translate(arr[0], arr[1]).step();
this.animationEvents(this, moveY, show);
@@ -183,8 +186,7 @@ Page({
that.animation.translateY(moveY + 'vh').step()
that.setData({
animation: that.animation.export(),
show: show
animation: that.animation.export()
})
},

View File

@@ -14,7 +14,7 @@
<view class="section" bindtap="translate">
<text>所在地区</text>
<view class="pca">{{province}} {{city}} {{area}}</view>
<view class="animation-element-wrapper" animation="{{animation}}" style="visibility:{{show ? 'visible':'hidden'}}" bindtap="hiddenFloatView">
<view class="animation-element-wrapper" animation="{{animation}}" style="visibility:{{show ? 'visible':'hidden'}}" catchtap="hiddenFloatView">
<view class="animation-element" catchtap="nono">
<text class="right-bt" catchtap="hiddenFloatView">确定</text>
<view class="line"></view>

View File

@@ -16,7 +16,7 @@
"compileType": "miniprogram",
"libVersion": "2.6.4",
"appid": "wx6fa71e69231a4fa4",
"projectname": "亚米科技mall4j",
"projectname": "%E4%BA%9A%E7%B1%B3%E7%A7%91%E6%8A%80mall4j",
"debugOptions": {
"hidedInDevtools": []
},