ui修改
This commit is contained in:
@@ -2,6 +2,7 @@ var WxParse = null;
|
||||
var app = getApp()
|
||||
var that=null
|
||||
var aid=0
|
||||
var ParentID = 0
|
||||
Page( {
|
||||
data: {
|
||||
loadingHidden:false,
|
||||
@@ -13,7 +14,8 @@ Page( {
|
||||
onLoad: function(options) {
|
||||
that = this
|
||||
WxParse = require('../../wxParse/wxParse.js')
|
||||
aid=options.id
|
||||
aid=options.id?options.id:0
|
||||
ParentID =options.ParentID
|
||||
that.rdata();//第一次加载数据
|
||||
}, rdata: function () {
|
||||
|
||||
@@ -21,7 +23,8 @@ Page( {
|
||||
url: app.globalData.apiurl + "/xapiajax.ashx",
|
||||
data: {
|
||||
action:"getnewdetail",
|
||||
id:aid
|
||||
id:aid,
|
||||
ParentID:ParentID
|
||||
},
|
||||
method:"GET",
|
||||
dataType:"json",
|
||||
|
||||
Reference in New Issue
Block a user