vant 2.12.28 → 2.12.30
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/changelog.generated.md +2 -16
- package/es/index.js +1 -1
- package/es/sku/components/SkuMessages.js +16 -3
- package/es/sku/index.css +1 -1
- package/es/sku/index.less +21 -0
- package/es/tabs/utils.js +2 -4
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/sku/components/SkuMessages.js +16 -3
- package/lib/sku/index.css +1 -1
- package/lib/sku/index.less +21 -0
- package/lib/tabs/utils.js +1 -4
- package/lib/vant.js +30 -19
- package/lib/vant.min.js +2 -2
- package/package.json +1 -1
- package/vetur/attributes.json +96 -96
- package/vetur/tags.json +34 -34
- package/vetur/web-types.json +292 -292
package/lib/index.js
CHANGED
@@ -361,7 +361,7 @@ exports.TreeSelect = _treeSelect.default;
|
|
361
361
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
362
362
|
|
363
363
|
exports.Uploader = _uploader.default;
|
364
|
-
var version = '2.12.
|
364
|
+
var version = '2.12.30';
|
365
365
|
exports.version = version;
|
366
366
|
|
367
367
|
function install(Vue) {
|
@@ -139,6 +139,16 @@ var _default2 = createComponent({
|
|
139
139
|
return value;
|
140
140
|
};
|
141
141
|
},
|
142
|
+
getExtraDesc: function getExtraDesc(message) {
|
143
|
+
var h = this.$createElement;
|
144
|
+
var extraDesc = message.extraDesc;
|
145
|
+
|
146
|
+
if (extraDesc) {
|
147
|
+
return h("div", {
|
148
|
+
"class": bem('extra-message')
|
149
|
+
}, [extraDesc]);
|
150
|
+
}
|
151
|
+
},
|
142
152
|
genMessage: function genMessage(message, index) {
|
143
153
|
var _this2 = this;
|
144
154
|
|
@@ -191,7 +201,9 @@ var _default2 = createComponent({
|
|
191
201
|
});
|
192
202
|
}
|
193
203
|
|
194
|
-
return h(
|
204
|
+
return h("div", {
|
205
|
+
"class": bem('cell-block')
|
206
|
+
}, [h(_field.default, {
|
195
207
|
"attrs": {
|
196
208
|
"maxlength": "200",
|
197
209
|
"center": !message.multiple,
|
@@ -199,7 +211,8 @@ var _default2 = createComponent({
|
|
199
211
|
"required": String(message.required) === '1',
|
200
212
|
"placeholder": this.getPlaceholder(message),
|
201
213
|
"type": this.getType(message),
|
202
|
-
"formatter": this.getFormatter(message)
|
214
|
+
"formatter": this.getFormatter(message),
|
215
|
+
"border": false
|
203
216
|
},
|
204
217
|
"key": this.goodsId + "-" + index,
|
205
218
|
"model": {
|
@@ -208,7 +221,7 @@ var _default2 = createComponent({
|
|
208
221
|
_this2.$set(_this2.messageValues[index], "value", $$v);
|
209
222
|
}
|
210
223
|
}
|
211
|
-
});
|
224
|
+
}), this.getExtraDesc(message)]);
|
212
225
|
}
|
213
226
|
},
|
214
227
|
render: function render() {
|
package/lib/sku/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.van-sku-container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;min-height:50%;max-height:80%;overflow-y:visible;font-size:14px;background:#fff}.van-sku-body{-webkit-box-flex:1;-webkit-flex:1 1 auto;flex:1 1 auto;min-height:44px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-sku-body::-webkit-scrollbar{display:none}.van-sku-header{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;margin:0 16px}.van-sku-header__img-wrap{-webkit-flex-shrink:0;flex-shrink:0;width:96px;height:96px;margin:12px 12px 12px 0;overflow:hidden;border-radius:4px}.van-sku-header__goods-info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;padding:12px 20px 12px 0}.van-sku-header-item{margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-sku__price-symbol{font-size:16px;vertical-align:bottom}.van-sku__price-num{font-weight:500;font-size:22px;vertical-align:bottom;word-wrap:break-word}.van-sku__goods-price{margin-left:-2px;color:#ee0a24}.van-sku__price-tag{position:relative;display:inline-block;margin-left:8px;padding:0 5px;overflow:hidden;color:#ee0a24;font-size:12px;line-height:16px;border-radius:8px}.van-sku__price-tag::before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;opacity:.1;content:''}.van-sku-group-container{padding-top:12px}.van-sku-group-container--hide-soldout .van-sku-row__item--disabled{display:none}.van-sku-row{margin:0 16px 12px}.van-sku-row:last-child{margin-bottom:0}.van-sku-row__image-item,.van-sku-row__item{position:relative;overflow:hidden;color:#323233;border-radius:4px;cursor:pointer}.van-sku-row__image-item::before,.van-sku-row__item::before{position:absolute;top:0;left:0;width:100%;height:100%;background:#f7f8fa;content:''}.van-sku-row__image-item--active,.van-sku-row__item--active{color:#ee0a24}.van-sku-row__image-item--active::before,.van-sku-row__item--active::before{background:currentColor;opacity:.1}.van-sku-row__item{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:40px;margin:0 12px 12px 0;font-size:13px;line-height:16px;vertical-align:middle}.van-sku-row__item-img{z-index:1;width:24px;height:24px;margin:4px 0 4px 4px;object-fit:cover;border-radius:2px}.van-sku-row__item-name{z-index:1;padding:8px}.van-sku-row__item--disabled{color:#c8c9cc;background:#f2f3f5;cursor:not-allowed}.van-sku-row__item--disabled .van-sku-row__item-img{opacity:.3}.van-sku-row__image{margin-right:0}.van-sku-row__image-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;width:110px;margin:0 4px 4px 0;border:1px solid transparent}.van-sku-row__image-item:last-child{margin-right:0}.van-sku-row__image-item-img{width:100%;height:110px}.van-sku-row__image-item-img-icon{position:absolute;top:0;right:0;z-index:3;width:18px;height:18px;color:#fff;line-height:18px;text-align:center;background-color:rgba(0,0,0,.4);border-bottom-left-radius:4px}.van-sku-row__image-item-name{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;height:40px;padding:4px;font-size:12px;line-height:16px}.van-sku-row__image-item-name span{word-wrap:break-word}.van-sku-row__image-item--active{border-color:currentColor}.van-sku-row__image-item--disabled{color:#c8c9cc;cursor:not-allowed}.van-sku-row__image-item--disabled::before{z-index:2;background:#f2f3f5;opacity:.4}.van-sku-row__title{padding-bottom:12px}.van-sku-row__title-multiple{color:#969799}.van-sku-row__scroller{margin:0 -16px;overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-sku-row__scroller::-webkit-scrollbar{display:none}.van-sku-row__row{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-bottom:4px;padding:0 16px}.van-sku-row__indicator{width:40px;height:4px;background:#ebedf0;border-radius:2px}.van-sku-row__indicator-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-bottom:16px}.van-sku-row__indicator-slider{width:50%;height:100%;background-color:#ee0a24;border-radius:2px}.van-sku-stepper-stock{padding:12px 16px;overflow:hidden;line-height:30px}.van-sku__stepper{float:right;padding-left:4px}.van-sku__stepper-title{float:left}.van-sku__stepper-quota{float:right;color:#ee0a24;font-size:12px}.van-sku__stock{display:inline-block;margin-right:8px;color:#969799;font-size:12px}.van-sku__stock-num--highlight{color:#ee0a24}.van-sku-messages{padding-bottom:32px}.van-sku-messages__image-cell .van-cell__title{max-width:6.2em;margin-right:12px;color:#646566;text-align:left;word-wrap:break-word}.van-sku-messages__image-cell .van-cell__value{overflow:visible;text-align:left}.van-sku-messages__image-cell-label{color:#969799;font-size:12px;line-height:18px}.van-sku-actions{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;padding:8px 16px}.van-sku-actions .van-button{height:40px;font-weight:500;font-size:14px;border:none;border-radius:0}.van-sku-actions .van-button:first-of-type{border-top-left-radius:20px;border-bottom-left-radius:20px}.van-sku-actions .van-button:last-of-type{border-top-right-radius:20px;border-bottom-right-radius:20px}.van-sku-actions .van-button--warning{background:-webkit-linear-gradient(left,#ffd01e,#ff8917);background:linear-gradient(to right,#ffd01e,#ff8917)}.van-sku-actions .van-button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}
|
1
|
+
.van-sku-container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;min-height:50%;max-height:80%;overflow-y:visible;font-size:14px;background:#fff}.van-sku-body{-webkit-box-flex:1;-webkit-flex:1 1 auto;flex:1 1 auto;min-height:44px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-sku-body::-webkit-scrollbar{display:none}.van-sku-header{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;margin:0 16px}.van-sku-header__img-wrap{-webkit-flex-shrink:0;flex-shrink:0;width:96px;height:96px;margin:12px 12px 12px 0;overflow:hidden;border-radius:4px}.van-sku-header__goods-info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;padding:12px 20px 12px 0}.van-sku-header-item{margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-sku__price-symbol{font-size:16px;vertical-align:bottom}.van-sku__price-num{font-weight:500;font-size:22px;vertical-align:bottom;word-wrap:break-word}.van-sku__goods-price{margin-left:-2px;color:#ee0a24}.van-sku__price-tag{position:relative;display:inline-block;margin-left:8px;padding:0 5px;overflow:hidden;color:#ee0a24;font-size:12px;line-height:16px;border-radius:8px}.van-sku__price-tag::before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;opacity:.1;content:''}.van-sku-group-container{padding-top:12px}.van-sku-group-container--hide-soldout .van-sku-row__item--disabled{display:none}.van-sku-row{margin:0 16px 12px}.van-sku-row:last-child{margin-bottom:0}.van-sku-row__image-item,.van-sku-row__item{position:relative;overflow:hidden;color:#323233;border-radius:4px;cursor:pointer}.van-sku-row__image-item::before,.van-sku-row__item::before{position:absolute;top:0;left:0;width:100%;height:100%;background:#f7f8fa;content:''}.van-sku-row__image-item--active,.van-sku-row__item--active{color:#ee0a24}.van-sku-row__image-item--active::before,.van-sku-row__item--active::before{background:currentColor;opacity:.1}.van-sku-row__item{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:40px;margin:0 12px 12px 0;font-size:13px;line-height:16px;vertical-align:middle}.van-sku-row__item-img{z-index:1;width:24px;height:24px;margin:4px 0 4px 4px;object-fit:cover;border-radius:2px}.van-sku-row__item-name{z-index:1;padding:8px}.van-sku-row__item--disabled{color:#c8c9cc;background:#f2f3f5;cursor:not-allowed}.van-sku-row__item--disabled .van-sku-row__item-img{opacity:.3}.van-sku-row__image{margin-right:0}.van-sku-row__image-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;width:110px;margin:0 4px 4px 0;border:1px solid transparent}.van-sku-row__image-item:last-child{margin-right:0}.van-sku-row__image-item-img{width:100%;height:110px}.van-sku-row__image-item-img-icon{position:absolute;top:0;right:0;z-index:3;width:18px;height:18px;color:#fff;line-height:18px;text-align:center;background-color:rgba(0,0,0,.4);border-bottom-left-radius:4px}.van-sku-row__image-item-name{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;height:40px;padding:4px;font-size:12px;line-height:16px}.van-sku-row__image-item-name span{word-wrap:break-word}.van-sku-row__image-item--active{border-color:currentColor}.van-sku-row__image-item--disabled{color:#c8c9cc;cursor:not-allowed}.van-sku-row__image-item--disabled::before{z-index:2;background:#f2f3f5;opacity:.4}.van-sku-row__title{padding-bottom:12px}.van-sku-row__title-multiple{color:#969799}.van-sku-row__scroller{margin:0 -16px;overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-sku-row__scroller::-webkit-scrollbar{display:none}.van-sku-row__row{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-bottom:4px;padding:0 16px}.van-sku-row__indicator{width:40px;height:4px;background:#ebedf0;border-radius:2px}.van-sku-row__indicator-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-bottom:16px}.van-sku-row__indicator-slider{width:50%;height:100%;background-color:#ee0a24;border-radius:2px}.van-sku-stepper-stock{padding:12px 16px;overflow:hidden;line-height:30px}.van-sku__stepper{float:right;padding-left:4px}.van-sku__stepper-title{float:left}.van-sku__stepper-quota{float:right;color:#ee0a24;font-size:12px}.van-sku__stock{display:inline-block;margin-right:8px;color:#969799;font-size:12px}.van-sku__stock-num--highlight{color:#ee0a24}.van-sku-messages{padding-bottom:32px}.van-sku-messages__image-cell .van-cell__title{max-width:6.2em;margin-right:12px;color:#646566;text-align:left;word-wrap:break-word}.van-sku-messages__image-cell .van-cell__value{overflow:visible;text-align:left}.van-sku-messages__image-cell-label{color:#969799;font-size:12px;line-height:18px}.van-sku-messages__cell-block{position:relative}.van-sku-messages__cell-block::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:16px;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-sku-messages__cell-block:last-child::after{display:none}.van-sku-messages__extra-message{margin-top:-2px;padding:0 16px 12px;color:#969799;font-size:12px;line-height:18px}.van-sku-actions{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;padding:8px 16px}.van-sku-actions .van-button{height:40px;font-weight:500;font-size:14px;border:none;border-radius:0}.van-sku-actions .van-button:first-of-type{border-top-left-radius:20px;border-bottom-left-radius:20px}.van-sku-actions .van-button:last-of-type{border-top-right-radius:20px;border-bottom-right-radius:20px}.van-sku-actions .van-button--warning{background:-webkit-linear-gradient(left,#ffd01e,#ff8917);background:linear-gradient(to right,#ffd01e,#ff8917)}.van-sku-actions .van-button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}
|
package/lib/sku/index.less
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
@import '../style/var';
|
2
2
|
@import '../style/mixins/clearfix';
|
3
|
+
@import '../style/mixins/hairline';
|
3
4
|
|
4
5
|
.van-sku {
|
5
6
|
&-container {
|
@@ -342,6 +343,26 @@
|
|
342
343
|
line-height: @cell-label-line-height;
|
343
344
|
}
|
344
345
|
}
|
346
|
+
|
347
|
+
&__cell-block {
|
348
|
+
position: relative;
|
349
|
+
|
350
|
+
&::after {
|
351
|
+
.hairline-bottom(@cell-border-color, @padding-md, @padding-md);
|
352
|
+
}
|
353
|
+
|
354
|
+
&:last-child::after {
|
355
|
+
display: none;
|
356
|
+
}
|
357
|
+
}
|
358
|
+
|
359
|
+
&__extra-message {
|
360
|
+
margin-top: -2px;
|
361
|
+
padding: 0 16px 12px;
|
362
|
+
color: @cell-label-color;
|
363
|
+
font-size: @cell-label-font-size;
|
364
|
+
line-height: @cell-label-line-height;
|
365
|
+
}
|
345
366
|
}
|
346
367
|
|
347
368
|
&-actions {
|
package/lib/tabs/utils.js
CHANGED
@@ -8,10 +8,7 @@ var _raf = require("../utils/dom/raf");
|
|
8
8
|
|
9
9
|
var _scroll = require("../utils/dom/scroll");
|
10
10
|
|
11
|
-
var scrollLeftRafId;
|
12
|
-
|
13
11
|
function scrollLeftTo(scroller, to, duration) {
|
14
|
-
(0, _raf.cancelRaf)(scrollLeftRafId);
|
15
12
|
var count = 0;
|
16
13
|
var from = scroller.scrollLeft;
|
17
14
|
var frames = duration === 0 ? 1 : Math.round(duration * 1000 / 16);
|
@@ -20,7 +17,7 @@ function scrollLeftTo(scroller, to, duration) {
|
|
20
17
|
scroller.scrollLeft += (to - from) / frames;
|
21
18
|
|
22
19
|
if (++count < frames) {
|
23
|
-
|
20
|
+
(0, _raf.raf)(animate);
|
24
21
|
}
|
25
22
|
}
|
26
23
|
|
package/lib/vant.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
exports["vant"] = factory(require("vue"));
|
8
8
|
else
|
9
9
|
root["vant"] = factory(root["Vue"]);
|
10
|
-
})(typeof self !== 'undefined' ? self : this, function(
|
10
|
+
})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE__3__) {
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
12
12
|
/******/ // The module cache
|
13
13
|
/******/ var installedModules = {};
|
@@ -108,7 +108,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
108
108
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return isPromise; });
|
109
109
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return get; });
|
110
110
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isEmpty; });
|
111
|
-
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
111
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
112
112
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
|
113
113
|
|
114
114
|
|
@@ -219,6 +219,12 @@ function padZero(num, targetLength) {
|
|
219
219
|
|
220
220
|
/***/ }),
|
221
221
|
/* 3 */
|
222
|
+
/***/ (function(module, exports) {
|
223
|
+
|
224
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3__;
|
225
|
+
|
226
|
+
/***/ }),
|
227
|
+
/* 4 */
|
222
228
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
223
229
|
|
224
230
|
"use strict";
|
@@ -264,12 +270,6 @@ function cancelRaf(id) {
|
|
264
270
|
}
|
265
271
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(10)))
|
266
272
|
|
267
|
-
/***/ }),
|
268
|
-
/* 4 */
|
269
|
-
/***/ (function(module, exports) {
|
270
|
-
|
271
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__4__;
|
272
|
-
|
273
273
|
/***/ }),
|
274
274
|
/* 5 */
|
275
275
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
@@ -365,7 +365,7 @@ function unitToPx(value) {
|
|
365
365
|
"use strict";
|
366
366
|
|
367
367
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
368
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
368
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(3);
|
369
369
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default = /*#__PURE__*/__webpack_require__.n(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_);
|
370
370
|
|
371
371
|
// EXTERNAL MODULE: ./es/utils/index.js
|
@@ -597,7 +597,7 @@ var SlotsMixin = {
|
|
597
597
|
}
|
598
598
|
};
|
599
599
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
600
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
600
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(3);
|
601
601
|
|
602
602
|
// CONCATENATED MODULE: ./es/utils/create/component.js
|
603
603
|
/**
|
@@ -848,7 +848,7 @@ var helper = __webpack_require__(1);
|
|
848
848
|
var helper_default = /*#__PURE__*/__webpack_require__.n(helper);
|
849
849
|
|
850
850
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
851
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
851
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(3);
|
852
852
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default = /*#__PURE__*/__webpack_require__.n(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_);
|
853
853
|
|
854
854
|
// EXTERNAL MODULE: ./es/utils/create/index.js + 4 modules
|
@@ -6426,7 +6426,7 @@ var badge_createNamespace = Object(create["a" /* createNamespace */])('badge'),
|
|
6426
6426
|
}
|
6427
6427
|
}));
|
6428
6428
|
// EXTERNAL MODULE: ./es/utils/dom/raf.js
|
6429
|
-
var raf = __webpack_require__(
|
6429
|
+
var raf = __webpack_require__(4);
|
6430
6430
|
|
6431
6431
|
// CONCATENATED MODULE: ./es/utils/validate/date.js
|
6432
6432
|
|
@@ -7918,9 +7918,7 @@ var tab_createNamespace = Object(create["a" /* createNamespace */])('tab'),
|
|
7918
7918
|
// CONCATENATED MODULE: ./es/tabs/utils.js
|
7919
7919
|
|
7920
7920
|
|
7921
|
-
var scrollLeftRafId;
|
7922
7921
|
function scrollLeftTo(scroller, to, duration) {
|
7923
|
-
Object(raf["a" /* cancelRaf */])(scrollLeftRafId);
|
7924
7922
|
var count = 0;
|
7925
7923
|
var from = scroller.scrollLeft;
|
7926
7924
|
var frames = duration === 0 ? 1 : Math.round(duration * 1000 / 16);
|
@@ -7929,7 +7927,7 @@ function scrollLeftTo(scroller, to, duration) {
|
|
7929
7927
|
scroller.scrollLeft += (to - from) / frames;
|
7930
7928
|
|
7931
7929
|
if (++count < frames) {
|
7932
|
-
|
7930
|
+
Object(raf["c" /* raf */])(animate);
|
7933
7931
|
}
|
7934
7932
|
}
|
7935
7933
|
|
@@ -19822,6 +19820,16 @@ var SkuMessages_createNamespace = Object(create["a" /* createNamespace */])('sku
|
|
19822
19820
|
return value;
|
19823
19821
|
};
|
19824
19822
|
},
|
19823
|
+
getExtraDesc: function getExtraDesc(message) {
|
19824
|
+
var h = this.$createElement;
|
19825
|
+
var extraDesc = message.extraDesc;
|
19826
|
+
|
19827
|
+
if (extraDesc) {
|
19828
|
+
return h("div", {
|
19829
|
+
"class": SkuMessages_bem('extra-message')
|
19830
|
+
}, [extraDesc]);
|
19831
|
+
}
|
19832
|
+
},
|
19825
19833
|
genMessage: function genMessage(message, index) {
|
19826
19834
|
var _this2 = this;
|
19827
19835
|
|
@@ -19874,7 +19882,9 @@ var SkuMessages_createNamespace = Object(create["a" /* createNamespace */])('sku
|
|
19874
19882
|
});
|
19875
19883
|
}
|
19876
19884
|
|
19877
|
-
return h(
|
19885
|
+
return h("div", {
|
19886
|
+
"class": SkuMessages_bem('cell-block')
|
19887
|
+
}, [h(es_field, {
|
19878
19888
|
"attrs": {
|
19879
19889
|
"maxlength": "200",
|
19880
19890
|
"center": !message.multiple,
|
@@ -19882,7 +19892,8 @@ var SkuMessages_createNamespace = Object(create["a" /* createNamespace */])('sku
|
|
19882
19892
|
"required": String(message.required) === '1',
|
19883
19893
|
"placeholder": this.getPlaceholder(message),
|
19884
19894
|
"type": this.getType(message),
|
19885
|
-
"formatter": this.getFormatter(message)
|
19895
|
+
"formatter": this.getFormatter(message),
|
19896
|
+
"border": false
|
19886
19897
|
},
|
19887
19898
|
"key": this.goodsId + "-" + index,
|
19888
19899
|
"model": {
|
@@ -19891,7 +19902,7 @@ var SkuMessages_createNamespace = Object(create["a" /* createNamespace */])('sku
|
|
19891
19902
|
_this2.$set(_this2.messageValues[index], "value", $$v);
|
19892
19903
|
}
|
19893
19904
|
}
|
19894
|
-
});
|
19905
|
+
}), this.getExtraDesc(message)]);
|
19895
19906
|
}
|
19896
19907
|
},
|
19897
19908
|
render: function render() {
|
@@ -22037,7 +22048,7 @@ TreeSelect.props = {
|
|
22037
22048
|
|
22038
22049
|
|
22039
22050
|
|
22040
|
-
var version = '2.12.
|
22051
|
+
var version = '2.12.30';
|
22041
22052
|
|
22042
22053
|
function install(Vue) {
|
22043
22054
|
var components = [action_sheet, address_edit, address_list, es_area, badge, es_button, calendar, card, cascader, cell, cell_group, es_checkbox, checkbox_group, circle, col, collapse, collapse_item, contact_card, contact_edit, contact_list, count_down, es_coupon, coupon_cell, coupon_list, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, es_form, goods_action, goods_action_button, goods_action_icon, grid, grid_item, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, es_list, es_loading, locale["a" /* default */], nav_bar, notice_bar, notify, number_keyboard, es_overlay, pagination, panel, password_input, picker, popover, popup, es_progress, pull_refresh, es_radio, radio_group, es_rate, row, search, share_sheet, sidebar, sidebar_item, skeleton, es_sku, slider, es_step, stepper, steps, es_sticky, submit_bar, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, tabs, es_tag, es_toast, tree_select, uploader];
|