eoss-ui 0.6.64 → 0.6.66

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/lib/login.js CHANGED
@@ -4314,7 +4314,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4314
4314
  // ESM COMPAT FLAG
4315
4315
  __webpack_require__.r(__webpack_exports__);
4316
4316
 
4317
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=74708296&
4317
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=68c9ba89&
4318
4318
  var render = function () {
4319
4319
  var _vm = this
4320
4320
  var _h = _vm.$createElement
@@ -5341,105 +5341,112 @@ var render = function () {
5341
5341
  ),
5342
5342
  ]
5343
5343
  ),
5344
- _vm._t("footer", [
5345
- _vm.copyright && _vm.copyright.length
5346
- ? _c(
5347
- "div",
5348
- { staticClass: "es-login-icp" },
5349
- [
5350
- _vm._l(_vm.copyright, function (item) {
5351
- return [
5352
- item.url || item.open
5353
- ? _c(
5354
- "a",
5355
- {
5356
- key: item.title,
5357
- staticClass: "es-login-icp-item",
5358
- style: item.style || _vm.copyrightStyle,
5359
- attrs: {
5360
- target: item.open ? "_blank" : "_self",
5361
- href: item.url || item.open,
5362
- },
5363
- },
5364
- [
5365
- _vm._v(
5366
- "\n " +
5367
- _vm._s(item.title) +
5368
- "\n "
5369
- ),
5370
- ]
5371
- )
5372
- : _c(
5373
- "span",
5374
- {
5375
- key: item.title,
5376
- staticClass: "es-login-icp-item",
5377
- style: item.style || _vm.copyrightStyle,
5344
+ _vm._t(
5345
+ "footer",
5346
+ [
5347
+ _c(
5348
+ "div",
5349
+ { staticClass: "es-login-icp" },
5350
+ [
5351
+ _vm._l(_vm.copyright, function (item) {
5352
+ return [
5353
+ item.url || item.open
5354
+ ? _c(
5355
+ "a",
5356
+ {
5357
+ key: item.title,
5358
+ staticClass: "es-login-icp-item",
5359
+ style: Object.assign(
5360
+ {},
5361
+ { color: "#63c2ff" },
5362
+ item.style
5363
+ ),
5364
+ attrs: {
5365
+ target: item.open ? "_blank" : "_self",
5366
+ href: item.url || item.open,
5378
5367
  },
5379
- [
5380
- _vm._v(
5381
- "\n " +
5382
- _vm._s(item.title) +
5383
- "\n "
5384
- ),
5385
- ]
5386
- ),
5387
- item.children && item.children.length
5388
- ? [
5389
- _vm._l(item.children, function (child) {
5390
- return [
5391
- child.url || child.open
5392
- ? _c(
5393
- "a",
5394
- {
5395
- key: child.title,
5396
- staticClass:
5397
- "es-login-icp-child-item",
5398
- style:
5399
- child.style || _vm.copyrightStyle,
5400
- attrs: {
5401
- target: child.open
5402
- ? "_blank"
5403
- : "_self",
5404
- href: child.url || child.open,
5405
- },
5406
- },
5407
- [
5408
- _vm._v(
5409
- "\n " +
5410
- _vm._s(child.title) +
5411
- "\n "
5412
- ),
5413
- ]
5414
- )
5415
- : _c(
5416
- "span",
5417
- {
5418
- key: child.title,
5419
- staticClass:
5420
- "es-login-icp-child-item",
5421
- style:
5422
- child.style || _vm.copyrightStyle,
5423
- },
5424
- [
5425
- _vm._v(
5426
- "\n " +
5427
- _vm._s(child.title) +
5428
- "\n "
5429
- ),
5430
- ]
5431
- ),
5432
- ]
5433
- }),
5368
+ },
5369
+ [
5370
+ _vm._v(
5371
+ "\n " +
5372
+ _vm._s(item.title) +
5373
+ "\n "
5374
+ ),
5434
5375
  ]
5435
- : _vm._e(),
5436
- ]
5437
- }),
5438
- ],
5439
- 2
5440
- )
5441
- : _vm._e(),
5442
- ]),
5376
+ )
5377
+ : _c(
5378
+ "span",
5379
+ {
5380
+ key: item.title,
5381
+ staticClass: "es-login-icp-item",
5382
+ style: item.style || _vm.copyrightStyle,
5383
+ },
5384
+ [
5385
+ _vm._v(
5386
+ "\n " +
5387
+ _vm._s(item.title) +
5388
+ "\n "
5389
+ ),
5390
+ ]
5391
+ ),
5392
+ item.children && item.children.length
5393
+ ? [
5394
+ _vm._l(item.children, function (child) {
5395
+ return [
5396
+ child.url || child.open
5397
+ ? _c(
5398
+ "a",
5399
+ {
5400
+ key: child.title,
5401
+ staticClass: "es-login-icp-child-item",
5402
+ style: Object.assign(
5403
+ {},
5404
+ { color: "#63c2ff" },
5405
+ child.style
5406
+ ),
5407
+ attrs: {
5408
+ target: child.open
5409
+ ? "_blank"
5410
+ : "_self",
5411
+ href: child.url || child.open,
5412
+ },
5413
+ },
5414
+ [
5415
+ _vm._v(
5416
+ "\n " +
5417
+ _vm._s(child.title) +
5418
+ "\n "
5419
+ ),
5420
+ ]
5421
+ )
5422
+ : _c(
5423
+ "span",
5424
+ {
5425
+ key: child.title,
5426
+ staticClass: "es-login-icp-child-item",
5427
+ style:
5428
+ child.style || _vm.copyrightStyle,
5429
+ },
5430
+ [
5431
+ _vm._v(
5432
+ "\n " +
5433
+ _vm._s(child.title) +
5434
+ "\n "
5435
+ ),
5436
+ ]
5437
+ ),
5438
+ ]
5439
+ }),
5440
+ ]
5441
+ : _vm._e(),
5442
+ ]
5443
+ }),
5444
+ ],
5445
+ 2
5446
+ ),
5447
+ ],
5448
+ { copyright: _vm.copyright }
5449
+ ),
5443
5450
  _c(
5444
5451
  "es-dialog",
5445
5452
  {
@@ -5555,10 +5562,15 @@ var render = function () {
5555
5562
  ]
5556
5563
  ),
5557
5564
  ]),
5558
- _c("es-ca-login", {
5559
- ref: "calogin",
5560
- attrs: { identifyingId: _vm.identifyingId, success: _vm.caLogin },
5561
- }),
5565
+ _vm.isCaLogin
5566
+ ? _c("es-ca-login", {
5567
+ ref: "calogin",
5568
+ attrs: {
5569
+ identifyingId: _vm.identifyingId,
5570
+ success: _vm.caLogin,
5571
+ },
5572
+ })
5573
+ : _vm._e(),
5562
5574
  ],
