@jx3box/jx3box-vue3-ui 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
v-if="!isFollow"
|
|
5
5
|
class="u-btn"
|
|
6
6
|
:class="{ 'is-follow': isFollow, 'u-fans-box': isSelf }"
|
|
7
|
-
size="small"
|
|
8
7
|
plain
|
|
9
8
|
icon="Plus"
|
|
10
9
|
@click="follow"
|
|
@@ -25,9 +24,7 @@
|
|
|
25
24
|
</div>
|
|
26
25
|
</div>
|
|
27
26
|
<template #reference>
|
|
28
|
-
<el-button class="u-trigger"
|
|
29
|
-
btnText
|
|
30
|
-
}}</el-button>
|
|
27
|
+
<el-button class="u-trigger" :type="btnType" plain icon="Check">{{ btnText }}</el-button>
|
|
31
28
|
</template>
|
|
32
29
|
</el-popover>
|
|
33
30
|
</div>
|
|
@@ -159,9 +156,9 @@ export default {
|
|
|
159
156
|
cursor: default;
|
|
160
157
|
&:hover {
|
|
161
158
|
cursor: pointer;
|
|
162
|
-
background-color: @light-pink
|
|
163
|
-
color: #fff
|
|
164
|
-
border-color: darken(@light-pink, 2%)
|
|
159
|
+
background-color: @light-pink;
|
|
160
|
+
color: #fff;
|
|
161
|
+
border-color: darken(@light-pink, 2%);
|
|
165
162
|
}
|
|
166
163
|
}
|
|
167
164
|
|
|
@@ -12,12 +12,8 @@
|
|
|
12
12
|
<!-- 分页 -->
|
|
13
13
|
<el-row v-if="data.length >= 3 || showPager">
|
|
14
14
|
<el-col :span="4">
|
|
15
|
-
<el-button link v-show="showPager" @click="showLess()"
|
|
16
|
-
|
|
17
|
-
>
|
|
18
|
-
<el-button link v-show="!showPager" @click="showMore()"
|
|
19
|
-
>查看更多</el-button
|
|
20
|
-
>
|
|
15
|
+
<el-button link v-show="showPager" @click="showLess()">收起</el-button>
|
|
16
|
+
<el-button link v-show="!showPager" @click="showMore()">查看更多</el-button>
|
|
21
17
|
</el-col>
|
|
22
18
|
<el-col :span="20" class="c-comment-reply-pages">
|
|
23
19
|
<el-pagination
|
|
@@ -41,7 +37,7 @@ export default {
|
|
|
41
37
|
components: {
|
|
42
38
|
ReplyItem,
|
|
43
39
|
},
|
|
44
|
-
data: function() {
|
|
40
|
+
data: function () {
|
|
45
41
|
return {
|
|
46
42
|
showPager: false,
|
|
47
43
|
};
|
|
@@ -75,6 +71,7 @@ export default {
|
|
|
75
71
|
border-top: 1px dashed #eee;
|
|
76
72
|
}
|
|
77
73
|
.c-comment-reply {
|
|
74
|
+
flex-direction: column;
|
|
78
75
|
&:not(:last-of-type) {
|
|
79
76
|
border-bottom: 1px dashed #eee;
|
|
80
77
|
padding-bottom: 10px;
|