|
@@ -1,18 +1,20 @@
|
|
|
<template>
|
|
|
<view class="dynamic-list">
|
|
|
- <view v-for="(item, index) in 3" :key="index" class="u-m-b-60">
|
|
|
- <view class="fl-flex-item u-m-b-16">
|
|
|
- <view class="fl-flex">
|
|
|
- <u-avatar src="/static/img.jpg" size="50" />
|
|
|
- <view class="u-m-l-16">
|
|
|
- <view class="f-s-30 text-primary text-bold u-m-b-6 u-m-t-8">易只烊</view>
|
|
|
- <u-rate v-model="value" readonly gutter="0"></u-rate>
|
|
|
+ <view v-for="(item, index) in list" :key="index" class="u-m-b-60">
|
|
|
+ <view @click="handleClick(item)">
|
|
|
+ <view class="fl-flex-item u-m-b-16">
|
|
|
+ <view class="fl-flex">
|
|
|
+ <u-avatar src="/static/img.jpg" size="50" />
|
|
|
+ <view class="u-m-l-16">
|
|
|
+ <view class="f-s-30 text-primary text-bold u-m-b-6 u-m-t-8">易只烊</view>
|
|
|
+ <u-rate v-model="value" readonly gutter="0"></u-rate>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view class="f-s-24 text-999">2024.05.23</view>
|
|
|
+ </view>
|
|
|
+ <view class="dynamic-content">
|
|
|
+ 评价评价内容评价内容评价内容评价内容评价内容评价内容评价内容评价内容评价内容评价内容内容
|
|
|
</view>
|
|
|
- <view class="f-s-24 text-999">2024.05.23</view>
|
|
|
- </view>
|
|
|
- <view class="dynamic-content">
|
|
|
- 评价评价内容评价内容评价内容评价内容评价内容评价内容评价内容评价内容评价内容评价内容内容
|
|
|
</view>
|
|
|
<u-album
|
|
|
:urls="urls2"
|
|
@@ -44,6 +46,10 @@
|
|
|
<script>
|
|
|
export default {
|
|
|
props: {
|
|
|
+ list: {
|
|
|
+ type: Array,
|
|
|
+ default: [],
|
|
|
+ },
|
|
|
maxCount: {
|
|
|
type: Number,
|
|
|
default: 3,
|
|
@@ -84,6 +90,9 @@ export default {
|
|
|
handleMore(item) {
|
|
|
this.$emit('more', item);
|
|
|
},
|
|
|
+ handleClick(item) {
|
|
|
+ this.$emit('click', item);
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|