s="lines-num lines-num-old"> 1411
imgVideo.setVisibility(View.GONE);
imgStart.setVisibility(View.GONE);
if (!fileUrl.equals("")) {
iv_commentPic.setVisibility(View.VISIBLE);
imgLayout.setVisibility(View.VISIBLE);
@ -1440,6 +1444,56 @@ public class DetailsFragment extends Fragment implements View.OnClickListener, O
} else {
imgThree.setVisibility(View.GONE);
}
String[] fileUrlArray = null;
if (!TextUtils.isEmpty(fileUrl) && !TextUtils.isEmpty(file2Url) &&!TextUtils.isEmpty(file3Url)){
fileUrlArray =new String[]{
MainApplication.url + "/zhannew/uploadfile/"+fileUrl,
MainApplication.url + "/zhannew/uploadfile/"+file2Url,
MainApplication.url + "/zhannew/uploadfile/"+file3Url
};
}else if (!TextUtils.isEmpty(fileUrl) && !TextUtils.isEmpty(file2Url)){
fileUrlArray =new String[]{
MainApplication.url + "/zhannew/uploadfile/"+fileUrl,
MainApplication.url + "/zhannew/uploadfile/"+file2Url
};
}else if (!TextUtils.isEmpty(fileUrl)){
fileUrlArray =new String[]{ MainApplication.url + "/zhannew/uploadfile/"+fileUrl};
}
String[] finalFileUrlArray = fileUrlArray;
iv_commentPic.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getContext(), ImagePagerActivity.class);
// 图片url,为了演示这里使用常量,一般从数据库中或网络中获取
intent.putExtra(ImagePagerActivity.EXTRA_IMAGE_URLS, finalFileUrlArray);
intent.putExtra(ImagePagerActivity.EXTRA_IMAGE_INDEX, 0);
startActivity(intent);
}
});
imgTwo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getContext(), ImagePagerActivity.class);
// 图片url,为了演示这里使用常量,一般从数据库中或网络中获取
intent.putExtra(ImagePagerActivity.EXTRA_IMAGE_URLS, finalFileUrlArray);
intent.putExtra(ImagePagerActivity.EXTRA_IMAGE_INDEX, 1);
startActivity(intent);
}
});
imgThree.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getContext(), ImagePagerActivity.class);
// 图片url,为了演示这里使用常量,一般从数据库中或网络中获取
intent.putExtra(ImagePagerActivity.EXTRA_IMAGE_URLS, finalFileUrlArray);
intent.putExtra(ImagePagerActivity.EXTRA_IMAGE_INDEX, 2);
startActivity(intent);
}
});
}
//父级评分
String grade = jsonObject.optString("star_level");
|
||
| 87 | 87 |
|
| 88 | 88 |
|
| 89 | 89 |
|
| 90 |
|
|
| 90 |
|
|
| 91 | 91 |
|
| 92 | 92 |
|
| 93 | 93 |
|
|
||
| 135 | 135 |
|
| 136 | 136 |
|
| 137 | 137 |
|
| 138 |
|
|
| 139 |
|
|
| 140 |
|
|
| 141 |
|
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
| 145 |
|
|
| 146 |
|
|
| 138 |
|
|
| 147 | 139 |
|
| 148 |
|
|
| 149 | 140 |
|
| 150 | 141 |
|
| 151 | 142 |
|
|
||
| 3 | 3 |
|
| 4 | 4 |
|
| 5 | 5 |
|
| 6 |
|
|
| 6 | 7 |
|
| 7 | 8 |
|
| 8 | 9 |
|
| 9 | 10 |
|
| 11 |
|
|
| 12 |
|
|
| 10 | 13 |
|
| 11 | 14 |
|
| 12 | 15 |
|
|
||
| 30 | 33 |
|
| 31 | 34 |
|
| 32 | 35 |
|
| 36 |
|
|
| 33 | 37 |
|
| 34 | 38 |
|
| 35 | 39 |
|
|
||
| 60 | 64 |
|
| 61 | 65 |
|
| 62 | 66 |
|
| 63 |
|
|
| 64 | 67 |
|
| 65 |
|
|
| 68 |
|
|
| 66 | 69 |
|
| 67 | 70 |
|
| 68 | 71 |
|
| 69 | 72 |
|
| 70 | 73 |
|
| 71 | 74 |
|
| 72 |
|
|
| 75 |
|
|
| 73 | 76 |
|
| 74 |
|
|
| 77 |
|
|
| 75 | 78 |
|
| 76 | 79 |
|
| 77 | 80 |
|
| 78 | 81 |
|
| 79 | 82 |
|
| 80 | 83 |
|
| 81 |
|
|
| 84 |
|
|
| 82 | 85 |
|
| 83 |
|
|
| 86 |
|
|
| 84 | 87 |
|
| 85 | 88 |
|
| 86 | 89 |
|
|
||
| 88 | 91 |
|
| 89 | 92 |
|
| 90 | 93 |
|
| 91 |
|
|
| 94 |
|
|
| 92 | 95 |
|
| 93 |
|
|
| 96 |
|
|
| 94 | 97 |
|
| 95 | 98 |
|
| 96 | 99 |
|
| 97 | 100 |
|
| 98 | 101 |
|
| 99 | 102 |
|
| 100 |
|
|
| 103 |
|
|
| 101 | 104 |
|
| 102 |
|
|
| 105 |
|
|
| 103 | 106 |
|
| 104 | 107 |
|
| 105 | 108 |
|
| 106 | 109 |
|
| 107 | 110 |
|
| 108 | 111 |
|
| 109 |
|
|
| 112 |
|
|
| 110 | 113 |
|
| 111 |
|
|
| 114 |
|
|
| 112 | 115 |
|
| 113 | 116 |
|
| 114 | 117 |
|
| 115 | 118 |
|
| 116 | 119 |
|
| 117 | 120 |
|
| 118 |
|
|
| 121 |
|
|
| 119 | 122 |
|
| 120 |
|
|
| 123 |
|
|
| 121 | 124 |
|
| 122 | 125 |
|
| 123 | 126 |
|
| 124 | 127 |
|
| 125 | 128 |
|
| 126 | 129 |
|
| 127 |
|
|
| 130 |
|
|
| 128 | 131 |
|
| 129 |
|
|
| 132 |
|
|
| 130 | 133 |
|
| 131 | 134 |
|
| 132 | 135 |
|
| 133 | 136 |
|
| 134 | 137 |
|
| 135 | 138 |
|
| 136 |
|
|
| 137 | 139 |
|
| 138 |
|
|
| 140 |
|
|
| 139 | 141 |
|
| 140 | 142 |
|
|
||
| 183 | 183 |
|
| 184 | 184 |
|
| 185 | 185 |
|
| 186 |
|
|
| 186 |
|
|
| 187 | 187 |
|
| 188 | 188 |
|
| 189 | 189 |
|
|
||
| 249 | 249 |
|
| 250 | 250 |
|
| 251 | 251 |
|
| 252 |
|
|
| 253 |
|
|
| 252 | 254 |
|
| 253 | 255 |
|
| 254 | 256 |
|
|
||
| 1542 | 1542 |
|
| 1543 | 1543 |
|
| 1544 | 1544 |
|
| 1545 |
|
|
| 1545 |
|
|
| 1546 | 1546 |
|
| 1547 | 1547 |
|
| 1548 | 1548 |
|
|
||
| 24 | 24 |
|
| 25 | 25 |
|
| 26 | 26 |
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 27 |
|
|
| 40 | 28 |
|
| 41 | 29 |
|
| 42 | 30 |
|
|
||
| 189 | 189 |
|
| 190 | 190 |
|
| 191 | 191 |
|
| 192 |
|
|
| 192 |
|
|
| 193 | 193 |
|
| 194 | 194 |
|
| 195 | 195 |
|
|
||
| 258 | 258 |
|
| 259 | 259 |
|
| 260 | 260 |
|
| 261 |
|
|
| 262 |
|
|
| 261 | 263 |
|
| 262 | 264 |
|
| 263 | 265 |
|
|
||
| 14 | 14 |
|
| 15 | 15 |
|
| 16 | 16 |
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 22 |
|
|
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 17 | 29 |
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 48 |
|
|
| 18 | 49 |
|
| 19 |
|
|
| 50 |
|
|
| 51 |
|
|
| 52 |
|
|
| 53 |
|
|
| 54 |
|
|
| 55 |
|
|
| 56 |
|
|
| 20 | 57 |
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 70 |
|
|
| 71 |
|
|
| 72 |
|
|
| 73 |
|
|
| 74 |
|
|
| 75 |
|
|
| 76 |
|
|
| 77 |
|
|
| 78 |
|
|
| 79 |
|
|
| 80 |
|
|
| 81 |
|
|
| 82 |
|
|
| 83 |
|
|
| 84 |
|
|
| 85 |
|
|
| 86 |
|
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
|
| 91 |
|
|
| 92 |
|
|
| 93 |
|
|
| 94 |
|
|
| 95 |
|
|
| 96 |
|
|
| 97 |
|
|
| 98 |
|
|
| 99 |
|
|
| 100 |
|
|
| 21 | 101 |
|
| 22 | 102 |
|
| 23 | 103 |
|
|
||
| 25 | 105 |
|
| 26 | 106 |
|
| 27 | 107 |
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 | 108 |
|
| 36 | 109 |
|
| 110 |
|
|
| 111 |
|
|
| 112 |
|
|
| 113 |
|
|
| 114 |
|
|
| 115 |
|
|
| 116 |
|
|
| 117 |
|
|
| 118 |
|
|
| 119 |
|
|
| 37 | 120 |
|
| 38 | 121 |
|