...
|
...
|
@@ -15,15 +15,27 @@ |
|
|
</div>
|
|
|
|
|
|
<div class="follow">
|
|
|
<WidgetAvatarGroup :avatars="avatars" :option="{srcKey: 'src', maxDisplayNum: 10}"></WidgetAvatarGroup>
|
|
|
<span class="follow-num">3998人已种草</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="hot-comment out-box">
|
|
|
<div class="comment-title"></div>
|
|
|
<div class="comment-list">
|
|
|
<CommentList v-for="(comment, index) in commentInfos" v-bind="comment" :columnType="1003" :key="index"></CommentList>
|
|
|
</div>
|
|
|
<span class="more">查看更多</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="you-like out-box">
|
|
|
<div class="yoho-like-title"></div>
|
|
|
<ProductList></ProductList>
|
|
|
</div>
|
|
|
|
|
|
<div class="fashion-footer">
|
|
|
<div class="grass-btn"><span class="iconfont icon-grass-fill"></span><em>种草</em></div>
|
|
|
<div class="comment-btn"><span class="iconfont icon-msg-blod"></span><em>评论</em></div>
|
|
|
<button class="go-buy">立即购买</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</Layout>
|
...
|
...
|
@@ -34,7 +46,91 @@ export default { |
|
|
name: 'fashionDetail',
|
|
|
data() {
|
|
|
return {
|
|
|
shareData: {}
|
|
|
shareData: {},
|
|
|
avatars: [{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'},
|
|
|
{src: '//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75'}
|
|
|
],
|
|
|
commentInfos: [{
|
|
|
childrenComments: [
|
|
|
{
|
|
|
content: "fdsfdsfsdf对方水电费第三方",
|
|
|
id: 68,
|
|
|
isPraise: "Y",
|
|
|
parentId: 66,
|
|
|
parentUid: 500030381,
|
|
|
praiseTotal: "12",
|
|
|
rootId: 66,
|
|
|
status: 1,
|
|
|
uid: 600033622,
|
|
|
columnType: 1000,
|
|
|
destId: 600033622,
|
|
|
createTime: 111,
|
|
|
userName: "三只松鼠",
|
|
|
headIco: "//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75",
|
|
|
parentUserName: "大松鼠",
|
|
|
articleType: 1
|
|
|
},
|
|
|
{
|
|
|
content: "fdsfdsfsdf对方水电费第三方",
|
|
|
id: 68,
|
|
|
isPraise: "Y",
|
|
|
parentId: 66,
|
|
|
parentUid: 500030381,
|
|
|
praiseTotal: "12",
|
|
|
rootId: 66,
|
|
|
status: 1,
|
|
|
uid: 600033622,
|
|
|
columnType: 1000,
|
|
|
destId: 600033622,
|
|
|
createTime: 111,
|
|
|
userName: "三只松鼠",
|
|
|
headIco: "//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75",
|
|
|
parentUserName: "大松鼠",
|
|
|
articleType: 1
|
|
|
},
|
|
|
{
|
|
|
content: "fdsfdsfsdf对方水电费第三方",
|
|
|
id: 68,
|
|
|
isPraise: "Y",
|
|
|
parentId: 66,
|
|
|
parentUid: 500030381,
|
|
|
praiseTotal: "12",
|
|
|
rootId: 66,
|
|
|
status: 1,
|
|
|
uid: 600033622,
|
|
|
columnType: 1000,
|
|
|
destId: 600033622,
|
|
|
createTime: 111,
|
|
|
userName: "三只松鼠",
|
|
|
headIco: "//img10.static.yhbimg.com/author/2018/11/26/15/01fbe6e21e3b9120685834e1f6173e31c5.jpg?imageView2/2/interlace/1/q/75",
|
|
|
parentUserName: "大松鼠",
|
|
|
articleType: 1
|
|
|
}
|
|
|
],
|
|
|
parentComment: {
|
|
|
articleType: 1,
|
|
|
content: "fsefs第三方",
|
|
|
createTime: 23213,
|
|
|
id: 66,
|
|
|
isPraise: "Y",
|
|
|
praiseTotal: "11",
|
|
|
status: 0,
|
|
|
uid: 500030381,
|
|
|
columnType: 1000,
|
|
|
destId: 600033622,
|
|
|
articleId: 123,
|
|
|
userName: "大松鼠",
|
|
|
headIco: '//img13.static.yhbimg.com/author/2018/12/10/10/02143c5a70e288801cda4ac4f3fa8b9d7b.jpg?imageView2/2/interlace/1/q/75',
|
|
|
}
|
|
|
}],
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -98,6 +194,12 @@ export default { |
|
|
|
|
|
.follow {
|
|
|
margin-bottom: 30px;
|
|
|
padding: 0 30px;
|
|
|
clear: both;
|
|
|
box-sizing: border-box;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
|
|
|
.out-box {
|
...
|
...
|
@@ -105,12 +207,44 @@ export default { |
|
|
padding: 30px;
|
|
|
}
|
|
|
|
|
|
.hot-comment {
|
|
|
display: flex;
|
|
|
width: 100%;
|
|
|
flex-direction: column;
|
|
|
|
|
|
.comment-title {
|
|
|
background: url(../../statics/image/fashion/jcrp_title@2x.png) no-repeat;
|
|
|
background-size: contain;
|
|
|
width: 310px;
|
|
|
height: 78px;
|
|
|
margin: 0 auto;
|
|
|
margin: 0 auto 60px;
|
|
|
}
|
|
|
|
|
|
.more {
|
|
|
font-size: 24px;
|
|
|
color: #B0B0B0;
|
|
|
margin: 60px auto 30px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
|
|
|
&:before{
|
|
|
content: "";
|
|
|
background: #B0B0B0;
|
|
|
width: 40px;
|
|
|
height: 2px;
|
|
|
margin-right: 20px;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
&:after{
|
|
|
content: "";
|
|
|
background: #B0B0B0;
|
|
|
width: 40px;
|
|
|
height: 2px;
|
|
|
margin-left: 20px;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.yoho-like-title {
|
...
|
...
|
@@ -120,5 +254,55 @@ export default { |
|
|
height: 78px;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
.fashion-footer {
|
|
|
height: 120px;
|
|
|
width: 100%;
|
|
|
background: #fff ;
|
|
|
border-top: 1px solid #D8D8D8 ;
|
|
|
position: fixed;
|
|
|
bottom: 0;
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
align-items: center;
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
.go-buy {
|
|
|
background: #D0021B;
|
|
|
color: #fff;
|
|
|
text-align: center;
|
|
|
width: 260px;
|
|
|
height: 88px;
|
|
|
border: none;
|
|
|
outline: none;
|
|
|
border-radius: 6px;
|
|
|
margin: 0 30px;
|
|
|
}
|
|
|
|
|
|
.comment-btn,
|
|
|
.grass-btn {
|
|
|
flex: 1;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
text-align: center;
|
|
|
font-size: 18px;
|
|
|
color: #444;
|
|
|
|
|
|
span {
|
|
|
font-size: 52px;
|
|
|
}
|
|
|
|
|
|
em {
|
|
|
font-style: normal;
|
|
|
margin-top: -6px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.comment-btn {
|
|
|
span {
|
|
|
color: #b0b0b0;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</style> |
...
|
...
|
|