更新记录
1.0(2025-03-25)
下载此版本
无
平台兼容性
uni-app
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
× |
√ |
- |
- |
- |
- |
- |
- |
- |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
使用方式
<view style="display:flex;align-items: center;justify-content: space-between;width: 100%;font-size: 30rpx;">
<view>配送时间</view>
<view style="color: gray;" @click="open">{{checkTimeValue}}
<uni-icons type="right" color="gray" size="18"></uni-icons>
</view>
</view>
<jcode-selectDeliveryTime @checkTime="checkTime" ref="selectDeliveryTimeRef" title="选择预计送达时间"></jcode-selectDeliveryTime>
const selectDeliveryTimeRef = ref()
const checkTimeValue = ref('立即配送')
const open = () => {
selectDeliveryTimeRef.value.open()
}
//选择的时间
const checkTime = (e) => {
checkTimeValue.value = e
}