eoss-ui 0.6.20 → 0.6.21
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/eoss-ui.common.js +362 -355
- package/lib/flow.js +118 -118
- package/lib/form.js +3 -3
- package/lib/index.js +1 -1
- package/lib/login.js +2 -3
- package/lib/main.js +210 -202
- package/lib/qr-code.js +13 -13
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/package.json +157 -157
- package/packages/.DS_Store +0 -0
- package/packages/button/src/main.vue +418 -418
- package/packages/button-group/src/main.vue +298 -298
- package/packages/checkbox-group/.DS_Store +0 -0
- package/packages/checkbox-group/src/main.vue +333 -333
- package/packages/clients/src/main.vue +144 -144
- package/packages/data-table/.DS_Store +0 -0
- package/packages/data-table/src/children.vue +39 -39
- package/packages/data-table/src/column.vue +983 -983
- package/packages/data-table/src/main.vue +1812 -1812
- package/packages/data-table/src/sizer.vue +195 -195
- package/packages/date-picker/src/main.vue +236 -236
- package/packages/dialog/.DS_Store +0 -0
- package/packages/flow/src/main.vue +2731 -2731
- package/packages/flow-group/src/main.vue +684 -684
- package/packages/form/src/main.vue +3582 -3582
- package/packages/form/src/table.vue +1420 -1420
- package/packages/handle-user/src/main.vue +134 -134
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +374 -374
- package/packages/icon/src/main.vue +101 -101
- package/packages/input/src/main.vue +356 -356
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +1850 -1851
- package/packages/login/src/resetPassword.vue +557 -557
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/message.vue +249 -249
- package/packages/main/src/default/notice.vue +157 -157
- package/packages/main/src/default/userinfo.vue +494 -494
- package/packages/main/src/main.vue +65 -57
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +454 -454
- package/packages/main/src/public/settings.vue +221 -221
- package/packages/main/src/simplicity/apps.vue +388 -388
- package/packages/main/src/simplicity/avatar.vue +82 -82
- package/packages/main/src/simplicity/handler.vue +183 -183
- package/packages/main/src/simplicity/index.vue +1931 -1930
- package/packages/main/src/simplicity/lists.vue +84 -84
- package/packages/main/src/simplicity/menu-list.vue +128 -128
- package/packages/main/src/simplicity/message.vue +259 -259
- package/packages/main/src/simplicity/notice.vue +190 -190
- package/packages/main/src/simplicity/router-page.vue +45 -45
- package/packages/main/src/simplicity/sub-menu.vue +241 -241
- package/packages/main/src/simplicity/user.vue +248 -248
- package/packages/main/src/simplicity/userinfo.vue +304 -304
- package/packages/menu/src/main.vue +536 -536
- package/packages/pagination/src/main.vue +96 -96
- package/packages/qr-code/src/main.vue +170 -170
- package/packages/radio-group/src/main.vue +319 -319
- package/packages/select/src/main.vue +761 -761
- package/packages/selector/src/main.vue +677 -677
- package/packages/selector-panel/src/main.vue +1020 -1020
- package/packages/selector-panel/src/selection.vue +160 -160
- package/packages/tabs/src/main.vue +788 -788
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/lib/selector.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/base.scss +260 -260
- package/packages/theme-chalk/src/button-group.scss +175 -175
- package/packages/theme-chalk/src/calendar.scss +113 -113
- package/packages/theme-chalk/src/clients.scss +87 -87
- package/packages/theme-chalk/src/common/var.scss +4 -1
- package/packages/theme-chalk/src/data-table.scss +276 -276
- package/packages/theme-chalk/src/dialog.scss +77 -77
- package/packages/theme-chalk/src/flow-group.scss +110 -110
- package/packages/theme-chalk/src/form.scss +496 -496
- package/packages/theme-chalk/src/handler.scss +133 -133
- package/packages/theme-chalk/src/icon.scss +1745 -1745
- package/packages/theme-chalk/src/icons.scss +99 -99
- package/packages/theme-chalk/src/login.scss +926 -917
- package/packages/theme-chalk/src/main.scss +632 -632
- package/packages/theme-chalk/src/menu.scss +222 -222
- package/packages/theme-chalk/src/nav.scss +125 -125
- package/packages/theme-chalk/src/pagination.scss +29 -29
- package/packages/theme-chalk/src/selector-panel.scss +204 -204
- package/packages/theme-chalk/src/selector.scss +1 -1
- package/packages/theme-chalk/src/simplicity.scss +1246 -1246
- package/packages/theme-chalk/src/tabs.scss +87 -87
- package/packages/theme-chalk/src/toolbar.scss +179 -179
- package/packages/theme-chalk/src/tree-group.scss +72 -72
- package/packages/theme-chalk/src/tree.scss +165 -165
- package/packages/upload/src/main.vue +1313 -1313
- package/packages/wujie/src/main.vue +145 -145
- package/src/.DS_Store +0 -0
- package/src/config/api.js +236 -236
- package/src/config/image.js +2 -2
- package/src/index.js +157 -157
package/lib/qr-code.js
CHANGED
|
@@ -3965,19 +3965,19 @@ var QRCode = __webpack_require__(26);
|
|
|
3965
3965
|
//设置logo大小
|
|
3966
3966
|
var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
|
|
3967
3967
|
//设置获取的logo将其变为圆角以及添加白色背景
|
|
3968
|
-
/* ctx.fillStyle = "#fff";
|
|
3969
|
-
ctx.beginPath();
|
|
3970
|
-
let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
|
|
3971
|
-
let w = 46; //圆角宽
|
|
3972
|
-
let x = logoPosition - 5;
|
|
3973
|
-
let y = logoPosition - 5;
|
|
3974
|
-
let r = 5; //圆角半径
|
|
3975
|
-
ctx.moveTo(x + r, y);
|
|
3976
|
-
ctx.arcTo(x + w, y, x + w, y + h, r);
|
|
3977
|
-
ctx.arcTo(x + w, y + h, x, y + h, r);
|
|
3978
|
-
ctx.arcTo(x, y + h, x, y, r);
|
|
3979
|
-
ctx.arcTo(x, y, x + w, y, r);
|
|
3980
|
-
ctx.closePath();
|
|
3968
|
+
/* ctx.fillStyle = "#fff";
|
|
3969
|
+
ctx.beginPath();
|
|
3970
|
+
let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
|
|
3971
|
+
let w = 46; //圆角宽
|
|
3972
|
+
let x = logoPosition - 5;
|
|
3973
|
+
let y = logoPosition - 5;
|
|
3974
|
+
let r = 5; //圆角半径
|
|
3975
|
+
ctx.moveTo(x + r, y);
|
|
3976
|
+
ctx.arcTo(x + w, y, x + w, y + h, r);
|
|
3977
|
+
ctx.arcTo(x + w, y + h, x, y + h, r);
|
|
3978
|
+
ctx.arcTo(x, y + h, x, y, r);
|
|
3979
|
+
ctx.arcTo(x, y, x + w, y, r);
|
|
3980
|
+
ctx.closePath();
|
|
3981
3981
|
ctx.fill(); */
|
|
3982
3982
|
logo.onload = function () {
|
|
3983
3983
|
ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
|