Commit 1c2578738bb3bd343b9bc4d2c77037b1e7c1ef1f
1 parent
1bee69ee
【一键订:订座页面完成预订按钮遮盖住电话搜索结果】https://www.tapd.cn/57419716/bugtrace/bugs/view?bug_id=1157419716001002131
Showing
3 changed files
with
19 additions
and
12 deletions
| 1 | Component({ | 1 | Component({ |
| 2 | - properties: { | ||
| 3 | - searchlist:Array | ||
| 4 | - }, | ||
| 5 | - methods:{ | ||
| 6 | - selectphone:function (e) { | ||
| 7 | - console.log(e) | ||
| 8 | - var target=e.currentTarget.dataset; | ||
| 9 | - this.triggerEvent('selectphone',{phone:target.phone,rname:target.rname,cusdem:target.cusdem,sex:target.sex}) | ||
| 10 | - } | 2 | + properties: { |
| 3 | + searchlist: Array, | ||
| 4 | + }, | ||
| 5 | + methods: { | ||
| 6 | + selectphone: function (e) { | ||
| 7 | + console.log(e) | ||
| 8 | + var target = e.currentTarget.dataset; | ||
| 9 | + this.triggerEvent('selectphone', { | ||
| 10 | + phone: target.phone, | ||
| 11 | + rname: target.rname, | ||
| 12 | + cusdem: target.cusdem, | ||
| 13 | + sex: target.sex | ||
| 14 | + }) | ||
| 11 | } | 15 | } |
| 16 | + } | ||
| 12 | }) | 17 | }) |
| @@ -2,9 +2,10 @@ | @@ -2,9 +2,10 @@ | ||
| 2 | .search-react{ | 2 | .search-react{ |
| 3 | width:400rpx; | 3 | width:400rpx; |
| 4 | height:541rpx; | 4 | height:541rpx; |
| 5 | - position:absolute; | 5 | + position: absolute; |
| 6 | left:0; | 6 | left:0; |
| 7 | top:142rpx; | 7 | top:142rpx; |
| 8 | + z-index:10; | ||
| 8 | } | 9 | } |
| 9 | .angel{ | 10 | .angel{ |
| 10 | width:30rpx; | 11 | width:30rpx; |
| @@ -14,7 +15,7 @@ | @@ -14,7 +15,7 @@ | ||
| 14 | transform:rotate(45deg); | 15 | transform:rotate(45deg); |
| 15 | margin:0 auto; | 16 | margin:0 auto; |
| 16 | position:relative; | 17 | position:relative; |
| 17 | - z-index:2; | 18 | + z-index:10; |
| 18 | } | 19 | } |
| 19 | .search-list{ | 20 | .search-list{ |
| 20 | width:100%; | 21 | width:100%; |
| @@ -24,6 +25,7 @@ | @@ -24,6 +25,7 @@ | ||
| 24 | position:relative; | 25 | position:relative; |
| 25 | top:-16rpx; | 26 | top:-16rpx; |
| 26 | box-shadow:0 0 4px rgba(0,0,0,.1); | 27 | box-shadow:0 0 4px rgba(0,0,0,.1); |
| 28 | + overflow-y: auto; | ||
| 27 | } | 29 | } |
| 28 | .list-single{ | 30 | .list-single{ |
| 29 | width:100%; | 31 | width:100%; |
-
Please register or login to post a comment