Commit a436514c by 冷斌

fix bug

parent afff1ee0
...@@ -103,7 +103,8 @@ ...@@ -103,7 +103,8 @@
<if condition="$vo['price'] eq 0">免费 <if condition="$vo['price'] eq 0">免费
<else />¥{$vo['price']}</if> <else />¥{$vo['price']}</if>
</span> </span>
<van-image src="__THEME__/img/down_load_icon.png" width="13" height="16"> <van-image @click="onDownload({$vo})" src="__THEME__/img/down_load_icon.png" width="13" height="16">
</van-image>
</van-icon> </van-icon>
</div> </div>
<div class="home_divider divider"></div> <div class="home_divider divider"></div>
...@@ -174,6 +175,9 @@ ...@@ -174,6 +175,9 @@
onChange: function(tab) { onChange: function(tab) {
}, },
onDownload: function (item) {
console.log(item);
},
onPay: function(id) { onPay: function(id) {
console.log("Id = " + id) console.log("Id = " + id)
if (MID <= 0) { if (MID <= 0) {
......
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