@jx3box/jx3box-ui 2.0.35 → 2.0.37

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.
@@ -24,7 +24,7 @@
24
24
  .flex;
25
25
  align-items: center;
26
26
  justify-content: center;
27
- gap: 20px
27
+ gap: 20px;
28
28
  }
29
29
  .w-thx-copyright {
30
30
  .fz(12px,2);
@@ -40,9 +40,9 @@
40
40
  .w-boxcoin-block {
41
41
  .pointer;
42
42
 
43
- &.disabled{
44
- opacity:0.5;
45
- cursor:not-allowed;
43
+ &.disabled {
44
+ opacity: 0.5;
45
+ cursor: not-allowed;
46
46
  }
47
47
  }
48
48
  .w-boxcoin-admin {
@@ -126,12 +126,13 @@
126
126
  }
127
127
 
128
128
  .w-boxcoin-records-list {
129
-
130
129
  --el-color-primary: @primary;
131
130
 
132
131
  max-width: 960px;
133
132
  border: 1px solid #eee;
134
133
  margin: 0 auto;
134
+ border-radius: 6px;
135
+ overflow: hidden;
135
136
 
136
137
  .u-list {
137
138
  list-style: none;
@@ -177,58 +178,59 @@
177
178
  .nobreak;
178
179
  .flex;
179
180
  align-items: center;
180
- &:hover {
181
+ &[href]:hover {
181
182
  text-decoration: underline;
182
183
  }
183
184
  .mr(20px);
184
- }
185
- .u-default {
186
- &:hover{
187
- text-decoration: none;
185
+
186
+ &.u-default {
187
+ color: @color;
188
+ &:hover {
189
+ text-decoration: none;
190
+ }
191
+ }
192
+ .u-user-avatar {
193
+ .y;
194
+ .size(24px);
195
+ .mr(5px);
196
+ .r(2px);
188
197
  }
189
- }
190
- .u-user-avatar {
191
- .y;
192
- .size(24px);
193
- .mr(5px);
194
- .r(2px);
195
198
  }
196
199
  .u-count {
197
200
  .w(120px);
198
201
  }
199
202
  .u-head {
200
203
  background-color: @bg-light;
204
+ color: @v4text;
201
205
  }
202
206
  .u-body {
203
207
  .u-count {
204
- color: #fe7e91;
208
+ color: #fd76a7;
205
209
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
206
210
  }
207
- }
208
- .u-remark {
209
- .nobreak;
210
- .w(280px);
211
- color:@color;
212
- }
213
- .u-time {
214
- color: #999;
215
- }
216
- .u-delete {
217
- .ml(20px);
218
- color: #c00;
219
- i {
220
- .mr(3px);
211
+ .u-time {
212
+ color: @v4tip;
221
213
  }
222
- .pointer;
223
- &:hover {
224
- color: #f00;
214
+ .u-remark {
215
+ .nobreak;
216
+ .w(280px);
217
+ color: @color;
218
+ }
219
+ .u-delete {
220
+ .ml(20px);
221
+ color: #c00;
222
+ i {
223
+ .mr(3px);
224
+ }
225
+ .pointer;
226
+ &:hover {
227
+ color: #f00;
228
+ }
229
+ }
230
+ .u-client {
231
+ color: @v4focus;
225
232
  }
226
233
  }
227
- .u-client {
228
- margin-left: 5px;
229
- color: #09f;
230
- }
231
-
232
234
  }
233
235
  .w-boxcoin-records-pages {
234
236
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.0.35",
3
+ "version": "2.0.37",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -55,7 +55,8 @@ export default {
55
55
  },
56
56
  methods: {
57
57
  showAvatar: function (val) {
58
- return showAvatar(val, this.styles[this.size] * 3);
58
+ const size = typeof this.size === "number" ? this.size : this.styles[this.size];
59
+ return showAvatar(val, size);
59
60
  },
60
61
  authorLink,
61
62
  },
@@ -41,9 +41,9 @@
41
41
  </span>
42
42
  <span class="u-meta u-remark">{{ item.remark }}</span>
43
43
  <time class="u-meta u-time">{{ showTime(item.created_at) }}</time>
44
- <span class="u-client" v-if="isSuperAdmin">{{ item.client }}</span>
45
44
  <span class="u-delete" v-if="isSuperAdmin" @click="recovery(item, i)">
46
45
  <i class="Delete"></i>{{ $jx3boxT("jx3boxUi.boxcoinRecords.revoke", "撤销") }}
46
+ (<span class="u-client">{{ item.client }}</span>)
47
47
  </span>
48
48
  </li>
49
49
  </ul>