订单详情完善

This commit is contained in:
wwz
2025-03-11 16:42:37 +08:00
parent 5342133cbd
commit cab9f836af
16 changed files with 506 additions and 126 deletions

View File

@@ -34,7 +34,8 @@
watch,
onMounted,
computed,
toRefs
toRefs,
watchEffect
} from 'vue';
const store = useNavbarStore();
@@ -63,7 +64,7 @@
const navbarStyle = computed(() => {
return {
// height: `${height}px`,
// height: `${height}px`,store.showSearch=fa
backgroundColor: store.scrollTop >= 44 ? '#fff' : 'transparent'
};
});
@@ -72,6 +73,12 @@
oneStyle: {},
towStyle: {}
});
watchEffect(()=>{
if(store.showSearch>44){
}
})
onMounted(() => {
// #ifdef MP-WEIXIN || MP-ALIPAY
const menuButtonInfo = uni.getMenuButtonBoundingClientRect();

View File

@@ -22,6 +22,7 @@
import {
ref,
defineProps,
defineExpose,
defineEmits
} from 'vue';
@@ -34,7 +35,7 @@
});
// 定义向父组件发送事件
const emits = defineEmits(['inputComplete', 'close']);
const emits = defineEmits(['inputComplete', 'close', 'closeModal']);
// 存储输入的密码
const password = ref('');
@@ -56,6 +57,10 @@
emits('close');
password.value = '';
};
// 将方法暴露给父组件
defineExpose({
closeModal
});
</script>
<style scoped>