@jx3box/jx3box-common-ui 6.1.6 → 6.1.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "6.1.6",
3
+ "version": "6.1.7",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -33,7 +33,7 @@
33
33
  "@jx3box/jx3box-comment-ui": "^1.7.1",
34
34
  "@jx3box/jx3box-common": "^7.4.2",
35
35
  "@jx3box/jx3box-data": "^1.11.1",
36
- "@jx3box/jx3box-editor": "^1.4.8",
36
+ "@jx3box/jx3box-editor": "^1.4.9",
37
37
  "axios": "^0.26.1",
38
38
  "dayjs": "^1.11.0",
39
39
  "element-ui": "^2.13.2",
@@ -14,13 +14,19 @@
14
14
  {{ btnText }}
15
15
  <!-- <span class="u-follow-count">{{ formatFansNum(fansNum) }} </span> -->
16
16
  </el-button>
17
- <el-popover v-else placement="bottom" trigger="hover" popper-class="u-follow-popover" :visible-arrow="false">
17
+ <el-popover
18
+ v-else
19
+ placement="bottom"
20
+ trigger="hover"
21
+ popper-class="c-author-follow-popover"
22
+ :visible-arrow="false"
23
+ >
18
24
  <div class="u-action-list">
19
25
  <div class="u-action-item" v-for="item in actions" :key="item.label" @click.stop="item.action">
20
26
  {{ item.label }}
21
27
  </div>
22
28
  </div>
23
- <el-button class="u-unfollow-btn" size="mini" :type="btnType" slot="reference"
29
+ <el-button class="u-btn" size="mini" :type="btnType" slot="reference"
24
30
  >{{ btnText }}
25
31
  <!-- TODO:后续在粉丝榜中展示粉丝数 -->
26
32
  <!-- <span class="u-follow-count">{{ formatFansNum(fansNum) }}</span> -->
@@ -146,39 +152,33 @@ export default {
146
152
  };
147
153
  </script>
148
154
 
149
- <style scoped lang="less">
150
- .c-author-follow{
151
- // .u-btn{
152
- // background-color: #31dee6;
153
- // border-color:lighten(#31dee6,5%);
154
- // color: #fff;
155
- // }
156
- }
157
-
158
- .u-unfollow-btn {
159
- &.el-button {
160
- margin-right: 10px;
161
- }
162
- }
163
- .u-follow-popover {
164
- &.el-popover {
165
- min-width: 100px;
166
- padding: 0;
167
- margin: 0;
168
- .u-action-list {
169
- .u-action-item {
170
- text-align: center;
171
- cursor: pointer;
172
- padding: 8px 10px;
173
- &:hover {
174
- background: rgb(248, 248, 251);
155
+ <style lang="less">
156
+ .c-author-follow-popover {
157
+ .u-follow-popover {
158
+ &.el-popover {
159
+ min-width: 100px;
160
+ padding: 0;
161
+ margin: 0;
162
+ .u-action-list {
163
+ .u-action-item {
164
+ text-align: center;
165
+ cursor: pointer;
166
+ padding: 8px 10px;
167
+ &:hover {
168
+ background: rgb(248, 248, 251);
169
+ }
175
170
  }
176
171
  }
177
172
  }
178
173
  }
179
- }
180
- .u-follow-count {
181
- margin-left: 5px;
174
+ .u-follow-count {
175
+ margin-left: 5px;
176
+ }
182
177
  }
183
178
 
179
+ @media screen and (max-width: @phone) {
180
+ .el-message-box {
181
+ max-width: 60%;
182
+ }
183
+ }
184
184
  </style>
@@ -129,10 +129,7 @@ export default {
129
129
  } else if (this.client == "std") {
130
130
  this.user_left = res.data.data.asUserBoxCoinRemainStd + res.data.data.asUserBoxCoinRemainAll;
131
131
  } else {
132
- this.user_left =
133
- res.data.data.asUserBoxCoinRemainAll +
134
- res.data.data.asUserBoxCoinRemainStd +
135
- res.data.data.asUserBoxCoinRemainOrigin;
132
+ this.user_left = res.data.data.asUserBoxCoinRemainAll
136
133
  }
137
134
  });
138
135
  getBoxcoinStatus().then((res) => {