Commit 445f868e authored by Mac's avatar Mac

1

parent 54ced2e2
......@@ -177,19 +177,6 @@
></u-section>
</view>
<view class="comment">
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="comments[0].UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{comments[0].UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{comments[0].CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="comments[0].CommentList[0].CommentScore"
......@@ -200,20 +187,33 @@
size="20"
:disabled="true"
></u-rate>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>{{comments[0].CommentList[0].CarBrandName}},{{comments[0].CommentList[0].CarColorName}}</span>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>导游:{{comments[0].CommentList[1].GuideName}}</span>
</view>
<view class="comment-dao" style="padding: 10px 0;">
<span>{{comments[0].CommentList[0].Content}}</span>
<span>{{comments[0].CommentList[1].Content}}</span>
</view>
<view class="comment-dao" style="flex-wrap: wrap;">
<image
v-for="(item, index) in comments[0].CommentList[0].CommentImgList" :key="index"
v-for="(item, index) in comments[0].CommentList[1].CommentImgList" :key="index"
mode="aspectFill"
:src="item"
:style="{'width':san,'height':san}"
/>
</view>
<view style="width: 100%;height: 1px;background: rgba(0, 0, 0, 0.1);margin: 10px 0;"></view>
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="comments[0].UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{comments[0].UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{comments[0].CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="comments[0].CommentList[0].CommentScore"
......@@ -224,14 +224,14 @@
size="20"
:disabled="true"
></u-rate>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>导游:{{comments[0].CommentList[1].GuideName}}</span>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>{{comments[0].CommentList[0].CarBrandName}},{{comments[0].CommentList[0].CarColorName}}</span>
</view>
<view class="comment-dao" style="padding: 10px 0;">
<span>{{comments[0].CommentList[1].Content}}</span>
<span>{{comments[0].CommentList[0].Content}}</span>
</view>
<view class="comment-dao" style="flex-wrap: wrap;">
<image
v-for="(item, index) in comments[0].CommentList[1].CommentImgList" :key="index"
v-for="(item, index) in comments[0].CommentList[0].CommentImgList" :key="index"
mode="aspectFill"
:src="item"
:style="{'width':san,'height':san}"
......
......@@ -29,19 +29,7 @@
:style="{ height: '100%' }"
>
<view class="interDList" v-for="(x, i) in g" :key="i">
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="x.UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{x.UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{x.CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="x.CommentList[0].CommentScore"
......@@ -52,43 +40,56 @@
size="20"
:disabled="true"
></u-rate>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>{{x.CommentList[0].CarBrandName}},{{x.CommentList[0].CarColorName}}</span>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>导游:{{x.CommentList[1].GuideName}}</span>
</view>
<view class="comment-dao" style="padding: 10px 0;">
<span>{{x.CommentList[0].Content}}</span>
<span>{{x.CommentList[1].Content}}</span>
</view>
<view class="comment-dao" style="flex-wrap: wrap;">
<image
v-for="(item, index) in x.CommentList[0].CommentImgList" :key="index"
v-for="(item, index) in x.CommentList[1].CommentImgList" :key="index"
mode="aspectFill"
:src="item"
:style="{'width':san,'height':san}"
/>
</view>
<view style="width: 100%;height: 1px;background: rgba(0, 0, 0, 0.1);margin: 10px 0;"></view>
<view class="comment-dao" >
<u-rate
:current="x.CommentList[0].CommentScore"
active-color="#FF4442"
inactive-color="#b2b2b2"
active-icon="star"
inactive-icon="star-o"
size="20"
:disabled="true"
></u-rate>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>导游:{{x.CommentList[1].GuideName}}</span>
</view>
<view class="comment-dao" style="padding: 10px 0;">
<span>{{x.CommentList[1].Content}}</span>
</view>
<view class="comment-dao" style="flex-wrap: wrap;">
<image
v-for="(item, index) in x.CommentList[1].CommentImgList" :key="index"
mode="aspectFill"
:src="item"
:style="{'width':san,'height':san}"
/>
</view>
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="x.UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{x.UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{x.CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="x.CommentList[0].CommentScore"
active-color="#FF4442"
inactive-color="#b2b2b2"
active-icon="star"
inactive-icon="star-o"
size="20"
:disabled="true"
></u-rate>
<span style='font-size: 11px;color: #565656;margin-left: 15px;'>{{x.CommentList[0].CarBrandName}},{{x.CommentList[0].CarColorName}}</span>
</view>
<view class="comment-dao" style="padding: 10px 0;">
<span>{{x.CommentList[0].Content}}</span>
</view>
<view class="comment-dao" style="flex-wrap: wrap;">
<image
v-for="(item, index) in x.CommentList[0].CommentImgList" :key="index"
mode="aspectFill"
:src="item"
:style="{'width':san,'height':san}"
/>
</view>
</view>
<u-loadmore
:status="status"
......
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