Browse Source

完善问答

luyanan 7 years ago
parent
commit
f3431b1d9a
4 changed files with 13 additions and 11 deletions
  1. 3 3
      css/genindex.css
  2. 1 1
      css/leaveWord.css
  3. 6 4
      css/share.css
  4. 3 3
      e/wen.html

+ 3 - 3
css/genindex.css

@ -394,7 +394,7 @@ ul.artAbout .frmadd{width:auto;position:absolute;right:0;top:0;background: #ff99
394 394
.showDetail .h2Font{font-size:14px;color:#999;}
395 395
.showDetail .readNum{margin-left: 20px;}
396 396
.showDetail .showBigOpen{width:100%;height:300px;margin:24px 0;background-position:center;background-size:cover;background-repeat:no-repeat;}
397
.showMain{font-size:16px;color:#333;line-height:28px;}
397
.showMain{font-size:16px;color:#333;line-height:28px;word-break: break-word;}
398 398
.showMain img{max-width: 100%;}
399 399
.showMain p{margin-bottom:16px;text-align:justify}
400 400
.showMain .showStatus{margin:40px 0 20px;text-align: center;color:#ff9900}
@ -895,7 +895,7 @@ div.zoomMask{position:absolute;background:url("../images/g-resource-mask.png") r
895 895
.list_content{background: #fff;padding-top:6px;}
896 896
897 897
.item_detail .h1Font{font-weight:normal;font-size:24px;line-height:34px;color:#000;margin-bottom:10px;}
898
.item_detail .list_con{font-size: 15px;color: #333;line-height: 26px;margin: 6px 0;text-align:justify}
898
.item_detail .list_con{font-size: 15px;color: #333;line-height: 26px;margin: 6px 0;text-align:justify;word-break: break-word;}
899 899
.item_info{margin:10px 0 6px;font-size:14px;color:#888888;}
900 900
.list-main .list_image{display: none;}
901 901
.list_image li{display: inline-block;float:left; width:26%; -webkit-box-sizing: border-box;box-sizing: border-box;position: relative;}
@ -930,7 +930,7 @@ div.zoomMask{position:absolute;background:url("../images/g-resource-mask.png") r
930 930
.list-hold .qa-owner .owner-info{padding-left:60px;width: 100%;padding-right:100px;}
931 931
.list-hold .owner-name{float: none;}
932 932
.list-hold .owner-tit{display:block;float:none;color:#888888;max-width:100%;margin-left: 0;line-height: 22px;}
933
.list-hold .qa-con{line-height: 24px;}
933
.list-hold .qa-con{line-height: 24px;word-break: break-word;}
934 934
.list-hold .msgContbox textarea{min-height:240px;margin: 0;}
935 935
.list-hold .buttonbox{text-align: right;margin:14px 0}
936 936
.list-hold .buttonbox .btnModel{width:84px;}

+ 1 - 1
css/leaveWord.css

@ -16,7 +16,7 @@
16 16
.commentList>li:last-child:after{content:none;}
17 17
.commentList>li .h2Font{font-size: 15px;color: #1a1a1a;line-height: 26px;}
18 18
.commentList>li p{margin-bottom:8px;}
19
.commentList>li .messageContent{line-height: 22px;}
19
.commentList>li .messageContent{line-height: 22px;word-break: break-word;}
20 20
.commentList>li .commenttime{font-size: 14px;color: #999;margin-left:18px;}
21 21
.commentList>li .operateSpan{margin:12px 0 0;color:#9d9ea8;font-size:14px;}
22 22
.commentList>li .operateSpan span{margin-right:20px;position:relative;cursor:pointer;}

+ 6 - 4
css/share.css

@ -80,7 +80,7 @@ html,body {outline: 0;margin:0;padding:0px;background: #F4F6F8;-webkit-text-size
80 80
.showDetail .h2Font{font-size:14px;color:#666; line-height:16px;}
81 81
.showDetail .madiaInfo .h2Font{font-size:14px;color:#999;}
82 82
.showDetail .h3Font{font-size:13px;color:#999; line-height:24px;}
83
.showDetail .showMain{font-size:15px;color:#333;line-height:28px;}
83
.showDetail .showMain{font-size:15px;color:#333;line-height:28px;word-break: break-word;}
84 84
.showDetail .showMain img{max-width: 100%;}
85 85
.showDetail .showMain p{margin-bottom:16px;font-size:15px;color:#333;text-align:justify}
86 86
#articleContent ul,#articleContent ol{padding-left:20px;}
@ -132,8 +132,8 @@ ul.tagList>li .h2Font{font-size: 14px;color: #666;line-height: 16px;}
132 132
.commentBlock .madiaInfo{padding-left:52px;width: auto;}
133 133
.commentBlock .operateSpan{margin:8px 0 0;color:#9d9ea8;font-size: 13px;color: #999;cursor: pointer;}
134 134
.commentBlock .madiaInfo .h2Font{ -webkit-user-select:text;word-break\n:break-word;}
135
.leaveWord .madiaInfo .h1Font{font-size:14px} 
136
.leaveWord .madiaInfo .h2Font{font-size:14px} 
135
.leaveWord .madiaInfo .h1Font{font-size:14px;word-break: break-word;} 
136
.leaveWord .madiaInfo .h2Font{font-size:14px;word-break: break-word;} 
137 137
.madiaBlock ul.mui-table-view.commentBlock{margin:4px 0 10px}
138 138
.madiaBlock ul.mui-table-view.noactiveTab>li.leaveWord{padding:6px 0;}
139 139
.hold-icon{position:relative;top:3px;display:inline-block;width:15px;height:15px;background-size: 100% auto;background-repeat: no-repeat;}
@ -416,6 +416,8 @@ ul.mui-table-view>li:last-child:after{background: none;}
416 416
.owner-name .h1Font{font-size:16px;line-height: 30px;}
417 417
.owner-tit{padding-left:10px;color:#888888;font-size: 14px;}
418 418
.qa-con{font-size:14px;line-height: 22px;color:#666;}
419
.showliSpan{overflow: hidden;margin-top:10px;margin-right:-10px;}
420
.showliSpan>span{font-size:13px;line-height: 22px;color: #999999;padding-right:10px}
419 421
.mui-table-view.partLine{background: none;}
420 422
.mui-table-view.partLine>.mui-table-view-cell{margin-bottom: 10px;background: #fff; padding: 11px 15px;}
421 423
.mui-table-view.partLine>.mui-table-view-cell:after{content:none;}
@ -455,7 +457,7 @@ ul.mui-table-view>li:last-child:after{background: none;}
455 457
.list-hold .qa-owner{margin: 0;}
456 458
.list-hold .con-kong{background: #FFFFFF;}
457 459
.item_detail .h1Font{font-weight:normal;font-size:18px;line-height:24px;color:#000}
458
.item_detail .list_con{font-size: 15px;color: #333;line-height: 24px;margin: 6px 0;text-align:justify}
460
.item_detail .list_con{font-size: 15px;color: #333;line-height: 24px;margin: 6px 0;text-align:justify;word-break: break-word;}
459 461
.list-main .list_image{display: none;}
460 462
.item_info .h3Font{font-size: 14px;color:#888}
461 463
.item-btn{overflow: hidden;}

+ 3 - 3
e/wen.html

@ -216,14 +216,14 @@
216 216
						var hd = "",
217 217
							hl = "";
218 218
						if(dataStr.agree > 0) {
219
							hd = '<span>' + dataStr.agree + '</span>'
219
							hd = '<span>' + dataStr.agree + '</span>'
220 220
						}
221 221
						liStr.setAttribute("data-id", dataStr.id);
222 222
						liStr.className = "mui-table-view-cell";
223 223
						liStr.innerHTML = '<div class="madiaInfo">' +
224 224
							'<div class="flexCenter qa-owner"></div>' +
225 225
							'<p class="qa-con mui-ellipsis-5">' + (dataStr.cnt).replace(/\n/g,"<br />") + '</p>' +
226
							'<div class="showli mui-ellipsis">' +
226
							'<div class="showliSpan mui-ellipsis">' +
227 227
							'<span>' + commenTime(dataStr.createTime) + '</span>' + hd + '<span class="leaveMsgCount"></span>' +
228 228
							'</div>' +
229 229
							'</div>'
@ -238,7 +238,7 @@
238 238
						}, "get", function(data) {
239 239
							if(data.success) {
240 240
								if(data.data > 0) {
241
									$str.find(".leaveMsgCount").html(data.data + " 留言");
241
									$str.find(".leaveMsgCount").html("留言 " + data.data);
242 242
								}
243 243
							}
244 244
						})