Commit 445f868e authored by Mac's avatar Mac

1

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