Bladeren bron

咨询页面和咨询对话列表的修改

luyanan 8 jaren geleden
bovenliggende
commit
a12bd5c9f9

+ 64 - 36
src/main/webapp/consult.html

3

3

4
<!--  // 咨询-->
4
<!--  // 咨询-->
5
<div class="workconitem consublock">
5
<div class="workconitem consublock">
6
    <div class="workcontit">咨询<span class="worksamlltit worksamlltit3 worksamlltitnow">收到咨询</span><span class="worksamlltit worksamlltit3">收到回复</span><span class="workset floatR">设置</span></div>
6
    <div class="workcontit">咨询<span class="worksamlltit worksamlltit3 worksamlltitnow">收到咨询</span><span class="worksamlltit worksamlltit3">收到回复</span><!-- <span class="workset floatR">设置</span> --></div>
7
    <div class="worksubcon"> 
7
    <div class="worksubcon"> 
8
    	<div class="workmysrc workmysrc3">	
8
    	<div class="workmysrc workmysrc3">	
9
             <div class="workmenubox clearfix">
9
             <div class="workmenubox clearfix">
11
                    <div class="workselectbox floatL">
11
                    <div class="workselectbox floatL">
12
                        <span onclick="hide('downbox')" id="showbox" class="workselectmenu" >全部</span>
12
                        <span onclick="hide('downbox')" id="showbox" class="workselectmenu" >全部</span>
13
                        <ul id="downbox" class="workdropdown" style="display:none;"> 
13
                        <ul id="downbox" class="workdropdown" style="display:none;"> 
14
                            <li onclick="pick('全部')" class="cur">全部</li> 
14
                            <li onclick="pick('全部')" class="cur workcurrent">全部</li> 
15
                            <li onclick="pick('进行中')" class="cur">进行中</li> 
15
                            <li onclick="pick('进行中')" class="cur">进行中</li> 
16
                            <li onclick="pick('待感谢')" class="cur">待感谢</li> 
16
                            <li onclick="pick('待感谢')" class="cur">待感谢</li> 
17
                            <li onclick="pick('待评价')" class="cur">待评价</li> 
17
                            <li onclick="pick('待评价')" class="cur">待评价</li> 
21
                    <div class="workselectbox floatL">
21
                    <div class="workselectbox floatL">
22
                        <span onclick="hide('downbox1')" id="showbox1" class="workselectmenu" >按发起时间排序</span>
22
                        <span onclick="hide('downbox1')" id="showbox1" class="workselectmenu" >按发起时间排序</span>
23
                        <ul id="downbox1" class="workdropdown workdropdown2" style="display:none;"> 
23
                        <ul id="downbox1" class="workdropdown workdropdown2" style="display:none;"> 
24
                            <li onclick="pick1('按发起时间排序')" class="cur">按发起时间排序</li> 
24
                            <li onclick="pick1('按发起时间排序')" class="cur workcurrent">按发起时间排序</li> 
25
                            <li onclick="pick1('按最后回复时间排序')" class="cur">按最后回复时间排序</li> 
25
                            <li onclick="pick1('按最后回复时间排序')" class="cur">按最后回复时间排序</li> 
26
                            <li onclick="pick1('按完成时间排序')" class="cur">按完成时间排序</li> 
26
                            <li onclick="pick1('按完成时间排序')" class="cur">按完成时间排序</li> 
27
                       </ul> 
27
                       </ul> 
48
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
48
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
49
                                </div>
49
                                </div>
50
                                <div class="workhandle">
50
                                <div class="workhandle">
51
                                        <span class="coultstate">进行中</span>
52
                                        <span class="replybtn">回复/查看</span>
53
                                        <span class="moreopert">...</span>
54
                                        <ul class="moreopertbtn">
55
                                          	<li>投诉</li>
56
                                        </ul>
51
                                        <div class="rightopert floatR">
52
	                                        <span class="replybtn">回复/查看</span>
53
	                                        <span class="moreopert">...</span>
54
	                                        <ul class="moreopertbtn">
55
	                                          	<li>投诉</li>
56
	                                        </ul>
57
                                        </div>
58
                                        <div class="leftstate floatR">
59
                                        	<span class="coultstate"><i>进行中</i><em></em></span>
