提交 6bd50f00 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 c8601d97
......@@ -29,7 +29,7 @@
</div>
</div>
<div class="right-content">
<div class="time">{{ time }}</div>
<div class="time" v-html="time"></div>
</div>
<!-- <div class="title">
<router-link to="/">{{ title }}</router-link>
......@@ -109,7 +109,7 @@ export default {
const h = date.getHours()
const m = date.getMinutes()
const s = date.getSeconds()
return `${year}.${this.toDo(mon)}.${this.toDo(da)} ${this.toDo(h)}${this.toDo(m)}${this.toDo(s)}`
return `&nbsp;&nbsp;${year}.${this.toDo(mon)}.${this.toDo(da)}&nbsp;${this.toDo(h)}:${this.toDo(m)}:${this.toDo(s)}`
},
toDo(n) {
const num = parseInt(n)
......
......@@ -36,7 +36,7 @@ export default {
height: 400,
uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { tenant: 'sofia' },
fileTools_requestHeaders: { tenant: 'x1' },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [
// { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] },
......
......@@ -100,7 +100,7 @@ export default {
this.countDomHeight()
})
console.log(this.caseItemList)
// window.sessionStorage.homeTabIndex = n
window.sessionStorage.homeTabIndex = n
},
getClassifyList() {
api
......@@ -108,7 +108,9 @@ export default {
.then(response => {
this.caseData = response.data
this.caseItemList = response.data[0].children
this.tabCase(parseInt(0))
// this.tabCase(parseInt(0))
const index = parseInt(window.sessionStorage.homeTabIndex)
index ? this.tabCase(index) : this.tabCase()
})
.finally(() => {
})
......
......@@ -62,7 +62,7 @@
</div>
<div class="next-btnnext-btn">
<!-- <div class="border"> -->
<div class="new-le-btn" @click="$router.push({ path: '/explain' })"></div>
<div class="new-le-btn" @click="$router.push({ path: '/index' })"></div>
<div class="left-btn" @click="confirm"></div>
<div class="right-btn" @click="tabCaseBtn"></div>
<!-- </div> -->
......@@ -336,7 +336,9 @@ export default {
.name{
font-size: 14px;
color: #58C0DA;
white-space: nowrap;
// white-space: nowrap;
width: 200px;
// min-width: 110px;
margin: 0 16px 0 10px;
}
::v-deep{
......
......@@ -23,7 +23,7 @@
<p>{{ item.rank }}</p>
<p>{{ item.school }}</p>
<p>{{ item.username }}</p>
<p>{{ getNowTime(item.date_index) }}</p>
<p>{{ item.updated_at }}</p>
<p v-if="selectValue == 11 || selectValue == 21 || selectValue == 31">{{ item.times }}</p>
<p v-else>{{ item.score }}</p>
</li>
......
......@@ -408,7 +408,7 @@ export default {
text-align: center;
}
.time{
width: 81px;
width: 100px;
text-align: center;
}
.score{
......@@ -434,13 +434,20 @@ export default {
.school-name{
width: 240px;
text-align: center;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.name{
width: 130px;
text-align: center;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.time{
width: 81px;
width: 100px;
white-space:nowrap;
text-align: center;
}
.score{
......
......@@ -6,6 +6,9 @@ import { Message } from 'element-ui'
const httpRequest = axios.create({
// baseURL: process.env.VUE_APP_BASE_API,
timeout: 60000,
headers: {
tenant: 'x1'
},
withCredentials: true
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论