|  | @@ -8,7 +8,7 @@
 | 
	
		
			
				|  |  |              <th
 | 
	
		
			
				|  |  |                v-for="(item, headIndex) in curQue.headerList"
 | 
	
		
			
				|  |  |                :key="'header' + headIndex"
 | 
	
		
			
				|  |  | -              :style="{ width: curQue.colWidthList[headIndex].con + '%' }"
 | 
	
		
			
				|  |  | +              :style="{ width: curQue.colWidthList[headIndex].width + '%' }"
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  |                {{ item.con }}
 | 
	
		
			
				|  |  |              </th>
 | 
	
	
		
			
				|  | @@ -18,13 +18,14 @@
 | 
	
		
			
				|  |  |            <td
 | 
	
		
			
				|  |  |              v-for="(col, colIndex) in row"
 | 
	
		
			
				|  |  |              :key="'col' + colIndex"
 | 
	
		
			
				|  |  | -            :style="{ width: curQue.colWidthList[colIndex].con + '%' }"
 | 
	
		
			
				|  |  | +            :style="{ width: curQue.colWidthList[colIndex].width + '%' }"
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <template v-if="!col.isNumll">
 | 
	
		
			
				|  |  |                {{ col.con }}
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |              <template v-else>
 | 
	
		
			
				|  |  | -              <input type="text" v-model="col.con" />
 | 
	
		
			
				|  |  | +                <div v-html="col.con" contenteditable="true" placeholder="输入" class="input"></div>
 | 
	
		
			
				|  |  | +              <!-- <input type="text" v-model="col.con" /> -->
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </td>
 | 
	
		
			
				|  |  |          </tr>
 | 
	
	
		
			
				|  | @@ -110,6 +111,7 @@ export default {
 | 
	
		
			
				|  |  |        font-size: 16px;
 | 
	
		
			
				|  |  |        line-height: 150%;
 | 
	
		
			
				|  |  |        color: #000000;
 | 
	
		
			
				|  |  | +      margin: 16px 0 8px 0;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      > div {
 | 
	
		
			
				|  |  |        display: flex;
 | 
	
	
		
			
				|  | @@ -161,18 +163,23 @@ export default {
 | 
	
		
			
				|  |  |      table {
 | 
	
		
			
				|  |  |        width: 100%;
 | 
	
		
			
				|  |  |        border-collapse: collapse; //取消单元格之间的间距
 | 
	
		
			
				|  |  | +      table-layout: fixed;
 | 
	
		
			
				|  |  |        tr {
 | 
	
		
			
				|  |  |          width: 100%;
 | 
	
		
			
				|  |  |          th {
 | 
	
		
			
				|  |  |            background: rgba(236, 157, 99, 0.1);
 | 
	
		
			
				|  |  |            border: 1px solid #e2cfc1;
 | 
	
		
			
				|  |  |            height: 40px;
 | 
	
		
			
				|  |  | +          font-size: 16px;
 | 
	
		
			
				|  |  | +          color: #000000;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          td {
 | 
	
		
			
				|  |  |            background: #ffffff;
 | 
	
		
			
				|  |  |            border: 1px solid #e2cfc1;
 | 
	
		
			
				|  |  |            height: 64px;
 | 
	
		
			
				|  |  |            text-align: center;
 | 
	
		
			
				|  |  | +          color: #000000;
 | 
	
		
			
				|  |  | +          font-size: 16px;
 | 
	
		
			
				|  |  |            input {
 | 
	
		
			
				|  |  |              outline: none;
 | 
	
		
			
				|  |  |              border: none;
 | 
	
	
		
			
				|  | @@ -180,6 +187,17 @@ export default {
 | 
	
		
			
				|  |  |              width: 90%;
 | 
	
		
			
				|  |  |              height: 100%;
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | +          .input{
 | 
	
		
			
				|  |  | +            width: 90%;
 | 
	
		
			
				|  |  | +            min-height:24px;
 | 
	
		
			
				|  |  | +            margin: 0 auto;
 | 
	
		
			
				|  |  | +            font-size: 16px;
 | 
	
		
			
				|  |  | +            line-height: 1.5;
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +          .input:empty::before {
 | 
	
		
			
				|  |  | +            content: attr(placeholder);
 | 
	
		
			
				|  |  | +            color: rgba($color: #000000, $alpha: 0.25);
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      }
 |