Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
2 changed files
with
10 additions
and
7 deletions
| ... | @@ -194,12 +194,11 @@ | ... | @@ -194,12 +194,11 @@ |
| 194 | type: "html", | 194 | type: "html", |
| 195 | maxWidth: 800, // 最大宽度 | 195 | maxWidth: 800, // 最大宽度 |
| 196 | font_size: "", // 不设置则使用默认字体大小 | 196 | font_size: "", // 不设置则使用默认字体大小 |
| 197 | style: `@font-face { | 197 | |
| 198 | font-family: "STZHONGS"; | 198 | |
| 199 | src: url(${window.ttf}) format("truetype"); | ||
| 200 | }`, | ||
| 201 | // 继承原来的所有样式 | 199 | // 继承原来的所有样式 |
| 202 | targetStyles: ["*"], | 200 | targetStyles: ["*"], |
| 201 | scanStyle:false, | ||
| 203 | }); | 202 | }); |
| 204 | this.render = false | 203 | this.render = false |
| 205 | }, | 204 | }, | ... | ... |
| ... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
| 12 | style="page-break-after: always"> | 12 | style="page-break-after: always"> |
| 13 | <div class="title">{{ title }}</div> | 13 | <div class="title">{{ title }}</div> |
| 14 | <div class="num">共{{ datass.length }}页,第{{ indexx + 1 }}页</div> | 14 | <div class="num">共{{ datass.length }}页,第{{ indexx + 1 }}页</div> |
| 15 | <table class="xxTable"> | 15 | <table class="xxxTable"> |
| 16 | <tr v-for="item in columns" :key="item.name"> | 16 | <tr v-for="item in columns" :key="item.name"> |
| 17 | <td> | 17 | <td> |
| 18 | {{ item.despriction }} | 18 | {{ item.despriction }} |
| ... | @@ -109,10 +109,12 @@ | ... | @@ -109,10 +109,12 @@ |
| 109 | </script> | 109 | </script> |
| 110 | 110 | ||
| 111 | <style lang="scss" scoped> | 111 | <style lang="scss" scoped> |
| 112 | |||
| 112 | .tbalede { | 113 | .tbalede { |
| 113 | width: 100%; | 114 | width: 100%; |
| 114 | margin: auto; | 115 | margin: auto; |
| 115 | position: relative; | 116 | position: relative; |
| 117 | background-color: salmon; | ||
| 116 | .num { | 118 | .num { |
| 117 | position: absolute; | 119 | position: absolute; |
| 118 | right: 10px; | 120 | right: 10px; |
| ... | @@ -128,12 +130,12 @@ | ... | @@ -128,12 +130,12 @@ |
| 128 | position: relative; | 130 | position: relative; |
| 129 | margin: 0 3px; | 131 | margin: 0 3px; |
| 130 | } | 132 | } |
| 131 | .xxTable { | 133 | .xxxTable { |
| 132 | width: 100%; | 134 | width: 100%; |
| 133 | border-collapse: collapse; | 135 | border-collapse: collapse; |
| 134 | 136 | ||
| 135 | tr td { | 137 | tr td { |
| 136 | border: 2px solid rgb(227, 226, 226); | 138 | border: 1px solid rgb(139, 137, 137); |
| 137 | text-align: center; | 139 | text-align: center; |
| 138 | height: 40px; | 140 | height: 40px; |
| 139 | font-size: 13px; | 141 | font-size: 13px; |
| ... | @@ -148,4 +150,6 @@ | ... | @@ -148,4 +150,6 @@ |
| 148 | } | 150 | } |
| 149 | } | 151 | } |
| 150 | } | 152 | } |
| 153 | |||
| 154 | |||
| 151 | </style> | 155 | </style> | ... | ... |
-
Please register or sign in to post a comment