mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2025-12-12 09:57:20 +00:00
up
This commit is contained in:
parent
2dce1fe5a7
commit
c012b18982
@ -49,9 +49,9 @@
|
|||||||
<template v-if="component.componentName == 'CarouselSearch'">
|
<template v-if="component.componentName == 'CarouselSearch'">
|
||||||
<diy-carousel-search :scrollBool="diyGroup.componentsScrollBool.CarouselSearch" :component="component" :global="data.global" :index="index" :pullDownRefreshCount="props.pullDownRefreshCount" />
|
<diy-carousel-search :scrollBool="diyGroup.componentsScrollBool.CarouselSearch" :component="component" :global="data.global" :index="index" :pullDownRefreshCount="props.pullDownRefreshCount" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="component.componentName == 'PictureShow'">
|
<template v-if="component.componentName == 'PictureShow'">
|
||||||
<diy-picture-show :component="component" :global="data.global" :index="index" :pullDownRefreshCount="props.pullDownRefreshCount" />
|
<diy-picture-show :component="component" :global="data.global" :index="index" :pullDownRefreshCount="props.pullDownRefreshCount" />
|
||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<template v-if="diyStore.mode == '' && data.global.bottomTabBarSwitch">
|
<template v-if="diyStore.mode == '' && data.global.bottomTabBarSwitch">
|
||||||
|
|||||||
@ -3,7 +3,6 @@ import Sortable from 'sortablejs';
|
|||||||
import { range } from 'lodash-es';
|
import { range } from 'lodash-es';
|
||||||
import { onPageScroll, onHide, onShow } from '@dcloudio/uni-app';
|
import { onPageScroll, onHide, onShow } from '@dcloudio/uni-app';
|
||||||
import useDiyStore from '@/app/stores/diy';
|
import useDiyStore from '@/app/stores/diy';
|
||||||
import { getLocation } from '@/utils/common';
|
|
||||||
|
|
||||||
export function useDiyGroup(params: any = {}) {
|
export function useDiyGroup(params: any = {}) {
|
||||||
|
|
||||||
@ -89,10 +88,6 @@ export function useDiyGroup(params: any = {}) {
|
|||||||
|
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (data.value.global && data.value.global.topStatusBar && data.value.global.topStatusBar.style == 'style-4') {
|
|
||||||
// 第一次获取经纬度
|
|
||||||
getLocation()
|
|
||||||
}
|
|
||||||
|
|
||||||
// 初始化组件滚动值
|
// 初始化组件滚动值
|
||||||
scrollVal = uni.getStorageSync('componentsScrollValGroup');
|
scrollVal = uni.getStorageSync('componentsScrollValGroup');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user