Commit 70ec5138232d3797262d00367fe4662848a23fe9

Authored by vking
1 parent ce2f19be

cancel

... ... @@ -20,6 +20,7 @@ Page({
reasons:reasons,
radioIndex:-1,
inputFouce:false,
paddingBottom:20,
},
/**
... ... @@ -78,7 +79,7 @@ Page({
}
this.setData({
//paddingBottom:e.detail.height?(parseInt(e.detail.height)+100):0
paddingBottom:this.keyboardheight>0?(parseInt(this.keyboardheight)+20):0
paddingBottom:this.keyboardheight>0?(parseInt(this.keyboardheight)+20):20
})
setTimeout(()=>{
this.pageScrollToBottom()
... ... @@ -94,7 +95,7 @@ Page({
},
hideKeyboard(){
this.setData({
paddingBottom:0
paddingBottom:20
})
},
cancelSubmit(){
... ...
<!--pages/customer/cancel.wxml-->
<nav hasHome>取消订座</nav>
<view class="pages" style="padding-bottom: {{paddingBottom}}px;">
<view class="pages" style="padding-bottom: {{paddingBottom+50}}px;">
<view class="tips">
请告知取消原因以便为您提供更好的服务
</view>
... ... @@ -24,5 +24,5 @@
placeholder-class="input-pl" maxlength="30"></textarea>
<view class="cancel-button"
bindtap="cancelSubmit"
style="{{paddingBottom>0?'margin-top: 40rpx;':''}}">申请取消</view>
style="bottom:{{paddingBottom}}px;">申请取消</view>
</view>
... ...
... ... @@ -9,12 +9,15 @@
height:80rpx;
background:rgba(36,35,32,1);
line-height: 80rpx;
width: 100%;
width: calc(100% - 80rpx);
text-align: center;
font-size:34rpx;
font-weight:400;
color:rgba(254,254,254,1);
margin: 182rpx auto 0;
margin: 0 auto;
position: fixed;
bottom: 20rpx;
}
.cancel-input{
border: 2rpx solid #F5F5F5;
... ...
... ... @@ -590,10 +590,10 @@
"scene": null
},
{
"id": -1,
"id": 73,
"name": "pages/customer/cancel",
"pathName": "pages/customer/cancel",
"query": "id=58241",
"query": "id=59102",
"scene": null
}
]
... ...