提交 6e328d23 作者: ZhangLingKun

Merge branch 'develop'

流水线 #8863 已通过 于阶段
in 6 分 15 秒
...@@ -14,4 +14,4 @@ patches: ...@@ -14,4 +14,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/web newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/web
newTag: 623a3a160ec725380181c53fa173fc44af256cc3 newTag: 4493ba456655e90085e38ea76bc013fbc842dcf6
...@@ -10,7 +10,7 @@ import BreadcrumbView from '@/components/breadcrumb'; ...@@ -10,7 +10,7 @@ import BreadcrumbView from '@/components/breadcrumb';
import LayoutView from '@/components/layout'; import LayoutView from '@/components/layout';
import ProductHeadView from '@/components/product-comp/product-head'; import ProductHeadView from '@/components/product-comp/product-head';
import ProductStoreView from '@/components/product-comp/product-store'; import ProductStoreView from '@/components/product-comp/product-store';
import { ProductWrap } from '@/pages/mall/product/styled'; import { ProductBackground, ProductWrap } from '@/pages/mall/product/styled';
// 商品详情类型 // 商品详情类型
type DetailType = InterDataType<AppMallGoodsDetails>; type DetailType = InterDataType<AppMallGoodsDetails>;
...@@ -58,6 +58,7 @@ const MallProductView: React.FC<{ ...@@ -58,6 +58,7 @@ const MallProductView: React.FC<{
}> = ({ productDetail, storeDetail }) => { }> = ({ productDetail, storeDetail }) => {
return ( return (
<LayoutView> <LayoutView>
<ProductBackground />
<ProductWrap> <ProductWrap>
{/* 面包屑 */} {/* 面包屑 */}
<BreadcrumbView /> <BreadcrumbView />
......
...@@ -4,7 +4,18 @@ import PageNotFoundView from '@/components/404'; ...@@ -4,7 +4,18 @@ import PageNotFoundView from '@/components/404';
export default function Index() { export default function Index() {
return <PageNotFoundView />; return <PageNotFoundView />;
} }
// 背景
export const ProductBackground = styled.div`
position: absolute;
content: '';
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgb(232, 222, 216, 0.5);
z-index: -1;
`;
// 样式
export const ProductWrap = styled.div` export const ProductWrap = styled.div`
position: relative; position: relative;
max-width: 1190px; max-width: 1190px;
...@@ -35,8 +46,9 @@ export const ProductWrap = styled.div` ...@@ -35,8 +46,9 @@ export const ProductWrap = styled.div`
} }
.product-richText { .product-richText {
position: relative; position: relative;
width: 100%; //width: 100%;
margin-bottom: 3.5rem; max-width: 750px;
margin: 0 auto 3.5rem;
.content-html { .content-html {
width: 100%; width: 100%;
img { img {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论