start.wxml
1 KB
<!--packageEquity/pages/aiCheck/start/start.wxml-->
<view class="bg"></view>
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="{{ true }}" bindback="back">
<view class="navigation-title">
<view class="result-title">
{{tabIndex == 1 ? 'AI趣练' : '练习记录'}}
</view>
</view>
</navigation-bar>
<view class="ai-box" style="margin-top: {{navBarHeight}}px; height: calc( 100vh - {{navBarHeight}}px )">
<view style="height: calc( 100% - {{footerHeight}}px )">
<introduction wx:if="{{tabIndex == 1}}"></introduction>
<RecordList wx:else></RecordList>
</view>
<view class="footer" id="footer">
<view class="tab-item" bindtap="selectTab" data-type="{{item.type}}" wx:for="{{tab}}" wx:key="type">
<view class="tab-icon"><gl-image webp class="tab-icon" src="{{tabIndex == item.type?item.icon_check:item.icon}}"></gl-image></view>
<view class="tab-text {{tabIndex == item.type?'checked':''}}">{{item.title}}</view>
</view>
</view>
</view>