/** 合买详情框 */
 public void detailDalog(int position) {
   JoinCheck info = (JoinCheck) listPages.get(newPage).get(position);
   LayoutInflater inflater = (LayoutInflater) this.getSystemService(LAYOUT_INFLATER_SERVICE);
   View v = inflater.inflate(R.layout.join_check_detail, null);
   final AlertDialog detailDialog = new AlertDialog.Builder(this).create();
   TextView lotno = (TextView) v.findViewById(R.id.join_check_detail_text_lotno);
   TextView time = (TextView) v.findViewById(R.id.join_check_detail_text_time);
   TextView id = (TextView) v.findViewById(R.id.join_check_detail_text_id);
   TextView allAtm = (TextView) v.findViewById(R.id.join_check_detail_text_all_atm);
   TextView renAtm = (TextView) v.findViewById(R.id.join_check_detail_text_ren_atm);
   TextView baoAtm = (TextView) v.findViewById(R.id.join_check_detail_text_bao_atm);
   TextView progress = (TextView) v.findViewById(R.id.join_check_detail_text_progress);
   TextView result = (TextView) v.findViewById(R.id.join_check_detail_text_result);
   TextView zhuma = (TextView) v.findViewById(R.id.join_check_detail_text_zhuma);
   TextView prize = (TextView) v.findViewById(R.id.join_check_detail_text_prize_atm);
   TextView startPrize = (TextView) v.findViewById(R.id.join_check_detail_text_start_prize_atm);
   lotno.append(info.getTitle());
   time.append(info.getTime());
   id.append(info.getCaseid());
   allAtm.append(info.getAllAtm());
   renAtm.append(info.getAtm());
   baoAtm.append(info.getBaoAtm());
   progress.append(info.getProgress());
   result.setTextColor(setColor(info.getDisplayState()));
   result.append(info.getResult());
   zhuma.append(info.getZhuma());
   prize.append(info.getPrizeAmt());
   startPrize.append(info.getCommisionPrizeAmt());
   Button cancel = (Button) v.findViewById(R.id.join_check_detail_cancel);
   cancel.setOnClickListener(
       new OnClickListener() {
         public void onClick(View v) {
           // TODO Auto-generated method stub
           detailDialog.cancel();
         }
       });
   detailDialog.show();
   detailDialog.getWindow().setContentView(v);
 }