Commit af6f4f4a by 冷斌

fix bug

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