bulade-ui 1.1.40 → 1.1.41
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/miniprogram_dist/assets/font/iconfont.wxss +563 -563
- package/miniprogram_dist/bld-action-sheet/index.wxss +159 -159
- package/miniprogram_dist/bld-badge/index.wxss +42 -42
- package/miniprogram_dist/bld-button/index.wxss +36 -36
- package/miniprogram_dist/bld-button-v2/index.wxss +175 -175
- package/miniprogram_dist/bld-card/index.wxss +5 -5
- package/miniprogram_dist/bld-cell/index.wxss +38 -38
- package/miniprogram_dist/bld-cell-field/index.wxss +18 -18
- package/miniprogram_dist/bld-cell-group/index.wxss +10 -10
- package/miniprogram_dist/bld-cell-group-v2/index.wxss +28 -28
- package/miniprogram_dist/bld-cell-v2/index.wxss +63 -63
- package/miniprogram_dist/bld-checkbox/index.wxss +61 -61
- package/miniprogram_dist/bld-cloud-image/index.wxss +2 -2
- package/miniprogram_dist/bld-collapse/index.wxss +6 -6
- package/miniprogram_dist/bld-dialog-tip/index.wxss +65 -65
- package/miniprogram_dist/bld-drawer/index.wxss +57 -57
- package/miniprogram_dist/bld-empty-page/index.wxss +13 -13
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.wxss +55 -55
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.wxss +26 -26
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.wxss +119 -119
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.wxss +43 -43
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.wxss +20 -20
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.wxss +26 -26
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.wxss +55 -55
- package/miniprogram_dist/bld-half-screen/index.wxss +106 -106
- package/miniprogram_dist/bld-html/index.js +0 -4
- package/miniprogram_dist/bld-html/index.js.map +1 -1
- package/miniprogram_dist/bld-html/index.wxml +1 -1
- package/miniprogram_dist/bld-html/index.wxss +0 -4
- package/miniprogram_dist/bld-icon/index.wxss +583 -583
- package/miniprogram_dist/bld-loading/index.wxss +28 -28
- package/miniprogram_dist/bld-message/index.wxss +76 -76
- package/miniprogram_dist/bld-modal/index.wxss +96 -96
- package/miniprogram_dist/bld-nav-bar/index.wxml +2 -2
- package/miniprogram_dist/bld-nav-bar/index.wxss +0 -6
- package/miniprogram_dist/bld-navbar/index.wxss +30 -30
- package/miniprogram_dist/bld-navbar-group/index.wxss +29 -29
- package/miniprogram_dist/bld-notice-bar/index.wxss +50 -50
- package/miniprogram_dist/bld-overlay/index.wxss +10 -10
- package/miniprogram_dist/bld-page/index.js +1 -9
- package/miniprogram_dist/bld-page/index.js.map +1 -1
- package/miniprogram_dist/bld-page/index.wxml +0 -2
- package/miniprogram_dist/bld-page/index.wxss +15 -15
- package/miniprogram_dist/bld-pop-up/index.wxss +26 -26
- package/miniprogram_dist/bld-progress/index.wxss +62 -62
- package/miniprogram_dist/bld-radio/index.wxss +78 -78
- package/miniprogram_dist/bld-retry/index.wxss +22 -22
- package/miniprogram_dist/bld-scroll-view/index.wxss +6 -6
- package/miniprogram_dist/bld-tabs/index.js +1 -1
- package/miniprogram_dist/bld-tabs/index.js.map +1 -1
- package/miniprogram_dist/bld-tabs/index.wxml +1 -1
- package/miniprogram_dist/bld-tabs/index.wxss +1 -1
- package/miniprogram_dist/bld-tag/index.wxss +107 -107
- package/miniprogram_dist/bld-text/index.wxss +25 -25
- package/miniprogram_dist/bld-toast/index.wxss +94 -94
- package/miniprogram_dist/bld-wrapper/index.wxss +6 -6
- package/miniprogram_dist/button/index.wxss +175 -175
- package/miniprogram_dist/grid/index.wxss +19 -19
- package/miniprogram_dist/grid-item/index.wxss +50 -50
- package/miniprogram_dist/timeline-item/index.wxss +30 -30
- package/package.json +1 -1
- package/src/bld-action-sheet/index.wxss +159 -159
- package/src/bld-badge/index.wxss +42 -42
- package/src/bld-button/index.wxss +36 -36
- package/src/bld-button-v2/index.wxss +175 -175
- package/src/bld-card/index.wxss +5 -5
- package/src/bld-cell/index.js +1 -0
- package/src/bld-cell/index.wxml +1 -1
- package/src/bld-cell/index.wxss +38 -38
- package/src/bld-cell-field/index.wxss +18 -18
- package/src/bld-cell-group/index.js +1 -0
- package/src/bld-cell-group/index.wxml +1 -1
- package/src/bld-cell-group/index.wxss +10 -10
- package/src/bld-cell-group-v2/index.wxss +28 -28
- package/src/bld-cell-v2/index.wxss +63 -63
- package/src/bld-checkbox/index.wxss +61 -61
- package/src/bld-cloud-image/index.wxss +2 -2
- package/src/bld-collapse/index.wxss +6 -6
- package/src/bld-dialog-tip/index.wxss +65 -65
- package/src/bld-drawer/index.wxss +57 -57
- package/src/bld-empty-page/index.wxss +13 -13
- package/src/bld-form/bld-form-item/bld-form-date/index.wxss +55 -55
- package/src/bld-form/bld-form-item/bld-form-input/index.wxss +26 -26
- package/src/bld-form/bld-form-item/bld-form-select-input/index.wxss +119 -119
- package/src/bld-form/bld-form-item/bld-form-step/index.wxss +43 -43
- package/src/bld-form/bld-form-item/bld-form-switch/index.wxss +20 -20
- package/src/bld-form/bld-form-item/bld-form-textarea/index.wxss +26 -26
- package/src/bld-form/bld-form-item/bld-form-time/index.wxss +55 -55
- package/src/bld-half-screen/index.wxss +106 -106
- package/src/bld-loading/index.wxss +28 -28
- package/src/bld-message/index.wxss +76 -76
- package/src/bld-modal/index.wxss +96 -96
- package/src/bld-nav-bar1/index.wxss +35 -35
- package/src/bld-navbar/index.wxss +30 -30
- package/src/bld-navbar-group/index.wxss +29 -29
- package/src/bld-notice-bar/index.wxss +50 -50
- package/src/bld-overlay/index.wxss +10 -10
- package/src/bld-page/index.wxss +15 -15
- package/src/bld-pop-up/index.wxss +26 -26
- package/src/bld-progress/index.wxss +62 -62
- package/src/bld-radio/index.wxss +78 -78
- package/src/bld-retry/index.wxss +22 -22
- package/src/bld-scroll-view/index.wxss +6 -6
- package/src/bld-tag/index.wxss +107 -107
- package/src/bld-text/index.wxss +25 -25
- package/src/bld-toast/index.wxss +94 -94
- package/src/bld-wrapper/index.wxss +6 -6
- package/src/button/index.wxss +175 -175
- package/src/grid/index.wxss +19 -19
- package/src/grid-item/index.wxss +50 -50
- package/src/timeline-item/index.wxss +30 -30
|
@@ -128,16 +128,11 @@ Component({
|
|
|
128
128
|
scrollTop: {
|
|
129
129
|
type: Number,
|
|
130
130
|
value: 0
|
|
131
|
-
},
|
|
132
|
-
textAlign: {
|
|
133
|
-
type: String,
|
|
134
|
-
value: "left"
|
|
135
131
|
}
|
|
136
132
|
},
|
|
137
133
|
data: {
|
|
138
134
|
_navBarShowTitle: true,
|
|
139
|
-
_navBarBgColor: ""
|
|
140
|
-
showNavBar: false
|
|
135
|
+
_navBarBgColor: ""
|
|
141
136
|
},
|
|
142
137
|
lifetimes: {
|
|
143
138
|
attached: function attached() {
|
|
@@ -152,9 +147,6 @@ Component({
|
|
|
152
147
|
_navBarBgColor: null
|
|
153
148
|
});
|
|
154
149
|
}
|
|
155
|
-
this.setData({
|
|
156
|
-
showNavBar: true
|
|
157
|
-
});
|
|
158
150
|
}
|
|
159
151
|
},
|
|
160
152
|
methods: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-page/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","navBarMode","type","String","value","navBarShowDistance","Number","navBarShowShare","Boolean","navBarBgColor","navBarGoBack","mode","scrollTop","
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-page/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","navBarMode","type","String","value","navBarShowDistance","Number","navBarShowShare","Boolean","navBarBgColor","navBarGoBack","mode","scrollTop","data","_navBarShowTitle","_navBarBgColor","lifetimes","attached","setData","methods","scroll","e","triggerEvent","detail","showNavBarAfterScroll","scrollToLower","ok"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,YAAD,EAAe,eAAf,EAAgC,eAAhC,EAAiD,cAAjD,CADT;AAERC,WAAS;AACPC,mBAAe;AADR,GAFD;AAKRC,cAAY;AACVC,gBAAY;AACVC,YAAMC,MADI;AAEVC,aAAO;AAFG,KADF;AAKVC,wBAAoB;AAClBH,YAAMI,MADY;AAElBF,aAAO;AAFW,KALV;AASVG,qBAAiB;AACfL,YAAMM,OADS;AAEfJ,aAAO;AAFQ,KATP;AAaVK,mBAAe;AACbP,YAAMC,MADO;AAEbC,aAAO;AAFM,KAbL;AAiBVM,kBAAc;AACZR,YAAMM,OADM;AAEZJ,aAAO;AAFK,KAjBJ;AAqBVO,UAAM;AACJT,YAAMC,MADF;AAEJC,aAAO;AAFH,KArBI;AAyBVQ,eAAW;AACTV,YAAMI,MADG;AAETF,aAAO;AAFE;AAzBD,GALJ;AAmCRS,QAAM;AACJC,sBAAkB,IADd;AAEJC,oBAAgB;AAFZ,GAnCE;AAuCRC,aAAW;AACTC,YADS,sBACE;AACT,UAAI,KAAKJ,IAAL,CAAUZ,UAAV,IAAwB,QAA5B,EAAsC;AACpC,aAAKiB,OAAL,CAAa;AACXJ,4BAAkB,IADP;AAEXC,0BAAgB,KAAKF,IAAL,CAAUJ;AAFf,SAAb;AAID,OALD,MAKO,IAAI,KAAKI,IAAL,CAAUZ,UAAV,IAAwB,mBAA5B,EAAiD;AACtD,aAAKiB,OAAL,CAAa;AACXJ,4BAAkB,KADP;AAEXC,0BAAgB;AAFL,SAAb;AAID;AACF;AAbQ,GAvCH;AAsDRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACA,WAAKC,qBAAL,CAA2BH,CAA3B;AACD,KAJM;AAMPI,iBANO,yBAMOJ,CANP,EAMU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD,KARM;AAUPC,yBAVO,iCAUeH,CAVf,EAUkB;AACvB,UAAI,KAAKR,IAAL,CAAUZ,UAAV,IAAwB,mBAA5B,EAAiD;AAC/C;AACD;;AAED,UAAMyB,KAAKL,EAAEE,MAAF,CAASX,SAAT,GAAqB,KAAKC,IAAL,CAAUR,kBAA1C;;AAEA,WAAKa,OAAL,CAAa;AACXJ,0BAAkBY,EADP;AAEXX,wBAAgBW,KAAK,KAAKb,IAAL,CAAUJ,aAAf,GAA+B;AAFpC,OAAb;AAID;AArBM;AAtDD,CAAV,E","file":"bld-page\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 25);\n","Component({\r\n externalClasses: [\"page-class\", \"nav-bar-class\", \"content-class\", \"footer-class\"],\r\n options: {\r\n multipleSlots: true,\r\n },\r\n properties: {\r\n navBarMode: {\r\n type: String,\r\n value: \"always\",\r\n },\r\n navBarShowDistance: {\r\n type: Number,\r\n value: 50,\r\n },\r\n navBarShowShare: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n navBarBgColor: {\r\n type: String,\r\n value: \"#fff\",\r\n },\r\n navBarGoBack: {\r\n type: Boolean,\r\n value: true,\r\n },\r\n mode: {\r\n type: String,\r\n value: \"nav-to-bottom\",\r\n },\r\n scrollTop: {\r\n type: Number,\r\n value: 0,\r\n },\r\n },\r\n data: {\r\n _navBarShowTitle: true,\r\n _navBarBgColor: \"\",\r\n },\r\n lifetimes: {\r\n attached() {\r\n if (this.data.navBarMode == \"always\") {\r\n this.setData({\r\n _navBarShowTitle: true,\r\n _navBarBgColor: this.data.navBarBgColor,\r\n });\r\n } else if (this.data.navBarMode == \"show-after-scroll\") {\r\n this.setData({\r\n _navBarShowTitle: false,\r\n _navBarBgColor: null,\r\n });\r\n }\r\n },\r\n },\r\n methods: {\r\n scroll(e) {\r\n this.triggerEvent(\"scroll\", { ...e.detail });\r\n this.showNavBarAfterScroll(e);\r\n },\r\n\r\n scrollToLower(e) {\r\n this.triggerEvent(\"scrollToLower\", { ...e.detail });\r\n },\r\n\r\n showNavBarAfterScroll(e) {\r\n if (this.data.navBarMode != \"show-after-scroll\") {\r\n return;\r\n }\r\n\r\n const ok = e.detail.scrollTop > this.data.navBarShowDistance;\r\n\r\n this.setData({\r\n _navBarShowTitle: ok,\r\n _navBarBgColor: ok ? this.data.navBarBgColor : null,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
<view class="page page-class">
|
|
2
2
|
<bld-nav-bar
|
|
3
|
-
wx:if="{{ showNavBar }}"
|
|
4
3
|
go-back="{{ navBarGoBack }}"
|
|
5
4
|
show-title="{{ _navBarShowTitle }}"
|
|
6
5
|
show-share="{{ navBarShowShare }}"
|
|
7
6
|
bg-color="{{ _navBarBgColor }}"
|
|
8
|
-
text-align="{{ textAlign }}"
|
|
9
7
|
iclass="nav-bar-class"
|
|
10
8
|
>
|
|
11
9
|
<slot name="nav-bar" />
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
page {
|
|
2
|
-
height: 100%;
|
|
3
|
-
width: 100%;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.page {
|
|
7
|
-
height: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.container {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
flex: 1;
|
|
15
|
-
width: 100%;
|
|
1
|
+
page {
|
|
2
|
+
height: 100%;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.page {
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.container {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
flex: 1;
|
|
15
|
+
width: 100%;
|
|
16
16
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
.pop-up-box {
|
|
2
|
-
background: rgba(0, 0, 0, 0.7);
|
|
3
|
-
position: fixed;
|
|
4
|
-
width: 100%;
|
|
5
|
-
height: 100%;
|
|
6
|
-
top: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
z-index: 999;
|
|
9
|
-
}
|
|
10
|
-
.pop-up-box .pop-up-bj {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
}
|
|
14
|
-
.pop-up-box .pop-up-cont {
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 50%;
|
|
17
|
-
left: 50%;
|
|
18
|
-
transform: translate(-50%, -50%);
|
|
19
|
-
}
|
|
20
|
-
.pop-up-box .pop-up-cont .pop-close {
|
|
21
|
-
width: 60rpx;
|
|
22
|
-
height: 60rpx;
|
|
23
|
-
position: absolute;
|
|
24
|
-
bottom: -100rpx;
|
|
25
|
-
left: 50%;
|
|
26
|
-
transform: translate(-50%, 0);
|
|
1
|
+
.pop-up-box {
|
|
2
|
+
background: rgba(0, 0, 0, 0.7);
|
|
3
|
+
position: fixed;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
z-index: 999;
|
|
9
|
+
}
|
|
10
|
+
.pop-up-box .pop-up-bj {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
}
|
|
14
|
+
.pop-up-box .pop-up-cont {
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 50%;
|
|
17
|
+
left: 50%;
|
|
18
|
+
transform: translate(-50%, -50%);
|
|
19
|
+
}
|
|
20
|
+
.pop-up-box .pop-up-cont .pop-close {
|
|
21
|
+
width: 60rpx;
|
|
22
|
+
height: 60rpx;
|
|
23
|
+
position: absolute;
|
|
24
|
+
bottom: -100rpx;
|
|
25
|
+
left: 50%;
|
|
26
|
+
transform: translate(-50%, 0);
|
|
27
27
|
}
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
.m-progress__wrap {
|
|
2
|
-
padding: 20rpx 0;
|
|
3
|
-
}
|
|
4
|
-
.m-progress__wrap .m-progress {
|
|
5
|
-
position: relative;
|
|
6
|
-
height: 6rpx;
|
|
7
|
-
border-radius: 100px;
|
|
8
|
-
background-color: #e5e5e5;
|
|
9
|
-
}
|
|
10
|
-
.m-progress__wrap .m-progress__portion {
|
|
11
|
-
position: absolute;
|
|
12
|
-
left: 0;
|
|
13
|
-
height: 100%;
|
|
14
|
-
border-radius: inherit;
|
|
15
|
-
background-color: var(--color-primary, #409EFF);
|
|
16
|
-
}
|
|
17
|
-
.m-progress__wrap .m-progress__portion--primary {
|
|
18
|
-
background-color: var(--color-primary, #409EFF);
|
|
19
|
-
}
|
|
20
|
-
.m-progress__wrap .m-progress__portion--success {
|
|
21
|
-
background-color: var(--color-success, #67C23A);
|
|
22
|
-
}
|
|
23
|
-
.m-progress__wrap .m-progress__portion--warning {
|
|
24
|
-
background-color: var(--color-warning, #E6A23C);
|
|
25
|
-
}
|
|
26
|
-
.m-progress__wrap .m-progress__portion--danger {
|
|
27
|
-
background-color: var(--color-danger, #F56C6C);
|
|
28
|
-
}
|
|
29
|
-
.m-progress__wrap .m-progress__portion--run {
|
|
30
|
-
background: linear-gradient(to right, #7DFFDB, #B4FFED) !important;
|
|
31
|
-
}
|
|
32
|
-
.m-progress__wrap .m-progress__point {
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 50%;
|
|
35
|
-
right: 0;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
min-width: 40rpx;
|
|
38
|
-
line-height: 1.5;
|
|
39
|
-
text-align: center;
|
|
40
|
-
word-break: keep-all;
|
|
41
|
-
border-radius: 100px;
|
|
42
|
-
transform: translateY(-50%);
|
|
43
|
-
color: #fff;
|
|
44
|
-
padding: 0 8rpx;
|
|
45
|
-
font-size: 20rpx;
|
|
46
|
-
background-color: var(--color-primary, #409EFF);
|
|
47
|
-
}
|
|
48
|
-
.m-progress__wrap .m-progress__point .m-progress__point--primary {
|
|
49
|
-
background-color: var(--color-primary, #409EFF);
|
|
50
|
-
}
|
|
51
|
-
.m-progress__wrap .m-progress__point .m-progress__point--success {
|
|
52
|
-
background-color: var(--color-success, #67C23A);
|
|
53
|
-
}
|
|
54
|
-
.m-progress__wrap .m-progress__point .m-progress__point--warning {
|
|
55
|
-
background-color: var(--color-warning, #E6A23C);
|
|
56
|
-
}
|
|
57
|
-
.m-progress__wrap .m-progress__point .m-progress__point--danger {
|
|
58
|
-
background-color: var(--color-danger, #F56C6C);
|
|
59
|
-
}
|
|
60
|
-
.m-progress__wrap .m-progress__slot {
|
|
61
|
-
background: none;
|
|
62
|
-
margin-left: 12rpx;
|
|
1
|
+
.m-progress__wrap {
|
|
2
|
+
padding: 20rpx 0;
|
|
3
|
+
}
|
|
4
|
+
.m-progress__wrap .m-progress {
|
|
5
|
+
position: relative;
|
|
6
|
+
height: 6rpx;
|
|
7
|
+
border-radius: 100px;
|
|
8
|
+
background-color: #e5e5e5;
|
|
9
|
+
}
|
|
10
|
+
.m-progress__wrap .m-progress__portion {
|
|
11
|
+
position: absolute;
|
|
12
|
+
left: 0;
|
|
13
|
+
height: 100%;
|
|
14
|
+
border-radius: inherit;
|
|
15
|
+
background-color: var(--color-primary, #409EFF);
|
|
16
|
+
}
|
|
17
|
+
.m-progress__wrap .m-progress__portion--primary {
|
|
18
|
+
background-color: var(--color-primary, #409EFF);
|
|
19
|
+
}
|
|
20
|
+
.m-progress__wrap .m-progress__portion--success {
|
|
21
|
+
background-color: var(--color-success, #67C23A);
|
|
22
|
+
}
|
|
23
|
+
.m-progress__wrap .m-progress__portion--warning {
|
|
24
|
+
background-color: var(--color-warning, #E6A23C);
|
|
25
|
+
}
|
|
26
|
+
.m-progress__wrap .m-progress__portion--danger {
|
|
27
|
+
background-color: var(--color-danger, #F56C6C);
|
|
28
|
+
}
|
|
29
|
+
.m-progress__wrap .m-progress__portion--run {
|
|
30
|
+
background: linear-gradient(to right, #7DFFDB, #B4FFED) !important;
|
|
31
|
+
}
|
|
32
|
+
.m-progress__wrap .m-progress__point {
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 50%;
|
|
35
|
+
right: 0;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
min-width: 40rpx;
|
|
38
|
+
line-height: 1.5;
|
|
39
|
+
text-align: center;
|
|
40
|
+
word-break: keep-all;
|
|
41
|
+
border-radius: 100px;
|
|
42
|
+
transform: translateY(-50%);
|
|
43
|
+
color: #fff;
|
|
44
|
+
padding: 0 8rpx;
|
|
45
|
+
font-size: 20rpx;
|
|
46
|
+
background-color: var(--color-primary, #409EFF);
|
|
47
|
+
}
|
|
48
|
+
.m-progress__wrap .m-progress__point .m-progress__point--primary {
|
|
49
|
+
background-color: var(--color-primary, #409EFF);
|
|
50
|
+
}
|
|
51
|
+
.m-progress__wrap .m-progress__point .m-progress__point--success {
|
|
52
|
+
background-color: var(--color-success, #67C23A);
|
|
53
|
+
}
|
|
54
|
+
.m-progress__wrap .m-progress__point .m-progress__point--warning {
|
|
55
|
+
background-color: var(--color-warning, #E6A23C);
|
|
56
|
+
}
|
|
57
|
+
.m-progress__wrap .m-progress__point .m-progress__point--danger {
|
|
58
|
+
background-color: var(--color-danger, #F56C6C);
|
|
59
|
+
}
|
|
60
|
+
.m-progress__wrap .m-progress__slot {
|
|
61
|
+
background: none;
|
|
62
|
+
margin-left: 12rpx;
|
|
63
63
|
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
.m-radio {
|
|
2
|
-
display: flex;
|
|
3
|
-
padding: 3rpx 0;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.m-radio .m-radio__icon-wrap {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.m-radio .m-radio__icon-wrap .m-radio__icon {
|
|
12
|
-
position: relative;
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
width: 42rpx;
|
|
17
|
-
height: 42rpx;
|
|
18
|
-
color: var(--color-primary, #409EFF);
|
|
19
|
-
border: 1px solid #e5e5e5;
|
|
20
|
-
border-radius: 100%;
|
|
21
|
-
box-sizing: content-box;
|
|
22
|
-
transition-property: color, border-color, background-color;
|
|
23
|
-
transition-duration: 0.15s;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.m-radio .m-radio__icon-wrap .m-radio__icon::after {
|
|
27
|
-
content: " ";
|
|
28
|
-
display: block;
|
|
29
|
-
margin: auto;
|
|
30
|
-
width: 20rpx;
|
|
31
|
-
height: 20rpx;
|
|
32
|
-
border-radius: 100%;
|
|
33
|
-
background-color: currentColor;
|
|
34
|
-
position: absolute;
|
|
35
|
-
left: 0;
|
|
36
|
-
top: 0;
|
|
37
|
-
right: 0;
|
|
38
|
-
bottom: 0;
|
|
39
|
-
transform: scale(0);
|
|
40
|
-
transition: transform 0.15s ease-in;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.m-radio .m-radio__icon-wrap .m-radio__icon.m-radio__icon--checked {
|
|
44
|
-
border-color: currentColor;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.m-radio .m-radio__icon-wrap .m-radio__icon.m-radio__icon--checked::after {
|
|
48
|
-
transform: scale(1);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.m-radio .m-radio__icon-wrap .m-radio__icon--disabled {
|
|
52
|
-
border-color: #c8c9cc;
|
|
53
|
-
background-color: #ebedf0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.m-radio .m-radio__icon-wrap .m-radio__icon--disabled.m-radio__icon--checked {
|
|
57
|
-
color: #c8c9cc;
|
|
58
|
-
border-color: currentColor;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.m-radio .m-radio__icon-wrap .m-radio__icon--disabled.m-radio__icon--checked::after {
|
|
62
|
-
background-color: currentColor;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.m-radio .m-radio__label {
|
|
66
|
-
display: inline-flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
flex: 1;
|
|
69
|
-
word-wrap: break-word;
|
|
70
|
-
color: var(--color-text-regular, #606266);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.m-radio .m-radio__label.m-radio__label--left {
|
|
74
|
-
margin-right: 20rpx;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.m-radio .m-radio__label.m-radio__label--right {
|
|
78
|
-
margin-left: 20rpx;
|
|
1
|
+
.m-radio {
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: 3rpx 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.m-radio .m-radio__icon-wrap {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.m-radio .m-radio__icon-wrap .m-radio__icon {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
width: 42rpx;
|
|
17
|
+
height: 42rpx;
|
|
18
|
+
color: var(--color-primary, #409EFF);
|
|
19
|
+
border: 1px solid #e5e5e5;
|
|
20
|
+
border-radius: 100%;
|
|
21
|
+
box-sizing: content-box;
|
|
22
|
+
transition-property: color, border-color, background-color;
|
|
23
|
+
transition-duration: 0.15s;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.m-radio .m-radio__icon-wrap .m-radio__icon::after {
|
|
27
|
+
content: " ";
|
|
28
|
+
display: block;
|
|
29
|
+
margin: auto;
|
|
30
|
+
width: 20rpx;
|
|
31
|
+
height: 20rpx;
|
|
32
|
+
border-radius: 100%;
|
|
33
|
+
background-color: currentColor;
|
|
34
|
+
position: absolute;
|
|
35
|
+
left: 0;
|
|
36
|
+
top: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
bottom: 0;
|
|
39
|
+
transform: scale(0);
|
|
40
|
+
transition: transform 0.15s ease-in;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.m-radio .m-radio__icon-wrap .m-radio__icon.m-radio__icon--checked {
|
|
44
|
+
border-color: currentColor;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.m-radio .m-radio__icon-wrap .m-radio__icon.m-radio__icon--checked::after {
|
|
48
|
+
transform: scale(1);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.m-radio .m-radio__icon-wrap .m-radio__icon--disabled {
|
|
52
|
+
border-color: #c8c9cc;
|
|
53
|
+
background-color: #ebedf0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.m-radio .m-radio__icon-wrap .m-radio__icon--disabled.m-radio__icon--checked {
|
|
57
|
+
color: #c8c9cc;
|
|
58
|
+
border-color: currentColor;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.m-radio .m-radio__icon-wrap .m-radio__icon--disabled.m-radio__icon--checked::after {
|
|
62
|
+
background-color: currentColor;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.m-radio .m-radio__label {
|
|
66
|
+
display: inline-flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
flex: 1;
|
|
69
|
+
word-wrap: break-word;
|
|
70
|
+
color: var(--color-text-regular, #606266);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.m-radio .m-radio__label.m-radio__label--left {
|
|
74
|
+
margin-right: 20rpx;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.m-radio .m-radio__label.m-radio__label--right {
|
|
78
|
+
margin-left: 20rpx;
|
|
79
79
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
.retry {
|
|
2
|
-
padding: 24rpx;
|
|
3
|
-
color: #333;
|
|
4
|
-
padding: 24rpx 12rpx;
|
|
5
|
-
border-radius: 12rpx;
|
|
6
|
-
background: #fff;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
align-items: center;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.title {
|
|
14
|
-
margin-bottom: 24rpx;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.action, .description {
|
|
18
|
-
font-size: var(--font-size-sm);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.description {
|
|
22
|
-
margin-bottom: 24rpx;
|
|
1
|
+
.retry {
|
|
2
|
+
padding: 24rpx;
|
|
3
|
+
color: #333;
|
|
4
|
+
padding: 24rpx 12rpx;
|
|
5
|
+
border-radius: 12rpx;
|
|
6
|
+
background: #fff;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.title {
|
|
14
|
+
margin-bottom: 24rpx;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.action, .description {
|
|
18
|
+
font-size: var(--font-size-sm);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.description {
|
|
22
|
+
margin-bottom: 24rpx;
|
|
23
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
overflow: auto;
|
|
5
|
-
height: 100%;
|
|
6
|
-
width: 100%;
|
|
1
|
+
.container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
overflow: auto;
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tabs/index.js"],"names":["Component","externalClasses","properties","tabs","type","Array","value","activeIndex","Number","data","observers","methods","handlehangeTab","e","current","currentTarget","dataset","tab","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tabs/index.js"],"names":["Component","externalClasses","properties","tabs","type","Array","value","activeIndex","Number","data","observers","methods","handlehangeTab","e","current","currentTarget","dataset","tab","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,KADF;AAEJC,aAAO;AAFH,KADI;AAKVC,iBAAa;AACXH,YAAMI,MADK;AAEXF,aAAO;AAFI;AALH,GAFJ;AAYRG,QAAM,EAZE;AAaRC,aAAW,EAbH;AAcRC,WAAS;AACPC,kBADO,0BACQC,CADR,EACW;AAChB,UAAMC,UAAUD,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBC,GAAxC;AACA,WAAKC,YAAL,CAAkB,WAAlB,EAA+BJ,OAA/B;AACD;AAJM;AAdD,CAAV,E","file":"bld-tabs\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 53);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n tabs: {\r\n type: Array,\r\n value: [],\r\n },\r\n activeIndex: {\r\n type: Number,\r\n value: 0,\r\n },\r\n },\r\n data: {},\r\n observers: {},\r\n methods: {\r\n handlehangeTab(e) {\r\n const current = e.currentTarget.dataset.tab;\r\n this.triggerEvent(\"changeTab\", current);\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|