This commit is contained in:
2025-06-12 15:47:10 +08:00
parent 5951f26bd4
commit 7208fa27bd
2 changed files with 16 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
<template>
<div>
<div class="tab_post">
<div v-for="(item, index) in tabsList" @click="jumpTab(index, item)" :class="tabName == item.refName ? 'P_style' : ''">
<h5>
<span>{{ index + 1 }}</span>
@@ -934,7 +935,7 @@
<img :src="baseUrl + 'public/mainimg/' + item.content" :style="'width:' + item.width + 'px'" />
<font :style="'width:' + item.width + 'px'">{{ item.note }} </font>
</p> --><comArtHtmlCreatNewProduce
:p_article_id="p_article_id"
:p_article_id="p_article_id"
:deMesYul="{ ...deMesYul, authors: authorData, articlePdfUrl: UpTyFIle ? baseUrl + 'public/' + UpTyFIle : '' }"
></comArtHtmlCreatNewProduce>
</div>
@@ -1175,7 +1176,7 @@ export default {
// value: '书评'
// }
// ],
opMedical:[],
opMedical: [],
editAuthor: false,
addAuthor: false,
editSchool: false,
@@ -1394,7 +1395,7 @@ export default {
};
},
created() {
this.opMedical=this.$commonJS.opMedicalList()
this.opMedical = this.$commonJS.opMedicalList();
this.getHight();
window.addEventListener('resize', this.getHight);
this.getData();
@@ -2843,7 +2844,9 @@ export default {
// 判断滚动条滚动距离是否大于当前滚动项可滚动距离
let judge = e.target.scrollTop >= scrollItems[i].offsetTop - scrollItems[0].offsetTop;
if (judge) {
console.log('judge at line 2846:', judge)
this.tabIndex = i.toString();
console.log('this.tabIndex at line 2848:', this.tabIndex)
// 找对应的tab-name值
this.tabName = this.tabsList[this.tabIndex].refName;
// this.tabClick = this.tabsList[this.tabIndex].refName
@@ -3144,7 +3147,10 @@ export default {
.chanFerAll {
float: left;
position: relative;
width: 61.5%;
/* width: 61.5%; */
min-width: 61.5%;
width: calc(76% - 50px) !important;
}
.chanFerAll .chanFerBtn {

View File

@@ -92,9 +92,10 @@
<!-- <el-table-column prop="field" label="Field"></el-table-column> -->
<el-table-column label="State" align="center" width="120">
<template slot-scope="scope">
{{ revstate(scope.row) }}
<span style="font-size: 16px;"v-html="revstate(scope.row)"></span>
<font
style="color: #aaa; display: block; line-height: 18px; font-size: 13px; margin: 5px 0 0 0"
style="color: #aaa; display: block; line-height: 18px; font-size: 13px; "
v-html="formatDate(scope.row.ctime)"
>
</font>
@@ -102,7 +103,7 @@
</el-table-column>
<el-table-column label="" width="100" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-tickets" @click="showdetail(scope.row)">Detail</el-button>
<el-button v-show="scope.row.state!=4"ize="mini" type="primary" plain icon="el-icon-tickets" @click="showdetail(scope.row)">Detail</el-button>
</template>
</el-table-column>
</el-table>
@@ -691,7 +692,7 @@ export default {
} else if (row.state == 3) {
frag = 'Accept';
} else if (row.state == 4) {
frag = 'invalid';
frag = '<text style="color:#aaa">invalid</text>';
} else if (row.state == 5) {
frag = 'invitation';
}
@@ -779,7 +780,7 @@ export default {
background: #f05555;
}
.tab_tie_col {
margin-bottom: 5px;
/* margin-bottom: 5px; */
color: #333;
word-wrap: break-word;
word-break: normal;