1234567891011121314151617181920 |
- <template>
- <view>
- <!-- template对应的原始代码,为保证正常显示,已对其进行隐藏。 -->
- <block name="toolbar" v-if="false">
- <view v-if="showToolbar" class="van-picker__toolbar van-hairline--top-bottom toolbar-class">
- <view class="van-picker__cancel" hover-class="van-picker__cancel--hover" hover-stay-time="70" data-type="cancel" @tap="emit">
- {{ 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" @tap="emit">
- {{ confirmButtonText }}
- </view>
- </view>
- </block>
- </view>
- </template>
- <style>
- @import './toolbar.css';
- </style>
|