// view._partyBtnClassify.setBackGroundColorType(ccui.Layout.BG_COLOR_GRADIENT); // view._partyBtnClassify.setBackGroundColorVector(cc.p(0.1,0.5)); // view._partyBtnClassify.setBackGroundColor(cc.color(255 , 255, 255),cc.color(0 , 0, 0)); // view._partyBtnClassify.setContentSize(cc.size(500, 900)); // view._partyBtnClassify.setVector(cc.p(0.1,0.1)); view._partyBtnClassify.setOpacity(0); //开始透明度 // view._partyBtnClassify.setBackGroundColorOpacity(255); //结束透明度 // view._partyBtnClassify.setBackGroundColorOpacitySS(255,30); // view._partyBtnClassify.setContentSize(cc.size(500, 100));