feat:detail-comment/swiper/overview/section
parent
54fa1528dd
commit
e6a90f3357
@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1585298080705" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2813" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M459.755102 637.387755c-5.22449 0-10.44898-2.089796-14.628571-6.269388l-104.489796-104.489796c-8.359184-8.359184-8.359184-21.420408 0-29.779591 8.359184-8.359184 21.420408-8.359184 29.779592 0l104.489795 104.489796c8.359184 8.359184 8.359184 21.420408 0 29.779591-4.702041 4.179592-9.926531 6.269388-15.15102 6.269388z" p-id="2814" fill="#ea625b"></path><path d="M459.755102 637.387755c-5.22449 0-10.44898-2.089796-14.628571-6.269388-8.359184-8.359184-8.359184-21.420408 0-29.779591l208.979591-208.979592c8.359184-8.359184 21.420408-8.359184 29.779592 0 8.359184 8.359184 8.359184 21.420408 0 29.779592l-208.979592 208.979591c-4.702041 4.179592-9.926531 6.269388-15.15102 6.269388z" p-id="2815" fill="#ea625b"></path><path d="M512 929.959184c-230.4 0-417.959184-187.559184-417.959184-417.959184s187.559184-417.959184 417.959184-417.959184 417.959184 187.559184 417.959184 417.959184-187.559184 417.959184-417.959184 417.959184z m0-794.122449c-207.412245 0-376.163265 168.75102-376.163265 376.163265s168.75102 376.163265 376.163265 376.163265 376.163265-168.75102 376.163265-376.163265-168.75102-376.163265-376.163265-376.163265z" p-id="2816" fill="#ea625b"></path></svg>
|
After Width: | Height: | Size: 1.5 KiB |
@ -0,0 +1,99 @@
|
||||
<template>
|
||||
<div class="comment">
|
||||
<div class="title">
|
||||
<van-button block>
|
||||
<div class="comment__item">
|
||||
<div class="comment__item__left">
|
||||
<span class="title">评价</span>
|
||||
<span class="content">好评率99%</span>
|
||||
</div>
|
||||
<div class="comment__item__right">
|
||||
<span class="text">共10万+评论</span>
|
||||
<van-icon name="arrow" />
|
||||
</div>
|
||||
</div>
|
||||
</van-button>
|
||||
<div class="comment__line"></div>
|
||||
</div>
|
||||
|
||||
<div class="tags">
|
||||
<van-tag
|
||||
class="tags__item"
|
||||
:color="variables.red"
|
||||
plain
|
||||
v-for="(item,idx) in 6"
|
||||
:key="idx"
|
||||
>签案发时代发</van-tag>
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<comment-item v-for="(item,idx) in 2" :key="idx" style="margin-top:12px" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import CommentItem from '@/components/CommentItem'
|
||||
import variables from '@/styles/variables.scss'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
CommentItem
|
||||
},
|
||||
computed: {
|
||||
variables() {
|
||||
return variables
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "@/styles/variables.scss";
|
||||
|
||||
.comment {
|
||||
margin-top: 24px;
|
||||
background: #fff;
|
||||
.title {
|
||||
.comment__item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
.comment__item__left {
|
||||
.title {
|
||||
color: $black;
|
||||
margin-right: 16px;
|
||||
}
|
||||
.content {
|
||||
color: $red;
|
||||
}
|
||||
}
|
||||
.comment__item__right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: $gray;
|
||||
font-size: $mini;
|
||||
}
|
||||
}
|
||||
.comment__line {
|
||||
width: 700px;
|
||||
height: 1px;
|
||||
background: #f5f5f5;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 10px 24px;
|
||||
.tags__item {
|
||||
margin: 14px 8px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
padding: 0 24px;
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue