<!--pages/competition/competition.wxml--> <view class="container"> <!-- 标题 --> <rank-tarbar/> <!-- 内容 --> <view class="content"> <scroll-view scroll-y="true" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true"> <view class="my-friend-rank"> <ranking friendsData="{{friendsData}}" friendsThreeData="{{friendsThreeData}}" myData="{{myData}}" str="题" title="答题量排名" height="{{height}}"/> </view> </scroll-view> </view> </view>