Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporateCulture-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
王立鹏
corporateCulture-qd
Commits
22f0e398
Commit
22f0e398
authored
Dec 12, 2025
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 17679】 chore: 修改文本内容等
parent
1f06fdd6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
options.ts
src/constants/options.ts
+2
-2
colnumForm.tsx
src/layoutCulture/components/colnumForm.tsx
+2
-2
interviewForm.tsx
src/layoutCulture/components/interviewForm.tsx
+2
-2
index.vue
src/views/homePage/askTab/index.vue
+8
-8
No files found.
src/constants/options.ts
View file @
22f0e398
...
...
@@ -43,7 +43,7 @@ export const articleTypeListOptions: { label: string; value: ArticleTypeEnum }[]
value
:
ArticleTypeEnum
.
VIDEO
,
},
{
label
:
'问
题
'
,
label
:
'问
吧
'
,
value
:
ArticleTypeEnum
.
QUESTION
,
},
{
...
...
@@ -80,7 +80,7 @@ export const articleTypeListOptionsForNotReal: { label: string; value: ArticleTy
value
:
ArticleTypeEnum
.
VIDEO
,
},
{
label
:
'问
题
'
,
label
:
'问
吧
'
,
value
:
ArticleTypeEnum
.
QUESTION
,
},
...
...
src/layoutCulture/components/colnumForm.tsx
View file @
22f0e398
...
...
@@ -30,8 +30,8 @@ export default defineComponent((_, { expose }) => {
})
const
formRef
=
ref
<
InstanceType
<
typeof
ElForm
>>
()
const
rules
=
{
title
:
[{
required
:
true
,
message
:
'请输入
实践
标题'
,
trigger
:
'blur'
}],
content
:
[{
required
:
true
,
message
:
'请输入
实践
内容'
,
trigger
:
'blur'
}],
title
:
[{
required
:
true
,
message
:
'请输入
专栏
标题'
,
trigger
:
'blur'
}],
content
:
[{
required
:
true
,
message
:
'请输入
专栏
内容'
,
trigger
:
'blur'
}],
releaseStatus
:
[{
required
:
true
,
message
:
'请选择发布时间'
,
trigger
:
'blur'
}],
mainTagId
:
[{
required
:
true
,
message
:
'请选择主标签'
,
trigger
:
'blur'
}],
sendType
:
[{
required
:
true
,
message
:
'请选择发布类型'
,
trigger
:
'blur'
}],
...
...
src/layoutCulture/components/interviewForm.tsx
View file @
22f0e398
...
...
@@ -27,8 +27,8 @@ export default defineComponent((_, { expose }) => {
})
const
formRef
=
ref
<
InstanceType
<
typeof
ElForm
>>
()
const
rules
=
{
title
:
[{
required
:
true
,
message
:
'请输入
实践
标题'
,
trigger
:
'blur'
}],
content
:
[{
required
:
true
,
message
:
'请输入
实践
内容'
,
trigger
:
'blur'
}],
title
:
[{
required
:
true
,
message
:
'请输入
专访
标题'
,
trigger
:
'blur'
}],
content
:
[{
required
:
true
,
message
:
'请输入
专访
内容'
,
trigger
:
'blur'
}],
releaseStatus
:
[{
required
:
true
,
message
:
'请选择发布时间'
,
trigger
:
'blur'
}],
mainTagId
:
[{
required
:
true
,
message
:
'请选择主标签'
,
trigger
:
'blur'
}],
sendType
:
[{
required
:
true
,
message
:
'请选择发布类型'
,
trigger
:
'blur'
}],
...
...
src/views/homePage/askTab/index.vue
View file @
22f0e398
...
...
@@ -22,11 +22,11 @@
:key=
"item.id"
class=
"question-card !rounded-lg mb-4 transition-all duration-300"
shadow=
"hover"
@
click=
"router.push(`/questionDetail/$
{item.id}`)"
>
<!-- 问题标题 -->
<h2
class=
"text-xl line-clamp-1 font-semibold text-gray-900 mb-2 leading-relaxed cursor-pointer hover:text-blue-600 transition-colors"
@
click=
"router.push(`/questionDetail/$
{item.id}`)"
>
{{
item
.
title
}}
</h2>
...
...
@@ -44,7 +44,7 @@
class=
"text-gray-600 text-base leading-relaxed transition-all duration-300"
:class=
"
{ 'line-clamp-3': !item.isExpand }"
>
{{
item
.
cultureCommentListVo
?.
hidden
Avatar
}}
:
{{
{{
item
.
cultureCommentListVo
?.
hidden
Name
}}
:
{{
item
.
cultureCommentListVo
?.
content
}}
</p>
...
...
@@ -52,7 +52,7 @@
<div
class=
"flex justify-end"
>
<el-button
v-if=
"isOverThreeLine(index)"
@
click=
"handleExpand(item)"
@
click
.
stop
=
"handleExpand(item)"
type=
"primary"
text
size=
"small"
...
...
@@ -88,7 +88,7 @@
size=
"small"
plain
:class=
"
{ 'opacity-50': item.hasAddQuestion }"
@click="handleAddQuestion(item)"
@click
.stop
="handleAddQuestion(item)"
>
<el-icon>
<component
:is=
"item.hasAddQuestion ? 'CircleCheckFilled' : 'Plus'"
/>
...
...
@@ -100,7 +100,7 @@
size=
"small"
plain
:class=
"
{ 'opacity-50': item.hasCollect }"
@click="handleCollect(item)"
@click
.stop
="handleCollect(item)"
>
<el-icon>
<component
:is=
"item.hasCollect ? 'StarFilled' : 'Star'"
/>
...
...
@@ -109,7 +109,7 @@
</el-button>
<!-- 回答按钮保持不变 -->
<el-button
size=
"small"
plain
@
click=
"handleComment(item, index)"
>
<el-button
size=
"small"
plain
@
click
.
stop
=
"handleComment(item, index)"
>
<el-icon><Edit
/></el-icon>
回答
</el-button>
...
...
@@ -130,7 +130,7 @@
<el-button
text
class=
"flex items-center gap-2 text-gray-500 transition-colors"
@
click=
"handleCollect(item)"
@
click
.
stop
=
"handleCollect(item)"
>
<el-icon
:color=
"item.hasCollect ? '#409EFF' : '#999'"
><Star
/></el-icon>
<span
class=
"text-sm"
:class=
"
{ 'text-blue-500': item.hasCollect }">
{{
...
...
@@ -142,7 +142,7 @@
<el-button
text
class=
"flex items-center gap-2 text-gray-500 transition-colors"
@
click=
"handleComment(item, index)"
@
click
.
stop
=
"handleComment(item, index)"
>
<el-icon><ChatDotRound
/></el-icon>
<span
class=
"text-sm"
>
{{
item
.
replyCount
||
0
}}
</span>
...
...
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