<template>
<view>
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-left">
活动地点:
</view>
<input class="actBox" @input="locayionChange" :value="locayion" placeholder="请输入活动地点..." />
</view>
</view>
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-left">
活动时间:
</view>
<view class="uni-list-cell-db">
<picker mode="time" :value="time" start="09:01" end="21:01" @change="bindTimeChange">
<view class="uni-input">{
{time}}</view>
</picker>
</view>
</view>
</view>
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-left">
活动日期:
</view>
<view class="uni-list-cell-db">
<picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
<view class="uni-input">{
{date}}</view>
</picker>
</view>
</view>
</view>
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-left">
活动人数:
</view>
<view class="uni-list-cell-db">
<picker @change="bindPickerChange" :value="index" :range="array">
<view class="uni-input">{
uniapp 父子组件交互
最新推荐文章于 2024-06-06 20:20:04 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)