下单页面调整,确认订单页面调整
This commit is contained in:
16
App.vue
16
App.vue
@@ -1,4 +1,7 @@
|
||||
<script setup>
|
||||
import {
|
||||
useCartsStore
|
||||
} from '@/stores/carts.js';
|
||||
import {
|
||||
useNavbarStore
|
||||
} from '@/stores/navbarStore';
|
||||
@@ -16,6 +19,12 @@
|
||||
import {
|
||||
Storelogin
|
||||
} from '@/stores/user.js';
|
||||
|
||||
import {
|
||||
useCartStore
|
||||
} from '@/stores/order.js';
|
||||
// websocket
|
||||
|
||||
const {
|
||||
proxy
|
||||
} = getCurrentInstance()
|
||||
@@ -26,7 +35,9 @@
|
||||
await nextTick()
|
||||
const store = useNavbarStore();
|
||||
await store.initNavbarHeight();
|
||||
|
||||
getApp().globalData.websocket=null;
|
||||
const cartsStore=useCartsStore()
|
||||
cartsStore.isloading=false;
|
||||
});
|
||||
onShow(async () => {
|
||||
try {
|
||||
@@ -75,6 +86,7 @@
|
||||
// console.log(error)
|
||||
// }
|
||||
// #endif
|
||||
|
||||
})
|
||||
// onHide: function() {}
|
||||
// }
|
||||
@@ -84,5 +96,5 @@
|
||||
/*每个页面公共css */
|
||||
@import "@/uni_modules/uview-plus/index.scss";
|
||||
@import '@/common/css/flex.css';
|
||||
@import "@/common/css/common.css";
|
||||
@import "@/common/css/common.scss";
|
||||
</style>
|
||||
Reference in New Issue
Block a user