Merge remote-tracking branch 'origin/bin' into media-css
This commit is contained in:
@@ -60,7 +60,7 @@ import Countdown from './component/countdown.vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import useLocationStore from '@/stores/useLocationStore';
|
||||
import useUserStore from '@/stores/useUserStore';
|
||||
const { userInfo } = storeToRefs(useUserStore());
|
||||
const { userInfo, isMiniProgram } = storeToRefs(useUserStore());
|
||||
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
||||
|
||||
const pageState = reactive({
|
||||
@@ -92,6 +92,15 @@ onLoad(() => {
|
||||
getList();
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
// #ifdef H5
|
||||
if (!isMiniProgram.value) {
|
||||
const a = document.getElementsByClassName('uni-page-head-hd')[0];
|
||||
a.style.display = 'none';
|
||||
}
|
||||
// #endif
|
||||
});
|
||||
|
||||
function chnageRanOption(item) {
|
||||
ranItem.value = item;
|
||||
getList();
|
||||
|
||||
Reference in New Issue
Block a user