60
                                        </div>
57
                                </div> 
61
                                </div> 
58
                            </td>
62
                            </td>
59
                        </tr>
63
                        </tr>
73
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
77
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
74
                                </div>
78
                                </div>
75
                                <div class="workhandle">
79
                                <div class="workhandle">
76
                                        <span class="coultstate">进行中</span>
77
                                        <span class="replybtn">回复/查看</span>
78
                                        <span class="moreopert">...</span>
79
                                        <ul class="moreopertbtn">
80
                                          	<li>投诉</li>
81
                                        </ul>
80
                                		
81
                                        <div class="rightopert floatR">
82
	                                        <span class="replybtn">回复/查看</span>
83
	                                        <span class="moreopert">...</span>
84
	                                        <ul class="moreopertbtn">
85
	                                          	<li>投诉</li>
86
	                                        </ul>
87
                                        </div>
88
                                        <div class="leftstate floatR">
89
                                        	<span class="coultstate"><i>进行中</i><em></em></span>
90
                                        </div>
82
                                </div> 
91
                                </div> 
83
                            </td>
92
                            </td>
84
                        </tr>
93
                        </tr>
98
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
107
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
99
                                </div>
108
                                </div>
100
                                <div class="workhandle">
109
                                <div class="workhandle">
101
                                        <span class="coultstate">进行中</span>
102
                                        <span class="replybtn">回复/查看</span>
103
                                        <span class="moreopert">...</span>
104
                                        <ul class="moreopertbtn">
105
                                          	<li>投诉</li>
106
                                        </ul>
110
                                		<div class="rightopert floatR">
111
	                                        <span class="replybtn">回复/查看</span>
112
	                                        <span class="moreopert">...</span>
113
	                                        <ul class="moreopertbtn">
114
	                                          	<li>投诉</li>
115
	                                        </ul>
116
                                        </div>
117
                                        <div class="leftstate floatR">
118
                                        	<span class="coultstate"><i>咨询完成待评价</i><em></em></span>
119
                                        </div>
120
                                        
107
                                </div> 
121
                                </div> 
108
                            </td>
122
                            </td>
109
                        </tr>
123
                        </tr>
119
                    <div class="workselectbox floatL">
133
                    <div class="workselectbox floatL">
120
                        <span onclick="hide('downbox')" id="showbox" class="workselectmenu" >全部</span>
134
                        <span onclick="hide('downbox')" id="showbox" class="workselectmenu" >全部</span>
121
                        <ul id="downbox" class="workdropdown" style="display:none;"> 
135
                        <ul id="downbox" class="workdropdown" style="display:none;"> 
122
                            <li onclick="pick('全部')" class="cur">全部</li> 
136
                            <li onclick="pick('全部')" class="cur workcurrent">全部</li> 
123
                            <li onclick="pick('进行中')" class="cur">进行中</li> 
137
                            <li onclick="pick('进行中')" class="cur">进行中</li> 
124
                            <li onclick="pick('待感谢')" class="cur">待感谢</li> 
138
                            <li onclick="pick('待感谢')" class="cur">待感谢</li> 
125
                            <li onclick="pick('待评价')" class="cur">待评价</li> 
139
                            <li onclick="pick('待评价')" class="cur">待评价</li> 
129
                    <div class="workselectbox floatL">
143
                    <div class="workselectbox floatL">
130
                        <span onclick="hide('downbox1')" id="showbox1" class="workselectmenu" >按发起时间排序</span>
144
                        <span onclick="hide('downbox1')" id="showbox1" class="workselectmenu" >按发起时间排序</span>
131
                        <ul id="downbox1" class="workdropdown workdropdown2" style="display:none;"> 
145
                        <ul id="downbox1" class="workdropdown workdropdown2" style="display:none;"> 
132
                            <li onclick="pick1('按发起时间排序')" class="cur">按发起时间排序</li> 
146
                            <li onclick="pick1('按发起时间排序')" class="cur workcurrent">按发起时间排序</li> 
133
                            <li onclick="pick1('按最后回复时间排序')" class="cur">按最后回复时间排序</li> 
147
                            <li onclick="pick1('按最后回复时间排序')" class="cur">按最后回复时间排序</li> 
134
                            <li onclick="pick1('按完成时间排序')" class="cur">按完成时间排序</li> 
