bulade-ui 1.1.20 → 1.1.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/miniprogram_dist/assets/font/iconfont.scss +10 -2
- package/miniprogram_dist/assets/font/iconfont.wxss +539 -531
- package/miniprogram_dist/bld-cell-group-v2/index.wxss +29 -29
- package/miniprogram_dist/bld-cell-v2/index.wxss +64 -64
- package/miniprogram_dist/bld-html/index.js +1 -1
- package/miniprogram_dist/bld-html/index.js.map +1 -1
- package/miniprogram_dist/bld-icon/index.wxss +559 -551
- package/miniprogram_dist/components-npm/mp-weixin/node/node.wxss +4 -1
- package/package.json +1 -2
- package/src/assets/font/iconfont.scss +10 -2
- package/src/assets/font/iconfont.wxss +10 -2
- package/src/bld-cell-group-v2/index.wxss +29 -29
- package/src/bld-cell-v2/index.wxss +64 -64
- package/src/bld-html/index.js +1 -1
- package/src/bld-icon/index.wxss +559 -551
- package/src/bld-icon-back/index.wxss +539 -531
- package/src/components-npm/mp-weixin/node/node.wxss +4 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.m-cell-group {
|
|
2
|
-
position: relative;
|
|
3
|
-
margin: 0;
|
|
4
|
-
background: #fff;
|
|
5
|
-
transition: margin 0.2s ease-in-out;
|
|
6
|
-
}
|
|
7
|
-
.m-cell-group.m-cell-group--card {
|
|
8
|
-
margin: 32rpx;
|
|
9
|
-
border-radius: 12rpx;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
}
|
|
12
|
-
.m-cell-group .m-cell-group__header {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
flex-shrink: 0;
|
|
17
|
-
position: relative;
|
|
18
|
-
padding: 0 32rpx;
|
|
19
|
-
height: 100rpx;
|
|
20
|
-
font-size: 32rpx;
|
|
21
|
-
color: var(--color-text-regular, #606266);
|
|
22
|
-
background-color: #fcfcfc;
|
|
23
|
-
}
|
|
24
|
-
.m-cell-group .m-cell-group__header .m-cell-group__title {
|
|
25
|
-
flex: 1;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
white-space: nowrap;
|
|
29
|
-
}
|
|
1
|
+
.m-cell-group {
|
|
2
|
+
position: relative;
|
|
3
|
+
margin: 0;
|
|
4
|
+
background: #fff;
|
|
5
|
+
transition: margin 0.2s ease-in-out;
|
|
6
|
+
}
|
|
7
|
+
.m-cell-group.m-cell-group--card {
|
|
8
|
+
margin: 32rpx;
|
|
9
|
+
border-radius: 12rpx;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
.m-cell-group .m-cell-group__header {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
position: relative;
|
|
18
|
+
padding: 0 32rpx;
|
|
19
|
+
height: 100rpx;
|
|
20
|
+
font-size: 32rpx;
|
|
21
|
+
color: var(--color-text-regular, #606266);
|
|
22
|
+
background-color: #fcfcfc;
|
|
23
|
+
}
|
|
24
|
+
.m-cell-group .m-cell-group__header .m-cell-group__title {
|
|
25
|
+
flex: 1;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
}
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
.m-cell {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
position: relative;
|
|
6
|
-
padding: 20rpx 32rpx;
|
|
7
|
-
line-height: 54rpx;
|
|
8
|
-
font-size: 28rpx;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
}
|
|
11
|
-
.m-cell.m-cell__hairline::after {
|
|
12
|
-
position: absolute;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
content: " ";
|
|
15
|
-
pointer-events: none;
|
|
16
|
-
right: 32rpx;
|
|
17
|
-
bottom: -12rpx;
|
|
18
|
-
left: 32rpx;
|
|
19
|
-
border-bottom: 1px solid var(--color-border, #dcdee2);
|
|
20
|
-
transform: scaleY(0.5);
|
|
21
|
-
}
|
|
22
|
-
.m-cell.m-cell--hover {
|
|
23
|
-
background-color: #f7f8f9;
|
|
24
|
-
}
|
|
25
|
-
.m-cell .m-cell__icon {
|
|
26
|
-
width: 38rpx;
|
|
27
|
-
text-align: center;
|
|
28
|
-
}
|
|
29
|
-
.m-cell .m-cell__header {
|
|
30
|
-
margin-right: 12rpx;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
}
|
|
34
|
-
.m-cell .m-cell__title {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
flex: 1;
|
|
38
|
-
color: var(--color-text-primary, #303133);
|
|
39
|
-
vertical-align: middle;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
text-overflow: ellipsis;
|
|
42
|
-
white-space: nowrap;
|
|
43
|
-
}
|
|
44
|
-
.m-cell .m-cell__desc {
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
margin-left: 20rpx;
|
|
48
|
-
max-width: 400rpx;
|
|
49
|
-
color: var(--color-text-secondary, #909399);
|
|
50
|
-
font-size: 28rpx;
|
|
51
|
-
}
|
|
52
|
-
.m-cell .m-cell__desc.is-ellipsis {
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
text-overflow: ellipsis;
|
|
55
|
-
white-space: nowrap;
|
|
56
|
-
}
|
|
57
|
-
.m-cell .m-cell__slot {
|
|
58
|
-
display: inline-flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
}
|
|
61
|
-
.m-cell .m-cell__footer {
|
|
62
|
-
text-align: right;
|
|
63
|
-
margin-left: 24rpx;
|
|
64
|
-
}
|
|
1
|
+
.m-cell {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
position: relative;
|
|
6
|
+
padding: 20rpx 32rpx;
|
|
7
|
+
line-height: 54rpx;
|
|
8
|
+
font-size: 28rpx;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
}
|
|
11
|
+
.m-cell.m-cell__hairline::after {
|
|
12
|
+
position: absolute;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
content: " ";
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
right: 32rpx;
|
|
17
|
+
bottom: -12rpx;
|
|
18
|
+
left: 32rpx;
|
|
19
|
+
border-bottom: 1px solid var(--color-border, #dcdee2);
|
|
20
|
+
transform: scaleY(0.5);
|
|
21
|
+
}
|
|
22
|
+
.m-cell.m-cell--hover {
|
|
23
|
+
background-color: #f7f8f9;
|
|
24
|
+
}
|
|
25
|
+
.m-cell .m-cell__icon {
|
|
26
|
+
width: 38rpx;
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
.m-cell .m-cell__header {
|
|
30
|
+
margin-right: 12rpx;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
.m-cell .m-cell__title {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
flex: 1;
|
|
38
|
+
color: var(--color-text-primary, #303133);
|
|
39
|
+
vertical-align: middle;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
}
|
|
44
|
+
.m-cell .m-cell__desc {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
margin-left: 20rpx;
|
|
48
|
+
max-width: 400rpx;
|
|
49
|
+
color: var(--color-text-secondary, #909399);
|
|
50
|
+
font-size: 28rpx;
|
|
51
|
+
}
|
|
52
|
+
.m-cell .m-cell__desc.is-ellipsis {
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
57
|
+
.m-cell .m-cell__slot {
|
|
58
|
+
display: inline-flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
}
|
|
61
|
+
.m-cell .m-cell__footer {
|
|
62
|
+
text-align: right;
|
|
63
|
+
margin-left: 24rpx;
|
|
64
|
+
}
|
|
@@ -118,7 +118,7 @@ Component({
|
|
|
118
118
|
var content = this.data.html;
|
|
119
119
|
|
|
120
120
|
content = content.replace(/style="(.*?)"/gm, "");
|
|
121
|
-
content = content.replace(/class="(.*?)"/gm, "");
|
|
121
|
+
// content = content.replace(/class="(.*?)"/gm, "");
|
|
122
122
|
content = content.replaceAll("<p><br></p>", "");
|
|
123
123
|
|
|
124
124
|
this.setData({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-html/index.js"],"names":["Component","externalClasses","properties","html","type","String","value","loseStyle","Boolean","data","content","tagStyle","p","img","containerStyle","observers","replace","replaceAll","setData","newValue"],"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,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,eAAU;AACRH,YAAMI,OADE;AAERF,aAAM;AAFE;AALA,GAFJ;AAYRG,QAAM;AACJC,aAAS,QADL;AAEJC,cAAU;AACRC,SAAG,qBADK;AAERC,WAAK;AAFG,KAFN;AAMJC,oBAAgB;AANZ,GAZE;AAoBRC,aAAW;AACTZ,QADS,kBACF;AACL,UAAIO,UAAU,KAAKD,IAAL,CAAUN,IAAxB;;AAEAO,gBAAUA,QAAQM,OAAR,CAAgB,iBAAhB,EAAmC,EAAnC,CAAV;
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-html/index.js"],"names":["Component","externalClasses","properties","html","type","String","value","loseStyle","Boolean","data","content","tagStyle","p","img","containerStyle","observers","replace","replaceAll","setData","newValue"],"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,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,eAAU;AACRH,YAAMI,OADE;AAERF,aAAM;AAFE;AALA,GAFJ;AAYRG,QAAM;AACJC,aAAS,QADL;AAEJC,cAAU;AACRC,SAAG,qBADK;AAERC,WAAK;AAFG,KAFN;AAMJC,oBAAgB;AANZ,GAZE;AAoBRC,aAAW;AACTZ,QADS,kBACF;AACL,UAAIO,UAAU,KAAKD,IAAL,CAAUN,IAAxB;;AAEAO,gBAAUA,QAAQM,OAAR,CAAgB,iBAAhB,EAAmC,EAAnC,CAAV;AACA;AACAN,gBAAUA,QAAQO,UAAR,CAAmB,aAAnB,EAAkC,EAAlC,CAAV;;AAEA,WAAKC,OAAL,CAAa;AACXR;AADW,OAAb;AAGD,KAXQ;;AAYTH,eAAW,mBAASY,QAAT,EAAmB;AAC5B,UAAIA,QAAJ,EAAc;AACZ,aAAKD,OAAL,CAAa;AACXP,oBAAS;AADE,SAAb;AAGD;AACF;AAlBQ;AApBH,CAAV,E","file":"bld-html\\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 = 34);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n html: {\r\n type: String,\r\n value: \"加载中...\",\r\n },\r\n loseStyle:{\r\n type: Boolean,\r\n value:false\r\n }\r\n },\r\n data: {\r\n content: \"加载中...\",\r\n tagStyle: {\r\n p: \"margin-bottom: 14px\",\r\n img: \"margin-bottom: 14px\",\r\n },\r\n containerStyle: \"padding: 0;\",\r\n },\r\n observers: {\r\n html() {\r\n let content = this.data.html;\r\n\r\n content = content.replace(/style=\"(.*?)\"/gm, \"\");\r\n // content = content.replace(/class=\"(.*?)\"/gm, \"\");\r\n content = content.replaceAll(\"<p><br></p>\", \"\");\r\n\r\n this.setData({\r\n content,\r\n });\r\n },\r\n loseStyle: function(newValue) {\r\n if (newValue) {\r\n this.setData({\r\n tagStyle:{}\r\n })\r\n } \r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|