5563
5575
  2
5564
5576
  )
@@ -5582,7 +5594,7 @@ var staticRenderFns = [
5582
5594
  render._withStripped = true
5583
5595
 
5584
5596
 
5585
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=74708296&
5597
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=68c9ba89&
5586
5598
 
5587
5599
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5588
5600
  var regenerator_ = __webpack_require__(4);
@@ -6683,6 +6695,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6683
6695
  //
6684
6696
  //
6685
6697
  //
6698
+ //
6699
+ //
6700
+ //
6701
+ //
6702
+ //
6703
+ //
6704
+ //
6686
6705
 
6687
6706
 
6688
6707
 
@@ -6866,7 +6885,9 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6866
6885
  copyrightStyle: {
6867
6886
  type: Object,
6868
6887
  default: function _default() {
6869
- return {};
6888
+ return {
6889
+ color: '#fff'
6890
+ };
6870
6891
  }
6871
6892
  },
6872
6893
  appName: String,
@@ -7020,6 +7041,9 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7020
7041
  });
7021
7042
  return icon;
7022
7043
  },
7044
+ isCaLogin: function isCaLogin() {
7045
+ return this.loginModel.indexOf('1') > -1;
7046
+ },
7023
7047
  showVerifyCode: function showVerifyCode() {
7024
7048
  return this.passModifyModel && (this.passModifyModel.indexOf('6') > -1 || this.passModifyModel.indexOf('11') > -1);
7025
7049
  },