354
This commit is contained in:
@@ -47,16 +47,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="list" v-if="list.length">
|
<div class="list" v-if="list.length">
|
||||||
<div class="card" v-for="(item,index) in list" :key="index">
|
<div class="card" v-for="(item,index) in list" :key="index" @click="$linkTo(`./pickDetail?id=${item.id}`)">
|
||||||
<div class="title-info" v-if="item.girdName">
|
<div class="title-info" v-if="item.girdName">
|
||||||
{{item.girdName}}
|
{{item.girdName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="type-info">{{item.createUserName}}<span>{{item.title}}</span></div>
|
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<div class="left" @click="$linkTo(`./pickDetail?id=${item.id}`)">
|
<div class="left" >
|
||||||
<p>{{ item.content }}</p>
|
<div class="type-info">{{item.createUserName}}<span>{{item.title}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right" @click="upCount(item.id,index)">
|
<div class="right" @click.stop="upCount(item.id,index)">
|
||||||
<img :src="item.upStatus==0? 'https://cdn.cunwuyun.cn/wxmp/fengdu/zan.png':'https://cdn.cunwuyun.cn/wxmp/fengdu/zan-active.png'" alt="">
|
<img :src="item.upStatus==0? 'https://cdn.cunwuyun.cn/wxmp/fengdu/zan.png':'https://cdn.cunwuyun.cn/wxmp/fengdu/zan-active.png'" alt="">
|
||||||
<span>{{ item.upCount || 0 }}</span><span v-if="item.upCount > 99">+</span>
|
<span>{{ item.upCount || 0 }}</span><span v-if="item.upCount > 99">+</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -333,7 +332,7 @@ export default {
|
|||||||
.top {
|
.top {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 28px;
|
||||||
.left {
|
.left {
|
||||||
width: calc(100% - 100px);
|
width: calc(100% - 100px);
|
||||||
p {
|
p {
|
||||||
@@ -346,7 +345,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.right {
|
.right {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
text-align: center;
|
text-align: right;
|
||||||
img {
|
img {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|||||||
@@ -4,10 +4,9 @@
|
|||||||
<div class="title-info" v-if="item.girdName">
|
<div class="title-info" v-if="item.girdName">
|
||||||
{{item.girdName}}
|
{{item.girdName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="type-info">{{item.createUserName}}<span>{{item.title}}</span></div>
|
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<div class="left" >
|
<div class="left" >
|
||||||
<p>{{ item.content }}</p>
|
<div class="type-info">{{item.createUserName}}<span>{{item.title}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right" @click.stop="upCount(item.id, index)">
|
<div class="right" @click.stop="upCount(item.id, index)">
|
||||||
<img :src="item.upStatus == 0 ? 'https://cdn.cunwuyun.cn/wxmp/fengdu/zan.png' : 'https://cdn.cunwuyun.cn/wxmp/fengdu/zan-active.png'" alt="">
|
<img :src="item.upStatus == 0 ? 'https://cdn.cunwuyun.cn/wxmp/fengdu/zan.png' : 'https://cdn.cunwuyun.cn/wxmp/fengdu/zan-active.png'" alt="">
|
||||||
@@ -139,7 +138,7 @@ export default {
|
|||||||
.top {
|
.top {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 28px;
|
||||||
.left {
|
.left {
|
||||||
width: calc(100% - 100px);
|
width: calc(100% - 100px);
|
||||||
p {
|
p {
|
||||||
@@ -152,7 +151,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.right {
|
.right {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
text-align: center;
|
text-align: right;
|
||||||
img {
|
img {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ export default {
|
|||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
color: #687DA6;
|
color: #687DA6;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
margin-bottom: 28px;
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
|
|||||||
Reference in New Issue
Block a user