重要更新

This commit is contained in:
Kele
2022-11-29 22:03:21 +08:00
parent 6d759b4812
commit baef1695c4
13 changed files with 815 additions and 74 deletions
+6 -1
View File
@@ -58,7 +58,7 @@
:radius="20"
placeholder="请输入关键词"
cancelButton="none"
v-model="defaultSearch"
v-model="searchModel"
@confirm="onSearch"
/>
</slot>
@@ -209,6 +209,11 @@
margin: '0 ' + (sheep.$platform.device.windowWidth - sheep.$platform.capsule.right) + 'px',
};
});
const searchModel = computed(() => {
return props.defaultSearch
})
const themeBgColor = computed(() => {
if (props.dark) {
// 默认值