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;")
};
}

View File

@@ -1 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="005f0838-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="list fixed" style="{{e}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="e" class="item"><image class="avatar" src="{{item.a}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">{{item.b}}</view><rich-text class="content" nodes="{{item.c}}"></rich-text><view class="timeReplyLikeC flex between"><view class="timeReplyC flex"><view class="time">{{item.d}}</view></view><view class="likeC flex"><image class="icon" src="{{d}}" mode="widthFix"></image></view></view></view></view></view></view>
<view><nav-bar wx:if="{{a}}" u-i="005f0838-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="list fixed" style="{{e}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="f" class="item"><image class="avatar" src="{{item.a}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">{{item.b}}</view><rich-text class="content" nodes="{{item.c}}"></rich-text><view class="timeReplyLikeC flex between"><view class="timeReplyC flex"><view class="time">{{item.d}}</view></view><view class="likeC flex" bindtap="{{item.e}}"><image class="icon" src="{{d}}" mode="widthFix"></image></view></view></view></view></view></view>