12 changed files with 123 additions and 58 deletions
@ -1,6 +1,9 @@ |
|||||||
<button class="button" wx:if="{{chooseAvatar}}" open-type="chooseAvatar" bindchooseavatar="handleChooseAvatar"> |
<button class="button" wx:if="{{chooseAvatar}}" open-type="chooseAvatar" bindchooseavatar="handleChooseAvatar"> |
||||||
<slot></slot> |
<slot></slot> |
||||||
</button> |
</button> |
||||||
|
<button class="button" wx:elif="{{chooseMessage}}" bind:tap="handleChooseFile"> |
||||||
|
<slot></slot> |
||||||
|
</button> |
||||||
<van-uploader wx:else accept="{{accept}}" max-count="{{1}}" bind:after-read="handleAfterRead"> |
<van-uploader wx:else accept="{{accept}}" max-count="{{1}}" bind:after-read="handleAfterRead"> |
||||||
<slot></slot> |
<slot></slot> |
||||||
</van-uploader> |
</van-uploader> |
||||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in new issue