8.28 修改事件详情相关概念模块样式,增加股票详情信息来源展示

This commit is contained in:
尚政杰
2025-08-28 17:42:22 +08:00
parent 58b3414bdd
commit bf2388c3ec
403 changed files with 19843 additions and 1602 deletions

View File

@@ -27,6 +27,18 @@ const _sfc_main = {
}
},
methods: {
/**
* 点赞评论
*/
clickLikeComment(id, index) {
request_api.likeEventComment(id).then((res) => {
common_vendor.index.showToast({
title: res.message
});
this.myLikeList.splice(index, 1);
}).catch((error) => {
});
},
/**
* 获取我的点赞列表数据
*/
@@ -67,14 +79,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_assets._imports_0,
c: common_vendor.f($data.myLikeList, (item, index, i0) => {
return {
a: item.author.avatarurl,
a: item.author.avatar_url,
b: common_vendor.t(item.author.nickname),
c: item.post_content,
d: common_vendor.t($data.getLocaleHourMinute(item.like_time)),
e: index
e: common_vendor.o(($event) => $options.clickLikeComment(item.like_id, index), index),
f: index
};
}),
d: common_assets._imports_1$6,
d: common_assets._imports_1$5,
e: common_vendor.s("top:" + $data.navH + "px;")
};
}