@jx3box/jx3box-common-ui 9.2.6 → 9.2.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": "9.2.6",
3
+ "version": "9.2.7",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/App.vue CHANGED
@@ -300,10 +300,10 @@ export default {
300
300
  };
301
301
  },
302
302
  created: function () {
303
- wiki.getById(25594).then((res) => {
304
- res = res.data;
305
- this.wikiPost = res.data;
306
- });
303
+ // wiki.getById(25594).then((res) => {
304
+ // res = res.data;
305
+ // this.wikiPost = res.data;
306
+ // });
307
307
 
308
308
  this.loadCommunity();
309
309
  },
@@ -10,7 +10,9 @@
10
10
  <div class="u-version">
11
11
  <span>{{ item.version }}</span> - <span>{{ item.created_at }}</span>
12
12
  </div>
13
- <el-button class="u-compare" size="small" type="text"><i class="el-icon-sort u-icon"></i>对比</el-button>
13
+ <el-button class="u-compare" size="small" type="text"
14
+ ><i class="el-icon-sort u-icon"></i>对比</el-button
15
+ >
14
16
  </li>
15
17
  </ul>
16
18
  <el-pagination small layout="prev, pager, next" :total="total" :current-page.sync="index" hide-on-single-page>
@@ -38,7 +40,7 @@ export default {
38
40
  return {
39
41
  loading: false,
40
42
  index: 1,
41
- pageSize: 50,
43
+ pageSize: 10, // 取最新的10个版本即可
42
44
  total: 0,
43
45
  list: [],
44
46
  show: true,
@@ -141,8 +143,8 @@ export default {
141
143
  font-size: 18px;
142
144
  .flex;
143
145
  align-items: center;
144
- gap:5px;
145
- .u-icon{
146
+ gap: 5px;
147
+ .u-icon {
146
148
  font-size: 20px;
147
149
  }
148
150
  }
@@ -151,7 +153,7 @@ export default {
151
153
  padding: 10px;
152
154
  margin: 0;
153
155
  li {
154
- padding:0 10px;
156
+ padding: 0 10px;
155
157
  .fz(13px, 36px);
156
158
  .flex;
157
159
  justify-content: space-between;
@@ -161,19 +163,19 @@ export default {
161
163
  &:hover {
162
164
  background-color: #e6f0fb;
163
165
 
164
- .u-compare{
166
+ .u-compare {
165
167
  .db;
166
168
  }
167
169
  }
168
170
  .pointer;
169
171
  }
170
172
 
171
- .u-compare{
173
+ .u-compare {
172
174
  .none;
173
175
 
174
- .u-icon{
175
- transform : rotate(90deg);
176
- margin-right:3px;
176
+ .u-icon {
177
+ transform: rotate(90deg);
178
+ margin-right: 3px;
177
179
  }
178
180
  }
179
181
  }