提交 edc1ef78 authored 作者: matian's avatar matian

style:样式调整

上级 1faf3c11
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
<app-container> <app-container>
<app-list v-bind="tableOptions" ref="list"> <app-list v-bind="tableOptions" ref="list">
<template v-slot:table-operate="{ row }"> <template v-slot:table-operate="{ row }">
<el-button type="text" @click="toDetail(row)" v-show="tabActive === 'finished'">查看</el-button> <el-button type="text" @click="toDetail(row)" v-if="tabActive === 'finished'">查看</el-button>
<el-button type="text" @click="toDetail(row)" v-show="tabActive === 'toEvaluate'">批阅</el-button> <el-button type="text" @click="toDetail(row)" v-else-if="tabActive === 'toEvaluate'">批阅</el-button>
<div v-else>-</div>
</template> </template>
</app-list> </app-list>
</app-container> </app-container>
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
}, },
emphasis: { emphasis: {
label: { label: {
show: true, // show: true,
fontSize: '40', fontSize: '40',
fontWeight: 'bold' fontWeight: 'bold'
} }
...@@ -77,9 +77,9 @@ export default { ...@@ -77,9 +77,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.score-range-box{ .score-range-box {
position: relative; position: relative;
.pop{ .pop {
position: absolute; position: absolute;
top: -20%; top: -20%;
left: 50%; left: 50%;
......
<template> <template>
<el-card style="height: 400px"> <el-card style="height: 400px">
<h1 style="color: #333; font-size: 16px; border-left: 3px solid #aa1941; padding-left: 7px">分数排名</h1> <div slot="header" class="clearfix">
<el-button type="text" style="font-size: 16px; color: #aa1941; float: right; margin-top: -40px">导出</el-button> <h1 style="color: #333; font-size: 16px; border-left: 3px solid #aa1941; padding-left: 7px">分数排名</h1>
<el-tabs v-model="tabActive" style="margin-top: 30px" @canplaythrough="handleClick"> <el-button type="text" style="font-size: 16px; color: #aa1941; float: right; margin-top: -30px">导出</el-button>
</div>
<el-tabs v-model="tabActive" @canplaythrough="handleClick">
<el-tab-pane label="已完成" name="finished"> <el-tab-pane label="已完成" name="finished">
<RankingAll :tabActive="tabActive" /> <RankingAll :tabActive="tabActive" />
</el-tab-pane> </el-tab-pane>
......
<template> <template>
<el-card style="margin-right: -20px; height: 400px"> <el-card style="margin-right: -20px; height: 400px">
<app-container> <div slot="header" class="clearfix">
<h1 style="color: #333; font-size: 16px; border-left: 3px solid #aa1941; padding-left: 7px">题目数据</h1> <h1 style="color: #333; font-size: 16px; border-left: 3px solid #aa1941; padding-left: 7px">题目数据</h1>
<el-button type="text" style="font-size: 16px; color: #aa1941; float: right; margin-top: -40px">导出</el-button> <el-button type="text" style="font-size: 16px; color: #aa1941; float: right; margin-top: -30px">导出</el-button>
<app-list v-bind="tableOptions" ref="list" style="margin-top: 60px"> </app-list> </div>
</app-container> <app-list v-bind="tableOptions" ref="list"></app-list>
</el-card> </el-card>
</template> </template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论