|
|
|
|
4
|
var discoverBox = document.body.querySelector('#discoverBox');
|
4
|
var discoverBox = document.body.querySelector('#discoverBox');
|
5
|
|
5
|
|
6
|
/*点击列表*/
|
6
|
/*点击列表*/
|
7
|
$('#discoverBox').on('click', '.newsurl', function() {
|
|
|
|
|
7
|
$('#discoverBox').on('tap', '.newsurl', function() {
|
8
|
var id = $(this).attr("data-id");
|
8
|
var id = $(this).attr("data-id");
|
9
|
var datatype = $(this).attr("data-type");
|
9
|
var datatype = $(this).attr("data-type");
|
10
|
var ownerid = $(this).attr("owner-id");
|
10
|
var ownerid = $(this).attr("owner-id");
|
|
|
|
|
51
|
});
|
51
|
});
|
52
|
|
52
|
|
53
|
/*点击头像*/
|
53
|
/*点击头像*/
|
54
|
$('#discoverBox').on('click', '.gouserurl', function() {
|
|
|
|
|
54
|
$('#discoverBox').on('tap', '.gouserurl', function() {
|
55
|
var id = $(this).parents(".mui-table-view-cell").find(".userurl").attr("data-id");
|
55
|
var id = $(this).parents(".mui-table-view-cell").find(".userurl").attr("data-id");
|
56
|
var datatype = $(this).parents(".mui-table-view-cell").find(".newsurl").attr("data-type");
|
56
|
var datatype = $(this).parents(".mui-table-view-cell").find(".newsurl").attr("data-type");
|
57
|
var iftauth = $(this).parents(".mui-table-view-cell").find(".userurl").attr("data-iftauth");
|
57
|
var iftauth = $(this).parents(".mui-table-view-cell").find(".userurl").attr("data-iftauth");
|