55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
<view class="screen">
|
|
<page-back />
|
|
<view class="eyebrow">HOST A WALK</view>
|
|
<view class="title">发起约遛 🌿</view>
|
|
<view class="field">
|
|
<view class="field-label">活动名称</view>
|
|
<input
|
|
placeholder="周末一起逛公园"
|
|
value="{{title}}"
|
|
data-key="title"
|
|
bindinput="field"
|
|
/>
|
|
</view>
|
|
<view class="field">
|
|
<view class="field-label">时间</view>
|
|
<view class="row">
|
|
<picker mode="date" bindchange="date">
|
|
<view class="picker">{{date||'选择日期'}}</view>
|
|
</picker>
|
|
<picker mode="time" bindchange="time">
|
|
<view class="picker">{{time||'选择时间'}}</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="field">
|
|
<view class="field-label">集合地点</view>
|
|
<view class="picker" bindtap="location">
|
|
📍 {{place_name||'选择地图位置'}}
|
|
</view>
|
|
</view>
|
|
<view class="field">
|
|
<view class="field-label">人数上限</view>
|
|
<input
|
|
type="number"
|
|
value="{{max_people}}"
|
|
data-key="max_people"
|
|
bindinput="field"
|
|
/>
|
|
</view>
|
|
<view class="field">
|
|
<view class="field-label">介绍一下</view>
|
|
<textarea
|
|
placeholder="聊聊这次约遛安排"
|
|
value="{{description}}"
|
|
data-key="description"
|
|
bindinput="field"
|
|
/>
|
|
</view>
|
|
<view class="field">
|
|
<view class="field-label">带哪些狗狗?可以多选</view>
|
|
<pet-picker pets="{{pets}}" selected="{{selected}}" bind:change="pick" />
|
|
</view>
|
|
<button class="primary" bindtap="save" disabled="{{saving}}">发布约遛 →</button>
|
|
</view>
|