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
e5f3586c
Commit
e5f3586c
authored
Sep 03, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
9b9d793c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
XingmaLabDetailPage.vue
pages/XingmaLabDetailPage/XingmaLabDetailPage.vue
+3
-1
XingmaLabPublishPage.vue
pages/XingmaLabPublishPage/XingmaLabPublishPage.vue
+15
-0
No files found.
pages/XingmaLabDetailPage/XingmaLabDetailPage.vue
View file @
e5f3586c
...
...
@@ -155,6 +155,8 @@ const onGetPhoneNumber = (e, action) => {
// 方法
const
handleLikeClick
=
async
()
=>
{
//TODO:埋点
try
{
const
recordId
=
detailData
.
value
.
id
if
(
!
recordId
)
{
...
...
@@ -203,7 +205,7 @@ const handleShareClick = () => {
// 使用 open-type="share" 时,点击事件可以为空
// 分享内容通过页面配置自动设置
console
.
log
(
'分享按钮被点击'
)
//TODO:埋点
// 手动触发分享(如果需要的话)
// uni.showShareMenu({
// withShareTicket: true,
...
...
pages/XingmaLabPublishPage/XingmaLabPublishPage.vue
View file @
e5f3586c
...
...
@@ -206,6 +206,15 @@ const publishCountInfo = computed(() => {
// 图片上传处理
const
handleImageUpload
=
()
=>
{
if
(
uploadedImage
.
value
)
{
// 重新上传
//TODO:埋点
}
else
{
//TODO:埋点
}
if
(
isUploading
.
value
)
return
uni
.
chooseImage
({
...
...
@@ -311,6 +320,10 @@ const handleDescriptionInput = (e) => {
// 发布按钮点击处理
const
handlePublishBtnClick
=
async
()
=>
{
//TODO:埋点
console
.
log
(
'点击发布按钮'
,
{
isFirstTimePublish
:
isFirstTimePublish
.
value
,
hasUserInfo
:
hasUserInfo
.
value
,
...
...
@@ -410,6 +423,7 @@ const handleCancelPublish = () => {
// 确认发布
const
handleConfirmPublish
=
async
()
=>
{
showConfirmPopup
.
value
=
false
try
{
...
...
@@ -555,6 +569,7 @@ const generatePublishNumber = () => {
const
handleSuccessBtnClick
=
()
=>
{
console
.
log
(
'点击成功状态按钮'
)
//TODO:埋点
// 这里可以添加完成后的跳转逻辑
// uni.navigateBack()
uni
.
redirectTo
({
...
...
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