You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pk8f3pmu2/pages/exercise_grade/exercise_grade.wxml

15 lines
589 B

<view class="container">
<view class="grade-list">
<block wx:for="{{grades}}" wx:for-item="grade" wx:key="objectId">
<view wx:if="{{grade.edu_account_login==navItem.login||navItem.login=='*'}}" class="grade flex-wrap">
<text class="name">{{grade.user_name}}</text>
<text class="mark">{{grade.score||'--'}}</text>
</view>
</block>
</view>
<view wx:if="{{grades.length==0}}" style="text-align: center">
<text class="error">分数未公布</text>
</view>
</view>