Commit 6b4a1944 by 冷斌

fix bug

parent 88e5dd1d
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</div> </div>
<div class="layout_h_b" style="margin-top: 0.5rem;"> <div class="layout_h_b" style="margin-top: 0.5rem;">
<span class="text_14_600 color_FF3B3B">¥{{item.price}}</span> <span class="text_14_600 color_FF3B3B">¥{{item.price}}</span>
<van-image src="__THEME__/img/down_load_icon.png" width="13" height="16" ></van-image> <van-image @click="onDownload(item)" src="__THEME__/img/down_load_icon.png" width="13" height="16" ></van-image>
</div> </div>
<div class="home_divider divider"></div> <div class="home_divider divider"></div>
</div> </div>
...@@ -354,6 +354,12 @@ ...@@ -354,6 +354,12 @@
}) })
} }
}, },
onDownload: function (item) {
// if ( path ) {
// window.location.href = path;
// }
console.log(item);
}
} }
}) })
......
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