Commit fc2eaed7 authored by 黄奎's avatar 黄奎

页面修改

parent 76b7d938
...@@ -15,6 +15,15 @@ ...@@ -15,6 +15,15 @@
<template> <template>
<div class="sharingChooseQuestion"> <div class="sharingChooseQuestion">
<table v-if="data&&data.length>0" class="common_TiTable"> <table v-if="data&&data.length>0" class="common_TiTable">
<thead>
<tr>
<th colspan="2" style="text-align:left;">
<template v-if="data[1]&& data[1].length>0">
(1)-({{data[1].length}})题共用备选答案:
</template>
</th>
</tr>
</thead>
<tr v-for="(item,index) in data[0]"> <tr v-for="(item,index) in data[0]">
<td style="width:40px;text-align:center;padding-top:8px;"> <td style="width:40px;text-align:center;padding-top:8px;">
{{item.Name}} {{item.Name}}
...@@ -25,25 +34,24 @@ ...@@ -25,25 +34,24 @@
</tr> </tr>
</table> </table>
<table v-if="data&&data.length>0" class="common_TiTable"> <table v-if="data&&data.length>0" class="common_TiTable">
<tr v-for="(item,index) in data[1]"> <tbody v-for="(item,index) in data[1]">
<tr >
<td style="width:40px;text-align:center;padding-top:8px;"> <td style="width:40px;text-align:center;padding-top:8px;">
{{index+1}} ({{index+1}})
</td> </td>
<td> <td>
<div class="InpDIV" v-html="item.Content" style="border:0;margin-top:-2px;"></div> <div class="InpDIV" v-html="item.Content" style="border:0;margin-top:-2px;"></div>
</td> </td>
</tr> </tr>
</table> <tr >
<div class="B-info">答案:</div>
<table v-if="data&&data.length>0" style="margin-bottom:20px;">
<tr v-for="(item,index) in data[1]">
<td> <td>
{{index+1}}
</td> </td>
<td> <td>
{{item.Name}} 答案: {{data[1][index].Name}}
</td> </td>
</tr> </tr>
</tbody>
</table> </table>
</div> </div>
</template> </template>
...@@ -100,4 +108,5 @@ ...@@ -100,4 +108,5 @@
}, },
} }
}; };
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment