|
|
@@ -21,9 +21,9 @@
|
|
|
已售 <span>{{ list.sales }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="follow" :class="{ followed: list.follow }" @click.prevent="fans(list)">
|
|
|
+ <el-button plain round :class="{ prim: !list.follow }" size="mini" @click="fans(list)">
|
|
|
{{ list.follow ? '已关注' : '关注' }}
|
|
|
- </div>
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="imgBox">
|
|
|
@@ -118,7 +118,8 @@ export default {
|
|
|
}
|
|
|
.box3 {
|
|
|
display: flex;
|
|
|
- align-lists: center;
|
|
|
+ align-content: center;
|
|
|
+ // align-lists: center;
|
|
|
justify-content: space-between;
|
|
|
.box4 {
|
|
|
display: flex;
|
|
|
@@ -133,15 +134,30 @@ export default {
|
|
|
color: #fff;
|
|
|
}
|
|
|
}
|
|
|
- .follow {
|
|
|
- width: 70px;
|
|
|
- height: 26px;
|
|
|
- color: @prim;
|
|
|
- font-size: 14px;
|
|
|
- border-radius: 16px;
|
|
|
- border: 1px solid;
|
|
|
- text-align: center;
|
|
|
- line-height: 26px;
|
|
|
+ // .follow {
|
|
|
+ // width: 70px;
|
|
|
+ // height: 26px;
|
|
|
+ // color: @prim;
|
|
|
+ // font-size: 14px;
|
|
|
+ // border-radius: 16px;
|
|
|
+ // border: 1px solid;
|
|
|
+ // text-align: center;
|
|
|
+ // line-height: 26px;
|
|
|
+ // }
|
|
|
+ .el-button {
|
|
|
+ background-color: transparent;
|
|
|
+ min-width: 76px;
|
|
|
+ height: 28px;
|
|
|
+
|
|
|
+ &.prim {
|
|
|
+ .line(@radius:28px);
|
|
|
+ text-align: center;
|
|
|
+ /deep/span {
|
|
|
+ color: @prim;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|