|
|
@@ -39,6 +39,10 @@
|
|
|
<img src="../../assets/icon-qiehuanhengping.png" alt="" />
|
|
|
<span>切换{{ isVertical || windowVertical ? '横屏' : '竖屏' }}</span>
|
|
|
</div>
|
|
|
+ <!-- <div class="btn" @click="isVertical = !isVertical">
|
|
|
+ <img src="../../assets/icon-qiehuanhengping.png" alt="" />
|
|
|
+ <span>切换{{ isVertical || windowVertical ? '横屏' : '竖屏' }}</span>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
<div class="btns" v-if="isVertical && windowVertical && info.publish">
|
|
|
<div class="btn">
|
|
|
@@ -72,19 +76,30 @@
|
|
|
:height="picWidth"
|
|
|
fit="cover"
|
|
|
radius="8"
|
|
|
+ @click="show = true"
|
|
|
+ />
|
|
|
+ <van-uploader
|
|
|
+ ref="upload"
|
|
|
+ v-if="isMine"
|
|
|
+ class="avatar"
|
|
|
+ :after-read="afterRead"
|
|
|
+ result-type="file"
|
|
|
/>
|
|
|
- <van-uploader v-if="isMine" class="avatar" :after-read="afterRead" result-type="file" />
|
|
|
</div>
|
|
|
<div class="user-content">
|
|
|
- <div class="name">
|
|
|
- <div>{{ info.nickname }}</div>
|
|
|
- <div>的展馆</div>
|
|
|
+ <div class="name" @click="goName">
|
|
|
+ <div v-if="info.name" class="nameOnly">{{ info.name }}</div>
|
|
|
+ <template v-else>
|
|
|
+ <div>{{ info.nickname }}</div>
|
|
|
+ <div>的展馆</div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="sub-box">
|
|
|
<div class="sub" @click="goEdit">
|
|
|
<span class="van-multi-ellipsis--l3">{{ info.introduction || '介绍一下展馆主题吧' }}</span>
|
|
|
<img src="../../assets/icon-jieshaozhanguan.png" v-if="isMine" alt="" />
|
|
|
+ <span v-else-if="showMore" @click.stop="showIntro = true" class="more">展开</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -105,11 +120,106 @@
|
|
|
</div>
|
|
|
<div class="imgs" v-for="(item, index) in showList" :key="index" :style="getStyle(item.length)">
|
|
|
<div class="icon" v-for="(img, imgIndex) in item" :key="imgIndex" @click="goCollection(img)">
|
|
|
- <van-image :src="img.pic" :width="picWidth" :height="picWidth" fit="coevr" radius="8" />
|
|
|
+ <div class="img-box">
|
|
|
+ <van-image :src="img.pic" :width="picWidth" :height="picWidth" fit="coevr" radius="8" />
|
|
|
+ <div class="icon-status" :class="{ status1: img.status === '仅展示' }">
|
|
|
+ <span>{{ img.status }}</span>
|
|
|
+ <span v-if="img.status === '寄售中'">¥{{ img.price }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <van-action-sheet
|
|
|
+ v-model:show="show"
|
|
|
+ :actions="actions"
|
|
|
+ cancel-text="取消"
|
|
|
+ close-on-click-action
|
|
|
+ @select="actionSelect"
|
|
|
+ />
|
|
|
+ <van-popup v-model:show="showIntro" closeable>
|
|
|
+ <div class="intro">
|
|
|
+ <div class="text1">展馆主题</div>
|
|
|
+ <div class="text2">{{ info.introduction }}</div>
|
|
|
+ </div>
|
|
|
+ </van-popup>
|
|
|
+ <van-popup
|
|
|
+ class="collection-popup"
|
|
|
+ :class="{ windowHorizontalPopup: !windowVertical || !isVertical, isHorizontalPopup: !isVertical }"
|
|
|
+ v-model:show="collectionShow"
|
|
|
+ @click="collectionShow = false"
|
|
|
+ >
|
|
|
+ <div class="collection-box">
|
|
|
+ <div class="collection" @click.stop="goCollectionDetail(collectionInfo.id)">
|
|
|
+ <van-image
|
|
|
+ :width="!windowVertical || !isVertical ? 154 : 198"
|
|
|
+ :height="!windowVertical || !isVertical ? 154 : 198"
|
|
|
+ radius="8"
|
|
|
+ :src="getImg(changeImgs(collectionInfo.pic))"
|
|
|
+ fit="cover"
|
|
|
+ />
|
|
|
+ <div class="collection-info">
|
|
|
+ <img
|
|
|
+ @click.stop="collectionShow = false"
|
|
|
+ src="../../assets/close2.png"
|
|
|
+ v-if="!windowVertical || !isVertical"
|
|
|
+ class="collection-close"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <div class="name van-multi-ellipsis--l2">
|
|
|
+ {{ collectionInfo.name }}
|
|
|
+ </div>
|
|
|
+ <div class="code">编号 {{ collectionInfo.number }}</div>
|
|
|
+ <div class="flex1"></div>
|
|
|
+ <div class="collection-user">
|
|
|
+ <div class="collection-user-item">
|
|
|
+ <div class="text1">铸造者</div>
|
|
|
+ <div class="text2">
|
|
|
+ <van-image
|
|
|
+ width="18"
|
|
|
+ height="18"
|
|
|
+ radius="18"
|
|
|
+ :src="collectionInfo.minterAvatar"
|
|
|
+ fit="cover"
|
|
|
+ />
|
|
|
+ <span>{{ collectionInfo.minter }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="collection-user-item">
|
|
|
+ <div class="text1">持有者</div>
|
|
|
+ <div class="text2">
|
|
|
+ <van-image
|
|
|
+ width="18"
|
|
|
+ height="18"
|
|
|
+ radius="18"
|
|
|
+ :src="collectionInfo.ownerAvatar"
|
|
|
+ fit="cover"
|
|
|
+ />
|
|
|
+ <span>{{ collectionInfo.owner }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="collection-price">
|
|
|
+ <template v-if="collectionInfo.salable">
|
|
|
+ <img src="../../assets/icon_jiagebai1.png" alt="" />
|
|
|
+ <span>{{ collectionInfo.price }}</span>
|
|
|
+ </template>
|
|
|
+ <div class="status" v-else>仅展示</div>
|
|
|
+ <div class="btn">查看详情</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <img
|
|
|
+ v-if="windowVertical && isVertical"
|
|
|
+ src="../../assets/icon_fenxiang_close.png"
|
|
|
+ alt=""
|
|
|
+ class="close"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </van-popup>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -154,12 +264,20 @@ export default {
|
|
|
distances: [0, 0, 0, 0],
|
|
|
swiperRef: null,
|
|
|
inApp,
|
|
|
- isEdit: false
|
|
|
+ isEdit: false,
|
|
|
+ show: false,
|
|
|
+ showIntro: false,
|
|
|
+ actions: [{ name: '本地上传' }, { name: '藏品室上传' }],
|
|
|
+ collectionShow: false,
|
|
|
+ collectionInfo: {}
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
showList() {
|
|
|
- let assets = [...this.assets];
|
|
|
+ let status = ['仅展示'];
|
|
|
+ let assets = [...this.assets].sort((a, b) => {
|
|
|
+ return status.indexOf(a.status) - status.indexOf(b.status);
|
|
|
+ });
|
|
|
let list = [];
|
|
|
for (let i = 0; i <= Math.floor(assets.length / this.groupNum); i++) {
|
|
|
list.push(assets.slice(i * this.groupNum, (i + 1) * this.groupNum));
|
|
|
@@ -195,17 +313,46 @@ export default {
|
|
|
} else {
|
|
|
return '15vh';
|
|
|
}
|
|
|
+ },
|
|
|
+ showMore() {
|
|
|
+ if (
|
|
|
+ this.isVertical &&
|
|
|
+ this.windowVertical &&
|
|
|
+ this.info.introduction &&
|
|
|
+ this.info.introduction.length > 27
|
|
|
+ ) {
|
|
|
+ return true;
|
|
|
+ } else if (
|
|
|
+ (!this.isVertical || !this.windowVertical) &&
|
|
|
+ this.info.introduction &&
|
|
|
+ this.info.introduction.length > 39
|
|
|
+ ) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ if (window.cordova && StatusBar && StatusBar.isVisible) {
|
|
|
+ StatusBar.backgroundColorByHexString('#222426');
|
|
|
+ StatusBar.styleLightContent();
|
|
|
+ }
|
|
|
if (this.$route.query.id) {
|
|
|
this.roomId = this.$route.query.id;
|
|
|
this.getDetail();
|
|
|
}
|
|
|
+ this.emitter.on('setName', e => {
|
|
|
+ this.info.name = e;
|
|
|
+ this.isEdit = true;
|
|
|
+ });
|
|
|
this.emitter.on('setIntroduction', e => {
|
|
|
this.info.introduction = e;
|
|
|
this.isEdit = true;
|
|
|
});
|
|
|
+ this.emitter.on('setPic', e => {
|
|
|
+ this.info.pic = e;
|
|
|
+ this.isEdit = true;
|
|
|
+ });
|
|
|
this.emitter.on('setAssets', assets => {
|
|
|
this.assets = assets;
|
|
|
this.isEdit = true;
|
|
|
@@ -270,7 +417,7 @@ export default {
|
|
|
});
|
|
|
return this.$http.get('/showroom/get/' + this.roomId).then(res => {
|
|
|
this.$toast.clear();
|
|
|
- this.info = res;
|
|
|
+ this.info = { name: '', ...res };
|
|
|
this.$nextTick(() => {
|
|
|
if (!this.isMine && res.type === 'COMPANY' && res.status !== 'SUCCESS') {
|
|
|
this.$dialog
|
|
|
@@ -328,9 +475,9 @@ export default {
|
|
|
message: '加载中...',
|
|
|
forbidClick: true
|
|
|
});
|
|
|
- this.updateFile(e, 500).then(img => {
|
|
|
+ this.updateFile(e, 'hall', 500).then(img => {
|
|
|
this.$toast.clear();
|
|
|
- this.info.pic = img;
|
|
|
+ this.emitter.emit('setPic', img);
|
|
|
});
|
|
|
},
|
|
|
addCollections() {
|
|
|
@@ -383,12 +530,32 @@ export default {
|
|
|
},
|
|
|
goEdit() {
|
|
|
if (this.isMine) {
|
|
|
- this.$router.push('/hallEdit?message=' + (this.info.introduction || ''));
|
|
|
+ this.$router.push('/hallEdit?message=' + encodeURIComponent(this.info.introduction || ''));
|
|
|
+ }
|
|
|
+ },
|
|
|
+ goName() {
|
|
|
+ if (this.isMine) {
|
|
|
+ this.$router.push('/hallEdit?message=' + encodeURIComponent(this.info.name || '') + '&type=name');
|
|
|
}
|
|
|
},
|
|
|
goCollection(info) {
|
|
|
- if (!this.isMine) {
|
|
|
- this.$router.push('/productDetail/' + info.collectionId);
|
|
|
+ this.$http.get('/collection/get/' + info.collectionId).then(res => {
|
|
|
+ this.collectionInfo = res;
|
|
|
+ this.collectionShow = true;
|
|
|
+ });
|
|
|
+ // if (!this.isMine) {
|
|
|
+ // this.$router.push('/productDetail/' + info.collectionId);
|
|
|
+ // }
|
|
|
+ },
|
|
|
+ goCollectionDetail(id) {
|
|
|
+ this.$router.push('/productDetail/' + id);
|
|
|
+ },
|
|
|
+ actionSelect(action) {
|
|
|
+ console.log(action);
|
|
|
+ if (action.name === '本地上传') {
|
|
|
+ this.$refs.upload.chooseFile();
|
|
|
+ } else {
|
|
|
+ this.$router.push('/productChoose');
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -448,6 +615,8 @@ export default {
|
|
|
position: relative;
|
|
|
.van-image {
|
|
|
transition: transform ease-in-out 0.3s;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
}
|
|
|
.avatar {
|
|
|
position: absolute;
|
|
|
@@ -456,6 +625,7 @@ export default {
|
|
|
right: 0;
|
|
|
bottom: 0;
|
|
|
opacity: 0;
|
|
|
+ z-index: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -465,25 +635,47 @@ export default {
|
|
|
color: #ffffff;
|
|
|
line-height: 30px;
|
|
|
padding-top: 6px;
|
|
|
+ position: relative;
|
|
|
& > div {
|
|
|
display: -webkit-box;
|
|
|
-webkit-box-orient: vertical;
|
|
|
-webkit-line-clamp: 2;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ display: block;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+ }
|
|
|
}
|
|
|
.sub {
|
|
|
padding-top: 20px;
|
|
|
font-size: 12px;
|
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
line-height: 17px;
|
|
|
+ position: relative;
|
|
|
+ word-break: break-all;
|
|
|
|
|
|
.flex();
|
|
|
+ align-items: flex-start;
|
|
|
img {
|
|
|
width: 16px;
|
|
|
height: 16px;
|
|
|
display: block;
|
|
|
margin-left: 6px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: -25px;
|
|
|
+ left: 0px;
|
|
|
+ }
|
|
|
+ .more {
|
|
|
+ position: absolute;
|
|
|
+ bottom: -25px;
|
|
|
+ left: 0px;
|
|
|
+ text-decoration: underline;
|
|
|
}
|
|
|
}
|
|
|
.user-content {
|
|
|
@@ -535,14 +727,40 @@ export default {
|
|
|
justify-content: center;
|
|
|
width: 22vh;
|
|
|
box-sizing: border-box;
|
|
|
+ position: relative;
|
|
|
img {
|
|
|
width: 110px;
|
|
|
height: 110px;
|
|
|
display: block;
|
|
|
}
|
|
|
.van-image {
|
|
|
+ position: relative;
|
|
|
transition: transform ease-in-out 0.3s;
|
|
|
}
|
|
|
+ .img-box {
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ .icon-status {
|
|
|
+ position: absolute;
|
|
|
+ left: 6px;
|
|
|
+ top: 6px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 9px;
|
|
|
+ z-index: 3;
|
|
|
+ padding: 0 8px;
|
|
|
+ line-height: 18px;
|
|
|
+ white-space: nowrap;
|
|
|
+ font-size: 10px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #000000;
|
|
|
+ span + span {
|
|
|
+ margin-left: 3px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status1 {
|
|
|
+ color: #939599;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -662,11 +880,22 @@ export default {
|
|
|
padding-top: 0;
|
|
|
font-size: 6.4vh;
|
|
|
line-height: 8vh;
|
|
|
+ display: block;
|
|
|
+ overflow: hidden;
|
|
|
& > div {
|
|
|
+ display: block;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
+ .nameOnly {
|
|
|
+ display: -webkit-box;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ white-space: normal;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.imgs {
|
|
|
@@ -755,23 +984,25 @@ export default {
|
|
|
padding-top: 0;
|
|
|
transform: rotate(90deg) translate(-13vw, -13vw);
|
|
|
transform-origin: left bottom;
|
|
|
+ min-height: 68px;
|
|
|
}
|
|
|
.sub {
|
|
|
width: 168px;
|
|
|
padding-top: 0;
|
|
|
transform-origin: left bottom;
|
|
|
- transform: rotate(90deg) translate(-17.3vw, 0px);
|
|
|
+ min-height: 52px;
|
|
|
+ transform: rotate(90deg) translate(-105px, 12px);
|
|
|
}
|
|
|
}
|
|
|
.img-bg {
|
|
|
flex-direction: column;
|
|
|
align-items: flex-end;
|
|
|
- padding-right: 18vw;
|
|
|
}
|
|
|
.imgs {
|
|
|
width: 44.6vw;
|
|
|
padding: 23vw 0;
|
|
|
margin-top: 0;
|
|
|
+ padding-right: 18vw;
|
|
|
.icon {
|
|
|
height: 49vw;
|
|
|
width: auto;
|
|
|
@@ -779,6 +1010,12 @@ export default {
|
|
|
.van-image {
|
|
|
transform: rotate(90deg);
|
|
|
}
|
|
|
+ .icon-status {
|
|
|
+ transform: rotate(90deg);
|
|
|
+ left: calc(35vw - 24px);
|
|
|
+ transform-origin: bottom left;
|
|
|
+ top: -12px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.bottom {
|
|
|
@@ -831,4 +1068,204 @@ export default {
|
|
|
// height: 50vw;
|
|
|
// }
|
|
|
}
|
|
|
+/deep/.van-popup {
|
|
|
+ border-radius: 8px;
|
|
|
+ .van-icon {
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.intro {
|
|
|
+ padding: 12px 0;
|
|
|
+ width: 260px;
|
|
|
+ .text1 {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #000000;
|
|
|
+ font-weight: bold;
|
|
|
+ line-height: 24px;
|
|
|
+ padding: 0 16px 12px;
|
|
|
+ border-bottom: 1px solid #f2f3f5;
|
|
|
+ }
|
|
|
+
|
|
|
+ .text2 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 18px;
|
|
|
+ padding-top: 6px;
|
|
|
+ margin-top: 10px;
|
|
|
+ text-indent: 24px;
|
|
|
+ background: #f5f7fa;
|
|
|
+ border-radius: 4px;
|
|
|
+ padding: 10px;
|
|
|
+ margin: 10px 16px 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+/deep/.collection-popup {
|
|
|
+ background-color: transparent;
|
|
|
+}
|
|
|
+.collection-box {
|
|
|
+ .flex-col();
|
|
|
+ align-items: center;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ .collection {
|
|
|
+ background: rgba(15, 15, 15, 0.8);
|
|
|
+ padding: 12px;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
+ border-radius: 8px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ width: 222px;
|
|
|
+
|
|
|
+ .name {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 20px;
|
|
|
+ margin-top: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .code {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #c8c9cc;
|
|
|
+ line-height: 22px;
|
|
|
+ background: rgba(255, 255, 255, 0.08);
|
|
|
+ border-radius: 4px;
|
|
|
+ display: inline-block;
|
|
|
+ align-self: flex-start;
|
|
|
+ padding: 0 6px;
|
|
|
+ margin-top: 6px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .collection-price {
|
|
|
+ height: 24px;
|
|
|
+ background: #3ab200;
|
|
|
+ border-radius: 4px;
|
|
|
+ overflow: hidden;
|
|
|
+ margin-top: 15px;
|
|
|
+ .flex();
|
|
|
+ img {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ margin-left: 4px;
|
|
|
+ margin-top: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ span {
|
|
|
+ font-size: 20px;
|
|
|
+ font-family: OSP-DIN, OSP;
|
|
|
+ font-weight: normal;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 14px;
|
|
|
+ flex-grow: 1;
|
|
|
+ margin-left: 1px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .status {
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ flex-grow: 1;
|
|
|
+ padding: 0 6px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .btn {
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #3ab200;
|
|
|
+ line-height: 24px;
|
|
|
+ padding: 0 6px;
|
|
|
+ background-color: #fff;
|
|
|
+ border-radius: 4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .close {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ display: block;
|
|
|
+ margin-top: 66px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-image {
|
|
|
+ flex-shrink: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.windowHorizontalPopup {
|
|
|
+ .collection {
|
|
|
+ .flex();
|
|
|
+ width: 386px;
|
|
|
+ align-items: stretch;
|
|
|
+ overflow: hidden;
|
|
|
+ .collection-info {
|
|
|
+ flex-grow: 1;
|
|
|
+ margin-left: 12px;
|
|
|
+ overflow: hidden;
|
|
|
+ .flex-col();
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .name {
|
|
|
+ padding-right: 30px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .code {
|
|
|
+ margin-top: 3px;
|
|
|
+ }
|
|
|
+ .name {
|
|
|
+ margin-top: 3px;
|
|
|
+ }
|
|
|
+ .collection-price {
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .collection-close {
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ }
|
|
|
+}
|
|
|
+/deep/.isHorizontalPopup {
|
|
|
+ overflow: initial;
|
|
|
+ .collection-box {
|
|
|
+ transform: rotate(90deg);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.collection-user {
|
|
|
+ .flex();
|
|
|
+ margin-top: 10px;
|
|
|
+ .collection-user-item {
|
|
|
+ flex-grow: 1;
|
|
|
+ overflow: hidden;
|
|
|
+ .text1 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #c8c9cc;
|
|
|
+ line-height: 17px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .text2 {
|
|
|
+ margin-top: 4px;
|
|
|
+ .flex();
|
|
|
+ overflow: hidden;
|
|
|
+ span {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 17px;
|
|
|
+ margin-left: 2px;
|
|
|
+ overflow: hidden; //溢出隐藏
|
|
|
+ white-space: nowrap; //禁止换行
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .collection-user-item + .collection-user-item {
|
|
|
+ min-width: 50%;
|
|
|
+ margin-left: 6px;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|