@zykjcommon/questions 0.0.36 → 0.0.38

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": "@zykjcommon/questions",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "main": "src/components/questions/entry.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -12,7 +12,6 @@
12
12
  "build:lib": "vue-cli-service build --target lib src/components/questions/buildEntry.js --name zykjcommon-questions"
13
13
  },
14
14
  "dependencies": {
15
- "@zykjcommon/questions": "^0.0.27",
16
15
  "alife-logger": "^1.8.30",
17
16
  "axios": "^0.26.0",
18
17
  "cookie": "^0.4.1",
@@ -28,6 +27,7 @@
28
27
  "vuex-composition-helpers": "^2.0.1"
29
28
  },
30
29
  "devDependencies": {
30
+ "@zykjcommon/questions": "^0.0.27",
31
31
  "element-plus": "^2.0.2",
32
32
  "@types/node": "^18.11.9",
33
33
  "@vue/cli-plugin-babel": "^5.0.1",
@@ -412,12 +412,19 @@ $greenItemFontSize:0.14em;
412
412
  display: flex;
413
413
  justify-content: center;
414
414
  align-items: center;
415
- line-height: 1.2em;
415
+ /*line-height: 1.2em;*/
416
416
  /*letter-spacing: 0.8px;*/
417
417
  .list-item-text{
418
418
  font-size: $greenItemFontSize;
419
419
  margin-top: 0.1em;
420
420
  display: inline-block;
421
+
422
+ word-break: break-all;
423
+ overflow: hidden;
424
+ -webkit-line-clamp: 2;
425
+ text-overflow: ellipsis;
426
+ display: -webkit-box;
427
+ -webkit-box-orient: vertical;
421
428
  }
422
429
  &:nth-child(2n+1){
423
430
  margin-left: 0.2em;
@@ -486,12 +493,19 @@ $greenItemFontSize:0.14em;
486
493
  display: flex;
487
494
  justify-content: center;
488
495
  align-items: center;
489
- line-height: 1.2em;
496
+ /*line-height: 1.2em;*/
490
497
  /*letter-spacing: 0.8px;*/
491
498
  .list-item-text{
492
499
  font-size: $greenItemFontSize;
493
500
  margin-top: 0.1em;
494
501
  display: inline-block;
502
+
503
+ word-break: break-all;
504
+ overflow: hidden;
505
+ -webkit-line-clamp: 2;
506
+ text-overflow: ellipsis;
507
+ display: -webkit-box;
508
+ -webkit-box-orient: vertical;
495
509
  }
496
510
  }
497
511
  .list-item.drag{
@@ -517,12 +531,19 @@ $greenItemFontSize:0.14em;
517
531
  display: flex;
518
532
  justify-content: center;
519
533
  align-items: center;
520
- line-height: 1.2em;
534
+ /*line-height: 1.2em;*/
521
535
  /*letter-spacing: 0.8px;*/
522
536
  .list-item-text{
523
537
  font-size: $greenItemFontSize;
524
538
  display: inline-block;
525
539
  margin-top: 0.1em;
540
+
541
+ word-break: break-all;
542
+ overflow: hidden;
543
+ -webkit-line-clamp: 2;
544
+ text-overflow: ellipsis;
545
+ display: -webkit-box;
546
+ -webkit-box-orient: vertical;
526
547
  }
527
548
  }
528
549
  }
package/src/main.ts CHANGED
@@ -179,9 +179,9 @@ import ZYKJQuestionsPlugin from "@src/components/questions/developmentEntry.js"
179
179
  // import ZYKJQuestionsPlugin from "../dist/zykjcommon-questions.umd.min"
180
180
  // import ZYKJQuestionsPlugin from "@zykjcommon/questions"
181
181
  vueInstance.use((ZYKJQuestionsPlugin as any)(store))
182
- import '@zykjcommon/questions/dist/zykjcommon-questions.css';
182
+ // import '@zykjcommon/questions/dist/zykjcommon-questions.css';
183
183
  // import '@zykjcommon/questions/src/assets/scss/questions/zykjcommon-questions.scss';
184
- // import '@src/assets/scss/questions/zykjcommon-questions.scss';
184
+ import '@src/assets/scss/questions/zykjcommon-questions.scss';
185
185
 
186
186
 
187
187
  // console.log(ZYKJQuestionsPlugin,111);