浏览代码

修改发现页面

xuchunyang 8 年之前
父节点
当前提交
723d8af77e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/js/discover.js

+ 2 - 2
app/js/discover.js

@ -4,7 +4,7 @@ var allPages = 1; // 总页数
4 4
var discoverBox = document.body.querySelector('#discoverBox');
5 5

6 6
/*点击列表*/
7
$('#discoverBox').on('click', '.newsurl', function() {
7
$('#discoverBox').on('tap', '.newsurl', function() {
8 8
	var id = $(this).attr("data-id");
9 9
	var datatype = $(this).attr("data-type");
10 10
	var ownerid = $(this).attr("owner-id");
@ -51,7 +51,7 @@ $('#discoverBox').on('click', '.newsurl', function() {
51 51
});
52 52

53 53
/*点击头像*/
54
$('#discoverBox').on('click', '.gouserurl', function() {
54
$('#discoverBox').on('tap', '.gouserurl', function() {
55 55
	var id = $(this).parents(".mui-table-view-cell").find(".userurl").attr("data-id");
56 56
	var datatype = $(this).parents(".mui-table-view-cell").find(".newsurl").attr("data-type");
57 57
	var iftauth = $(this).parents(".mui-table-view-cell").find(".userurl").attr("data-iftauth");