This commit is contained in:
lym
2026-03-18 17:27:43 +08:00
parent 4a5d7353ed
commit c076cf32b0
34 changed files with 480 additions and 264 deletions

View File

@@ -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",