Commit e70a1b3c authored by agping's avatar agping

商铺分享 商铺编辑 商铺列表 商铺收藏 增加 年租金

parent 5e8e396b
......@@ -71,6 +71,11 @@
_tempStr = response.data.rent_price + '元/天/m²';
$(".pu_price").html(_tempStr);
}else if(response.data.rent_type == '4') {
$(".pu_price_type").html("租金");
_tempStr = response.data.rent_price + '元/年';
$(".pu_price").html(_tempStr);
};
line_a = '<p class="a_fonta">' + title + '</p>';
$(".line_a").html(line_a);
......
......@@ -20,8 +20,10 @@
[%= it[item]["rent_price"] / 100 %]
[% } else if (it[item]['rent_type'] == 2) { %]
[%= it[item]["rent_price"] / 100 %] %
[% }else{ %]
[% }else if (it[item]['rent_type'] == 3) { %]
[%= it[item]["rent_price"] / 100 %] //
[% }else if (it[item]['rent_type'] == 4) { %]
[%= it[item]["rent_price"] / 100 %] /
[% } %]
</td>
<td>
......
......@@ -13,12 +13,14 @@
<td>[%= hideStr(it[item]['title']) %]</td>
<td>
[% if (it[item]['rent_type'] == 1) { %]
[%= it[item]["rent_price"] %]
[% if (it[item]['rent_type'] == 1) { %]
[%= it[item]["rent_price"] / 100 %]
[% } else if (it[item]['rent_type'] == 2) { %]
[%= it[item]["rent_price"] %] %
[% }else{ %]
[%= it[item]["rent_price"] %] //
[%= it[item]["rent_price"] / 100 %] %
[% }else if (it[item]['rent_type'] == 3) { %]
[%= it[item]["rent_price"] / 100 %] //
[% }else if (it[item]['rent_type'] == 4) { %]
[%= it[item]["rent_price"] / 100 %] /
[% } %]
</td>
<td>
......
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