|
|
@@ -362,7 +362,9 @@
|
|
|
@click="$router.push({ path: '/creatorDetail', query: { id: info.minterId } })"
|
|
|
/>
|
|
|
<div class="author_details">
|
|
|
- <div :class="minterName?'author_details_ones':'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>
|
|
|
@@ -872,17 +874,6 @@ export default {
|
|
|
this.limit = res;
|
|
|
});
|
|
|
this.getProduct();
|
|
|
- if (window.history.length <= 1) {
|
|
|
- this.$router.push({ path: '/' });
|
|
|
- return false;
|
|
|
- } else {
|
|
|
- this.$router.go(-1);
|
|
|
- }
|
|
|
- //上面都没执行就说明卡在当前页不是最后一条, histroy记录数量大于1,又没有回退记录,只能返回首页,
|
|
|
- //如果上面都执行了 页面都跳走了,这个也就不用管了
|
|
|
- // setTimeout(() => {
|
|
|
- // this.$router.push({ path: '/' });
|
|
|
- // }, 500);
|
|
|
// if (this.isLogin) {
|
|
|
// this.$http
|
|
|
// .post(
|
|
|
@@ -1198,6 +1189,12 @@ export default {
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.$router.back();
|
|
|
+ if (window.history.length <= 1) {
|
|
|
+ this.$router.push({ path: '/' });
|
|
|
+ return false;
|
|
|
+ } else {
|
|
|
+ this.$router.go(-1);
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
@@ -1380,7 +1377,7 @@ export default {
|
|
|
}
|
|
|
.list_of_details_one_title_cons {
|
|
|
font-size: 16px;
|
|
|
- white-space: nowrap;
|
|
|
+ white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
text-align: center;
|
|
|
@@ -1504,7 +1501,7 @@ export default {
|
|
|
// line-height: 20px;
|
|
|
// margin-bottom: 2px;
|
|
|
}
|
|
|
- .author_details_ones{
|
|
|
+ .author_details_ones {
|
|
|
// padding-top: 1px;
|
|
|
// box-sizing: border-box;
|
|
|
font-size: 12px;
|