订单详情完善
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user