@Override
  public void onOtherButtonClick(ActionSheet actionSheet, int index) {
    if (msgData == null) return;
    String picURL = "";
    if (!TextUtils.isEmpty(msgData.getPic())) {
      picURL = Pub_HttpUtils.BASE_URL + msgData.getPic();
    }

    if (index == 0) { // 海航圈
      doShare(
          picURL,
          msgData.getTitle(),
          msgData.getId(),
          text.getText().toString(),
          url,
          "点击这里查看详情",
          "海航公众平台");
    } else if (index == 1) { // 海航好友
      String customshareInfoString =
          ShareUtil.getShareLinkParameters(
              url, msgData.getTitle(), text.getText().toString(), picURL);
      ShareUtil.gotoShare_UserListActivity(
          this,
          customshareInfoString,
          text.getText().toString(),
          msgData.getTitle(),
          picURL,
          false);
    } else if (index == 2) { // 微信朋友圈
      senWechatReq(1, url, text.getText().toString(), msgData.getTitle(), picURL);
    } else if (index == 3) { // 微信好友
      senWechatReq(0, url, text.getText().toString(), msgData.getTitle(), picURL);
    }
  }
 @Override
 public void onClick(View v) {
   if (v == btnCancel) {
     dismiss();
     return;
   }
   if (msgData == null) return;
   String picURL = "";
   if (!TextUtils.isEmpty(msgData.getPic())) {
     picURL = Pub_HttpUtils.BASE_URL + msgData.getPic();
   }
   if (v == btnFriend) {
     String customshareInfoString =
         ShareUtil.getShareLinkParameters(
             url, msgData.getTitle(), text.getText().toString(), picURL);
     ShareUtil.gotoShare_UserListActivity(
         Pub_WebViewActivity.this,
         customshareInfoString,
         text.getText().toString(),
         msgData.getTitle(),
         picURL,
         false);
   } else if (v == btnWorklife) {
     doShare(
         picURL,
         msgData.getTitle(),
         msgData.getId(),
         text.getText().toString(),
         url,
         "点击这里查看详情",
         "海航公众平台");
   } else if (v == btnWeChatFriend) {
     if (isInternal) return;
     senWechatReq(0, url, text.getText().toString(), msgData.getTitle(), picURL);
   } else if (v == btnWeChatLife) {
     if (isInternal) return;
     senWechatReq(1, url, text.getText().toString(), msgData.getTitle(), picURL);
   }
 }