|
@@ -8,7 +8,7 @@
|
|
|
<th
|
|
|
v-for="(item, headIndex) in curQue.headerList"
|
|
|
:key="'header' + headIndex"
|
|
|
- :style="{ width: curQue.colWidthList[headIndex].width + '%' }"
|
|
|
+ :style="{ width: curQue.colWidthList[headIndex].width + '%',textAlign:(curQue.align?curQue.align:'center') }"
|
|
|
>
|
|
|
{{ item.con }}
|
|
|
</th>
|
|
@@ -18,7 +18,7 @@
|
|
|
<td
|
|
|
v-for="(col, colIndex) in row"
|
|
|
:key="'col' + colIndex"
|
|
|
- :style="{ width: curQue.colWidthList[colIndex].width + '%' }"
|
|
|
+ :style="{ width: curQue.colWidthList[colIndex].width + '%',textAlign:(curQue.align?curQue.align:'center') }"
|
|
|
>
|
|
|
<template v-if="!col.isNumll">
|
|
|
{{ col.con }}
|
|
@@ -32,7 +32,7 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
<!-- 提示语 -->
|
|
|
- <div class="hint">
|
|
|
+ <div class="hint" v-if="curQue.hintOtion.length>0&&curQue.hintOtion[0].con">
|
|
|
<p>{{ curQue.hintTitle }}</p>
|
|
|
<div>
|
|
|
<div v-for="(item, i) in curQue.hintOtion" :key="'hint' + i">
|
|
@@ -103,6 +103,7 @@ export default {
|
|
|
/* @import url(); 引入css类 */
|
|
|
.TableView {
|
|
|
width: 100%;
|
|
|
+ margin-bottom: 16px;
|
|
|
.hint {
|
|
|
p {
|
|
|
font-family: "robot";
|
|
@@ -172,6 +173,7 @@ export default {
|
|
|
height: 40px;
|
|
|
font-size: 16px;
|
|
|
color: #000000;
|
|
|
+ padding: 8px;
|
|
|
}
|
|
|
td {
|
|
|
background: #ffffff;
|
|
@@ -181,6 +183,7 @@ export default {
|
|
|
text-align: center;
|
|
|
color: #000000;
|
|
|
font-size: 16px;
|
|
|
+ padding: 6px 16px;
|
|
|
input {
|
|
|
outline: none;
|
|
|
border: none;
|
|
@@ -189,7 +192,7 @@ export default {
|
|
|
height: 100%;
|
|
|
}
|
|
|
.input{
|
|
|
- width: 90%;
|
|
|
+ width: 100%;
|
|
|
min-height:24px;
|
|
|
margin: 0 auto;
|
|
|
font-size: 16px;
|