k94314517
2024-10-16 17efddc6a667670dca682bf36b51a43e99615e6d
h5/pages/staff/meetingSub.vue
@@ -57,7 +57,7 @@
            <view class="">{{ item.name }}</view>
          </view>
        </view>
        <view class="sub" @click="onSubmit">确认预约</view>
        <view class="sub" :class="{disable: !selDatetime}" @click="onSubmit">确认预约</view>
      </view>
    </view>
    <!--  -->
@@ -134,7 +134,8 @@
      this.getRoomTime()
    },
    onSubmit() {
      const { activeRoom } = this
      const { activeRoom, selDatetime } = this
      if(!selDatetime) return
      const selTimeList = this.timeList.filter(i => i.checked == '1')
      if (selTimeList.length == -1) {
        return uni.showToast({
@@ -153,7 +154,7 @@
      }
      setTimeout(() => {
        this.$eventBus.$emit('meetingSub', obj)
      })
      }, 500)
      uni.navigateTo({
        url: `/pages/staff/meetingSubOrder`
      })
@@ -332,12 +333,14 @@
      font-size: 30rpx;
      color: #ffffff;
    }
    .disable {
      background-color: #cccccc;
    }
  }
}
.time_list {
  display: flex;
  justify-content: space-between;
  padding: 30rpx;
  padding: 30rpx 30rpx 240rpx;
  flex-wrap: wrap;
  .item {
    width: 220rpx;
@@ -348,18 +351,22 @@
    border-radius: 4rpx;
    margin-bottom: 24rpx;
    font-size: 30rpx;
    margin-right: 15rpx;
    &:nth-of-type(3n){
      margin-right: 0;
    }
  }
  .active {
    background-color: $uni-color-primary;
    color: #fff;
  }
  .disable {
    background-color: #cccccc;
    color: #999999;
    background: #F7F7F7;
    color: #CCCCCC;
  }
  .hasSub{
    color: #fff;
    background-color: #2d5c65;
    background: #CCCCCC;
  }
}
.meeting_list {