<scroll-view scroll-y="true" style="height:10%;">
<view class="avatarAndName">
<view class="userAvatar">
<image src="{{userInfo.avatarUrl}}"></image>
<text class="userName">{{userInfo.nickName}}</text>
<image src="../../images/chat/extra/take_photos.png" bindtap='chooseVideo'></image>
</view>
</view>
<block wx:if="{{src != ''}}">
<video src="{{src}}" class="video" id="myvideo" bindtap='startPlay'></video>
</block>
<view class="moments_content">
<view class="borderBot marginBot" wx:for="{{videoshows}}" wx:for-item="item" wx:key="id">
<view class="moment-avatar">
<image src="{{userInfo.avatarUrl}}"></image>
</view>
<view class="moment-username">
<text>{{item.nickName}}</text>
</view>
<view class="moment-content" style="padding: 0">
<view wx:if="{{item.comments}}">
<text>{{item.comments}}</text>
</view>
<video src="{{item.src}}" id="{{item.src}}" class="video" bindtap='startPlay'></video>
<view wx:if="{{item.address}}" class="padding_half">
{{item.address}}
</view>
<view class="nickTime">
<view class="padding_half">{{item.updatedTime}}</view>
<view class="ion-ios-compose-outline nickIcon"></view>
</view>
</view>
</view>
</view>
</scroll-view>
<import src="../../common/head.wxml" />
<import src="../../common/foot.wxml" />
<view class="container">
<template is="head" data="{{title: 'uploadFile'}}"/>
<view class="page-body">
<view class="page-section">
<view class="page-body-info">
<block wx:if="{{imageSrc}}">
<image src="{{imageSrc}}" class="image" mode="aspectFit"></image>
</block>
<block wx:else>
<view class="image-plus image-plus-nb" bindtap="chooseImage">
<view class="image-plus-horizontal"></view>
<view class="image-plus-vertical"></view>
</view>
<view class="image-plus-text" bindtap="chooseImage">选择图片</view>
</block>
</view>
<button bindtap='submit'>提交</button>
</view>
</view>
<template is="foot" />
</view>
网友评论