Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
web
Commits
6e328d23
提交
6e328d23
authored
4月 18, 2024
作者:
ZhangLingKun
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop'
上级
668957ed
bb2a0027
流水线
#8863
已通过 于阶段
in 6 分 15 秒
变更
3
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
5 行删除
+18
-5
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
[id].tsx
src/pages/mall/product/[id].tsx
+2
-1
styled.tsx
src/pages/mall/product/styled.tsx
+15
-3
没有找到文件。
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
6e328d23
...
@@ -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
src/pages/mall/product/[id].tsx
浏览文件 @
6e328d23
...
@@ -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
{
Product
Background
,
Product
Wrap
}
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
/>
...
...
src/pages/mall/product/styled.tsx
浏览文件 @
6e328d23
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论