Commit bbe89753 authored by Mac's avatar Mac

评论

parent 3f8827fa
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
:key="zi" :key="zi"
:style="{ 'max-width': yi == 0 ? 'unset' : '31.9%' }" :style="{ 'max-width': yi == 0 ? 'unset' : '31.9%' }"
> >
<view class="scal" @click="previewImage(z,x.pic_url)"> <view class="scal" @click="previewImage(zi,y)">
<image :src="z" mode="aspectFill" class="image" /> <image :src="z" mode="aspectFill" class="image" />
<view <view
class="more" class="more"
......
...@@ -222,6 +222,15 @@ ...@@ -222,6 +222,15 @@
<view class="user"> <view class="user">
<u-avatar :src="comments[0].UserPhotoPath" :size="50"></u-avatar> <u-avatar :src="comments[0].UserPhotoPath" :size="50"></u-avatar>
<text style="margin-left: 10px;">{{ comments[0].UserName }}</text> <text style="margin-left: 10px;">{{ comments[0].UserName }}</text>
<u-rate
:current="comments[0].CommentScore"
active-color="#FA3534"
inactive-color="#b2b2b2"
active-icon="star"
inactive-icon="star-o"
size="20"
:disabled="true"
></u-rate>
</view> </view>
<view class="timer">{{ comments[0].CreateDate }}</view> <view class="timer">{{ comments[0].CreateDate }}</view>
</view> </view>
......
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
mc: "", mc: "",
secondary: "", secondary: "",
msg: { msg: {
CommentGrade: 0, CommentGrade: 1,
GoodsId: 0, GoodsId: 0,
Content: "", Content: "",
OrderDetailId: 0, OrderDetailId: 0,
......
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