Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
1953aa0d
提交
1953aa0d
authored
5月 24, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
商城样式调整
上级
cc42b63b
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
index.module.scss
pages/mall/index.module.scss
+7
-7
index.page.tsx
pages/mall/index.page.tsx
+3
-3
没有找到文件。
pages/mall/index.module.scss
浏览文件 @
1953aa0d
...
...
@@ -10,11 +10,11 @@
flex-shrink
:
0
;
flex-direction
:
column
;
gap
:
12px
;
width
:
270
px
;
width
:
189
px
;
.ad
{
width
:
270
px
;
height
:
422
px
;
width
:
189
px
;
height
:
295
px
;
background-color
:
#d8d8d8
;
}
}
...
...
@@ -32,18 +32,18 @@
display
:
flex
;
flex-wrap
:
wrap
;
gap
:
12px
;
height
:
856
px
;
height
:
565
px
;
.item
{
cursor
:
pointer
;
width
:
22
0px
;
height
:
205
px
;
width
:
19
0px
;
height
:
183
px
;
background
:
#ffffff
;
border-radius
:
6px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
padding
:
1
9px
0
18
px
;
padding
:
1
5px
0
10
px
;
.imgBox
{
width
:
100%
;
...
...
pages/mall/index.page.tsx
浏览文件 @
1953aa0d
...
...
@@ -22,7 +22,7 @@ export default function Mall(props: Props) {
const
[
filterResult
,
setFilterResult
]
=
useState
<
AdapterResult
>
({});
//筛选结果
const
[
pageParams
,
setPageParams
]
=
useState
({
pageNo
:
1
,
pageSize
:
1
6
,
pageSize
:
1
5
,
});
//分页器对象
const
[
count
,
setCount
]
=
useState
(
0
);
//商品总数
const
[
abort
,
setAbort
]
=
useState
<
AbortController
|
null
>
(
null
);
//请求中断对你
...
...
@@ -147,8 +147,8 @@ export default function Mall(props: Props) {
key=
{
item
.
id
}
className=
{
styles
.
ad
}
src=
{
item
.
imageUrl
}
width=
"270"
height=
"270"
width=
{
189
}
height=
{
295
}
preview=
{
false
}
fallback=
{
errImg
}
></
Image
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论