frontend/examking-app/pages/all_exam/all_exam.vue

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<template>
	<view class="box">
		<u-tabs :list="tabs" :is-scroll="false" :current="current" @change="changeTab"></u-tabs>
		<view class="search-none" v-if="items.length==0">
			<view class="search-none-icon">
			</view>
		</view>
		<view class="on-line" v-else>
			<view class="category" @click="goExam(item.id)" v-for="(item, index) in items" :key="index">
				<view class="exam-title">
					<text>{{item.examName}}</text>
				</view>
				<view class="subject">
					<view class="nubber">
						<text class="num">{{item.examquestions.length}}</text>
						<text class="txt">总题数</text>
					</view>
					<view class="nubber">
						<text class="num">{{$utils.QuestionCount(item.examquestions, "judge")}}</text>
						<text class="txt">是非题</text>
					</view>
					<view class="nubber">
						<text class="num">{{$utils.QuestionCount(item.examquestions, "select")+$utils.QuestionCount(item.examquestions, "select")}}</text>
						<text class="txt">选择题</text>
					</view>
				</view>
				<view class="footer">
					<view class="item" style="margin-left: 30rpx;">
						<!-- <image src="../../static/data.svg" style="margin-right: 8rpx;" mode="aspectFit"></image> -->
						<view class="date-icon"></view>
						<text>{{item.startTime}}</text>
					</view>
					<view class="item" style="padding-left: 30rpx;">
						<!-- <image src="../../static/time.svg" style="margin-right: 8rpx;" mode="aspectFit"></image> -->
						<view class="time-icon"></view>
						<text>{{$utils.showTime(item.duration)}}</text>
					</view>
					<view class="item" style="flex: 1;">
						<view v-if="item.isEnable=='1'&&item.isFinish=='0'" class="none-exam" style="float: right;">
							<text class="txt">考试中</text>
						</view>
						<view class="finsh-exam" v-if="item.isEnable=='0'&&item.isFinish=='0'" style="float: right;">
							<text class="txt">未考试</text>
						</view>
						<view class="err-exam" v-if="item.isEnable=='1'&&item.isFinish=='1'" style="float: right;">
							<text class="txt">已结束</text>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="footer-block"></view>
	</view>
</template>

<script>
	var _this
	export default {
		data() {
			return {
后面还有 337 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。