148
                            <li onclick="pick1('按完成时间排序')" class="cur">按完成时间排序</li> 
135
                       </ul> 
149
                       </ul> 
156
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
170
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
157
                                </div>
171
                                </div>
158
                                <div class="workhandle">
172
                                <div class="workhandle">
159
                                        <span class="coultstate">进行中</span>
160
                                        <span class="replybtn">回复/查看</span>
161
                                        <span class="moreopert">...</span>
162
                                        <ul class="moreopertbtn">
163
                                          	<li>投诉</li>
164
                                        </ul>
173
                                        <div class="rightopert floatR">
174
	                                        <span class="replybtn">回复/查看</span>
175
	                                        <span class="moreopert">...</span>
176
	                                        <ul class="moreopertbtn">
177
	                                          	<li>投诉</li>
178
	                                        </ul>
179
                                        </div>
180
                                        <div class="leftstate floatR">
181
                                        	<span class="coultstate"><i>咨询完成待评价</i><em></em></span>
182
                                        </div>
165
                                </div> 
183
                                </div> 
166
                            </td>
184
                            </td>
167
                        </tr>
185
                        </tr>
181
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
199
                                    <p class="rebackcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viveorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tem</p>   
182
                                </div>
200
                                </div>
183
                                <div class="workhandle">
201
                                <div class="workhandle">
184
                                        <span class="coultstate">进行中</span>
185
                                        <span class="replybtn">回复/查看</span>
186
                                        <span class="moreopert">...</span>
187
                                        <ul class="moreopertbtn">
188
                                          	<li>投诉</li>
189
                                        </ul>
202
                                        <div class="rightopert floatR">
203
	                                        <span class="replybtn">回复/查看</span>
204
	                                        <span class="moreopert">...</span>
205
	                                        <ul class="moreopertbtn">
206
	                                          	<li>投诉</li>
207
	                                        </ul>
208
                                        </div>
209
                                        <div class="leftstate floatR">
210
                                        	<span class="coultstate"><i>咨询完成待评价</i><em></em></span>
211
                                        </div>
190
                                </div> 
212
                                </div> 
191
                            </td>
213
                            </td>
192
                        </tr>
214
                        </tr>
262

284

263
	/*排列顺序(正序、倒序)*/
285
	/*排列顺序(正序、倒序)*/
264
	$(".orderedbtn").click(function(){
286
	$(".orderedbtn").click(function(){
265
		$(this).find("div").css("background-position","-11px center");	
287
		$(this).find("div").css("background-position","-20px 1px");	
266
	})
288
	})
267

289

290
	/*咨询菜单点击切换*/
291
	$(".worksamlltit3").click(function(){
292
		var index = $(this).index();	
293
		$(this).addClass("worksamlltitnow").siblings().removeClass("worksamlltitnow");	
294
		$(".workmysrc3").eq(index).show().siblings().hide();
295
	});
268
	
296
	
269

297

270

298


+ 7 - 4
src/main/webapp/css/workspace.css

