43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
<div class="push content">
|
||
<input bindinput="thingTitleInput" class="thing_title" type="text" placeholder="物品的标题"></input>
|
||
<textarea bindinput="thingIntrInput"
|
||
maxlength="500" class="thing_introduce"
|
||
auto-height
|
||
placeholder="请描述清楚时间,地点,物品特征等基本信息(限500字)"/>
|
||
<van-uploader
|
||
file-list="{{ fileList }}"
|
||
max-count="1"
|
||
bind:after-read="afterRead" />
|
||
|
||
|
||
<view class="action_title">物品类型</view>
|
||
<view class="type">
|
||
<view class="type_item {{ thingTypeIndex == index ? 'active' : '' }}"
|
||
wx:for="{{thingTypeArr}}"
|
||
data-id="{{ index }}"
|
||
bind:tap="changeThingTypeIndex"
|
||
wx:key="type">
|
||
{{ item.title }}
|
||
</view>
|
||
</view>
|
||
|
||
<view class="action_title">物品类别</view>
|
||
<view class="category">
|
||
<view class="category_item {{ thingCategoryIndex == index ? 'active' : '' }}"
|
||
wx:key="type"
|
||
data-id="{{ index }}"
|
||
bind:tap="changeThingCategoryIndex"
|
||
wx:for="{{thingCategoryArr}}">
|
||
{{ item.title }}
|
||
</view>
|
||
</view>
|
||
|
||
<movable-area class="push_wrap">
|
||
<movable-view bind:tap="PushThing" class="push_action" x="{{46}}" y="{{13}}" direction="all">
|
||
<van-icon color="#c19503" name="guide-o" size="60rpx"/>
|
||
<view class="tips" wx:if="{{showTips}}">按住,可以拖动哦</view>
|
||
</movable-view>
|
||
</movable-area>
|
||
|
||
</div>
|