yaofang/pages/wall_album/wall_album.wxml

21 lines
1.7 KiB
Plaintext

<view wx:if="{{isProduct}}">
<uni-section bind:__l="__l" title="输入留言文本" type="line" vueId="0ce20ac0-1" vueSlots="{{['default']}}">
<view class="uni-textarea">
<textarea bindautoFocus="__e" bindinput="__e" data-event-opts="{{[ [ 'auto-focus',[ [ 'e0',['$event'] ] ] ],[ 'input',[ [ '__set_model',[ '$0','content','$event',[] ],['baseFormData'] ] ] ] ]}}" maxlength="2000" placeholder="请输入留言" style="min-height:400rpx;" value="{{baseFormData.content}}"></textarea>
</view>
<view class="example-body" style="margin-top:5px;">
<uni-file-picker bind:__l="__l" bind:delete="__e" bind:input="__e" bind:select="__e" data-event-opts="{{[ [ '^select',[ ['select'] ] ],[ '^delete',[ ['rmImg'] ] ],[ '^input',[ [ '__set_model',[ '','imageValue','$event',[] ] ] ] ] ]}}" fileMediatype="image" mode="grid" sizeType="{{['compressed']}}" value="{{imageValue}}" vueId="{{'0ce20ac0-2'+','+'0ce20ac0-1'}}"></uni-file-picker>
</view>
<view class="uni-flex uni-row" style="margin-top:15rpx;">
<button bindtap="__e" class="flex-item subTn" data-event-opts="{{[ [ 'tap',[ ['sub'] ] ] ]}}">提交</button>
<button bindtap="__e" class="flex-item" data-event-opts="{{[ [ 'tap',[ ['cancelSub'] ] ] ]}}" type="default">取消</button>
</view>
</uni-section>
<boot-nav bind:__l="__l" nav="wall" vueId="0ce20ac0-3"></boot-nav>
<view>
<uni-popup bind:__l="__l" class="vue-ref" data-ref="message" type="message" vueId="0ce20ac0-4" vueSlots="{{['default']}}">
<uni-popup-message bind:__l="__l" duration="{{2000}}" message="{{messageText}}" type="{{msgType}}" vueId="{{'0ce20ac0-5'+','+'0ce20ac0-4'}}"></uni-popup-message>
</uni-popup>
</view>
</view>