function ciy_chart_farm1_l1(opdata) { this.func = ['farm_l1']; this.lastdata = {}; this.resize = function () { } this.setdata = function (funame, data) { if (!data) return; this.lastdata[funame] = data; $5('[data-num="n1"]', opdata.container).html(''+data.farm.cmcode+''); $5('[data-num="n2"]', opdata.container).text(data.farm.n2); $5('[data-num="n3"]', opdata.container).text(data.farm.n3); } this.distory = function () { } opdata.container.append(`