account.wxml 1.4 KB
<view class="top">
    <image src="{{schoolData.image}}" mode="widthFix"></image>
</view>
<view class="nav">
    <view class="nav-1">
        <image src="{{schoolData.avatar}}" mode="widthFix"></image>
    </view>
    <view class="anniu fs28" >当前分数·{{schoolData.number}}</view>
</view>
<!-- 分类 -->
<view class="butm-0 fs28">
    <view class="butm {{item.id==nav?'cy':''}}" wx:for="{{anniu}}" wx:key='key' bindtap="bindnav" data-id="{{item.id}}">
        {{item.name}}</view>
</view>
<!-- 学院简介 -->
<view class="text" wx:if="{{nav==1}}">
    <rich-text nodes="{{schoolData.text}}"></rich-text>
</view>
<!-- 学院动态 -->
<view wx:if="{{nav==2}}">
<!-- bindtap="details" data-id="{{item.id}}" -->
    <view class="box-stu" wx:for="{{schoolData.SchoolDynamic}}" bindtap="dynamic" data-id="{{item.id}}" wx:key='key' >
        <view class="stu-1">
            <view>{{item.title}}</view>
            <text>{{item.createtime}}</text>
        </view>
        <view class="stu-2">
            <image src="{{item.table_image}}"></image>
        </view>
    </view>
</view>

<!-- 学姐学长信息 -->
<view class="sister_wrap flex_between" wx:if="{{nav==3}}">
    <view class="sister" wx:for="{{schoolData.SchoolStudent}}" wx:key='key'>
        <image src="{{item.avatar}}"></image>
        <view class="name">{{item.name}}</view>
        <view class="aihao">{{item.classroom}}</view>
        <view class="aihao">{{item.con}}</view>
    </view>
</view>