@jx3box/jx3box-common-ui 7.0.7 → 7.0.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "7.0.7",
3
+ "version": "7.0.9",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "@jx3box/jx3box-comment-ui": "^1.7.8",
34
- "@jx3box/jx3box-common": "^7.7.4",
34
+ "@jx3box/jx3box-common": "^7.7.6",
35
35
  "@jx3box/jx3box-data": "^3.0.4",
36
36
  "@jx3box/jx3box-editor": "^1.7.5",
37
37
  "axios": "^0.26.1",
@@ -58,6 +58,12 @@ export default {
58
58
  },
59
59
  actions() {
60
60
  return [
61
+ {
62
+ label: "发送私信",
63
+ action: () => {
64
+ window.open("/dashboard/letter?receiver=" + this.uid);
65
+ },
66
+ },
61
67
  {
62
68
  label: "取消关注",
63
69
  action: () => {
@@ -147,13 +153,13 @@ export default {
147
153
 
148
154
  <style lang="less">
149
155
  .c-author-follow {
150
- .u-btn {
156
+ .u-btn.el-button {
151
157
  cursor: default;
152
158
  &:hover {
153
159
  cursor: pointer;
154
- background-color: @light-pink;
155
- color: #fff;
156
- border-color: darken(@light-pink, 2%);
160
+ background-color: @light-pink ;
161
+ color: #fff ;
162
+ border-color: darken(@light-pink, 2%) ;
157
163
  }
158
164
  }
159
165