提交 5897c827 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

chore: update build result

上级 4d1a059e
此差异已折叠。
此差异已折叠。
此差异已折叠。
@media(prefers-color-scheme:dark){html{--UI-BG-CLOLOR-ACTIVE:#373737;--UI-BORDER-CLOLOR-1:#373737;--UI-BG:#000;--UI-BG-0:#191919;--UI-BG-1:#1f1f1f;--UI-BG-2:#232323;--UI-BG-3:#2f2f2f;--UI-BG-4:#606060;--UI-BG-5:#2c2c2c;--UI-FG:#fff;--UI-FG-0:hsla(0,0%,100%,0.8);--UI-FG-HALF:hsla(0,0%,100%,0.6);--UI-FG-1:hsla(0,0%,100%,0.5);--UI-FG-2:hsla(0,0%,100%,0.3);--UI-FG-3:hsla(0,0%,100%,0.05)}}@media(prefers-color-scheme:dark){uni-actionsheet .uni-actionsheet__title{background-color:var(--UI-BG-1);border-bottom-color:var(--UI-BORDER-CLOLOR-1)}uni-actionsheet .uni-actionsheet__action,uni-actionsheet .uni-actionsheet__menu{background-color:var(--UI-BG-2)}uni-actionsheet .uni-actionsheet__cell:active{background-color:var(--UI-BG-CLOLOR-ACTIVE)}uni-actionsheet .uni-actionsheet__cell:before{border-top-color:var(--UI-BORDER-CLOLOR-1);color:var(--UI-BORDER-CLOLOR-1)}}@media(prefers-color-scheme:dark){uni-modal .uni-modal{color:var(--UI-FG-0);background-color:var(--UI-BG-2)}uni-modal .uni-modal__bd{color:var(--UI-FG-1)}uni-modal .uni-modal__btn:active{color:#aaa;background-color:var(--UI-BG-CLOLOR-ACTIVE)}uni-modal .uni-modal__ft:after,uni-modal .uni-modal__btn:after{color:var(--UI-BORDER-CLOLOR-1);border-color:var(--UI-BORDER-CLOLOR-1)}}@media(prefers-color-scheme:dark){uni-toast .uni-toast{background-color:#606060;color:var(--UI-FG-0)}uni-toast .uni-icon_toast.uni-icon-error:before,uni-toast .uni-icon_toast.uni-icon-success-no-circle:before{color:rgba(255,255,255,0.9)}}@media(prefers-color-scheme:dark){uni-page-body{background-color:#191919;color:hsla(0,0%,100%,0.8)}}
\ No newline at end of file
@media(prefers-color-scheme:dark){uni-button,uni-button[type='default']{color:#d6d6d6;background-color:#343434}.button-hover,.button-hover[type='default']{color:#d6d6d6;background-color:rgba(255,255,255,0.1)}uni-button[disabled][type='default'],uni-button[disabled]:not([type]){color:rgba(255,255,255,0.2);background-color:rgba(255,255,255,0.08)}uni-button[type='primary'][plain][disabled]{color:rgba(255,255,255,0.2);border-color:rgba(255,255,255,0.2)}uni-button[type='default'][plain]{color:#d6d6d6;border:1px solid #d6d6d6}.button-hover[type='default'][plain]{color:rgba(150,150,150,0.6);border-color:rgba(150,150,150,0.6);background-color:rgba(50,50,50,0.2)}uni-button[type='default'][plain][disabled]{border-color:hsla(0,0%,100%,0.2);color:hsla(0,0%,100%,0.2)}}@media(prefers-color-scheme:dark){.uni-picker-view-indicator:before{border-top-color:var(--UI-FG-3)}.uni-picker-view-indicator:after{border-bottom-color:var(--UI-FG-3)}.uni-picker-view-mask{background-image:-webkit-linear-gradient(top,rgba(35,35,35,0.95),rgba(35,35,35,0.6)),-webkit-linear-gradient(bottom,rgba(35,35,35,0.95),rgba(35,35,35,0.6));background-image:linear-gradient(180deg,rgba(35,35,35,0.95),rgba(35,35,35,0.6)),linear-gradient(0,rgba(35,35,35,0.95),rgba(35,35,35,0.6))}}@media(prefers-color-scheme:dark){uni-switch .uni-switch-input{border-color:#3b3b3f}uni-switch .uni-switch-input,uni-switch .uni-switch-input:before{background-color:#3b3b3f}uni-switch .uni-switch-input:after{background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.4)}uni-switch .uni-checkbox-input{background-color:#2c2c2c;border:1px solid #656565}}@media(prefers-color-scheme:dark){html{--UI-BG-CLOLOR-ACTIVE:#373737;--UI-BORDER-CLOLOR-1:#373737;--UI-BG:#000;--UI-BG-0:#191919;--UI-BG-1:#1f1f1f;--UI-BG-2:#232323;--UI-BG-3:#2f2f2f;--UI-BG-4:#606060;--UI-BG-5:#2c2c2c;--UI-FG:#fff;--UI-FG-0:hsla(0,0%,100%,0.8);--UI-FG-HALF:hsla(0,0%,100%,0.6);--UI-FG-1:hsla(0,0%,100%,0.5);--UI-FG-2:hsla(0,0%,100%,0.3);--UI-FG-3:hsla(0,0%,100%,0.05)}.uni-mask{background:rgba(0,0,0,.6)}}@media(prefers-color-scheme:dark){uni-actionsheet .uni-actionsheet__title{background-color:var(--UI-BG-1);border-bottom-color:var(--UI-BORDER-CLOLOR-1)}uni-actionsheet .uni-actionsheet__action,uni-actionsheet .uni-actionsheet__menu{background-color:var(--UI-BG-2)}uni-actionsheet .uni-actionsheet__cell:active{background-color:var(--UI-BG-CLOLOR-ACTIVE)}uni-actionsheet .uni-actionsheet__cell:before{border-top-color:var(--UI-BORDER-CLOLOR-1);color:var(--UI-BORDER-CLOLOR-1)}}@media(prefers-color-scheme:dark){uni-modal .uni-modal{color:var(--UI-FG-0);background-color:var(--UI-BG-2)}uni-modal .uni-modal__bd{color:var(--UI-FG-1)}uni-modal .uni-modal__btn:active{color:#aaa;background-color:var(--UI-BG-CLOLOR-ACTIVE)}uni-modal .uni-modal__ft:after,uni-modal .uni-modal__btn:after{color:var(--UI-BORDER-CLOLOR-1);border-color:var(--UI-BORDER-CLOLOR-1)}}@media(prefers-color-scheme:dark){uni-toast .uni-toast{background-color:#606060;color:var(--UI-FG-0)}uni-toast .uni-icon_toast.uni-icon-error:before,uni-toast .uni-icon_toast.uni-icon-success-no-circle:before{color:rgba(255,255,255,0.9)}}@media(prefers-color-scheme:dark){uni-page-body{background-color:#191919;color:hsla(0,0%,100%,0.8)}}@media(prefers-color-scheme:dark){.uni-picker-container .uni-picker-content{background-color:var(--UI-BG-2)}.uni-picker-container .uni-picker-action.uni-picker-action-cancel{color:var(--UI-FG-0)}.uni-picker-container .uni-picker-custom{background-color:var(--UI-BG-2)}.uni-selector-select .uni-picker-item{color:var(--UI-FG-0)}.uni-picker-container .uni-picker-header:after{border-bottom-color:var(--UI-FG-3)}}
\ No newline at end of file
......@@ -559,6 +559,10 @@
"/core/service/api/device/theme.js",
[]
],
"offThemeChange": [
"/core/service/api/device/theme.js",
[]
],
"onUIStyleChange": [
"/core/service/api/device/theme.js",
[]
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -102,7 +102,7 @@ function hasOwn (obj, key) {
return hasOwnProperty.call(obj, key)
}
function noop () { }
function noop () {}
/**
* Create a cached version of a pure function.
......@@ -2628,6 +2628,7 @@ function parseBaseComponent (vueComponentOptions, {
const options = {
multipleSlots: true,
// styleIsolation: 'apply-shared',
addGlobalClass: true,
...(vueOptions.options || {})
};
......
......@@ -102,7 +102,7 @@ function hasOwn (obj, key) {
return hasOwnProperty.call(obj, key)
}
function noop () { }
function noop () {}
/**
* Create a cached version of a pure function.
......@@ -2121,40 +2121,59 @@ function initScopedSlotsParams () {
const center = {};
const parents = {};
Vue.prototype.$hasScopedSlotsParams = function (vueId) {
const has = center[vueId];
if (!has) {
function currentId (fn) {
const vueIds = this.$options.propsData.vueId;
if (vueIds) {
const vueId = vueIds.split(',')[0];
fn(vueId);
}
}
Vue.prototype.$hasSSP = function (vueId) {
const slot = center[vueId];
if (!slot) {
parents[vueId] = this;
this.$on('hook:destroyed', () => {
delete parents[vueId];
});
}
return has
return slot
};
Vue.prototype.$getScopedSlotsParams = function (vueId, name, key) {
const data = center[vueId];
if (data) {
const object = data[name] || {};
return key ? object[key] : object
} else {
parents[vueId] = this;
this.$on('hook:destroyed', () => {
delete parents[vueId];
});
Vue.prototype.$getSSP = function (vueId, name, needAll) {
const slot = center[vueId];
if (slot) {
const params = slot[name] || [];
if (needAll) {
return params
}
return params[0]
}
};
Vue.prototype.$setScopedSlotsParams = function (name, value) {
const vueIds = this.$options.propsData.vueId;
if (vueIds) {
const vueId = vueIds.split(',')[0];
const object = center[vueId] = center[vueId] || {};
object[name] = value;
Vue.prototype.$setSSP = function (name, value) {
let index = 0;
currentId.call(this, vueId => {
const slot = center[vueId];
const params = slot[name] = slot[name] || [];
params.push(value);
index = params.length - 1;
});
return index
};
Vue.prototype.$initSSP = function () {
currentId.call(this, vueId => {
center[vueId] = {};
});
};
Vue.prototype.$callSSP = function () {
currentId.call(this, vueId => {
if (parents[vueId]) {
parents[vueId].$forceUpdate();
}
}
});
};
Vue.mixin({
......@@ -2323,6 +2342,7 @@ function parseBaseComponent (vueComponentOptions, {
const options = {
multipleSlots: true,
// styleIsolation: 'apply-shared',
addGlobalClass: true,
...(vueOptions.options || {})
};
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册