From f761c20fed6b4da3c8f7c9ee857c6ba18caf1893 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 29 五月 2025 18:15:11 +0800
Subject: [PATCH] 视频评论增加被回复人头像字段
---
pages/goods-manager/goodsList/goodsList.vue | 53 ++++++++++++++++++++++++++---------------------------
1 files changed, 26 insertions(+), 27 deletions(-)
diff --git a/pages/goods-manager/goodsList/goodsList.vue b/pages/goods-manager/goodsList/goodsList.vue
index 254202a..ec15364 100644
--- a/pages/goods-manager/goodsList/goodsList.vue
+++ b/pages/goods-manager/goodsList/goodsList.vue
@@ -7,41 +7,38 @@
<view :border="!formData.waterfall" class="uni-list-item--waterfall" title="鑷畾涔夊晢鍝佸垪琛�"
v-for="item in data" :key="item.id" @click="addGoods(item.id)">
<!-- 閫氳繃header鎻掓Ы瀹氫箟鍒楄〃宸︿晶鍥剧墖 -->
- <template v-slot:header>
- <view class="uni-thumb shop-picture" :class="{ 'shop-picture-column': formData.waterfall }">
- <image :src="item.goods_thumb" mode="aspectFill"></image>
- </view>
- </template>
- <template v-slot:body>
- <view class="shop">
- <view>
- <view class="uni-title">
- <text class="uni-ellipsis-2">{{ item.name }}</text>
- </view>
- <!-- <view>
+
+ <view class="uni-thumb shop-picture" :class="{ 'shop-picture-column': formData.waterfall }">
+ <image :src="item.goods_thumb" mode="aspectFill"></image>
+ </view>
+ <view class="shop">
+ <view>
+ <view class="uni-title">
+ <text class="uni-ellipsis-2">{{ item.name }}</text>
+ </view>
+ <!-- <view>
<text class="uni-tag hot-tag">{{ item.goods_tip }}</text>
<text v-for="tag in item.tag" :key="tag" class="uni-tag">{{ tag }}</text>
</view> -->
+ </view>
+ <view>
+ <view class="shop-price">
+ <text>楼</text>
+ <text class="shop-price-text">{{ item.goods_price }}</text>
+ <text>.00</text>
</view>
- <view>
- <view class="shop-price">
- <text>楼</text>
- <text class="shop-price-text">{{ item.goods_price }}</text>
- <text>.00</text>
+ <view class="uni-flex-row">
+ <view class="uni-note">{{ item.comment_count || 0 }}鏉¤瘎璁� 鏈堥攢閲� {{
+ item.month_sell_count || 0 }}
</view>
- <view class="uni-flex-row">
- <view class="uni-note">{{ item.comment_count||0 }}鏉¤瘎璁� 鏈堥攢閲� {{
- item.month_sell_count||0 }}
- </view>
- <view class="uni-note ellipsis">
- <text class="uni-link">涓婃灦</text>
+ <view class="uni-note ellipsis">
+ <text class="uni-link">涓婃灦</text>
- <text class="uni-link" style="color:red;">鍒犻櫎</text>
- </view>
+ <text class="uni-link" style="color:red;">鍒犻櫎</text>
</view>
</view>
</view>
- </template>
+ </view>
<!-- 閫氳繃body鎻掓Ы瀹氫箟鍟嗗搧甯冨眬 -->
</view>
@@ -59,8 +56,10 @@
</template>
<script>
+
+import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue';
export default {
- components: {},
+ components: { UIcon },
data() {
return {
formData: {
--
Gitblit v1.8.0