Authored by 李奇

商品名称颜色修改

... ... @@ -90,13 +90,14 @@ export default {
key: 'productInfo',
render: (h, params) => {
return h('div', [
h('a', {
attrs: {
target: '_black',
style: 'color: #00b0ff; text-decoration: underline;',
href: `//www.yohobuy.com/product/${params.row.productSkn}.html`
h('p', {
domProps: {
innerHTML:
`名称:<a target = '_black' style='color: #00b0ff; text-decoration: underline;'
href="//www.yohobuy.com/product/${params.row.productSkn}.html">
${params.row.productName}</a>`
}
}, `名称:${params.row.productName}`),
}),
h('p', `品牌:${params.row.brandName}`),
h('p', `品类:${params.row.sortName}`)
]);
... ...