|
@@ -31,17 +31,17 @@
|
|
|
<div class="userContent" v-if="active === '关注' || active === '粉丝'">
|
|
<div class="userContent" v-if="active === '关注' || active === '粉丝'">
|
|
|
<div class="border"></div>
|
|
<div class="border"></div>
|
|
|
<el-empty v-if="empty" description="还没有哦~"></el-empty>
|
|
<el-empty v-if="empty" description="还没有哦~"></el-empty>
|
|
|
- <div v-for="item in list" :key="item.id">
|
|
|
|
|
- <div class="box">
|
|
|
|
|
|
|
+ <div style="margin-top: 30px" v-for="item in list" :key="item.id">
|
|
|
|
|
+ <div class="boxFollow">
|
|
|
<router-link :to="{ path: '/castingDetail?id=' + item.id }">
|
|
<router-link :to="{ path: '/castingDetail?id=' + item.id }">
|
|
|
<div class="text">
|
|
<div class="text">
|
|
|
<img class="img4" :src="item.avatar" alt="" />
|
|
<img class="img4" :src="item.avatar" alt="" />
|
|
|
<div class="box2">
|
|
<div class="box2">
|
|
|
- <div class="name">
|
|
|
|
|
|
|
+ <div class="nickname">
|
|
|
<div class="name1">{{ item.nickname }}</div>
|
|
<div class="name1">{{ item.nickname }}</div>
|
|
|
<img class="name2" src="../../assets/img/renzheng_icon@3x.png" alt="" />
|
|
<img class="name2" src="../../assets/img/renzheng_icon@3x.png" alt="" />
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="text2">暂无</div>
|
|
|
|
|
|
|
+ <div class="detail">暂无</div>
|
|
|
<div class="box3">
|
|
<div class="box3">
|
|
|
<div class="box4">
|
|
<div class="box4">
|
|
|
<div class="text4">
|
|
<div class="text4">
|
|
@@ -52,6 +52,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<el-button
|
|
<el-button
|
|
|
|
|
+ class="btnFollow"
|
|
|
style="color: #939599"
|
|
style="color: #939599"
|
|
|
plain
|
|
plain
|
|
|
round
|
|
round
|
|
@@ -370,18 +371,18 @@ export default {
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="less">
|
|
<style lang="less">
|
|
|
-.myClass {
|
|
|
|
|
- .el-button {
|
|
|
|
|
- background: linear-gradient(133deg, @prim 0%, @warn 100%);
|
|
|
|
|
- border-radius: 4px;
|
|
|
|
|
- border: 0;
|
|
|
|
|
- }
|
|
|
|
|
- .el-button:nth-last-child(2) {
|
|
|
|
|
- background: #c4c7cc;
|
|
|
|
|
- color: #ffffff;
|
|
|
|
|
- font-size: 13px;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
|
|
+// .myClass {
|
|
|
|
|
+// .el-button {
|
|
|
|
|
+// background: linear-gradient(133deg, @prim 0%, @warn 100%);
|
|
|
|
|
+// border-radius: 4px;
|
|
|
|
|
+// border: 0;
|
|
|
|
|
+// }
|
|
|
|
|
+// .el-button:nth-last-child(2) {
|
|
|
|
|
+// background: #c4c7cc;
|
|
|
|
|
+// color: #ffffff;
|
|
|
|
|
+// font-size: 13px;
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
</style>
|
|
</style>
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
.container {
|
|
.container {
|
|
@@ -464,7 +465,7 @@ export default {
|
|
|
.userContent {
|
|
.userContent {
|
|
|
padding: 0 16px;
|
|
padding: 0 16px;
|
|
|
|
|
|
|
|
- .box {
|
|
|
|
|
|
|
+ .boxFollow {
|
|
|
.flex();
|
|
.flex();
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
@@ -480,9 +481,9 @@ export default {
|
|
|
.box2 {
|
|
.box2 {
|
|
|
width: 288px;
|
|
width: 288px;
|
|
|
margin-right: 50px;
|
|
margin-right: 50px;
|
|
|
- .name {
|
|
|
|
|
|
|
+ .nickname {
|
|
|
.flex();
|
|
.flex();
|
|
|
- margin-top: 5px;
|
|
|
|
|
|
|
+ // margin-top: 5px;
|
|
|
.name1 {
|
|
.name1 {
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
@@ -495,7 +496,7 @@ export default {
|
|
|
height: 18px;
|
|
height: 18px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .text2 {
|
|
|
|
|
|
|
+ .detail {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
color: #939599;
|
|
color: #939599;
|
|
@@ -521,11 +522,13 @@ export default {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .el-button {
|
|
|
|
|
- background-color: transparent;
|
|
|
|
|
|
|
+ .btnFollow {
|
|
|
|
|
+ // background-color: transparent;
|
|
|
|
|
+ background: red;
|
|
|
min-width: 76px;
|
|
min-width: 76px;
|
|
|
height: 28px;
|
|
height: 28px;
|
|
|
-
|
|
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ z-index: 999;
|
|
|
&.prim {
|
|
&.prim {
|
|
|
.line(@radius:28px);
|
|
.line(@radius:28px);
|
|
|
text-align: center;
|
|
text-align: center;
|