|
|
@@ -362,7 +362,7 @@
|
|
|
@click="$router.push({ path: '/creatorDetail', query: { id: info.minterId } })"
|
|
|
/>
|
|
|
<div class="author_details">
|
|
|
- <div class="author_details_one">{{ info.minter }}</div>
|
|
|
+ <div :class="minterName?'author_details_ones':'author_details_one'">{{ info.minter }}</div>
|
|
|
<div class="author_details_two">{{ info.collectionWorks || '暂无信息' }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -768,7 +768,8 @@ export default {
|
|
|
noLikes: require('@assets/icon-dianzan.png'),
|
|
|
likes: require('@assets/icon-dianzan@2x.png'),
|
|
|
startTime: null,
|
|
|
- infoNameLength: false
|
|
|
+ infoNameLength: false,
|
|
|
+ minterName: false
|
|
|
};
|
|
|
},
|
|
|
setup() {
|
|
|
@@ -1049,6 +1050,11 @@ export default {
|
|
|
} else {
|
|
|
this.infoNameLength = false;
|
|
|
}
|
|
|
+ if (this.info.minter.length > 12) {
|
|
|
+ this.minterName = true;
|
|
|
+ } else {
|
|
|
+ this.minterName = false;
|
|
|
+ }
|
|
|
// this.appointmentStartTime = new Date(this.info.startTime).getTime();
|
|
|
// this.endTime = new Date(this.info.endTime).getTime();
|
|
|
// this.publishTime = new Date(this.info.publishTime).getTime();
|
|
|
@@ -1486,6 +1492,16 @@ export default {
|
|
|
line-height: 20px;
|
|
|
margin-bottom: 2px;
|
|
|
}
|
|
|
+ .author_details_ones{
|
|
|
+ padding-top: 1px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ font-size: 12px;
|
|
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 20px;
|
|
|
+ margin-bottom: 2px;
|
|
|
+ }
|
|
|
.author_details_two {
|
|
|
font-size: 12px;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|