116
.workdropdown2 li{width:200px;}
116
.workdropdown2 li{width:200px;}
117
.workcurrent{ background:url(../images/selected.png) no-repeat 90% center #f7f7f7; }
117
.workcurrent{ background:url(../images/selected.png) no-repeat 90% center #f7f7f7; }
118

118

119
.orderedbtn{ padding:1px 20px;  cursor:pointer; }
120
.orderedbtn div{width:12px; height:18px; background:url(../images/order.png) no-repeat 0 center ;}
119
.orderedbtn{ padding:1px 6px;  cursor:pointer; }
120
.orderedbtn div{width:20px; height:20px; background:url(../images/order.png) no-repeat 0 1px #ff8400 ; border-radius:4px;}
121

121

122
.workselectcon{ padding:10px;}
122
.workselectcon{ padding:10px;}
123
.workselectitem{ overflow:hidden; margin:6px 0;}
123
.workselectitem{ overflow:hidden; margin:6px 0;}
131
.workitimg{ width:120px; height:120px; }
131
.workitimg{ width:120px; height:120px; }
132
.messagebox{position:relative;}
132
.messagebox{position:relative;}
133
.msgprompt{position:absolute; top:26px; left:16px; padding:0 10px;text-align:center;  border-radius:14px; background:#ff6432; color:#fff;}
133
.msgprompt{position:absolute; top:26px; left:16px; padding:0 10px;text-align:center;  border-radius:14px; background:#ff6432; color:#fff;}
134
.workhandle{ position:absolute; top:20px; right:20px;}
134
.workhandle{ position:absolute;  top:20px; right:20px;}
135
.workhandle span{ padding:2px 20px;border:1px #d7d7d7 solid;}
135
.workhandle span{ padding:2px 20px;border:1px #d7d7d7 solid;}
136
.workhandle .coultstate{background: #ff8400; position: relative;top:-10px;right: 20px; padding: 10px 30px; border-radius: 0 0 6px 6px;    border: solid 1px transparent;  box-shadow: 1px 1px 2px 1px #ccc; color: #fff; z-index: 20;}
137
.workhandle .coultstate em{ position: absolute; width: 0px; height: 0px;border-top: 6px solid transparent; border-bottom: 0px solid rgb(204, 106, 6); border-left: 0px solid transparent; border-right: 5px solid rgb(204, 106, 6);left: -6px; top: -1px;z-index: 10;}
138

136
.workhandle .replybtn:hover{ background:#ff8400;cursor:pointer;color:#fff;border:1px #ff8400 solid;}
139
.workhandle .replybtn:hover{ background:#ff8400;cursor:pointer;color:#fff;border:1px #ff8400 solid;}
137

140

138
.workhandle .moreopert:hover{ background:#ff8400;cursor:pointer;color:#fff;border:1px #ff8400 solid;}
141
.workhandle .moreopert:hover{ background:#ff8400;cursor:pointer;color:#fff;border:1px #ff8400 solid;}
154
/*咨询对话*/
157
/*咨询对话*/
155

158

156
.consultdialogbox{ width:100%; padding:20px; }
159
.consultdialogbox{ width:100%; padding:20px; }
157
.dialoghead{ padding:20px; border-radius:10px 10px 0 0; text-align:center; border-bottom:1px #d6d6d6 solid; background-color:#FFFEE0; position:relative;}
160
.dialoghead{ padding:20px; border-radius:10px 10px 0 0; text-align:center; border-bottom:1px #d6d6d6 solid; background-color:#F3F3F3; position:relative;}
158
.dialoghead .backupbtn{ background:url(../images/backup.png) no-repeat center center; width:24px; height:24px; padding:20px; position:absolute; top:50%; left:16px; margin-top:-16px; cursor:pointer;}
161
.dialoghead .backupbtn{ background:url(../images/backup.png) no-repeat center center; width:24px; height:24px; padding:20px; position:absolute; top:50%; left:16px; margin-top:-16px; cursor:pointer;}
159
.dialoghead .dheadtit{width:680px; margin:auto;}
162
.dialoghead .dheadtit{width:680px; margin:auto;}
160
.dialoghead .dheadtit .dialogpro{ padding:0 10px; font: 16px/30px; font-weight:600;}
163
.dialoghead .dheadtit .dialogpro{ padding:0 10px; font: 16px/30px; font-weight:600;}

+ 1 - 1
src/main/webapp/diloags.html

10
        	<div class="dialoginfo">
10
        	<div class="dialoginfo">
11
                <div><span class="dialogtit">咨询主题:</span><span>XXXXXXXXXXXXXXXXXXXXXX</span></div>
11
                <div><span class="dialogtit">咨询主题:</span><span>XXXXXXXXXXXXXXXXXXXXXX</span></div>
12
                <div><span class="dialogtit">咨询类型:</span><span>技术咨询</span></div>
12
                <div><span class="dialogtit">咨询类型:</span><span>技术咨询</span></div>
13
                <div class="dialogsurebtn"><span>点击确认完成咨询</span></div>
13
                <div class="dialogsurebtn" onclick="ConsultComment();"><span>点击确认完成咨询</span></div>
14
            </div>
14
            </div>
15
            <div class="dialogstatus"><em></em><span>进行中</span></div>
15
            <div class="dialogstatus"><em></em><span>进行中</span></div>
16
        </div>
16
        </div>

BIN
src/main/webapp/images/order.png


BIN
src/main/webapp/images/selected.png