Commit cd1f6887 by 肖康

detail打包

parent 7a638787
{
"files": {
"main.css": "/static/css/main.1539bebd.css",
"main.js": "/static/js/main.89acd93f.js",
"main.js": "/static/js/main.05474a6f.js",
"static/media/contactUsBanner.png": "/static/media/contactUsBanner.3589d483b42e3df320a1.png",
"static/media/aboutUsBanner.png": "/static/media/aboutUsBanner.6aff9a629cca34f2447b.png",
"static/media/p404.png": "/static/media/p404.d99ce38b3c2654c5e3f5.png",
......@@ -10,10 +10,10 @@
"static/media/iconfont.woff2?t=1719816191916": "/static/media/iconfont.f461f4d34035e6bf1175.woff2",
"index.html": "/index.html",
"main.1539bebd.css.map": "/static/css/main.1539bebd.css.map",
"main.89acd93f.js.map": "/static/js/main.89acd93f.js.map"
"main.05474a6f.js.map": "/static/js/main.05474a6f.js.map"
},
"entrypoints": [
"static/css/main.1539bebd.css",
"static/js/main.89acd93f.js"
"static/js/main.05474a6f.js"
]
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="keywords" content=""><meta name="description" content=""/><link rel="manifest" href="/manifest.json"/><title>麒麟电子商城</title><script defer="defer" src="/static/js/main.89acd93f.js"></script><link href="/static/css/main.1539bebd.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="keywords" content=""><meta name="description" content=""/><link rel="manifest" href="/manifest.json"/><title>麒麟电子商城</title><script defer="defer" src="/static/js/main.05474a6f.js"></script><link href="/static/css/main.1539bebd.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -4,41 +4,38 @@ import type { DetailResponseType } from '../types'
const DetailSection = (props: DetailResponseType) => {
//const sku_info = props.data?.sku_info!
const attrs = props.data?.sku_info!.attrs || []
const other_sku_list = props!.data?.other_sku_list || []
const goods_details=props.data?.sku_info!.goods_details
return (
<>
<div className='detail-section w1226 row bothSide'>
<div className='secl boxsiz'>
<div className='lilist-box row'>
<p >
<b>电压-标称值:</b>
<span className='ple0'>
<span>18V</span>
</span>
</p>
<p >
<b>精度:</b>
<span className='ple0'>
<span>±6%</span>
</span>
</p>
<p >
<b>电压-标称值:</b>
{
attrs.map((item, index) => {
return (
<p key={item.name + index}>
<b>{item.name}</b>
<span className='ple0'>
<span>18V</span>
<span>{item.value}</span>
</span>
</p>
)
})
}
{attrs.length % 2 === 1 &&
<p >
<b>精度:</b>
<b></b>
<span className='ple0'>
<span>±6%</span>
<span></span>
</span>
</p>
}
</div>
<div className='row goods-mask goods-mask-two'>
<div>介绍:</div>
<h4 >电子元器件BZT52C18-7-F由Diodes设计生产制造,在猎芯网品牌商城有售。您可选择下载中文资料等数据手册功能说明书,资料中有DiodesBZT52C18-7-F的详细使用方法及教程。</h4>
<h4 >{goods_details}</h4>
</div>
</div>
......
......@@ -208,5 +208,6 @@
display: block;
margin:0 auto;
}
}
}
\ No newline at end of file
......@@ -25,6 +25,8 @@ export type skuInfoResponseType = {
stock:number,
cn_delivery_time:string,
hk_delivery_time:string,
goods_details:string;
attrs:Array<{name:string;value:string}>;
ladder_price:Array<{
price_cn:number,
price_us:number,
......
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 sign in to comment