提交 c350b517 编写于 作者: W wanganxp

放开一批iOS的示例

上级 ea65e233
<script lang="uts"> <script lang="uts">
import { state, setLifeCycleNum } from '@/store/index.uts' import { state, setLifeCycleNum } from '@/store/index.uts'
// #ifdef APP-ANDROID
let firstBackTime = 0 let firstBackTime = 0
// #endif
export default { export default {
globalData: { globalData: {
str: 'default globalData str', str: 'default globalData str',
......
...@@ -535,7 +535,6 @@ ...@@ -535,7 +535,6 @@
"navigationBarTitleText": "websocket-global" "navigationBarTitleText": "websocket-global"
} }
}, },
// #ifndef APP-IOS
{ {
"path": "pages/API/unicloud-call-function/unicloud-call-function", "path": "pages/API/unicloud-call-function/unicloud-call-function",
"style": { "style": {
...@@ -548,7 +547,6 @@ ...@@ -548,7 +547,6 @@
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
// #endif
{ {
"path": "pages/API/get-system-info/get-system-info", "path": "pages/API/get-system-info/get-system-info",
"style": { "style": {
...@@ -581,8 +579,6 @@ ...@@ -581,8 +579,6 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
// #endif
// #ifndef WEB
{ {
"path": "pages/API/get-app-authorize-setting/get-app-authorize-setting", "path": "pages/API/get-app-authorize-setting/get-app-authorize-setting",
"style": { "style": {
...@@ -626,7 +622,6 @@ ...@@ -626,7 +622,6 @@
"navigationBarTitleText": "event-bus" "navigationBarTitleText": "event-bus"
} }
}, },
// #ifndef APP-IOS
{ {
"path": "pages/API/unicloud-file-api/unicloud-file-api", "path": "pages/API/unicloud-file-api/unicloud-file-api",
"style": { "style": {
...@@ -645,7 +640,6 @@ ...@@ -645,7 +640,6 @@
"navigationBarTitleText": "电量" "navigationBarTitleText": "电量"
} }
}, },
// #endif
{ {
"path": "pages/API/get-window-info/get-window-info", "path": "pages/API/get-window-info/get-window-info",
"style": { "style": {
...@@ -1153,12 +1147,14 @@ ...@@ -1153,12 +1147,14 @@
} }
}, },
// #endif // #endif
// #ifdef APP
{ {
"path": "pages/template/calendar/calendar", "path": "pages/template/calendar/calendar",
"style": { "style": {
"navigationBarTitleText": "日历" "navigationBarTitleText": "日历"
} }
}, },
// #endif
// #ifdef APP-ANDROID // #ifdef APP-ANDROID
{ {
"path": "pages/template/schema/schema", "path": "pages/template/schema/schema",
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1"> <scroll-view style="flex: 1" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view class="uni-header-logo"> <view class="uni-header-logo">
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1"> <scroll-view style="flex: 1" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view class="uni-header-logo"> <view class="uni-header-logo">
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1"> <scroll-view style="flex: 1" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view class="uni-header-logo"> <view class="uni-header-logo">
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1"> <scroll-view style="flex: 1" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view class="uni-header-logo"> <view class="uni-header-logo">
......
<template> <template>
<list-view style="flex: 1;" refresher-enabled=true @refresherrefresh="onRefresherrefresh" <list-view style="flex: 1;" refresher-enabled=true @refresherrefresh="onRefresherrefresh"
:refresher-triggered="refresherTriggered"> :refresher-triggered="refresherTriggered" enable-back-to-top="true">
<list-item class="banner" @click="bannerClick(banner)" type=1> <list-item class="banner" @click="bannerClick(banner)" type=1>
<image class="banner-img" :src="banner.cover"></image> <image class="banner-img" :src="banner.cover"></image>
<text class="banner-title">{{ banner.title }}</text> <text class="banner-title">{{ banner.title }}</text>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册