|  | @@ -8,9 +8,11 @@ import com.alibaba.android.arouter.facade.annotation.Route;
 | 
	
		
			
				|  |  |  import com.alibaba.android.arouter.launcher.ARouter;
 | 
	
		
			
				|  |  |  import com.chad.library.adapter.base.BaseQuickAdapter;
 | 
	
		
			
				|  |  |  import com.chad.library.adapter.base.listener.OnItemClickListener;
 | 
	
		
			
				|  |  | +import com.cooleshow.base.common.BaseApplication;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.constanst.Constants;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.router.RouterPath;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.ui.activity.BaseMVPActivity;
 | 
	
		
			
				|  |  | +import com.cooleshow.base.utils.LOG;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.utils.PopupUtil;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.utils.SizeUtils;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.utils.helper.QMUIStatusBarHelper;
 | 
	
	
		
			
				|  | @@ -68,7 +70,15 @@ public class NoticeActivity extends BaseMVPActivity<TcActivityNoticeBinding, Not
 | 
	
		
			
				|  |  |      protected void initView() {
 | 
	
		
			
				|  |  |          initMidTitleToolBar(viewBinding.toolbarInclude.toolbar, "群公告");
 | 
	
		
			
				|  |  |          //其他不可修改群公告
 | 
	
		
			
				|  |  | -        viewBinding.toolbarInclude.tvRight.setVisibility(View.GONE);
 | 
	
		
			
				|  |  | +        viewBinding.toolbarInclude.tvRight.setVisibility(View.VISIBLE);
 | 
	
		
			
				|  |  | +        if (BaseApplication.Companion.isTeacherClient()) {
 | 
	
		
			
				|  |  | +            viewBinding.toolbarInclude.tvRight.setImageResource(R.drawable.icon_chat_group_notice_add);
 | 
	
		
			
				|  |  | +            viewBinding.toolbarInclude.tvRight.setVisibility(View.VISIBLE);
 | 
	
		
			
				|  |  | +            viewBinding.toolbarInclude.tvRight.setOnClickListener(this);
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            //学生不可修改群公告
 | 
	
		
			
				|  |  | +            viewBinding.toolbarInclude.tvRight.setVisibility(View.GONE);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          targetId = getIntent().getStringExtra("targetId");
 | 
	
		
			
				|  |  |          recyclerView = viewBinding.recyclerView;
 | 
	
		
			
				|  |  |          floatbutton = viewBinding.floatbutton;
 | 
	
	
		
			
				|  | @@ -197,6 +207,7 @@ public class NoticeActivity extends BaseMVPActivity<TcActivityNoticeBinding, Not
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public void queryGroupNoticeSuccess(int page, GroupNoticeBean dataList) {
 | 
	
		
			
				|  |  | +        LOG.i("pq","queryGroupNoticeSuccess:"+dataList);
 | 
	
		
			
				|  |  |          if (dataList != null) {
 | 
	
		
			
				|  |  |              if (page == 1) {
 | 
	
		
			
				|  |  |                  //第一页
 |