@jx3box/jx3box-common-ui 6.9.8 → 7.0.0

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.
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="410pt" height="393pt" viewBox="0 0 410 393" version="1.1" xmlns="http://www.w3.org/2000/svg">
4
+ <g id="#feef83ff">
5
+ <path fill="#feef83" opacity="1.00" d=" M 82.85 0.00 L 84.72 0.00 C 89.39 0.24 94.08 2.50 96.14 6.88 C 105.65 24.90 115.15 42.96 123.58 61.53 C 124.86 63.60 124.48 66.00 124.22 68.28 C 122.63 67.81 120.73 67.97 119.41 66.83 C 108.31 56.54 97.80 45.64 86.83 35.21 C 81.86 30.11 76.38 25.32 72.62 19.20 C 68.41 11.48 74.15 0.97 82.85 0.00 Z" />
6
+ <path fill="#feef83" opacity="1.00" d=" M 325.40 0.00 L 326.40 0.00 C 336.01 0.50 342.40 13.51 335.98 20.98 C 322.16 35.85 307.39 49.80 293.26 64.37 C 291.23 66.78 288.47 68.26 285.27 68.19 C 285.11 66.32 284.49 64.28 285.59 62.57 C 294.82 44.13 304.02 25.68 313.26 7.25 C 315.36 2.55 320.43 0.12 325.40 0.00 Z" />
7
+ <path fill="#feef83" opacity="1.00" d=" M 16.88 226.22 C 36.05 222.44 55.42 219.77 74.80 217.31 C 76.96 217.29 77.82 219.74 77.78 221.54 C 76.46 223.84 73.61 224.30 71.47 225.54 C 55.55 233.94 39.67 242.41 23.60 250.52 C 19.68 252.26 15.45 254.56 11.03 253.28 C 5.24 252.41 0.62 247.46 0.00 241.65 L 0.00 239.40 C 0.40 236.28 1.55 233.14 3.94 231.01 C 7.28 227.46 12.40 227.18 16.88 226.22 Z" />
8
+ <path fill="#feef83" opacity="1.00" d=" M 342.21 218.36 C 360.39 220.60 378.40 223.99 396.51 226.70 C 401.73 227.31 406.32 230.70 408.88 235.23 C 412.98 244.55 402.56 256.98 392.57 253.33 C 385.19 250.93 378.52 246.91 371.63 243.43 C 362.15 238.30 352.55 233.37 343.08 228.21 C 343.06 224.90 342.52 221.64 342.21 218.36 Z" />
9
+ <path fill="#feef83" opacity="1.00" d=" M 201.84 315.45 C 202.11 313.69 203.56 312.52 204.60 311.20 C 206.80 311.79 208.41 313.55 208.56 315.86 C 212.41 334.14 214.90 352.67 217.91 371.10 C 218.95 376.76 218.78 383.31 214.79 387.85 C 209.31 394.48 197.15 393.02 193.53 385.17 C 191.18 381.00 192.36 376.08 192.82 371.60 C 195.32 352.81 198.34 334.08 201.84 315.45 Z" />
10
+ </g>
11
+ <g id="#fec750ff">
12
+ <path fill="#fec750" opacity="1.00" d=" M 200.87 4.78 C 205.17 2.53 211.06 4.52 212.86 9.10 C 218.20 21.25 223.67 33.37 228.44 45.75 L 228.27 45.98 C 214.65 64.43 203.68 84.63 192.72 104.72 C 178.50 131.91 167.30 160.54 156.00 189.03 C 140.87 227.58 132.08 268.26 125.33 309.00 L 125.01 309.73 C 120.33 312.83 115.65 316.02 110.58 318.47 C 104.57 320.85 97.95 314.12 99.69 308.11 C 107.16 275.04 114.48 241.92 122.13 208.89 C 123.14 205.82 122.21 202.38 119.74 200.31 C 93.97 178.11 68.59 155.46 43.02 133.03 C 40.19 130.70 38.64 126.70 40.22 123.20 C 41.19 119.82 44.50 117.75 47.88 117.54 C 82.25 114.48 116.56 110.70 150.96 107.98 C 153.41 107.92 155.32 106.10 156.10 103.87 C 169.22 72.92 182.54 42.04 195.86 11.17 C 196.96 8.69 198.26 5.97 200.87 4.78 Z" />
13
+ </g>
14
+ <g id="#fedb64ff">
15
+ <path fill="#fedb64" opacity="1.00" d=" M 192.72 104.72 C 203.68 84.63 214.65 64.43 228.27 45.98 C 237.12 65.78 245.77 85.67 254.33 105.60 C 255.71 108.45 259.26 108.09 261.90 108.42 C 293.62 111.26 325.31 114.40 357.04 117.08 C 360.30 117.45 363.81 117.50 366.70 119.25 C 370.94 122.36 370.94 129.58 366.80 132.80 C 351.34 146.53 335.84 160.23 320.17 173.72 C 332.01 185.74 340.30 201.51 342.21 218.36 C 342.52 221.64 343.06 224.90 343.08 228.21 C 342.56 241.27 339.53 254.41 332.79 265.72 C 326.52 276.81 317.33 286.17 306.46 292.80 C 307.62 297.81 308.86 302.80 309.81 307.85 C 310.51 311.44 309.31 315.78 305.91 317.59 C 303.11 319.35 299.48 318.76 296.74 317.22 C 289.03 312.86 281.47 308.23 273.80 303.81 C 265.21 303.90 256.47 303.84 248.11 301.49 C 228.28 296.42 210.72 283.02 200.82 265.08 C 176.65 279.48 152.47 293.88 128.27 308.24 C 127.64 308.51 126.37 309.07 125.73 309.34 L 125.33 309.00 C 132.08 268.26 140.87 227.58 156.00 189.03 C 167.30 160.54 178.50 131.91 192.72 104.72 M 258.51 158.66 C 247.57 159.87 237.09 164.03 227.95 170.09 C 210.95 181.38 199.42 200.55 197.51 220.88 C 196.16 234.29 198.60 248.17 205.01 260.08 C 214.17 278.37 232.01 291.90 251.95 296.25 C 267.45 299.55 284.21 297.80 298.30 290.37 C 313.35 283.06 325.33 269.93 331.65 254.48 C 337.56 240.33 338.36 224.21 334.40 209.44 C 329.65 192.62 318.61 177.54 303.58 168.50 C 290.27 160.16 274.07 156.75 258.51 158.66 Z" />
16
+ <path fill="#fedb64" opacity="1.00" d=" M 256.46 233.13 C 270.63 218.75 284.98 204.55 299.24 190.26 C 305.64 196.66 312.09 203.00 318.41 209.48 C 297.79 230.11 277.10 250.65 256.59 271.38 C 246.19 261.46 236.23 251.09 226.00 240.99 C 222.62 237.47 218.93 234.25 215.79 230.50 C 222.29 224.37 228.28 217.71 234.92 211.72 C 242.07 218.88 249.09 226.19 256.46 233.13 Z" />
17
+ </g>
18
+ <g id="#ffffffff">
19
+ <path fill="#ffffff" opacity="1.00" d=" M 258.51 158.66 C 274.07 156.75 290.27 160.16 303.58 168.50 C 318.61 177.54 329.65 192.62 334.40 209.44 C 338.36 224.21 337.56 240.33 331.65 254.48 C 325.33 269.93 313.35 283.06 298.30 290.37 C 284.21 297.80 267.45 299.55 251.95 296.25 C 232.01 291.90 214.17 278.37 205.01 260.08 C 198.60 248.17 196.16 234.29 197.51 220.88 C 199.42 200.55 210.95 181.38 227.95 170.09 C 237.09 164.03 247.57 159.87 258.51 158.66 M 256.46 233.13 C 249.09 226.19 242.07 218.88 234.92 211.72 C 228.28 217.71 222.29 224.37 215.79 230.50 C 218.93 234.25 222.62 237.47 226.00 240.99 C 236.23 251.09 246.19 261.46 256.59 271.38 C 277.10 250.65 297.79 230.11 318.41 209.48 C 312.09 203.00 305.64 196.66 299.24 190.26 C 284.98 204.55 270.63 218.75 256.46 233.13 Z" />
20
+ </g>
21
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "6.9.8",
3
+ "version": "7.0.0",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2,7 +2,8 @@
2
2
  <div class="w-fav2" :class="{ disabled: favorite }" @click="doFav">
3
3
  <el-tooltip effect="dark" :content="favContent" placement="top-start">
4
4
  <div>
5
- <img class="u-icon" svg-inline src="../../assets/img/widget/star.svg" />
5
+ <img v-if="favorite" class="u-icon" svg-inline src="../../assets/img/widget/unstar.svg" />
6
+ <img v-else class="u-icon" svg-inline src="../../assets/img/widget/star.svg" />
6
7
  <span class="u-count" v-if="!hiddenNum && total">{{ total }}</span>
7
8
  </div>
8
9
  </el-tooltip>
@@ -24,7 +25,7 @@ export default {
24
25
  },
25
26
  computed: {
26
27
  favContent() {
27
- return this.favorite ? "取消收藏" : "收藏";
28
+ return this.favorite ? "已收藏" : "收藏";
28
29
  },
29
30
  },
30
31
  methods: {
@@ -178,7 +178,7 @@ export default {
178
178
  },
179
179
  toComment() {
180
180
  this.$refs.commentView.scrollIntoView({
181
- block: "center",
181
+ block: "start",
182
182
  behavior: "auto",
183
183
  });
184
184
  },