|
|
@@ -69,13 +69,14 @@
|
|
|
|
|
|
<div class="info">
|
|
|
<div class="info-title">
|
|
|
- <div class="detail-name">
|
|
|
+ <!-- <div class="detail-name">
|
|
|
<span>{{ info.name }}</span>
|
|
|
<img src="../../assets/svgs/png-biaotikuang-01.svg" alt="" />
|
|
|
<img src="../../assets/svgs/png-biaotikuang-02.svg" alt="" />
|
|
|
<img src="../../assets/svgs/png-biaotikuang-03.svg" alt="" />
|
|
|
<img src="../../assets/svgs/png-biaotikuang-04.svg" alt="" />
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
+ <product-title>{{ info.name }}</product-title>
|
|
|
</div>
|
|
|
<div class="price-line">
|
|
|
<template v-if="info.consignment">
|
|
|
@@ -119,13 +120,21 @@
|
|
|
<div class="page-title"><img src="../../assets/fenxiang-icon.png" alt="" />用户信息</div>
|
|
|
</template>
|
|
|
<div class="user">
|
|
|
- <van-cell class="creator">
|
|
|
+ <van-cell
|
|
|
+ class="creator"
|
|
|
+ :to="{
|
|
|
+ path: '/creatorDetail',
|
|
|
+ query: {
|
|
|
+ id: info.minterId
|
|
|
+ }
|
|
|
+ }"
|
|
|
+ >
|
|
|
<template #icon>
|
|
|
<van-image
|
|
|
width="40"
|
|
|
height="40"
|
|
|
class="user-img"
|
|
|
- :src="info.minterAvatar"
|
|
|
+ :src="info.minterAvatar || require('../../assets/svgs/img_default_photo.svg')"
|
|
|
fit="cover"
|
|
|
radius="100"
|
|
|
/>
|
|
|
@@ -200,7 +209,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<div class="prive" v-if="init.length > 0">
|
|
|
- <div class="prive1" v-for="(item, index) in init" :key="index">
|
|
|
+ <div class="prive1" :class="{ opened: item.opened }" v-for="(item, index) in init" :key="index">
|
|
|
<img v-if="!item.opened" class="img" :src="item.icon[0]" alt="" />
|
|
|
<div style="margin-top: 4px;" v-if="item.icon[2]">
|
|
|
<img v-if="item.opened" class="img" :src="item.icon[2]" alt="" />
|
|
|
@@ -394,6 +403,7 @@ import { ImagePreview } from 'vant';
|
|
|
import Vue from 'vue';
|
|
|
import { Dialog } from 'vant';
|
|
|
import HashCode from '../../components/product/HashCode.vue';
|
|
|
+import ProductTitle from '../../components/product/ProductTitle.vue';
|
|
|
// install Swiper modules
|
|
|
SwiperCore.use([Pagination]);
|
|
|
|
|
|
@@ -402,7 +412,8 @@ export default {
|
|
|
Swiper,
|
|
|
SwiperSlide,
|
|
|
Post,
|
|
|
- HashCode
|
|
|
+ HashCode,
|
|
|
+ ProductTitle
|
|
|
},
|
|
|
|
|
|
mixins: [asset, product],
|
|
|
@@ -851,11 +862,11 @@ export default {
|
|
|
.van-cell__title {
|
|
|
margin-left: 12px;
|
|
|
.text1 {
|
|
|
- font-size: 16px;
|
|
|
+ font-size: @font1;
|
|
|
line-height: 24px;
|
|
|
}
|
|
|
.text2 {
|
|
|
- font-size: 12px;
|
|
|
+ font-size: @font1;
|
|
|
color: @text3;
|
|
|
line-height: 22px;
|
|
|
}
|
|
|
@@ -1057,7 +1068,7 @@ export default {
|
|
|
align-items: center;
|
|
|
// margin-top: 12px;
|
|
|
.text1 {
|
|
|
- font-size: @font2;
|
|
|
+ font-size: @font1;
|
|
|
font-weight: bold;
|
|
|
color: #ffffff;
|
|
|
line-height: 28px;
|
|
|
@@ -1072,6 +1083,7 @@ export default {
|
|
|
text-align: center;
|
|
|
color: #ffffff;
|
|
|
position: relative;
|
|
|
+ font-size: @font1;
|
|
|
margin-left: 0;
|
|
|
* {
|
|
|
position: relative;
|
|
|
@@ -1106,9 +1118,15 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.text4 {
|
|
|
- color: #fdfb60;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 22px;
|
|
|
+ background: linear-gradient(135deg, #fdfb60 0%, #ff8f3e 100%);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
&.prim {
|
|
|
color: @text3;
|
|
|
+ background: transparent;
|
|
|
+ -webkit-text-fill-color: @text3;
|
|
|
}
|
|
|
}
|
|
|
.text5 {
|
|
|
@@ -1148,12 +1166,17 @@ export default {
|
|
|
background: #202122;
|
|
|
color: @text3;
|
|
|
}
|
|
|
+
|
|
|
+ &.opened {
|
|
|
+ background: @bg;
|
|
|
+ border: 1px solid #303133;
|
|
|
+ }
|
|
|
}
|
|
|
.prive2 {
|
|
|
font-size: @font1;
|
|
|
text-align: center;
|
|
|
margin-left: 2px;
|
|
|
- color: #303133;
|
|
|
+ color: @text3;
|
|
|
}
|
|
|
.img {
|
|
|
text-align: center;
|
|
|
@@ -1277,8 +1300,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.status {
|
|
|
- font-size: @font4;
|
|
|
- font-weight: bold;
|
|
|
+ font-size: @font3;
|
|
|
+ // font-weight: bold;
|
|
|
color: #fdfb60;
|
|
|
line-height: 24px;
|
|
|
}
|