bulade-ui 1.1.13 → 1.1.14
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/bld-action-sheet/index.json +1 -1
- package/miniprogram_dist/bld-cell-v2/index.json +1 -1
- package/miniprogram_dist/bld-cell-v2/index.wxml +2 -2
- package/miniprogram_dist/bld-checkbox/index.json +1 -1
- package/miniprogram_dist/bld-checkbox/index.wxml +1 -1
- package/miniprogram_dist/bld-icon/index.js +2 -2
- package/miniprogram_dist/bld-icon/index.js.map +1 -1
- package/miniprogram_dist/bld-icon/index.wxml +5 -4
- package/miniprogram_dist/bld-nav-bar/index.wxml +2 -2
- package/miniprogram_dist/bld-toast/index.json +1 -1
- package/miniprogram_dist/bld-toast/index.wxml +1 -1
- package/miniprogram_dist/grid-item/index.json +1 -1
- package/miniprogram_dist/grid-item/index.wxml +1 -1
- package/miniprogram_dist/timeline-item/index.json +1 -1
- package/miniprogram_dist/timeline-item/index.wxml +1 -1
- package/package.json +1 -1
- package/src/bld-action-sheet/index.json +1 -1
- package/src/bld-cell-v2/index.json +1 -1
- package/src/bld-cell-v2/index.wxml +2 -2
- package/src/bld-checkbox/index.json +1 -1
- package/src/bld-checkbox/index.wxml +1 -1
- package/src/bld-icon/index.js +2 -2
- package/src/bld-icon/index.wxml +5 -4
- package/src/bld-nav-bar/index.wxml +2 -2
- package/src/bld-toast/index.json +1 -1
- package/src/bld-toast/index.wxml +1 -1
- package/src/grid-item/index.json +1 -1
- package/src/grid-item/index.wxml +1 -1
- package/src/timeline-item/index.json +1 -1
- package/src/timeline-item/index.wxml +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<!-- 头部图标 -->
|
|
7
7
|
<view wx:if="{{ icon }}" class="m-cell__icon m-cell__header">
|
|
8
|
-
<
|
|
8
|
+
<bld-icon name="{{ icon }}" size="36" color="{{ iconColor ? iconColor : '' }}" />
|
|
9
9
|
</view>
|
|
10
10
|
|
|
11
11
|
<!-- 自定义标题 -->
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
</view>
|
|
22
22
|
|
|
23
23
|
<!-- 右侧跳转箭头 -->
|
|
24
|
-
<
|
|
24
|
+
<bld-icon wx:if="{{ url }}" class="m-cell__icon m-cell__footer" catchtap="navigateTo" name="arrow-right" size="32" color="#999" />
|
|
25
25
|
</view>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
class="m-checkbox__icon {{ check.getClass(value, disabled, prevent, round) }}"
|
|
11
11
|
style="{{ check.getStyle(value, disabled, prevent, checkedColor) }}"
|
|
12
12
|
>
|
|
13
|
-
<
|
|
13
|
+
<bld-icon
|
|
14
14
|
name="confirm"
|
|
15
15
|
size="30"
|
|
16
16
|
color="{{ value ? '#fff' : 'transparent' }}"
|
|
@@ -113,7 +113,7 @@ Component({
|
|
|
113
113
|
size: {
|
|
114
114
|
type: Number,
|
|
115
115
|
optionalTypes: [Number, String],
|
|
116
|
-
value:
|
|
116
|
+
value: '',
|
|
117
117
|
observer: function observer(val) {
|
|
118
118
|
this.setData({
|
|
119
119
|
fsize: parseInt(val)
|
|
@@ -132,7 +132,7 @@ Component({
|
|
|
132
132
|
|
|
133
133
|
data: {
|
|
134
134
|
isImage: false,
|
|
135
|
-
fsize:
|
|
135
|
+
fsize: ''
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-icon/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","name","type","String","observer","val","setData","isImage","indexOf","size","Number","optionalTypes","value","fsize","parseInt","color","customStyle","data"],"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;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,cAFI,oBAEKC,GAFL,EAEU;AACZ,aAAKC,OAAL,CAAa;AACXC,mBAASF,IAAIG,OAAJ,CAAY,GAAZ,IAAmB,CAAC;AADlB,SAAb;AAGD;AANG,KADI;;AAUVC,UAAM;AACJP,YAAMQ,MADF;AAEJC,qBAAe,CAACD,MAAD,EAASP,MAAT,CAFX;AAGJS,aAAO,EAHH;AAIJR,cAJI,oBAIKC,GAJL,EAIU;AACZ,aAAKC,OAAL,CAAa;AACXO,iBAAOC,SAAST,GAAT;AADI,SAAb;AAGD;AARG,KAVI;AAoBVU,WAAO;AACLb,YAAMC,MADD;AAELS,aAAO;AAFF,KApBG;AAwBVI,iBAAa;AACXd,YAAMC,MADK;AAEXS,aAAO;AAFI;AAxBH,GAPJ;;AAqCRK,QAAM;AACJV,aAAS,KADL;AAEJM,WAAO;AAFH;AArCE,CAAV,E","file":"bld-icon\\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 = 2);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n name: {\r\n type: String,\r\n observer(val) {\r\n this.setData({\r\n isImage: val.indexOf('/') > -1\r\n })\r\n }\r\n },\r\n \r\n size: {\r\n type: Number,\r\n optionalTypes: [Number, String],\r\n value:
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-icon/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","name","type","String","observer","val","setData","isImage","indexOf","size","Number","optionalTypes","value","fsize","parseInt","color","customStyle","data"],"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;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,cAFI,oBAEKC,GAFL,EAEU;AACZ,aAAKC,OAAL,CAAa;AACXC,mBAASF,IAAIG,OAAJ,CAAY,GAAZ,IAAmB,CAAC;AADlB,SAAb;AAGD;AANG,KADI;;AAUVC,UAAM;AACJP,YAAMQ,MADF;AAEJC,qBAAe,CAACD,MAAD,EAASP,MAAT,CAFX;AAGJS,aAAO,EAHH;AAIJR,cAJI,oBAIKC,GAJL,EAIU;AACZ,aAAKC,OAAL,CAAa;AACXO,iBAAOC,SAAST,GAAT;AADI,SAAb;AAGD;AARG,KAVI;AAoBVU,WAAO;AACLb,YAAMC,MADD;AAELS,aAAO;AAFF,KApBG;AAwBVI,iBAAa;AACXd,YAAMC,MADK;AAEXS,aAAO;AAFI;AAxBH,GAPJ;;AAqCRK,QAAM;AACJV,aAAS,KADL;AAEJM,WAAO;AAFH;AArCE,CAAV,E","file":"bld-icon\\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 = 2);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n name: {\r\n type: String,\r\n observer(val) {\r\n this.setData({\r\n isImage: val.indexOf('/') > -1\r\n })\r\n }\r\n },\r\n \r\n size: {\r\n type: Number,\r\n optionalTypes: [Number, String],\r\n value: '',\r\n observer(val) {\r\n this.setData({\r\n fsize: parseInt(val)\r\n }) \r\n }\r\n },\r\n color: {\r\n type: String,\r\n value: ''\r\n },\r\n customStyle: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n \r\n data: {\r\n isImage: false,\r\n fsize: ''\r\n }\r\n})"],"sourceRoot":""}
|
|
@@ -13,14 +13,15 @@
|
|
|
13
13
|
<wxs module="icon">
|
|
14
14
|
function setIconStyle(isImage, size, color) {
|
|
15
15
|
var styles = []
|
|
16
|
+
var imgSize = size || 32
|
|
16
17
|
|
|
17
18
|
if(size) {
|
|
18
|
-
if(isImage) {
|
|
19
|
-
styles.push('width:' + size +'rpx')
|
|
20
|
-
styles.push('height:' + size +'rpx')
|
|
21
|
-
}
|
|
22
19
|
styles.push('font-size:' + size +'rpx')
|
|
23
20
|
}
|
|
21
|
+
if(isImage) {
|
|
22
|
+
styles.push('width:' + imgSize +'rpx')
|
|
23
|
+
styles.push('height:' + imgSize +'rpx')
|
|
24
|
+
}
|
|
24
25
|
|
|
25
26
|
if(color) {
|
|
26
27
|
styles.push('color:' + color)
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
<view wx:if="{{noticeText}}" class="notice-wrap" style="top:{{ top }}px;">
|
|
30
30
|
<bld-notice-bar>
|
|
31
31
|
<view class="preifx" slot="preifx">
|
|
32
|
-
<
|
|
32
|
+
<bld-icon name="notice" size="32" color="#ed6a0c" />
|
|
33
33
|
</view>
|
|
34
34
|
|
|
35
35
|
<view>{{noticeText}}</view>
|
|
36
36
|
|
|
37
37
|
<view class="suffix" slot="suffix">
|
|
38
|
-
<
|
|
38
|
+
<bld-icon name="cross" size="32" color="#ed6a0c" />
|
|
39
39
|
</view>
|
|
40
40
|
</bld-notice-bar>
|
|
41
41
|
</view>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<view class="m-toast">
|
|
14
14
|
|
|
15
15
|
<view wx:if="{{ icon }}" class="m-toast__icon">
|
|
16
|
-
<
|
|
16
|
+
<bld-icon size="{{ iconSize }}" name="{{ icon }}" color="{{ iconColor }}" />
|
|
17
17
|
</view>
|
|
18
18
|
|
|
19
19
|
<view wx:elif="{{ image }}" class="m-toast__image">
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
<block wx:else>
|
|
14
14
|
<view class="m-grid-item__icon">
|
|
15
|
-
<
|
|
15
|
+
<bld-icon wx:if="{{ icon }}" name="{{ icon }}" color="{{ iconColor }}" size="{{ iconSize }}" dot="{{ dot }}" info="{{ info }}" />
|
|
16
16
|
<slot wx:else name="icon" />
|
|
17
17
|
|
|
18
18
|
</view>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<view class="m-timeline {{ isLast ? 'is-last':'' }}">
|
|
2
2
|
<view class="m-timeline__line">
|
|
3
|
-
<
|
|
3
|
+
<bld-icon wx:if="{{ icon }}" name="{{ icon }}" color="{{ color }}" />
|
|
4
4
|
<text wx:else style="{{ color ? 'color:' + color : '' }}">{{ text }}</text>
|
|
5
5
|
</view>
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<!-- 头部图标 -->
|
|
7
7
|
<view wx:if="{{ icon }}" class="m-cell__icon m-cell__header">
|
|
8
|
-
<
|
|
8
|
+
<bld-icon name="{{ icon }}" size="36" color="{{ iconColor ? iconColor : '' }}" />
|
|
9
9
|
</view>
|
|
10
10
|
|
|
11
11
|
<!-- 自定义标题 -->
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
</view>
|
|
22
22
|
|
|
23
23
|
<!-- 右侧跳转箭头 -->
|
|
24
|
-
<
|
|
24
|
+
<bld-icon wx:if="{{ url }}" class="m-cell__icon m-cell__footer" catchtap="navigateTo" name="arrow-right" size="32" color="#999" />
|
|
25
25
|
</view>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
class="m-checkbox__icon {{ check.getClass(value, disabled, prevent, round) }}"
|
|
11
11
|
style="{{ check.getStyle(value, disabled, prevent, checkedColor) }}"
|
|
12
12
|
>
|
|
13
|
-
<
|
|
13
|
+
<bld-icon
|
|
14
14
|
name="confirm"
|
|
15
15
|
size="30"
|
|
16
16
|
color="{{ value ? '#fff' : 'transparent' }}"
|
package/src/bld-icon/index.js
CHANGED
|
@@ -18,7 +18,7 @@ Component({
|
|
|
18
18
|
size: {
|
|
19
19
|
type: Number,
|
|
20
20
|
optionalTypes: [Number, String],
|
|
21
|
-
value:
|
|
21
|
+
value: '',
|
|
22
22
|
observer(val) {
|
|
23
23
|
this.setData({
|
|
24
24
|
fsize: parseInt(val)
|
|
@@ -37,6 +37,6 @@ Component({
|
|
|
37
37
|
|
|
38
38
|
data: {
|
|
39
39
|
isImage: false,
|
|
40
|
-
fsize:
|
|
40
|
+
fsize: ''
|
|
41
41
|
}
|
|
42
42
|
})
|
package/src/bld-icon/index.wxml
CHANGED
|
@@ -13,14 +13,15 @@
|
|
|
13
13
|
<wxs module="icon">
|
|
14
14
|
function setIconStyle(isImage, size, color) {
|
|
15
15
|
var styles = []
|
|
16
|
+
var imgSize = size || 32
|
|
16
17
|
|
|
17
18
|
if(size) {
|
|
18
|
-
if(isImage) {
|
|
19
|
-
styles.push('width:' + size +'rpx')
|
|
20
|
-
styles.push('height:' + size +'rpx')
|
|
21
|
-
}
|
|
22
19
|
styles.push('font-size:' + size +'rpx')
|
|
23
20
|
}
|
|
21
|
+
if(isImage) {
|
|
22
|
+
styles.push('width:' + imgSize +'rpx')
|
|
23
|
+
styles.push('height:' + imgSize +'rpx')
|
|
24
|
+
}
|
|
24
25
|
|
|
25
26
|
if(color) {
|
|
26
27
|
styles.push('color:' + color)
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
<view wx:if="{{noticeText}}" class="notice-wrap" style="top:{{ top }}px;">
|
|
30
30
|
<bld-notice-bar>
|
|
31
31
|
<view class="preifx" slot="preifx">
|
|
32
|
-
<
|
|
32
|
+
<bld-icon name="notice" size="32" color="#ed6a0c" />
|
|
33
33
|
</view>
|
|
34
34
|
|
|
35
35
|
<view>{{noticeText}}</view>
|
|
36
36
|
|
|
37
37
|
<view class="suffix" slot="suffix">
|
|
38
|
-
<
|
|
38
|
+
<bld-icon name="cross" size="32" color="#ed6a0c" />
|
|
39
39
|
</view>
|
|
40
40
|
</bld-notice-bar>
|
|
41
41
|
</view>
|
package/src/bld-toast/index.json
CHANGED
package/src/bld-toast/index.wxml
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<view class="m-toast">
|
|
14
14
|
|
|
15
15
|
<view wx:if="{{ icon }}" class="m-toast__icon">
|
|
16
|
-
<
|
|
16
|
+
<bld-icon size="{{ iconSize }}" name="{{ icon }}" color="{{ iconColor }}" />
|
|
17
17
|
</view>
|
|
18
18
|
|
|
19
19
|
<view wx:elif="{{ image }}" class="m-toast__image">
|
package/src/grid-item/index.json
CHANGED
package/src/grid-item/index.wxml
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
<block wx:else>
|
|
14
14
|
<view class="m-grid-item__icon">
|
|
15
|
-
<
|
|
15
|
+
<bld-icon wx:if="{{ icon }}" name="{{ icon }}" color="{{ iconColor }}" size="{{ iconSize }}" dot="{{ dot }}" info="{{ info }}" />
|
|
16
16
|
<slot wx:else name="icon" />
|
|
17
17
|
|
|
18
18
|
</view>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<view class="m-timeline {{ isLast ? 'is-last':'' }}">
|
|
2
2
|
<view class="m-timeline__line">
|
|
3
|
-
<
|
|
3
|
+
<bld-icon wx:if="{{ icon }}" name="{{ icon }}" color="{{ color }}" />
|
|
4
4
|
<text wx:else style="{{ color ? 'color:' + color : '' }}">{{ text }}</text>
|
|
5
5
|
</view>
|
|
6
6
|
|