|
@@ -329,12 +329,12 @@ Page({
|
|
|
onFold:function(e){
|
|
|
console.log( e.currentTarget.dataset.id);
|
|
|
wx.navigateTo({
|
|
|
- url:"../news/news"
|
|
|
+ url:"../news/news?newsId="+e.currentTarget.dataset.id
|
|
|
});
|
|
|
},
|
|
|
// 点击tab切换
|
|
|
swichNav: function(e) {
|
|
|
- console.log(e)
|
|
|
+ // console.log(e)
|
|
|
var that = this;
|
|
|
if (this.data.currentTab === e.target.dataset.current) {
|
|
|
return false;
|
|
@@ -348,7 +348,7 @@ Page({
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
- console.log(options)
|
|
|
+ // console.log(options)
|
|
|
var Name = "object.Name"
|
|
|
var value = "object.value"
|
|
|
var color='object.color'
|