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

View File

@@ -92,9 +92,10 @@
<!-- <el-table-column prop="field" label="Field"></el-table-column> --> <!-- <el-table-column prop="field" label="Field"></el-table-column> -->
<el-table-column label="State" align="center" width="120"> <el-table-column label="State" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
{{ revstate(scope.row) }} <span style="font-size: 16px;"v-html="revstate(scope.row)"></span>
<font <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)" v-html="formatDate(scope.row.ctime)"
> >
</font> </font>
@@ -102,7 +103,7 @@
</el-table-column> </el-table-column>
<el-table-column label="" width="100" align="center"> <el-table-column label="" width="100" align="center">
<template slot-scope="scope"> <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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -691,7 +692,7 @@ export default {
} else if (row.state == 3) { } else if (row.state == 3) {
frag = 'Accept'; frag = 'Accept';
} else if (row.state == 4) { } else if (row.state == 4) {
frag = 'invalid'; frag = '<text style="color:#aaa">invalid</text>';
} else if (row.state == 5) { } else if (row.state == 5) {
frag = 'invitation'; frag = 'invitation';
} }
@@ -779,7 +780,7 @@ export default {
background: #f05555; background: #f05555;
} }
.tab_tie_col { .tab_tie_col {
margin-bottom: 5px; /* margin-bottom: 5px; */
color: #333; color: #333;
word-wrap: break-word; word-wrap: break-word;
word-break: normal; word-break: normal;