Commit 3db17eeb authored by Damon's avatar Damon

refactor: 证书样式

parent d00c5517
......@@ -18,11 +18,11 @@
<view class="name">{{ certName }}</view>
<view class="table">
<u-table>
<u-tr v-for="item in data.certificateTextContent" class="u-tr">
<u-tr v-for="(item, i) in data.certificateTextContent" :key="i" class="u-tr">
<u-td
v-for="(val, name, index) in item"
:key="index"
class="u-td"
class="u-td bg-td"
>
{{ val }}
</u-td>
......@@ -38,7 +38,7 @@
<u-td class="u-td">{{name}}</u-td>
</u-tr>
<u-tr class="u-tr">
<u-td class="u-td bg-td">身份证号</u-td></u-td>
<u-td class="u-td bg-td">身份证号</u-td>
<u-td class="u-td">{{idCard}}</u-td>
</u-tr>
<u-tr class="u-tr">
......@@ -237,10 +237,10 @@ export default {
.table {
/* background-color: #2953ff; */
min-height: 200rpx;
}
.bg-td{
background-color: #E8EBF3 !important;
font-weight: bold !important;
::v-deep .bg-td:nth-of-type(2n+1){
background-color: #E8EBF3 !important;
font-weight: bold !important;
}
}
}
.foot {
......
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