Skip to content

Commit ea61b4f

Browse files
committed
fix style
Signed-off-by: zhangtianli2006 <49156174+zhangtianli2006@users.noreply.github.com>
1 parent c22742c commit ea61b4f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/assets/css/basic.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ h3::before {
194194
.problem-list-pagination {
195195
border: 1px solid #ebeef5;
196196
background: #ffffff;
197-
margin-left: -20px;
197+
margin-left: -21px;
198198
padding: 10px;
199199
height: 36px;
200200
max-width: 100vw;
201-
width: 827px;
201+
width: 828px;
202202
text-align: center;
203203
bottom: 0;
204204
position: fixed;
@@ -207,13 +207,14 @@ h3::before {
207207
.status-list-pagination {
208208
border: 1px solid #ebeef5;
209209
background: #ffffff;
210+
margin-left: -21px;
210211
padding: 10px;
211212
height: 36px;
213+
max-width: 100vw;
214+
width: 1118px;
212215
text-align: center;
213216
bottom: 0;
214217
position: fixed;
215-
margin-left: auto;
216-
margin-right: auto;
217218
}
218219

219220
.el-dialog,

src/components/status/list.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ export default {
103103
x.problem = (<ProblemTitleLink pid={x.problem}></ProblemTitleLink>);
104104
x.score = (<div class={color + ' text-extra-bold'}>{x.score >= 0 ? x.score : '-'}</div>);
105105
x.lang = sfconfig.langTable[x.lang].label;
106-
let t = sfconfig.stateTable.filter(id => {
106+
let stateTable = sfconfig.stateTable.filter(id => {
107107
return id.value === String(x.state);
108108
})[0];
109-
x.state = (<div style={'color: ' + t.color + ';'}>{t.label}</div>);
109+
x.state = (<div style={'color: ' + stateTable.color + ';'}>{stateTable.label}</div>);
110110
x.time = x.time + ' ms';
111111
x.memory = x.memory + ' KB';
112112
x.owner = (<UserNameLink userid={x.owner}></UserNameLink>);

src/components/user/UserNameLink.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export default {
3333
}
3434
},
3535
mounted() {
36-
console.log(typeof(this.userid));
3736
this.username = this.userid;
3837
this.loadusername(this.userid);
3938
}

0 commit comments

Comments
 (0)