Commit 5623ee9d authored by agping's avatar agping

喜报修改

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