Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
cfa46676
Commit
cfa46676
authored
Apr 09, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 21170】 fix: 修改类型等
parent
f8774b9e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
types.ts
src/api/backend/case/types.ts
+1
-1
types.ts
src/api/backend/shop/types.ts
+1
-1
exchangeContent.tsx
src/views/pointsStore/components/exchangeContent.tsx
+12
-5
No files found.
src/api/backend/case/types.ts
View file @
cfa46676
import
type
{
TagItemDto
}
from
'@/api/
case
/types'
import
type
{
TagItemDto
}
from
'@/api/
tag
/types'
import
{
UsageStatusEnum
,
AuditStatusEnum
}
from
'@/constants'
import
type
{
PageSearchParams
}
from
'@/utils/request/types'
...
...
src/api/backend/shop/types.ts
View file @
cfa46676
...
...
@@ -9,7 +9,7 @@ export interface BackendShopListSearchParams extends PageSearchParams {
export
interface
BackendShopItemDto
{
createTime
:
number
deliveryInfo
:
string
id
:
number
id
?
:
number
imageUrl
:
string
isDelete
:
null
issueTime
:
number
...
...
src/views/pointsStore/components/exchangeContent.tsx
View file @
cfa46676
...
...
@@ -23,10 +23,15 @@ export default function ExchangeContent(
<
div
class=
"py-4"
>
{
/* 商品信息卡片 */
}
<
div
class=
"flex gap-4 p-4 bg-gray-50 rounded-xl mb-5"
>
<
div
class=
"w-24 h-24 bg-white rounded-xl overflow-hidden shadow-sm shrink-0
flex items-center justify-center p-2"
>
<
img
src=
{
item
.
imageUrl
}
alt=
{
item
.
name
}
class=
"max-w-full max-h-full object-contain rounded-lg"
/>
<
div
class=
"w-24 h-24 bg-white rounded-xl overflow-hidden shadow-sm shrink-0
flex items-center justify-center p-2"
>
<
img
src=
{
item
.
imageUrl
}
alt=
{
item
.
name
}
class=
"max-w-full max-h-full object-contain rounded-lg"
/>
</
div
>
<
div
class=
"flex flex-col justify-center min-w-0 gap-1.5"
>
<
div
class=
"text-base font-semibold text-gray-800 line-clamp-2"
>
{
item
.
name
}
</
div
>
...
...
@@ -82,7 +87,9 @@ export default function ExchangeContent(
<
span
class=
"text-sm text-gray-500"
>
合计扣除
{
modelValue
.
num
>
1
&&
(
<
span
class=
"text-gray-400 text-xs ml-1"
>
(
{
item
.
price
}
×
{
modelValue
.
num
}
)
</
span
>
<
span
class=
"text-gray-400 text-xs ml-1"
>
(
{
item
.
price
}
×
{
modelValue
.
num
}
)
</
span
>
)
}
</
span
>
<
div
class=
"flex items-baseline gap-0.5"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment