Files
ClassContent/项目合集/校园失物招领/min-tpl/pages/push/push.wxml
2024-09-27 02:06:13 +08:00

43 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>