页面回退刷新
This commit is contained in:
@@ -2523,15 +2523,18 @@ function getDistrictList(cityParam,latParam,lngParam,regionParam,order,minPrice,
|
||||
|
||||
mui.init();
|
||||
function openNewsView(newId) {
|
||||
mui.openWindow({
|
||||
url: 'views/news/newsDetail.html',
|
||||
id:'newsDetail.html',
|
||||
extras:{
|
||||
newsId:newId //扩展参数
|
||||
}
|
||||
});
|
||||
var count = parseInt($("#visitCount_"+newId).text().replace("人",""))+1;
|
||||
$("#visitCount_"+newId).text(count+'人');
|
||||
//mui.openWindow({
|
||||
// url: 'views/news/newsDetail.html',
|
||||
// id:'newsDetail.html',
|
||||
// extras:{
|
||||
// newsId:newId //扩展参数
|
||||
// }
|
||||
// });
|
||||
clicked('views/news/newsDetail.html',true,false,{},{newsId:newId},function(newId){
|
||||
alert(newId);
|
||||
},newId);
|
||||
var count = parseInt($("#visitCount_"+newId).text().replace("人",""))+1;
|
||||
$("#visitCount_"+newId).text(count+'人');
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user