bri-components 1.5.14 → 1.5.16
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/README.md +83 -83
- package/lib/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/10.bri-components.min.js +1 -1
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/4.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/7.bri-components.min.js +1 -1
- package/lib/8.bri-components.min.js +1 -1
- package/lib/9.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +4 -4
- package/lib/styles/bundle.css +12 -12
- package/lib/styles/font/fontello.svg +31 -31
- package/package.json +125 -125
- package/src/components/Error/Error403.vue +42 -42
- package/src/components/Error/Error404.vue +40 -40
- package/src/components/Error/Error500.vue +51 -51
- package/src/components/Error/error.less +162 -162
- package/src/components/Error/errorBack.vue +40 -40
- package/src/components/controls/DshControlInput.vue +195 -195
- package/src/components/controls/base/BriUpload/BriUpload.vue +434 -434
- package/src/components/controls/base/BriUpload/BriUploadImage.vue +377 -377
- package/src/components/controls/base/BriUpload/uploadList.vue +727 -727
- package/src/components/controls/base/BriUpload/uploadMixin.js +446 -446
- package/src/components/controls/base/DshCascader/DshCascader.vue +215 -215
- package/src/components/controls/base/DshCascader/components/cascaderModal.vue +366 -366
- package/src/components/controls/base/DshCascader/components/cascaderPicker.vue +416 -416
- package/src/components/controls/base/DshCascader/components/cascaderSimple.vue +141 -141
- package/src/components/controls/base/DshCascader/components/cascaderTree.vue +151 -151
- package/src/components/controls/base/DshCoordinates.vue +577 -577
- package/src/components/controls/base/DshDate/DshDate.vue +191 -191
- package/src/components/controls/base/DshDate/DshDaterange.vue +186 -186
- package/src/components/controls/base/DshDivider.vue +201 -201
- package/src/components/controls/base/DshEditor.vue +274 -274
- package/src/components/controls/base/DshInput/BriInputs.vue +166 -166
- package/src/components/controls/base/DshInput/DshInput.vue +260 -260
- package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +435 -435
- package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -34
- package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -14
- package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -322
- package/src/components/controls/base/DshNumber/DshNumber.vue +143 -143
- package/src/components/controls/base/DshNumber/DshNumberange.vue +109 -109
- package/src/components/controls/base/DshSelect/DshCheckbox.vue +168 -168
- package/src/components/controls/base/DshSelect/DshSelect.vue +180 -180
- package/src/components/controls/base/DshSwitch/DshSwitch.vue +115 -115
- package/src/components/controls/control.less +324 -324
- package/src/components/controls/controlMap.js +114 -114
- package/src/components/controls/extra/DshColor.vue +81 -81
- package/src/components/controls/extra/DshThemeColor.vue +100 -100
- package/src/components/controls/extra/DshThemeIcon.vue +122 -122
- package/src/components/controls/mixins/cascaderMixin.js +325 -325
- package/src/components/controls/mixins/cascaderPickerMixin.js +227 -227
- package/src/components/controls/mixins/cascaderTableMixin.js +130 -130
- package/src/components/controls/mixins/controlMixin.js +393 -393
- package/src/components/controls/mixins/dateMixin.js +149 -149
- package/src/components/controls/mixins/flatTableMixin.js +111 -111
- package/src/components/controls/mixins/numberMixin.js +112 -112
- package/src/components/controls/mixins/selectMixin.js +233 -233
- package/src/components/controls/mixins/switchMixin.js +87 -87
- package/src/components/controls/mixins/userAndDepartMixin.js +260 -260
- package/src/components/controls/senior/DshLabels.vue +333 -333
- package/src/components/controls/senior/DshPackage.vue +57 -57
- package/src/components/controls/senior/cascaderTable.vue +213 -213
- package/src/components/controls/senior/flatTable.vue +138 -138
- package/src/components/controls/senior/selectDepartments.vue +399 -399
- package/src/components/controls/senior/selectUsers/departMenu.vue +293 -293
- package/src/components/controls/senior/selectUsers/selectUsers.vue +712 -712
- package/src/components/controls/special/DshBack.vue +42 -42
- package/src/components/controls/special/DshUndeveloped.vue +41 -41
- package/src/components/form/DshAdvSearch.vue +510 -510
- package/src/components/form/DshDefaultSearch.vue +260 -260
- package/src/components/form/DshForm.vue +494 -494
- package/src/components/form/searchMixin.js +376 -376
- package/src/components/list/BriCard.vue +95 -95
- package/src/components/list/BriTable.vue +205 -205
- package/src/components/list/BriTree.vue +529 -529
- package/src/components/list/BriTreeItem.vue +163 -163
- package/src/components/list/DshBox/DshBox.vue +219 -219
- package/src/components/list/DshBox/DshCard.vue +446 -446
- package/src/components/list/DshBox/DshCrossTable.vue +827 -827
- package/src/components/list/DshBox/DshList.vue +404 -404
- package/src/components/list/DshBox/DshPanel.vue +669 -669
- package/src/components/list/DshBox/DshSingleData.vue +119 -119
- package/src/components/list/DshBox/DshTable.vue +239 -239
- package/src/components/list/DshCascaderTable.vue +115 -115
- package/src/components/list/DshFlatTable.vue +337 -337
- package/src/components/list/DshPage.vue +194 -194
- package/src/components/list/DshTreeTable.vue +113 -113
- package/src/components/list/common/importModal.vue +243 -243
- package/src/components/list/common/quoteListModal.vue +206 -206
- package/src/components/list/mixins/DshCascaderTableMixin.js +278 -278
- package/src/components/list/mixins/DshFlatTableMixin.js +509 -509
- package/src/components/list/mixins/DshTreeTableMixin.js +286 -286
- package/src/components/list/mixins/tableBaseMixin.js +1653 -1653
- package/src/components/list/mixins/treeTableBaseMixin.js +145 -145
- package/src/components/other/BriAvatar.vue +166 -166
- package/src/components/other/BriCode.vue +125 -125
- package/src/components/other/BriCollapseTree.vue +207 -207
- package/src/components/other/BriGantt.vue +1087 -1087
- package/src/components/other/BriIframe.vue +116 -116
- package/src/components/other/BriLoading.vue +171 -171
- package/src/components/other/BriSvg.vue +27 -27
- package/src/components/other/DshColorPanel.vue +128 -128
- package/src/components/other/DshMenuNav.vue +188 -188
- package/src/components/small/BriButton.vue +71 -71
- package/src/components/small/BriDrawer.vue +169 -169
- package/src/components/small/BriTooltip.vue +87 -87
- package/src/components/small/DshBtnModal.vue +68 -68
- package/src/components/small/DshButtons.vue +324 -324
- package/src/components/small/DshDropdown.vue +225 -225
- package/src/components/small/DshIcons.vue +59 -59
- package/src/components/small/DshListRender.js +21 -21
- package/src/components/small/DshModal.vue +160 -160
- package/src/components/small/DshSteps.vue +141 -141
- package/src/components/small/DshTabs.vue +598 -598
- package/src/components/small/DshTabsSet.vue +309 -309
- package/src/components/small/DshTags.vue +251 -251
- package/src/components/small/DshTitle.vue +50 -50
- package/src/components/small/render.js +20 -20
- package/src/components/unit/DshFormUnit.vue +398 -398
- package/src/components/unit/DshListUnit.vue +115 -115
- package/src/components/unit/unitMixin.js +86 -86
- package/src/data/index.js +4 -4
- package/src/index.js +282 -282
- package/src/styles/bundle.css +12 -12
- package/src/styles/components/BriButton.less +307 -307
- package/src/styles/components/BriTable.less +344 -344
- package/src/styles/components/DshModal.less +257 -257
- package/src/styles/components/index.less +3 -3
- package/src/styles/global/animate.less +11 -11
- package/src/styles/global/base.less +45 -45
- package/src/styles/global/box.less +186 -186
- package/src/styles/global/control.less +122 -122
- package/src/styles/global/flex.less +282 -282
- package/src/styles/global/global.less +8 -8
- package/src/styles/global/text.less +59 -59
- package/src/styles/global/variables.less +85 -85
- package/src/styles/iconfont/iconfont.css +254 -254
- package/src/styles/iconfont/iconfont.json +422 -422
- package/src/styles/iconfont/iconfont.svg +137 -137
- package/src/styles/index.less +26 -26
- package/src/styles/reset-easytable.less +21 -21
- package/src/styles/reset-iview-controls.less +145 -145
- package/src/styles/reset-iview-other.less +49 -49
- package/src/styles/reset-iview-variables.less +43 -43
- package/src/styles/reset.less +45 -45
- package/src/utils/index.js +5 -5
- package/src/utils/table.js +175 -175
- package/lib/11.bri-components.min.js +0 -1
package/lib/styles/bundle.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@import "codemirror/lib/codemirror.css";
|
|
2
|
-
@import "codemirror/theme/cobalt.css";
|
|
3
|
-
@import "codemirror/theme/base16-light.css";
|
|
4
|
-
@import "codemirror/addon/hint/show-hint.css";
|
|
5
|
-
@import "codemirror/addon/fold/foldgutter.css";
|
|
6
|
-
@import "codemirror/addon/lint/lint.css";
|
|
7
|
-
@import "codemirror/theme/base16-light.css";
|
|
8
|
-
|
|
9
|
-
@import "viewerjs/dist/viewer.min.css";
|
|
10
|
-
|
|
11
|
-
@import "cropperjs/dist/cropper.css";
|
|
12
|
-
|
|
1
|
+
@import "codemirror/lib/codemirror.css";
|
|
2
|
+
@import "codemirror/theme/cobalt.css";
|
|
3
|
+
@import "codemirror/theme/base16-light.css";
|
|
4
|
+
@import "codemirror/addon/hint/show-hint.css";
|
|
5
|
+
@import "codemirror/addon/fold/foldgutter.css";
|
|
6
|
+
@import "codemirror/addon/lint/lint.css";
|
|
7
|
+
@import "codemirror/theme/base16-light.css";
|
|
8
|
+
|
|
9
|
+
@import "viewerjs/dist/viewer.min.css";
|
|
10
|
+
|
|
11
|
+
@import "cropperjs/dist/cropper.css";
|
|
12
|
+
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg xmlns="http://www.w3.org/2000/svg">
|
|
4
|
-
<metadata>Copyright (C) 2018 by original authors @ fontello.com</metadata>
|
|
5
|
-
<defs>
|
|
6
|
-
<font id="fontello" horiz-adv-x="1000" >
|
|
7
|
-
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
|
8
|
-
<missing-glyph horiz-adv-x="1000" />
|
|
9
|
-
<glyph glyph-name="down-dir" unicode="" d="M571 457q0-14-10-25l-250-250q-11-11-25-11t-25 11l-250 250q-11 11-11 25t11 25 25 11h500q14 0 25-11t10-25z" horiz-adv-x="571.4" />
|
|
10
|
-
|
|
11
|
-
<glyph glyph-name="up-dir" unicode="" d="M571 171q0-14-10-25t-25-10h-500q-15 0-25 10t-11 25 11 26l250 250q10 10 25 10t25-10l250-250q10-11 10-26z" horiz-adv-x="571.4" />
|
|
12
|
-
|
|
13
|
-
<glyph glyph-name="cancel" unicode="" d="M452 194q18-18 18-43t-18-43q-18-16-43-16t-43 16l-132 152-132-152q-18-16-43-16t-43 16q-16 18-16 43t16 43l138 156-138 158q-16 18-16 43t16 43q18 16 43 16t43-16l132-152 132 152q18 16 43 16t43-16q18-18 18-43t-18-43l-138-158z" horiz-adv-x="470" />
|
|
14
|
-
|
|
15
|
-
<glyph glyph-name="spin3" unicode="" d="M494 850c-266 0-483-210-494-472-1-19 13-20 13-20l84 0c16 0 19 10 19 18 10 199 176 358 378 358 107 0 205-45 273-118l-58-57c-11-12-11-27 5-31l247-50c21-5 46 11 37 44l-58 227c-2 9-16 22-29 13l-65-60c-89 91-214 148-352 148z m409-508c-16 0-19-10-19-18-10-199-176-358-377-358-108 0-205 45-274 118l59 57c10 12 10 27-5 31l-248 50c-21 5-46-11-37-44l58-227c2-9 16-22 30-13l64 60c89-91 214-148 353-148 265 0 482 210 493 473 1 18-13 19-13 19l-84 0z" horiz-adv-x="1000" />
|
|
16
|
-
|
|
17
|
-
<glyph glyph-name="spin4" unicode="" d="M498 850c-114 0-228-39-320-116l0 0c173 140 428 130 588-31 134-134 164-332 89-495-10-29-5-50 12-68 21-20 61-23 84 0 3 3 12 15 15 24 71 180 33 393-112 539-99 98-228 147-356 147z m-409-274c-14 0-29-5-39-16-3-3-13-15-15-24-71-180-34-393 112-539 185-185 479-195 676-31l0 0c-173-140-428-130-589 31-134 134-163 333-89 495 11 29 6 50-12 68-11 11-27 17-44 16z" horiz-adv-x="1001" />
|
|
18
|
-
|
|
19
|
-
<glyph glyph-name="spin5" unicode="" d="M462 850c-6 0-11-5-11-11l0-183 0 0c0-6 5-11 11-11l69 0c1 0 1 0 1 0 7 0 12 5 12 11l0 183 0 0c0 6-5 11-12 11l-69 0c0 0 0 0-1 0z m250-47c-4 1-8-2-10-5l-91-158 0 0c-4-6-2-13 4-16l60-34c0-1 0-1 0-1 6-3 13-1 16 4l91 158c3 6 2 13-4 16l-61 35c-1 1-3 1-5 1z m-428-2c-2 0-4-1-6-2l-61-35c-5-3-7-10-4-16l91-157c0 0 0 0 0 0 3-6 10-8 16-5l61 35c5 4 7 11 4 16l-91 157c0 1 0 1 0 1-2 4-6 6-10 6z m620-163c-2 0-4 0-6-1l-157-91c0 0 0 0 0 0-6-3-8-10-5-16l35-61c4-5 11-7 16-4l157 91c1 0 1 0 1 0 6 3 7 11 4 16l-35 61c-2 4-6 6-10 5z m-810-4c-5 0-9-2-11-6l-35-61c-3-5-1-12 4-15l158-91 0 0c6-4 13-2 16 4l35 60c0 0 0 0 0 0 3 6 1 13-4 16l-158 91c-2 1-4 2-5 2z m712-235l0 0c-6 0-11-5-11-11l0-69c0-1 0-1 0-1 0-7 5-12 11-12l183 0 0 0c6 0 11 5 11 12l0 69c0 0 0 0 0 1 0 6-5 11-11 11l-183 0z m-794-5l0 0c-7 0-12-5-12-12l0-69c0 0 0 0 0-1 0-6 5-11 12-11l182 0 0 0c6 0 11 5 11 11l0 69c0 1 0 1 0 1 0 7-5 12-11 12l-182 0z m772-153c-4 0-8-2-10-6l-34-60c-1 0-1 0-1 0-3-6-1-13 4-16l158-91c6-3 13-1 16 4l35 61c3 5 1 12-4 15l-158 92 0 0c-2 1-4 1-6 1z m-566-5c-1 0-3 0-5-1l-157-91c0 0-1 0-1 0-5-3-7-10-4-16l35-61c3-5 10-7 16-4l157 91c0 0 0 0 0 0 6 3 8 10 5 16l-35 61c-3 3-7 6-11 5z m468-121c-2 0-4 0-6-1l-61-35c-5-4-7-11-4-16l91-157c0-1 0-1 0-1 3-6 11-7 16-4l61 35c5 3 7 10 4 16l-91 157c0 0 0 0 0 0-2 4-6 6-10 6z m-367-2c-4 0-8-2-10-6l-91-158c-3-6-1-13 4-16l61-35c5-3 12-1 15 4l92 158 0 0c3 6 1 13-5 16l-60 35c0 0 0 0 0 0-2 1-4 1-6 2z m149-58c-7 0-12-5-12-11l0-183 0 0c0-6 5-11 12-11l69 0c0 0 0 0 1 0 6 0 11 5 11 11l0 183 0 0c0 6-5 11-11 11l-69 0c-1 0-1 0-1 0z" horiz-adv-x="1000" />
|
|
20
|
-
|
|
21
|
-
<glyph glyph-name="filter" unicode="" d="M783 685q9-22-8-39l-275-275v-414q0-23-22-33-7-3-14-3-15 0-25 11l-143 143q-10 11-10 25v271l-275 275q-18 17-8 39 9 22 33 22h714q23 0 33-22z" horiz-adv-x="785.7" />
|
|
22
|
-
|
|
23
|
-
<glyph glyph-name="angle-double-left" unicode="" d="M350 82q0-7-6-13l-28-28q-5-5-12-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13t-6-12l-219-220 219-219q6-6 6-13z m214 0q0-7-5-13l-28-28q-6-5-13-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q6 6 13 6t13-6l28-28q5-5 5-13t-5-12l-220-220 220-219q5-6 5-13z" horiz-adv-x="571.4" />
|
|
24
|
-
|
|
25
|
-
<glyph glyph-name="angle-double-right" unicode="" d="M332 314q0-7-5-12l-261-261q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l261-260q5-5 5-13z m214 0q0-7-5-12l-260-261q-6-5-13-5t-13 5l-28 28q-5 6-5 13t5 13l219 219-219 220q-5 5-5 12t5 13l28 28q6 6 13 6t13-6l260-260q5-5 5-13z" horiz-adv-x="571.4" />
|
|
26
|
-
|
|
27
|
-
<glyph glyph-name="angle-left" unicode="" d="M350 546q0-7-6-12l-219-220 219-219q6-6 6-13t-6-13l-28-28q-5-5-12-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13z" horiz-adv-x="357.1" />
|
|
28
|
-
|
|
29
|
-
<glyph glyph-name="angle-right" unicode="" d="M332 314q0-7-5-12l-261-261q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l261-260q5-5 5-13z" horiz-adv-x="357.1" />
|
|
30
|
-
</font>
|
|
31
|
-
</defs>
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<metadata>Copyright (C) 2018 by original authors @ fontello.com</metadata>
|
|
5
|
+
<defs>
|
|
6
|
+
<font id="fontello" horiz-adv-x="1000" >
|
|
7
|
+
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
|
8
|
+
<missing-glyph horiz-adv-x="1000" />
|
|
9
|
+
<glyph glyph-name="down-dir" unicode="" d="M571 457q0-14-10-25l-250-250q-11-11-25-11t-25 11l-250 250q-11 11-11 25t11 25 25 11h500q14 0 25-11t10-25z" horiz-adv-x="571.4" />
|
|
10
|
+
|
|
11
|
+
<glyph glyph-name="up-dir" unicode="" d="M571 171q0-14-10-25t-25-10h-500q-15 0-25 10t-11 25 11 26l250 250q10 10 25 10t25-10l250-250q10-11 10-26z" horiz-adv-x="571.4" />
|
|
12
|
+
|
|
13
|
+
<glyph glyph-name="cancel" unicode="" d="M452 194q18-18 18-43t-18-43q-18-16-43-16t-43 16l-132 152-132-152q-18-16-43-16t-43 16q-16 18-16 43t16 43l138 156-138 158q-16 18-16 43t16 43q18 16 43 16t43-16l132-152 132 152q18 16 43 16t43-16q18-18 18-43t-18-43l-138-158z" horiz-adv-x="470" />
|
|
14
|
+
|
|
15
|
+
<glyph glyph-name="spin3" unicode="" d="M494 850c-266 0-483-210-494-472-1-19 13-20 13-20l84 0c16 0 19 10 19 18 10 199 176 358 378 358 107 0 205-45 273-118l-58-57c-11-12-11-27 5-31l247-50c21-5 46 11 37 44l-58 227c-2 9-16 22-29 13l-65-60c-89 91-214 148-352 148z m409-508c-16 0-19-10-19-18-10-199-176-358-377-358-108 0-205 45-274 118l59 57c10 12 10 27-5 31l-248 50c-21 5-46-11-37-44l58-227c2-9 16-22 30-13l64 60c89-91 214-148 353-148 265 0 482 210 493 473 1 18-13 19-13 19l-84 0z" horiz-adv-x="1000" />
|
|
16
|
+
|
|
17
|
+
<glyph glyph-name="spin4" unicode="" d="M498 850c-114 0-228-39-320-116l0 0c173 140 428 130 588-31 134-134 164-332 89-495-10-29-5-50 12-68 21-20 61-23 84 0 3 3 12 15 15 24 71 180 33 393-112 539-99 98-228 147-356 147z m-409-274c-14 0-29-5-39-16-3-3-13-15-15-24-71-180-34-393 112-539 185-185 479-195 676-31l0 0c-173-140-428-130-589 31-134 134-163 333-89 495 11 29 6 50-12 68-11 11-27 17-44 16z" horiz-adv-x="1001" />
|
|
18
|
+
|
|
19
|
+
<glyph glyph-name="spin5" unicode="" d="M462 850c-6 0-11-5-11-11l0-183 0 0c0-6 5-11 11-11l69 0c1 0 1 0 1 0 7 0 12 5 12 11l0 183 0 0c0 6-5 11-12 11l-69 0c0 0 0 0-1 0z m250-47c-4 1-8-2-10-5l-91-158 0 0c-4-6-2-13 4-16l60-34c0-1 0-1 0-1 6-3 13-1 16 4l91 158c3 6 2 13-4 16l-61 35c-1 1-3 1-5 1z m-428-2c-2 0-4-1-6-2l-61-35c-5-3-7-10-4-16l91-157c0 0 0 0 0 0 3-6 10-8 16-5l61 35c5 4 7 11 4 16l-91 157c0 1 0 1 0 1-2 4-6 6-10 6z m620-163c-2 0-4 0-6-1l-157-91c0 0 0 0 0 0-6-3-8-10-5-16l35-61c4-5 11-7 16-4l157 91c1 0 1 0 1 0 6 3 7 11 4 16l-35 61c-2 4-6 6-10 5z m-810-4c-5 0-9-2-11-6l-35-61c-3-5-1-12 4-15l158-91 0 0c6-4 13-2 16 4l35 60c0 0 0 0 0 0 3 6 1 13-4 16l-158 91c-2 1-4 2-5 2z m712-235l0 0c-6 0-11-5-11-11l0-69c0-1 0-1 0-1 0-7 5-12 11-12l183 0 0 0c6 0 11 5 11 12l0 69c0 0 0 0 0 1 0 6-5 11-11 11l-183 0z m-794-5l0 0c-7 0-12-5-12-12l0-69c0 0 0 0 0-1 0-6 5-11 12-11l182 0 0 0c6 0 11 5 11 11l0 69c0 1 0 1 0 1 0 7-5 12-11 12l-182 0z m772-153c-4 0-8-2-10-6l-34-60c-1 0-1 0-1 0-3-6-1-13 4-16l158-91c6-3 13-1 16 4l35 61c3 5 1 12-4 15l-158 92 0 0c-2 1-4 1-6 1z m-566-5c-1 0-3 0-5-1l-157-91c0 0-1 0-1 0-5-3-7-10-4-16l35-61c3-5 10-7 16-4l157 91c0 0 0 0 0 0 6 3 8 10 5 16l-35 61c-3 3-7 6-11 5z m468-121c-2 0-4 0-6-1l-61-35c-5-4-7-11-4-16l91-157c0-1 0-1 0-1 3-6 11-7 16-4l61 35c5 3 7 10 4 16l-91 157c0 0 0 0 0 0-2 4-6 6-10 6z m-367-2c-4 0-8-2-10-6l-91-158c-3-6-1-13 4-16l61-35c5-3 12-1 15 4l92 158 0 0c3 6 1 13-5 16l-60 35c0 0 0 0 0 0-2 1-4 1-6 2z m149-58c-7 0-12-5-12-11l0-183 0 0c0-6 5-11 12-11l69 0c0 0 0 0 1 0 6 0 11 5 11 11l0 183 0 0c0 6-5 11-11 11l-69 0c-1 0-1 0-1 0z" horiz-adv-x="1000" />
|
|
20
|
+
|
|
21
|
+
<glyph glyph-name="filter" unicode="" d="M783 685q9-22-8-39l-275-275v-414q0-23-22-33-7-3-14-3-15 0-25 11l-143 143q-10 11-10 25v271l-275 275q-18 17-8 39 9 22 33 22h714q23 0 33-22z" horiz-adv-x="785.7" />
|
|
22
|
+
|
|
23
|
+
<glyph glyph-name="angle-double-left" unicode="" d="M350 82q0-7-6-13l-28-28q-5-5-12-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13t-6-12l-219-220 219-219q6-6 6-13z m214 0q0-7-5-13l-28-28q-6-5-13-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q6 6 13 6t13-6l28-28q5-5 5-13t-5-12l-220-220 220-219q5-6 5-13z" horiz-adv-x="571.4" />
|
|
24
|
+
|
|
25
|
+
<glyph glyph-name="angle-double-right" unicode="" d="M332 314q0-7-5-12l-261-261q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l261-260q5-5 5-13z m214 0q0-7-5-12l-260-261q-6-5-13-5t-13 5l-28 28q-5 6-5 13t5 13l219 219-219 220q-5 5-5 12t5 13l28 28q6 6 13 6t13-6l260-260q5-5 5-13z" horiz-adv-x="571.4" />
|
|
26
|
+
|
|
27
|
+
<glyph glyph-name="angle-left" unicode="" d="M350 546q0-7-6-12l-219-220 219-219q6-6 6-13t-6-13l-28-28q-5-5-12-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13z" horiz-adv-x="357.1" />
|
|
28
|
+
|
|
29
|
+
<glyph glyph-name="angle-right" unicode="" d="M332 314q0-7-5-12l-261-261q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l261-260q5-5 5-13z" horiz-adv-x="357.1" />
|
|
30
|
+
</font>
|
|
31
|
+
</defs>
|
|
32
32
|
</svg>
|
package/package.json
CHANGED
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bri-components",
|
|
3
|
-
"version": "1.5.
|
|
4
|
-
"author": "dengshanghui",
|
|
5
|
-
"description": "a component lib for vue project",
|
|
6
|
-
"main": "src/index.js",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"editor",
|
|
9
|
-
"tinymce"
|
|
10
|
-
],
|
|
11
|
-
"files": [
|
|
12
|
-
"lib",
|
|
13
|
-
"src"
|
|
14
|
-
],
|
|
15
|
-
"license": "ISC",
|
|
16
|
-
"directories": {
|
|
17
|
-
"test": "test"
|
|
18
|
-
},
|
|
19
|
-
"private": false,
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
|
22
|
-
"start": "npm run dev",
|
|
23
|
-
"unit": "jest --config test/unit/jest.conf.js --coverage",
|
|
24
|
-
"e2e": "node test/e2e/runner.js",
|
|
25
|
-
"test": "npm run unit && npm run e2e",
|
|
26
|
-
"lint": "eslint --fix --ext .js,.vue src example build config",
|
|
27
|
-
"build": "node build/build.js",
|
|
28
|
-
"lib:style": "gulp --gulpfile build/build-style.js",
|
|
29
|
-
"lib:dev": "webpack --config build/webpack.lib.dev.config.js",
|
|
30
|
-
"lib:prod": "webpack --config build/webpack.lib.prod.config.js"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"ali-oss": "^6.13.1",
|
|
34
|
-
"axios": "^0.23.0",
|
|
35
|
-
"bri-datas": "^1.4.
|
|
36
|
-
"jshint": "^2.12.0",
|
|
37
|
-
"jsonlint": "^1.6.3",
|
|
38
|
-
"minio": "7.1.0",
|
|
39
|
-
"stream": "^0.0.2",
|
|
40
|
-
"view-design": "4.7.0",
|
|
41
|
-
"viewerjs": "^1.10.2",
|
|
42
|
-
"vue-codemirror": "^4.0.6",
|
|
43
|
-
"vue-cropperjs": "^4.1.0",
|
|
44
|
-
"vue-easytable": "^2.21.9",
|
|
45
|
-
"vuedraggable": "^2.24.1",
|
|
46
|
-
"wangeditor": "^4.7.5"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"autoprefixer": "^7.1.2",
|
|
50
|
-
"babel-core": "^6.22.1",
|
|
51
|
-
"babel-eslint": "^8.2.1",
|
|
52
|
-
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
53
|
-
"babel-jest": "^21.0.2",
|
|
54
|
-
"babel-loader": "^7.1.1",
|
|
55
|
-
"babel-plugin-dynamic-import-node": "^1.2.0",
|
|
56
|
-
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
57
|
-
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
58
|
-
"babel-plugin-transform-runtime": "^6.22.0",
|
|
59
|
-
"babel-plugin-transform-vue-jsx": "^3.5.0",
|
|
60
|
-
"babel-preset-env": "^1.3.2",
|
|
61
|
-
"babel-preset-stage-2": "^6.22.0",
|
|
62
|
-
"babel-register": "^6.22.0",
|
|
63
|
-
"chalk": "^2.0.1",
|
|
64
|
-
"compression-webpack-plugin": "^1.1.12",
|
|
65
|
-
"copy-webpack-plugin": "^4.0.1",
|
|
66
|
-
"cross-spawn": "^5.0.1",
|
|
67
|
-
"css": "^3.0.0",
|
|
68
|
-
"css-loader": "^0.28.11",
|
|
69
|
-
"eslint": "^4.15.0",
|
|
70
|
-
"eslint-config-standard": "^10.2.1",
|
|
71
|
-
"eslint-friendly-formatter": "^3.0.0",
|
|
72
|
-
"eslint-loader": "^1.7.1",
|
|
73
|
-
"eslint-plugin-import": "^2.22.1",
|
|
74
|
-
"eslint-plugin-node": "^5.2.0",
|
|
75
|
-
"eslint-plugin-promise": "^3.4.0",
|
|
76
|
-
"eslint-plugin-standard": "^3.0.1",
|
|
77
|
-
"eslint-plugin-vue": "^4.0.0",
|
|
78
|
-
"extract-text-webpack-plugin": "^3.0.0",
|
|
79
|
-
"file-loader": "^1.1.4",
|
|
80
|
-
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
81
|
-
"gulp": "^4.0.2",
|
|
82
|
-
"gulp-clean-css": "^4.3.0",
|
|
83
|
-
"gulp-less": "^5.0.0",
|
|
84
|
-
"gulp-rename": "^2.0.0",
|
|
85
|
-
"html-webpack-plugin": "^2.30.1",
|
|
86
|
-
"jest": "^22.0.4",
|
|
87
|
-
"jest-serializer-vue": "^0.3.0",
|
|
88
|
-
"less": "^3.13.1",
|
|
89
|
-
"less-loader": "^5.0.0",
|
|
90
|
-
"nightwatch": "^0.9.12",
|
|
91
|
-
"node-notifier": "^5.1.2",
|
|
92
|
-
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
93
|
-
"ora": "^1.2.0",
|
|
94
|
-
"portfinder": "^1.0.13",
|
|
95
|
-
"postcss-import": "^11.0.0",
|
|
96
|
-
"postcss-loader": "^2.0.8",
|
|
97
|
-
"postcss-url": "^7.2.1",
|
|
98
|
-
"rimraf": "^2.6.0",
|
|
99
|
-
"selenium-server": "^3.0.1",
|
|
100
|
-
"semver": "^5.3.0",
|
|
101
|
-
"shelljs": "^0.7.6",
|
|
102
|
-
"style-resources-loader": "^1.5.0",
|
|
103
|
-
"uglifyjs-webpack-plugin": "^1.3.0",
|
|
104
|
-
"url-loader": "^0.5.8",
|
|
105
|
-
"vue": "^2.5.2",
|
|
106
|
-
"vue-jest": "^1.0.2",
|
|
107
|
-
"vue-loader": "^13.3.0",
|
|
108
|
-
"vue-router": "^3.0.1",
|
|
109
|
-
"vue-style-loader": "^3.0.1",
|
|
110
|
-
"vue-template-compiler": "^2.5.2",
|
|
111
|
-
"webpack": "^3.6.0",
|
|
112
|
-
"webpack-bundle-analyzer": "^2.9.0",
|
|
113
|
-
"webpack-dev-server": "^2.9.1",
|
|
114
|
-
"webpack-merge": "^4.1.0"
|
|
115
|
-
},
|
|
116
|
-
"engines": {
|
|
117
|
-
"node": ">= 6.0.0",
|
|
118
|
-
"npm": ">= 3.0.0"
|
|
119
|
-
},
|
|
120
|
-
"browserslist": [
|
|
121
|
-
"> 1%",
|
|
122
|
-
"last 2 versions",
|
|
123
|
-
"not ie <= 8"
|
|
124
|
-
]
|
|
125
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bri-components",
|
|
3
|
+
"version": "1.5.16",
|
|
4
|
+
"author": "dengshanghui",
|
|
5
|
+
"description": "a component lib for vue project",
|
|
6
|
+
"main": "src/index.js",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"editor",
|
|
9
|
+
"tinymce"
|
|
10
|
+
],
|
|
11
|
+
"files": [
|
|
12
|
+
"lib",
|
|
13
|
+
"src"
|
|
14
|
+
],
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"directories": {
|
|
17
|
+
"test": "test"
|
|
18
|
+
},
|
|
19
|
+
"private": false,
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
|
22
|
+
"start": "npm run dev",
|
|
23
|
+
"unit": "jest --config test/unit/jest.conf.js --coverage",
|
|
24
|
+
"e2e": "node test/e2e/runner.js",
|
|
25
|
+
"test": "npm run unit && npm run e2e",
|
|
26
|
+
"lint": "eslint --fix --ext .js,.vue src example build config",
|
|
27
|
+
"build": "node build/build.js",
|
|
28
|
+
"lib:style": "gulp --gulpfile build/build-style.js",
|
|
29
|
+
"lib:dev": "webpack --config build/webpack.lib.dev.config.js",
|
|
30
|
+
"lib:prod": "webpack --config build/webpack.lib.prod.config.js"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"ali-oss": "^6.13.1",
|
|
34
|
+
"axios": "^0.23.0",
|
|
35
|
+
"bri-datas": "^1.4.3",
|
|
36
|
+
"jshint": "^2.12.0",
|
|
37
|
+
"jsonlint": "^1.6.3",
|
|
38
|
+
"minio": "7.1.0",
|
|
39
|
+
"stream": "^0.0.2",
|
|
40
|
+
"view-design": "4.7.0",
|
|
41
|
+
"viewerjs": "^1.10.2",
|
|
42
|
+
"vue-codemirror": "^4.0.6",
|
|
43
|
+
"vue-cropperjs": "^4.1.0",
|
|
44
|
+
"vue-easytable": "^2.21.9",
|
|
45
|
+
"vuedraggable": "^2.24.1",
|
|
46
|
+
"wangeditor": "^4.7.5"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"autoprefixer": "^7.1.2",
|
|
50
|
+
"babel-core": "^6.22.1",
|
|
51
|
+
"babel-eslint": "^8.2.1",
|
|
52
|
+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
53
|
+
"babel-jest": "^21.0.2",
|
|
54
|
+
"babel-loader": "^7.1.1",
|
|
55
|
+
"babel-plugin-dynamic-import-node": "^1.2.0",
|
|
56
|
+
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
57
|
+
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
58
|
+
"babel-plugin-transform-runtime": "^6.22.0",
|
|
59
|
+
"babel-plugin-transform-vue-jsx": "^3.5.0",
|
|
60
|
+
"babel-preset-env": "^1.3.2",
|
|
61
|
+
"babel-preset-stage-2": "^6.22.0",
|
|
62
|
+
"babel-register": "^6.22.0",
|
|
63
|
+
"chalk": "^2.0.1",
|
|
64
|
+
"compression-webpack-plugin": "^1.1.12",
|
|
65
|
+
"copy-webpack-plugin": "^4.0.1",
|
|
66
|
+
"cross-spawn": "^5.0.1",
|
|
67
|
+
"css": "^3.0.0",
|
|
68
|
+
"css-loader": "^0.28.11",
|
|
69
|
+
"eslint": "^4.15.0",
|
|
70
|
+
"eslint-config-standard": "^10.2.1",
|
|
71
|
+
"eslint-friendly-formatter": "^3.0.0",
|
|
72
|
+
"eslint-loader": "^1.7.1",
|
|
73
|
+
"eslint-plugin-import": "^2.22.1",
|
|
74
|
+
"eslint-plugin-node": "^5.2.0",
|
|
75
|
+
"eslint-plugin-promise": "^3.4.0",
|
|
76
|
+
"eslint-plugin-standard": "^3.0.1",
|
|
77
|
+
"eslint-plugin-vue": "^4.0.0",
|
|
78
|
+
"extract-text-webpack-plugin": "^3.0.0",
|
|
79
|
+
"file-loader": "^1.1.4",
|
|
80
|
+
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
81
|
+
"gulp": "^4.0.2",
|
|
82
|
+
"gulp-clean-css": "^4.3.0",
|
|
83
|
+
"gulp-less": "^5.0.0",
|
|
84
|
+
"gulp-rename": "^2.0.0",
|
|
85
|
+
"html-webpack-plugin": "^2.30.1",
|
|
86
|
+
"jest": "^22.0.4",
|
|
87
|
+
"jest-serializer-vue": "^0.3.0",
|
|
88
|
+
"less": "^3.13.1",
|
|
89
|
+
"less-loader": "^5.0.0",
|
|
90
|
+
"nightwatch": "^0.9.12",
|
|
91
|
+
"node-notifier": "^5.1.2",
|
|
92
|
+
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
93
|
+
"ora": "^1.2.0",
|
|
94
|
+
"portfinder": "^1.0.13",
|
|
95
|
+
"postcss-import": "^11.0.0",
|
|
96
|
+
"postcss-loader": "^2.0.8",
|
|
97
|
+
"postcss-url": "^7.2.1",
|
|
98
|
+
"rimraf": "^2.6.0",
|
|
99
|
+
"selenium-server": "^3.0.1",
|
|
100
|
+
"semver": "^5.3.0",
|
|
101
|
+
"shelljs": "^0.7.6",
|
|
102
|
+
"style-resources-loader": "^1.5.0",
|
|
103
|
+
"uglifyjs-webpack-plugin": "^1.3.0",
|
|
104
|
+
"url-loader": "^0.5.8",
|
|
105
|
+
"vue": "^2.5.2",
|
|
106
|
+
"vue-jest": "^1.0.2",
|
|
107
|
+
"vue-loader": "^13.3.0",
|
|
108
|
+
"vue-router": "^3.0.1",
|
|
109
|
+
"vue-style-loader": "^3.0.1",
|
|
110
|
+
"vue-template-compiler": "^2.5.2",
|
|
111
|
+
"webpack": "^3.6.0",
|
|
112
|
+
"webpack-bundle-analyzer": "^2.9.0",
|
|
113
|
+
"webpack-dev-server": "^2.9.1",
|
|
114
|
+
"webpack-merge": "^4.1.0"
|
|
115
|
+
},
|
|
116
|
+
"engines": {
|
|
117
|
+
"node": ">= 6.0.0",
|
|
118
|
+
"npm": ">= 3.0.0"
|
|
119
|
+
},
|
|
120
|
+
"browserslist": [
|
|
121
|
+
"> 1%",
|
|
122
|
+
"last 2 versions",
|
|
123
|
+
"not ie <= 8"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="error">
|
|
3
|
-
<div class="error-body">
|
|
4
|
-
<Card class="error-body-card">
|
|
5
|
-
<div class="error-body-title">
|
|
6
|
-
<span>4</span><!--
|
|
7
|
-
--><span class="span-403-0">
|
|
8
|
-
<Icon type="md-lock" />
|
|
9
|
-
</span><!--
|
|
10
|
-
--><span class="span-403-3">3</span>
|
|
11
|
-
</div>
|
|
12
|
-
<p class="error-body-message">很抱歉,您没有该页面的访问权限!</p>
|
|
13
|
-
<p class="error-body-message">I'm sorry, You don't have permission!</p>
|
|
14
|
-
|
|
15
|
-
<!-- 返回按钮组件 -->
|
|
16
|
-
<error-back :backNum="-2"></error-back>
|
|
17
|
-
</Card>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<script>
|
|
23
|
-
import errorBack from "./errorBack.vue";
|
|
24
|
-
|
|
25
|
-
export default {
|
|
26
|
-
name: "Error403",
|
|
27
|
-
components: {
|
|
28
|
-
errorBack
|
|
29
|
-
},
|
|
30
|
-
props: {},
|
|
31
|
-
data () {
|
|
32
|
-
return {};
|
|
33
|
-
},
|
|
34
|
-
computed: {},
|
|
35
|
-
created () {},
|
|
36
|
-
methods: {}
|
|
37
|
-
};
|
|
38
|
-
</script>
|
|
39
|
-
|
|
40
|
-
<style lang="less" scoped>
|
|
41
|
-
@import url("./error.less");
|
|
42
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="error">
|
|
3
|
+
<div class="error-body">
|
|
4
|
+
<Card class="error-body-card">
|
|
5
|
+
<div class="error-body-title">
|
|
6
|
+
<span>4</span><!--
|
|
7
|
+
--><span class="span-403-0">
|
|
8
|
+
<Icon type="md-lock" />
|
|
9
|
+
</span><!--
|
|
10
|
+
--><span class="span-403-3">3</span>
|
|
11
|
+
</div>
|
|
12
|
+
<p class="error-body-message">很抱歉,您没有该页面的访问权限!</p>
|
|
13
|
+
<p class="error-body-message">I'm sorry, You don't have permission!</p>
|
|
14
|
+
|
|
15
|
+
<!-- 返回按钮组件 -->
|
|
16
|
+
<error-back :backNum="-2"></error-back>
|
|
17
|
+
</Card>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
import errorBack from "./errorBack.vue";
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
name: "Error403",
|
|
27
|
+
components: {
|
|
28
|
+
errorBack
|
|
29
|
+
},
|
|
30
|
+
props: {},
|
|
31
|
+
data () {
|
|
32
|
+
return {};
|
|
33
|
+
},
|
|
34
|
+
computed: {},
|
|
35
|
+
created () {},
|
|
36
|
+
methods: {}
|
|
37
|
+
};
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style lang="less" scoped>
|
|
41
|
+
@import url("./error.less");
|
|
42
|
+
</style>
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="error">
|
|
3
|
-
<div class="error-body">
|
|
4
|
-
<Card class="error-body-card">
|
|
5
|
-
<div class="error-body-title">
|
|
6
|
-
<span>4</span><!--
|
|
7
|
-
--><span class="span-404"><Icon type="ios-navigate-outline" /></span><!--
|
|
8
|
-
--><span>4</span>
|
|
9
|
-
</div>
|
|
10
|
-
<p class="error-body-message">抱歉,您访问的页面不存在!</p>
|
|
11
|
-
<p class="error-body-message">I'm sorry, The page you visited is incorrect!</p>
|
|
12
|
-
|
|
13
|
-
<!-- 返回按钮组件 -->
|
|
14
|
-
<error-back></error-back>
|
|
15
|
-
</Card>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<script>
|
|
21
|
-
import errorBack from "./errorBack.vue";
|
|
22
|
-
|
|
23
|
-
export default {
|
|
24
|
-
name: "Error404",
|
|
25
|
-
components: {
|
|
26
|
-
errorBack
|
|
27
|
-
},
|
|
28
|
-
props: {},
|
|
29
|
-
data () {
|
|
30
|
-
return {};
|
|
31
|
-
},
|
|
32
|
-
computed: {},
|
|
33
|
-
created () {},
|
|
34
|
-
methods: {}
|
|
35
|
-
};
|
|
36
|
-
</script>
|
|
37
|
-
|
|
38
|
-
<style lang="less" scoped>
|
|
39
|
-
@import url("./error.less");
|
|
40
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="error">
|
|
3
|
+
<div class="error-body">
|
|
4
|
+
<Card class="error-body-card">
|
|
5
|
+
<div class="error-body-title">
|
|
6
|
+
<span>4</span><!--
|
|
7
|
+
--><span class="span-404"><Icon type="ios-navigate-outline" /></span><!--
|
|
8
|
+
--><span>4</span>
|
|
9
|
+
</div>
|
|
10
|
+
<p class="error-body-message">抱歉,您访问的页面不存在!</p>
|
|
11
|
+
<p class="error-body-message">I'm sorry, The page you visited is incorrect!</p>
|
|
12
|
+
|
|
13
|
+
<!-- 返回按钮组件 -->
|
|
14
|
+
<error-back></error-back>
|
|
15
|
+
</Card>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
import errorBack from "./errorBack.vue";
|
|
22
|
+
|
|
23
|
+
export default {
|
|
24
|
+
name: "Error404",
|
|
25
|
+
components: {
|
|
26
|
+
errorBack
|
|
27
|
+
},
|
|
28
|
+
props: {},
|
|
29
|
+
data () {
|
|
30
|
+
return {};
|
|
31
|
+
},
|
|
32
|
+
computed: {},
|
|
33
|
+
created () {},
|
|
34
|
+
methods: {}
|
|
35
|
+
};
|
|
36
|
+
</script>
|
|
37
|
+
|
|
38
|
+
<style lang="less" scoped>
|
|
39
|
+
@import url("./error.less");
|
|
40
|
+
</style>
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="error">
|
|
3
|
-
<div class="error-body">
|
|
4
|
-
<Card class="error-body-card">
|
|
5
|
-
<div class="error-body-title">
|
|
6
|
-
<span>5</span><!--
|
|
7
|
-
--><span class="span-500-0">
|
|
8
|
-
<Icon type="logo-freebsd-devil" />
|
|
9
|
-
</span><!--
|
|
10
|
-
--><span class="span-500-0">
|
|
11
|
-
<Icon type="logo-freebsd-devil" />
|
|
12
|
-
</span>
|
|
13
|
-
</div>
|
|
14
|
-
<p class="error-body-message">{{ msg }}</p>
|
|
15
|
-
<p class="error-body-message">The server is wrong!</p>
|
|
16
|
-
|
|
17
|
-
<!-- 返回按钮组件 -->
|
|
18
|
-
<error-back></error-back>
|
|
19
|
-
</Card>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<script>
|
|
25
|
-
import errorBack from "./errorBack.vue";
|
|
26
|
-
|
|
27
|
-
export default {
|
|
28
|
-
name: "Error500",
|
|
29
|
-
components: {
|
|
30
|
-
errorBack
|
|
31
|
-
},
|
|
32
|
-
props: {},
|
|
33
|
-
data () {
|
|
34
|
-
return {};
|
|
35
|
-
},
|
|
36
|
-
computed: {
|
|
37
|
-
queryMsg () {
|
|
38
|
-
return this.$route.query.msg;
|
|
39
|
-
},
|
|
40
|
-
msg () {
|
|
41
|
-
return `${this.queryMsg ? `服务器错误:${this.queryMsg}` : "抱歉,服务器错误"}!`;
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
created () {},
|
|
45
|
-
methods: {}
|
|
46
|
-
};
|
|
47
|
-
</script>
|
|
48
|
-
|
|
49
|
-
<style lang="less" scoped>
|
|
50
|
-
@import url("./error.less");
|
|
51
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="error">
|
|
3
|
+
<div class="error-body">
|
|
4
|
+
<Card class="error-body-card">
|
|
5
|
+
<div class="error-body-title">
|
|
6
|
+
<span>5</span><!--
|
|
7
|
+
--><span class="span-500-0">
|
|
8
|
+
<Icon type="logo-freebsd-devil" />
|
|
9
|
+
</span><!--
|
|
10
|
+
--><span class="span-500-0">
|
|
11
|
+
<Icon type="logo-freebsd-devil" />
|
|
12
|
+
</span>
|
|
13
|
+
</div>
|
|
14
|
+
<p class="error-body-message">{{ msg }}</p>
|
|
15
|
+
<p class="error-body-message">The server is wrong!</p>
|
|
16
|
+
|
|
17
|
+
<!-- 返回按钮组件 -->
|
|
18
|
+
<error-back></error-back>
|
|
19
|
+
</Card>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script>
|
|
25
|
+
import errorBack from "./errorBack.vue";
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
name: "Error500",
|
|
29
|
+
components: {
|
|
30
|
+
errorBack
|
|
31
|
+
},
|
|
32
|
+
props: {},
|
|
33
|
+
data () {
|
|
34
|
+
return {};
|
|
35
|
+
},
|
|
36
|
+
computed: {
|
|
37
|
+
queryMsg () {
|
|
38
|
+
return this.$route.query.msg;
|
|
39
|
+
},
|
|
40
|
+
msg () {
|
|
41
|
+
return `${this.queryMsg ? `服务器错误:${this.queryMsg}` : "抱歉,服务器错误"}!`;
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
created () {},
|
|
45
|
+
methods: {}
|
|
46
|
+
};
|
|
47
|
+
</script>
|
|
48
|
+
|
|
49
|
+
<style lang="less" scoped>
|
|
50
|
+
@import url("./error.less");
|
|
51
|
+
</style>
|