Merge branch 'base' into tabbar
This commit is contained in:
commit
9736931bfd
@ -89,6 +89,7 @@ export default defineManifestConfig({
|
|||||||
},
|
},
|
||||||
'mp-alipay': {
|
'mp-alipay': {
|
||||||
usingComponents: true,
|
usingComponents: true,
|
||||||
|
styleIsolation: 'shared',
|
||||||
},
|
},
|
||||||
'mp-baidu': {
|
'mp-baidu': {
|
||||||
usingComponents: true,
|
usingComponents: true,
|
||||||
|
@ -98,7 +98,8 @@
|
|||||||
"pinia-plugin-persistedstate": "3.2.1",
|
"pinia-plugin-persistedstate": "3.2.1",
|
||||||
"qs": "6.5.3",
|
"qs": "6.5.3",
|
||||||
"vue": "3.4.26",
|
"vue": "3.4.26",
|
||||||
"wot-design-uni": "^1.2.13"
|
"wot-design-uni": "^1.2.13",
|
||||||
|
"z-paging": "^2.7.10"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^18.4.3",
|
"@commitlint/cli": "^18.4.3",
|
||||||
|
@ -13,6 +13,8 @@ export default defineUniPages({
|
|||||||
custom: {
|
custom: {
|
||||||
// '^fg-(.*)': '@/components/fg-$1.vue',
|
// '^fg-(.*)': '@/components/fg-$1.vue',
|
||||||
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
|
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
|
||||||
|
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
|
||||||
|
'z-paging/components/z-paging$1/z-paging$1.vue',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
tabBar: {
|
tabBar: {
|
||||||
|
@ -1,5 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="default-layout">
|
<wd-config-provider :themeVars="themeVars">
|
||||||
<slot />
|
<slot />
|
||||||
</view>
|
<wd-toast />
|
||||||
|
<wd-message-box />
|
||||||
|
</wd-config-provider>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import type { ConfigProviderThemeVars } from 'wot-design-uni'
|
||||||
|
|
||||||
|
const themeVars: ConfigProviderThemeVars = {
|
||||||
|
// colorTheme: 'red',
|
||||||
|
// buttonPrimaryBgColor: '#07c160',
|
||||||
|
// buttonPrimaryColor: '#07c160',
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
@ -1,5 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="demo-layout">
|
<wd-config-provider :themeVars="themeVars">
|
||||||
<slot />
|
<slot />
|
||||||
</view>
|
<wd-toast />
|
||||||
|
<wd-message-box />
|
||||||
|
</wd-config-provider>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import type { ConfigProviderThemeVars } from 'wot-design-uni'
|
||||||
|
|
||||||
|
const themeVars: ConfigProviderThemeVars = {
|
||||||
|
// colorTheme: 'red',
|
||||||
|
// buttonPrimaryBgColor: '#07c160',
|
||||||
|
// buttonPrimaryColor: '#07c160',
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
@ -59,7 +59,8 @@
|
|||||||
"usingComponents": true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"mp-alipay": {
|
"mp-alipay": {
|
||||||
"usingComponents": true
|
"usingComponents": true,
|
||||||
|
"styleIsolation": "shared"
|
||||||
},
|
},
|
||||||
"mp-baidu": {
|
"mp-baidu": {
|
||||||
"usingComponents": true
|
"usingComponents": true
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
"easycom": {
|
"easycom": {
|
||||||
"autoscan": true,
|
"autoscan": true,
|
||||||
"custom": {
|
"custom": {
|
||||||
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue"
|
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue",
|
||||||
|
"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
|
@ -5,3 +5,12 @@
|
|||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root,
|
||||||
|
page {
|
||||||
|
// 修改按主题色
|
||||||
|
// --wot-color-theme: #37c2bc;
|
||||||
|
|
||||||
|
// 修改按钮背景色
|
||||||
|
// --wot-button-primary-bg-color: green;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user