|
@@ -158,28 +158,29 @@
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="item" style="border-bottom:15px solid #F2F2F2;" ng-click="add_comment()" ng-repeat="interaction in dream.interactions">
|
|
<div class="item" style="border-bottom:15px solid #F2F2F2;" ng-click="add_comment()" ng-repeat="interaction in dream.interactions">
|
|
- <div ng-click="replay($event,dream.user.nickname,$index)">
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <!--<div ng-click="replay($event,dream.user.nickname,$index)">-->
|
|
<img class="head" ng-src="{{dream.user.avatar | avator}}" />
|
|
<img class="head" ng-src="{{dream.user.avatar | avator}}" />
|
|
<span class="utitle">{{dream.user.nickname}}</span>
|
|
<span class="utitle">{{dream.user.nickname}}</span>
|
|
<!--<span class="utitle kz">{{dream.end_time | lastDate}}</span>-->
|
|
<!--<span class="utitle kz">{{dream.end_time | lastDate}}</span>-->
|
|
<span class="utitle kz">{{dream.created_at}}</span>
|
|
<span class="utitle kz">{{dream.created_at}}</span>
|
|
<p class="subtile" style="white-space:normal; color: #666666">{{interaction.title}}</p>
|
|
<p class="subtile" style="white-space:normal; color: #666666">{{interaction.title}}</p>
|
|
<div class="picts item">
|
|
<div class="picts item">
|
|
- <img class="slt" ng-click="showBigImage($event,'{{interaction.pic1}}')" ng-src="{{interaction.pic1}}" ng-if="interaction.pic1" />
|
|
|
|
- <img class="slt" ng-src="{{interaction.pic2}}" ng-if="interaction.pic2" />
|
|
|
|
- <img class="slt" ng-src="{{interaction.pic3}}" ng-if="interaction.pic3" />
|
|
|
|
- <img class="slt" ng-src="{{interaction.pic4}}" ng-if="interaction.pic4" />
|
|
|
|
- <img class="slt" ng-src="{{interaction.pic5}}" ng-if="interaction.pic5" />
|
|
|
|
- <img class="slt" ng-src="{{interaction.pic6}}" ng-if="interaction.pic6" />
|
|
|
|
- <img class="slt" ng-src="{{interaction.pic7}}" ng-if="interaction.pic7" />
|
|
|
|
- <img class="slt" ng-src="{{interaction.pic8}}" ng-if="interaction.pic8" />
|
|
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic1)" ng-src="{{interaction.pic1}}" ng-if="interaction.pic1" />
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic2)" ng-src="{{interaction.pic2}}" ng-if="interaction.pic2" />
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic3)" ng-src="{{interaction.pic3}}" ng-if="interaction.pic3" />
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic4)" ng-src="{{interaction.pic4}}" ng-if="interaction.pic4" />
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic5)" ng-src="{{interaction.pic5}}" ng-if="interaction.pic5" />
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic6)" ng-src="{{interaction.pic6}}" ng-if="interaction.pic6" />
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic7)" ng-src="{{interaction.pic7}}" ng-if="interaction.pic7" />
|
|
|
|
+ <img class="slt" ng-click="openCommentPic(interaction.pic8)" ng-src="{{interaction.pic8}}" ng-if="interaction.pic8" />
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<video ng-src="{{video.file | trustUrl}}" ng-show="video.isOK" poster="{{video.vpic}}" height="72px" width="72px" controls="controls"></video>
|
|
<video ng-src="{{video.file | trustUrl}}" ng-show="video.isOK" poster="{{video.vpic}}" height="72px" width="72px" controls="controls"></video>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="list" style="margin-left:50px">
|
|
<div class="list" style="margin-left:50px">
|
|
- <div class="item" ng-repeat="c in interaction.comments" ng-click="replay($event,c.user_nickname,$parent.$parent.$index)" ng-if="interaction.showmore||$index<4">
|
|
|
|
|
|
+ <div class="item" ng-repeat="c in interaction.comments" ng-click="replay($event,c.user_nickname,$parent.$parent.$index,$index)" ng-if="interaction.showmore||$index<4">
|
|
<img class="head" ng-src="{{c.user_avatar | avator}}" />
|
|
<img class="head" ng-src="{{c.user_avatar | avator}}" />
|
|
<span>{{c.content}}</span>
|
|
<span>{{c.content}}</span>
|
|
<span class="utitle">{{c.user_nickname}}</span>
|
|
<span class="utitle">{{c.user_nickname}}</span>
|
|
@@ -205,13 +206,13 @@
|
|
<img style="width: 75px; height: 75px; margin: 25px 0 8px 0; border-radius: 100%; background: #C6D3E2;" ng-src="{{ dream.top3user[0].avatar | avator }}" /><br>
|
|
<img style="width: 75px; height: 75px; margin: 25px 0 8px 0; border-radius: 100%; background: #C6D3E2;" ng-src="{{ dream.top3user[0].avatar | avator }}" /><br>
|
|
{{ dream.top3user[0].nickname }}<br>
|
|
{{ dream.top3user[0].nickname }}<br>
|
|
<img ng-src="img/icon_gongxian.svg" style="height: 18px; width: 18px; margin-top: 5px" />
|
|
<img ng-src="img/icon_gongxian.svg" style="height: 18px; width: 18px; margin-top: 5px" />
|
|
- <em style="font-size: 16px">{{ dream.top3user[0].score }}</em>
|
|
|
|
|
|
+ <em style="font-size: 15px;">{{ dream.top3user[0].score }}</em>
|
|
</div>
|
|
</div>
|
|
<div class="col top2" ng-if="dream.top3user.length>1" style="background: url('img/img_No2.svg') no-repeat; background-size: 100% 100%;">
|
|
<div class="col top2" ng-if="dream.top3user.length>1" style="background: url('img/img_No2.svg') no-repeat; background-size: 100% 100%;">
|
|
- <img style="width: 67px; margin: 22px 0 8px 0; border-radius: 100%; background: #C6D3E2;" ng-src="{{ dream.top3user[1].avatar | avator }}" /><br>
|
|
|
|
|
|
+ <img style="width: 67px; margin: 20px 0 6px 0; border-radius: 100%; background: #C6D3E2;" ng-src="{{ dream.top3user[1].avatar | avator }}" /><br>
|
|
{{ dream.top3user[1].nickname }}<br>
|
|
{{ dream.top3user[1].nickname }}<br>
|
|
- <img ng-src="img/icon_gongxian.svg" style="height: 18px; width: 18px; margin-top: 3px" />
|
|
|
|
- <em style="font-size: 16px">{{ dream.top3user[1].score }}</em>
|
|
|
|
|
|
+ <img ng-src="img/icon_gongxian.svg" style="height: 18px; width: 18px; margin-top: 5px" />
|
|
|
|
+ <em style="font-size: 15px;">{{ dream.top3user[1].score }}</em>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" ng-if="dream.top3user.length>2">
|
|
<div class="row" ng-if="dream.top3user.length>2">
|
|
@@ -271,6 +272,9 @@
|
|
<div ng-if="code && type==1" ng-click="hideCode()" class="popover-backdrop">
|
|
<div ng-if="code && type==1" ng-click="hideCode()" class="popover-backdrop">
|
|
<img class="code" ng-src="{{url}}">
|
|
<img class="code" ng-src="{{url}}">
|
|
</div>
|
|
</div>
|
|
|
|
+ <div ng-if="code && type==1" ng-click="hideCode()" class="popover-backdrop">
|
|
|
|
+ <img class="code" ng-src="{{url}}">
|
|
|
|
+ </div>
|
|
<div ng-if="bigImage && type==2" ng-click="hideBigImage()" class="popover-backdrop">
|
|
<div ng-if="bigImage && type==2" ng-click="hideBigImage()" class="popover-backdrop">
|
|
<img ng-src="{{url}}">
|
|
<img ng-src="{{url}}">
|
|
</div>
|
|
</div>
|
|
@@ -369,7 +373,7 @@
|
|
<div class="coin">
|
|
<div class="coin">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col box {{index==2?'selected':''}}" ng-click="changeIndex(2)" ng-model="coin">
|
|
<div class="col box {{index==2?'selected':''}}" ng-click="changeIndex(2)" ng-model="coin">
|
|
- <div style="float:left; width: 35%; margin-top: 2%; margin-left: 5%">
|
|
|
|
|
|
+ <div style="float:left; width: 35%; min-height: 40px; margin-top: 2%; margin-left: 5%">
|
|
<img ng-src="img/icon_kiss.png" style="width: 100%;">
|
|
<img ng-src="img/icon_kiss.png" style="width: 100%;">
|
|
</div>
|
|
</div>
|
|
<div style="float:right; width: 20%; margin-top: 4.8%; margin-right: 5px">
|
|
<div style="float:right; width: 20%; margin-top: 4.8%; margin-right: 5px">
|
|
@@ -415,7 +419,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col box {{index==30?'selected':''}}" ng-click="changeIndex(30)" ng-model="coin">
|
|
<div class="col box {{index==30?'selected':''}}" ng-click="changeIndex(30)" ng-model="coin">
|
|
- <div style="float:left; width: 35%; margin-top: 3%; margin-left: 5%">
|
|
|
|
|
|
+ <div style="float:left; width: 32%; margin-top: 3%; margin-left: 5%">
|
|
<img ng-src="img/icon_haert.png" style="width: 100%;">
|
|
<img ng-src="img/icon_haert.png" style="width: 100%;">
|
|
</div>
|
|
</div>
|
|
<div style="float:right; width: 20%; margin-top: 4.8%; margin-right: 5px">
|
|
<div style="float:right; width: 20%; margin-top: 4.8%; margin-right: 5px">
|
|
@@ -426,7 +430,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col box {{index==50?'selected':''}}" ng-click="changeIndex(50)" ng-model="coin">
|
|
<div class="col box {{index==50?'selected':''}}" ng-click="changeIndex(50)" ng-model="coin">
|
|
- <div style="float:left; width: 35%; margin-top: 2%; margin-left: 5%">
|
|
|
|
|
|
+ <div style="float:left; width: 32%; margin-top: 2%; margin-left: 5%">
|
|
<img ng-src="img/icon_diamond.png" style="width: 100%;">
|
|
<img ng-src="img/icon_diamond.png" style="width: 100%;">
|
|
</div>
|
|
</div>
|
|
<div style="float:right; width: 20%; margin-top: 4.8%; margin-right: 5px">
|
|
<div style="float:right; width: 20%; margin-top: 4.8%; margin-right: 5px">
|
|
@@ -495,4 +499,17 @@
|
|
</ion-content>
|
|
</ion-content>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
</script>
|
|
|
|
+ <script id="commentPic.html" type="text/ng-template">
|
|
|
|
+ <div class="modal">
|
|
|
|
+ <ion-header-bar class="bar-calm bar bar-header has-tabs-top">
|
|
|
|
+ <h1 class="title">评论</h1>
|
|
|
|
+ <button class="button button-clear" ng-click="closeCommentPic()">关闭</button>
|
|
|
|
+ </ion-header-bar>
|
|
|
|
+ <ion-content>
|
|
|
|
+ <div style="margin: 0 auto">
|
|
|
|
+ <img ng-src="{{commentPicUrl}}" style="width: 100%; height: 100%; padding: 10px; margin-top:10%;">
|
|
|
|
+ </div>
|
|
|
|
+ </ion-content>
|
|
|
|
+ </div>
|
|
|
|
+ </script>
|
|
</ion-view>
|
|
</ion-view>
|