Commit 5623ee9d authored by agping's avatar agping

喜报修改

parent 4cfd4d7a
......@@ -9,18 +9,18 @@
热烈祝贺
</span>
<span class="story_font_span1">
同联商业
{{deal_name}}
</span>
<span></span>
<div class="story_font2">
<span>[</span>
<span class="story_font_span2">{{time}}</span>
<span class="story_font_span2">{{deal_time}}</span>
<span>]</span>
</div>
<div class="story_font2">
<span class="story_font_span3">成交</span>
<span class="story_font_span4">{{name}}</span>
<span class="story_font_span4">{{deal_shop}}</span>
<span class="story_font_span5">商铺一套!</span>
</div>
</div>
......@@ -29,11 +29,11 @@
<span class="ic_star_span">好项目就是这么热销</span>
<img :src="ic_star" class="ic_star1">
<p>
<span class="story_font_span6">{{name}}</span>,值得你信赖的商铺.
<span class="story_font_span6">同联商业</span>,值得你信赖的平台
</p>
<img :src="line_down" class="line_down">
<img :src="zan_clickpic" class="zan" @click="clickZan">
<p style="margin-top:-0.35rem" class="story_font_p">{{num}}</p>
<p style="margin-top:-0.35rem" class="story_font_p">{{show_zannum}}</p>
</div>
</div>
......@@ -62,11 +62,12 @@
zan,
zan_1,
five,
name: '',
time: '',
deal_name: '',
deal_time: '',
deal_shop:'',
zan_clickpic: zan,
click_num: 1,
num: '',
show_zannum: '',
read_num:1,
zan_pic: false,
feed_id:'',
......@@ -102,9 +103,9 @@
})
.then(function(response) {
if(response.data.code == 200) {
_this.time = response.data.data.create_time;
_this.name = response.data.data.house_title;
_this.num = response.data.data.click_num;
_this.deal_time = response.data.data.create_time;
_this.deal_shop = response.data.data.house_title;
_this.show_zannum = response.data.data.click_num;
} else {}
})
......@@ -127,7 +128,7 @@
.then(function(response) {
if(response.data.code == 200) {
_this.zan_pic = true;
_this.num = _this.num + 1;
_this.show_zannum = _this.show_zannum + 1;
setTimeout(function() {
_this.zan_pic = false;
},850);
......@@ -149,7 +150,7 @@
.then(function(response) {
if(response.data.code == 200) {
_this.zan_pic = false;
_this.num = _this.num - 1;
_this.show_zannum = _this.show_zannum - 1;
}
})
......@@ -316,6 +317,5 @@
#zan_1 {
width: 4rem;
height: 6rem;
/*display: none;*/
}
</style>
\ No newline at end of file
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