Commit 364f0c1c authored by 王炽's avatar 王炽

Merge branch 'xingmaLab20250820' of http://gitlab2.dui88.com/fh/20250528_FHQ1...

Merge branch 'xingmaLab20250820' of http://gitlab2.dui88.com/fh/20250528_FHQ1 into xingmaLab20250820
parents d0d021ed 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,
......
......@@ -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({
......
......@@ -344,7 +344,7 @@ onShow(async () => {
const pages = getCurrentPages()
let currentPage = pages[pages.length - 1]
const isFavorite = currentPage?.options?.isFavorite
const isFavorite = currentPage?.properties?.isFavorite
console.log('isFavorite=', isFavorite);
console.log('currentPage=', currentPage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment