@jx3box/jx3box-common-ui 5.6.2 → 5.6.5

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": "5.6.2",
3
+ "version": "5.6.5",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -83,7 +83,7 @@ export default {
83
83
  }
84
84
  },
85
85
  showAvatar: function(val) {
86
- return showAvatar(val, this.size);
86
+ return showAvatar(val, this.size*3);
87
87
  },
88
88
  authorLink,
89
89
  },
@@ -15,8 +15,8 @@
15
15
  <script>
16
16
  const clients = {
17
17
  all: "全部版本",
18
- std: "正式服",
19
- origin: "怀旧服",
18
+ std: "重制",
19
+ origin: "缘起",
20
20
  };
21
21
  export default {
22
22
  name: "clientBy",
@@ -17,13 +17,13 @@ export default {
17
17
  clientThink: false,
18
18
  clients: [
19
19
  {
20
- name: "正式服",
20
+ name: "重制",
21
21
  client: "std",
22
22
  from : 'origin.jx3box.com',
23
23
  to : 'www.jx3box.com'
24
24
  },
25
25
  {
26
- name: "怀旧服",
26
+ name: "缘起",
27
27
  client: "origin",
28
28
  to : 'origin.jx3box.com',
29
29
  from : 'www.jx3box.com'
@@ -66,4 +66,4 @@ export default {
66
66
  </script>
67
67
 
68
68
  <style scoped lang="less">
69
- </style>
69
+ </style>
@@ -29,7 +29,7 @@
29
29
  <img class="u-user-avatar" :src="showAvatar(item.ext_operate_user_info.avatar)" alt />
30
30
  <span>{{item.ext_operate_user_info.display_name}}</span>
31
31
  </a>
32
- <a
32
+ <a
33
33
  class="u-meta u-user"
34
34
  :href="authorLink(item.user_id)"
35
35
  target="_blank"
@@ -141,7 +141,7 @@ export default {
141
141
  });
142
142
  this.list.splice(i,1)
143
143
  })
144
-
144
+
145
145
  }
146
146
  },
147
147
  });
@@ -149,8 +149,8 @@ export default {
149
149
  authorLink,
150
150
  showTime,
151
151
  showAvatar: function (val) {
152
- return showAvatar(val, 24);
152
+ return showAvatar(val, 72);
153
153
  },
154
154
  },
155
155
  };
156
- </script>
156
+ </script>
@@ -104,7 +104,7 @@ export default {
104
104
  });
105
105
  },
106
106
  showAvatar: function (val) {
107
- return showAvatar(val, 48);
107
+ return showAvatar(val, 144);
108
108
  },
109
109
  authorLink,
110
110
  formatLabel : function (str){
@@ -211,4 +211,4 @@ export default {
211
211
  .none;
212
212
  }
213
213
  }
214
- </style>
214
+ </style>
@@ -69,11 +69,10 @@
69
69
  </template>
70
70
 
71
71
  <script>
72
- import { __Root } from "@jx3box/jx3box-common/data/jx3box.json";
72
+ import { __Root,__clients } from "@jx3box/jx3box-common/data/jx3box.json";
73
73
  import { showDate, showTime } from "@jx3box/jx3box-common/js/moment";
74
74
  import { editLink, authorLink } from "@jx3box/jx3box-common/js/utils.js";
75
75
  import User from "@jx3box/jx3box-common/js/user.js";
76
- import client_map from "../../assets/data/clients.json";
77
76
  export default {
78
77
  name: "single-header",
79
78
  props: ["post", "stat"],
@@ -123,7 +122,7 @@ export default {
123
122
  },
124
123
  methods: {
125
124
  showClientLabel: function(val) {
126
- return client_map[val];
125
+ return __clients[val];
127
126
  },
128
127
  },
129
128
  mounted: function() {},
@@ -134,7 +133,7 @@ export default {
134
133
  .m-single-header {
135
134
  padding-top: 20px;
136
135
  padding-bottom: 20px;
137
- padding-right: 280px;
136
+ // padding-right: 280px;
138
137
  .pr;
139
138
  .u-sub-block {
140
139
  .dbi;
@@ -1,5 +0,0 @@
1
- {
2
- "std": "正式服",
3
- "origin": "怀旧服",
4
- "all": "双端"
5
- }