Showing
1 changed file
with
7 additions
and
6 deletions
@@ -90,13 +90,14 @@ export default { | @@ -90,13 +90,14 @@ export default { | ||
90 | key: 'productInfo', | 90 | key: 'productInfo', |
91 | render: (h, params) => { | 91 | render: (h, params) => { |
92 | return h('div', [ | 92 | return h('div', [ |
93 | - h('a', { | ||
94 | - attrs: { | ||
95 | - target: '_black', | ||
96 | - style: 'color: #00b0ff; text-decoration: underline;', | ||
97 | - href: `//www.yohobuy.com/product/${params.row.productSkn}.html` | 93 | + h('p', { |
94 | + domProps: { | ||
95 | + innerHTML: | ||
96 | + `名称:<a target = '_black' style='color: #00b0ff; text-decoration: underline;' | ||
97 | + href="//www.yohobuy.com/product/${params.row.productSkn}.html"> | ||
98 | + ${params.row.productName}</a>` | ||
98 | } | 99 | } |
99 | - }, `名称:${params.row.productName}`), | 100 | + }), |
100 | h('p', `品牌:${params.row.brandName}`), | 101 | h('p', `品牌:${params.row.brandName}`), |
101 | h('p', `品类:${params.row.sortName}`) | 102 | h('p', `品类:${params.row.sortName}`) |
102 | ]); | 103 | ]); |
-
Please register or login to post a comment