feat: wot 主题色配置
This commit is contained in:
parent
c4f954bca7
commit
ddcba22c3e
@ -89,6 +89,7 @@ export default defineManifestConfig({
|
||||
},
|
||||
'mp-alipay': {
|
||||
usingComponents: true,
|
||||
styleIsolation: 'shared',
|
||||
},
|
||||
'mp-baidu': {
|
||||
usingComponents: true,
|
||||
|
@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<view class="default-layout">
|
||||
<wd-config-provider>
|
||||
<slot />
|
||||
</view>
|
||||
<wd-toast />
|
||||
<wd-message-box />
|
||||
</wd-config-provider>
|
||||
</template>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<view class="demo-layout">
|
||||
<wd-config-provider>
|
||||
<slot />
|
||||
</view>
|
||||
<wd-toast />
|
||||
<wd-message-box />
|
||||
</wd-config-provider>
|
||||
</template>
|
||||
|
@ -59,7 +59,8 @@
|
||||
"usingComponents": true
|
||||
},
|
||||
"mp-alipay": {
|
||||
"usingComponents": true
|
||||
"usingComponents": true,
|
||||
"styleIsolation": "shared"
|
||||
},
|
||||
"mp-baidu": {
|
||||
"usingComponents": true
|
||||
|
@ -5,3 +5,9 @@
|
||||
padding-top: 4px;
|
||||
color: red;
|
||||
}
|
||||
|
||||
:root,
|
||||
page {
|
||||
// 修改按钮背景色
|
||||
--wot-button-primary-bg-color: green;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user