Commit 47728d52969923ae369c5fc0d36790987f07e429

Authored by wangfan
1 parent 63de1e72

录入调整

... ... @@ -3,6 +3,10 @@ var uri=require('../../utils/uri.js')
import App from '../../utils/api';
const {regeneratorRuntime} = global
Page({
data:{
actionSheetHidden:true,
actionSheetItems:['客户取消','客户行程改变']
},
onLoad:function (opt) {
util.setBarTitle('预定详情');
console.log(opt)
... ... @@ -109,6 +113,14 @@ Page({
})
},
cancelReserve(){
util.toast('不能取消','none')
util.toast('不能取消预订','none');return;
this.setData({
actionSheetHidden:false
})
},
actionSheetChange(e){
this.setData({
actionSheetHidden:true
})
}
})
\ No newline at end of file
... ...
... ... @@ -73,4 +73,14 @@
<view bindtap="cancelReserve">取消预定</view>
</view>
</view>
<noticeCall id="notice" bookInfo="{{bookInfo}}"></noticeCall>
\ No newline at end of file
<noticeCall id="notice" bookInfo="{{bookInfo}}"></noticeCall>
<action-sheet hidden="{{actionSheetHidden}}" bindchange="actionSheetChange" class="flex-ll">
<block wx:for-items="{{actionSheetItems}}">
<action-sheet-item>{{item}}</action-sheet-item>
</block>
<action-sheet-item>
<input placeholder="请输入" style="width:100%"/>
</action-sheet-item>
<action-sheet-cancel >取消</action-sheet-cancel>
</action-sheet>
\ No newline at end of file
... ...