Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
60653d20
Commit
60653d20
authored
Aug 28, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6666
parent
ac8684a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
2 deletions
+87
-2
xingmaLab.less
pages/xingmaLab/xingmaLab.less
+55
-0
xingmaLab.vue
pages/xingmaLab/xingmaLab.vue
+32
-2
cangpin_noval_img0.png
static/xingmaLab/1001/img/cangpin_noval_img0.png
+0
-0
No files found.
pages/xingmaLab/xingmaLab.less
View file @
60653d20
...
...
@@ -266,6 +266,61 @@
height: 72vh;
width: 100%;
overflow: visible;
.waterfall-list-noval {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 72vh;
width: 100%;
.noval-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.noval-illustration {
width: 280rpx;
height: 240rpx;
// margin-bottom: 40rpx;
display: flex;
align-items: center;
justify-content: center;
.noval-img {
width: 280rpx;
height: 240rpx;
}
}
.noval-tip {
font-size: 28rpx;
color: #1d1e25;
text-align: center;
margin-bottom: 50rpx;
line-height: 1.4;
}
.publish-btn {
background-color: #d3a358;
border-radius: 49rpx;
// padding: 20rpx 40rpx;
box-shadow: 0 4rpx 12rpx rgba(211, 163, 88, 0.3);
width: 323rpx;
height: 98rpx;
display: flex;
align-items: center;
justify-content: center;
.publish-text {
color: #ffffff;
font-size: 28rpx;
// font-weight: bold;
}
}
}
}
.waterfall-list1 {
position: absolute;
// display: grid;
...
...
pages/xingmaLab/xingmaLab.vue
View file @
60653d20
...
...
@@ -75,7 +75,26 @@
<!-- 我的藏品列表 - 使用与藏馆相同的数据 -->
<view
v-if=
"activeSubTab === 'collections'"
class=
"wodecangpin-content"
>
<view
class=
"waterfall-list-noval"
></view>
<view
class=
"waterfall-list-noval"
v-if=
"!(cangpinList && cangpinList.length > 0)"
>
<view
class=
"noval-content"
>
<!-- 卡片插图 -->
<view
class=
"noval-illustration"
>
<image
class=
"noval-img"
:src=
"$baseUrl + `xingmaLab/1001/cangpin_noval_img0.png`"
mode=
"aspectFit"
/>
</view>
<!-- 提示文字 -->
<text
class=
"noval-tip"
>
快去发布属于你的藏品吧!
</text>
<!-- 发布按钮 -->
<view
class=
"publish-btn"
@
click=
"handlePublish"
>
<text
class=
"publish-text"
>
去发布
</text>
</view>
</view>
</view>
<scroll-view
class=
"waterfall-list1"
scroll-y=
"true"
...
...
@@ -459,7 +478,13 @@ const switchSubTab = (subTab) => {
}
const
handleBottomNavFabu
=
()
=>
{
console
.
log
(
'点击了发布'
)
if
(
xingmaLabStore
.
xingmaInfo
.
isReachedLimit
){
console
.
log
(
'已达到发布上线'
)
}
else
{
console
.
log
(
'跳转发布页面'
)
}
}
// 底部导航点击处理
...
...
@@ -478,6 +503,11 @@ const handleItemClick = (item) => {
console
.
log
(
'点击了项目:'
,
item
)
// 这里可以添加跳转逻辑
}
const
handlePublish
=
()
=>
{
console
.
log
(
'点击了发布按钮'
)
// 这里可以添加发布逻辑或跳转
}
</
script
>
<
style
lang=
"less"
scoped
>
...
...
static/xingmaLab/1001/img/cangpin_noval_img0.png
0 → 100644
View file @
60653d20
78.5 KB
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