作者 倪静楠

3/3/3

... ... @@ -10,6 +10,7 @@
.sysPic {
margin: 40rpx 32rpx 64rpx 32rpx;
display: none;
}
.sysTitleCon {
... ...
export const baseUrl = 'http://muying.t.brotop.cn'
export const baseUrl = 'https://ketao.shequtaoapp.com'
function getHeaders() {
let header = {
"token": uni.getStorageSync('token') || '', // 'X-Requested-With': 'XMLHttpRequest',
... ...
... ... @@ -6,7 +6,7 @@
</header>
<scroll-view class="van-calendar__body" scroll-y :scroll-into-view="scrollIntoView">
<month v-for="(item,index) in (computed.getMonths(minDate, maxDate))" :key="item.index" :id="'month'+(index)" class="month" :data-date="item" :date="item" :type="type" :color="color" :minDate="minDate" :maxDate="maxDate" :showMark="showMark" :formatter="formatter" :rowHeight="rowHeight" :currentDate="currentDate" :showSubtitle="showSubtitle" :allowSameDay="allowSameDay" :showMonthTitle="index !== 0 || !showSubtitle" @click="_$self.$parent.$parent[('onClickDay')]($event)"></month>
<month v-for="(item,index) in (computed.getMonths(minDate, maxDate))" :key="item.index" :id="'month'+(index)" class="month" :data-date="item" :date="item" :type="type" :color="color" :minDate="minDate" :maxDate="maxDate" :showMark="showMark" :formatter="formatter" :rowHeight="rowHeight" :currentDate="currentDate" :showSubtitle="showSubtitle" :allowSameDay="allowSameDay" :showMonthTitle="index !== 0 || !showSubtitle" @click="_$self.$parent[('onClickDay')]($event)"></month>
</scroll-view>
<view :class="'van-calendar__footer '+(safeAreaInsetBottom ? 'van-calendar__footer--safe-area-inset-bottom' : '')">
... ... @@ -14,7 +14,7 @@
</view>
<view :class="'van-calendar__footer '+(safeAreaInsetBottom ? 'van-calendar__footer--safe-area-inset-bottom' : '')">
<van-button v-if="showConfirm" round block type="danger" :color="color" custom-class="van-calendar__confirm" :disabled="computed.getButtonDisabled(type, currentDate)" nativeType="text" @click="_$self.$parent.$parent[('onConfirm')]($event)">
<van-button v-if="showConfirm" round block type="danger" :color="color" custom-class="van-calendar__confirm" :disabled="computed.getButtonDisabled(type, currentDate)" nativeType="text" @click="_$self.$parent[('onConfirm')]($event)">
{{ computed.getButtonDisabled(type, currentDate) ? confirmDisabledText : confirmText }}
</van-button>
</view>
... ...
<template>
<uni-shadow-root class="vant-dist-picker-toolbar"><template v-if="wxTemplateName === 'toolbar'">
<view v-if="showToolbar" class="van-picker__toolbar toolbar-class">
<view class="van-picker__cancel" hover-class="van-picker__cancel--hover" hover-stay-time="70" data-type="cancel" @click="_$self.$parent.$parent[('emit')]($event)">
<view class="van-picker__cancel" hover-class="van-picker__cancel--hover" hover-stay-time="70" data-type="cancel" @click="_$self.$parent[('emit')]($event)">
{{ cancelButtonText }}
</view>
<view v-if="title" class="van-picker__title van-ellipsis">{{
title
}}</view>
<view class="van-picker__confirm" hover-class="van-picker__confirm--hover" hover-stay-time="70" data-type="confirm" @click="_$self.$parent.$parent[('emit')]($event)">
<view class="van-picker__confirm" hover-class="van-picker__confirm--hover" hover-stay-time="70" data-type="confirm" @click="_$self.$parent[('emit')]($event)">
{{ confirmButtonText }}
</view>
</view>
... ...