提交 8728578e authored 作者: zhenglide's avatar zhenglide

解决金鹏问题

上级 5e1bf3b8
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
<text class='left'>〉</text> <text class='left'>〉</text>
</view> </view>
</checkbox-group> </checkbox-group>
<view class="add"><button formType="submit" type="primary">预定</button></view> <view class="add"><button formType="submit" type="primary" disabled="{{isSubmit}}"><text a:if="{{!isSubmit}}">预定</text><text a:if="{{isSubmit}}">正在预定</text></button></view>
<view class="mask2" onTap='mask2' catchtouchmove="preventTouchMove" hidden="{{!showModal2}}"></view> <view class="mask2" onTap='mask2' catchtouchmove="preventTouchMove" hidden="{{!showModal2}}"></view>
<view class="modaltime2" hidden="{{!showModal2}}" > <view class="modaltime2" hidden="{{!showModal2}}" >
<checkbox-group name="remindTime" class="checkbox-group" onChange="checkboxChange"> <checkbox-group name="remindTime" class="checkbox-group" onChange="checkboxChange">
......
...@@ -39,7 +39,8 @@ Page({ ...@@ -39,7 +39,8 @@ Page({
username:"", username:"",
message:{}, message:{},
maxBookDay: '', maxBookDay: '',
maxBookTime: '' maxBookTime: '',
isSubmit:false
}, },
//方式选项点击 //方式选项点击
clicks: function(e) { clicks: function(e) {
...@@ -103,7 +104,9 @@ Page({ ...@@ -103,7 +104,9 @@ Page({
// }); // });
var startTime = this.data.dates+" "+this.data.time.startTime ; var startTime = this.data.dates+" "+this.data.time.startTime ;
var endTime = this.data.dates + " "+ this.data.time.endTime ; var endTime = this.data.dates + " "+ this.data.time.endTime ;
this.setData({
isSubmit:true
})
var _this=this; var _this=this;
// if (typeof (e.detail.value.conferenceName) == "undefined") { // if (typeof (e.detail.value.conferenceName) == "undefined") {
// dd.alert({ // dd.alert({
...@@ -197,7 +200,9 @@ Page({ ...@@ -197,7 +200,9 @@ Page({
content: '预定成功', content: '预定成功',
buttonText: '确定', buttonText: '确定',
success: () => { success: () => {
_this.setData({
isSubmit:false
})
dd.reLaunch({ dd.reLaunch({
url: '../index/index' url: '../index/index'
}); });
......
...@@ -49,7 +49,11 @@ page{ ...@@ -49,7 +49,11 @@ page{
} }
.td{ .td{
width: 100%; width: 100%;
padding-right: 0.2rem;
text-align: left; text-align: left;
overflow:hidden;
text-overflow:ellipsis;
white-space: nowrap;
} }
.de_btn{ .de_btn{
width: 100%; width: 100%;
......
...@@ -65,9 +65,6 @@ Page({ ...@@ -65,9 +65,6 @@ Page({
departmentList departmentList
}) })
that.setData({
departmentList
});
// var data = res.data.departmentList; // var data = res.data.departmentList;
// that.setData({ // that.setData({
......
...@@ -25,6 +25,7 @@ page{ ...@@ -25,6 +25,7 @@ page{
color: #156EF3; color: #156EF3;
} }
.swiper-item{ .swiper-item{
width: 50%;
height: 100%; height: 100%;
} }
.swiper{ .swiper{
...@@ -56,7 +57,11 @@ page{ ...@@ -56,7 +57,11 @@ page{
} }
.td{ .td{
width: 100%; width: 100%;
padding-right: 0.2rem;
text-align: left; text-align: left;
overflow:hidden;
text-overflow:ellipsis;
white-space: nowrap;
} }
.btn text{ .btn text{
font-size: 26rpx; font-size: 26rpx;
......
...@@ -50,10 +50,10 @@ ...@@ -50,10 +50,10 @@
</view> </view>
</scroll-view> </scroll-view>
</swiper-item> </swiper-item>
<swiper-item> <swiper-item class="swiper-item">
<scroll-view class='swiper_con' scroll-y="{{true}}" onScrollToUpper="upper" onScrollToLower="lower" onScroll="scroll" scroll-into-view="{{toView}}" scroll-top="{{scrollTop}}"> <scroll-view class='swiper_con' scroll-y="{{true}}" onScrollToUpper="upper" onScrollToLower="lower" onScroll="scroll" scroll-into-view="{{toView}}" scroll-top="{{scrollTop}}">
<view class='de_bg' a:for="{{mymessageList}}" a:for-item="mymessage"> <view class='de_bg' a:for="{{mymessageList}}" a:for-item="mymessage">
<view class="table"> <view>
<view class="tr"> <view class="tr">
<view class="td td1">会议名称:{{mymessage.messageName}}</view> <view class="td td1">会议名称:{{mymessage.messageName}}</view>
<view class="td td2">主持人:{{mymessage.messageCompere}}</view> <view class="td td2">主持人:{{mymessage.messageCompere}}</view>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论