Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-app x
提交
ef39f808
H
hello uni-app x
项目概览
DCloud
/
hello uni-app x
通知
5995
Star
90
Fork
162
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
18
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello uni-app x
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
18
Issue
18
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
ef39f808
编写于
6月 30, 2023
作者:
杜庆泉
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
統一按鈕樣式,移除quitapp
上级
223f14e3
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
70 addition
and
52 deletion
+70
-52
pages.json
pages.json
+6
-6
pages/API/action-sheet/action-sheet.uvue
pages/API/action-sheet/action-sheet.uvue
+1
-1
pages/API/modal/modal.uvue
pages/API/modal/modal.uvue
+1
-1
pages/API/quitApp/quitApp.uvue
pages/API/quitApp/quitApp.uvue
+0
-26
pages/API/show-loading/show-loading.uvue
pages/API/show-loading/show-loading.uvue
+2
-2
pages/API/toast/toast.uvue
pages/API/toast/toast.uvue
+7
-7
pages/component/swiper/swiper.uvue
pages/component/swiper/swiper.uvue
+52
-0
pages/tabBar/API/API.uvue
pages/tabBar/API/API.uvue
+0
-8
pages/tabBar/component/component.uvue
pages/tabBar/component/component.uvue
+1
-1
未找到文件。
pages.json
浏览文件 @
ef39f808
...
...
@@ -72,6 +72,12 @@
"navigationBarTitleText"
:
"switch"
}
},
{
"path"
:
"pages/component/swiper/swiper"
,
"style"
:
{
"navigationBarTitleText"
:
"swiper"
}
},
{
"path"
:
"pages/component/image/image"
,
"style"
:
{
...
...
@@ -137,12 +143,6 @@
"style"
:
{
"navigationBarTitleText"
:
"获取定位"
}
},
{
"path"
:
"pages/API/quitApp/quitApp"
,
"style"
:
{
"navigationBarTitleText"
:
"退出应用"
}
},
{
"path"
:
"pages/tabBar/CSS/CSS"
,
...
...
pages/API/action-sheet/action-sheet.uvue
浏览文件 @
ef39f808
...
...
@@ -22,7 +22,7 @@
</view>
<view class="uni-padding-wrap">
<view class="uni-btn-v">
<button class="
target
" type="default" @tap="actionSheetTap">弹出action sheet</button>
<button class="
uni-btn-v
" type="default" @tap="actionSheetTap">弹出action sheet</button>
</view>
</view>
</view>
...
...
pages/API/modal/modal.uvue
浏览文件 @
ef39f808
...
...
@@ -34,7 +34,7 @@
</view>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-btn-v">
<button class="uni-btn" type="default" @tap="modalTap">modal测试</button>
<button class="uni-btn
-v
" type="default" @tap="modalTap">modal测试</button>
</view>
<text>{{exeRet}}</text>
</view>
...
...
pages/API/quitApp/quitApp.uvue
已删除
100644 → 0
浏览文件 @
223f14e3
<template>
<view>
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-btn-v">
<button class="uni-btn" type="default" @tap="quitTap">退出当前应用</button>
</view>
</view>
</view>
</template>
<script lang="ts">
export default {
data() {
return {
title: 'quitApp'
}
},
methods: {
quitTap: function () {
UTSAndroid.quitApp()
}
}
}
</script>
\ No newline at end of file
pages/API/show-loading/show-loading.uvue
浏览文件 @
ef39f808
...
...
@@ -13,9 +13,9 @@
</view>
<view class="uni-padding-wrap">
<view class="uni-btn-v">
<button class="uni-btn" type="primary" @click="showLoading">显示 loading 提示框</button>
<button class="uni-btn
-v
" type="primary" @click="showLoading">显示 loading 提示框</button>
<!-- #ifndef MP-ALIPAY -->
<button class="uni-btn" @click="hideLoading">隐藏 loading 提示框</button>
<button class="uni-btn
-v
" @click="hideLoading">隐藏 loading 提示框</button>
<!-- #endif -->
</view>
</view>
...
...
pages/API/toast/toast.uvue
浏览文件 @
ef39f808
...
...
@@ -3,17 +3,17 @@
<page-head :title="title"></page-head>
<view class="uni-padding-wrap">
<view class="uni-btn-v">
<button class="uni-btn" type="default" @tap="toast1Tap">点击弹出默认toast</button>
<button class="uni-btn" type="default" @tap="toastTapIconError">点击弹出设置icon的toast</button>
<button class="uni-btn" type="default" @tap="toast2Tap">点击弹出设置duration的toast</button>
<button class="uni-btn" type="default" @tap="toast3Tap">点击弹出显示loading的toast</button>
<button class="uni-btn
-v
" type="default" @tap="toast1Tap">点击弹出默认toast</button>
<button class="uni-btn
-v
" type="default" @tap="toastTapIconError">点击弹出设置icon的toast</button>
<button class="uni-btn
-v
" type="default" @tap="toast2Tap">点击弹出设置duration的toast</button>
<button class="uni-btn
-v
" type="default" @tap="toast3Tap">点击弹出显示loading的toast</button>
<!-- #ifndef MP-ALIPAY -->
<button class="uni-btn" type="default" @tap="toast4Tap">点击弹出显示自定义图片的toast</button>
<button class="uni-btn
-v
" type="default" @tap="toast4Tap">点击弹出显示自定义图片的toast</button>
<!-- #endif -->
<!-- #ifdef APP-PLUS -->
<button class="uni-btn" type="default" @tap="toast5Tap">点击显示无图标的居底toast</button>
<button class="uni-btn
-v
" type="default" @tap="toast5Tap">点击显示无图标的居底toast</button>
<!-- #endif -->
<button class="uni-btn" type="default" @tap="hideToast">点击隐藏toast</button>
<button class="uni-btn
-v
" type="default" @tap="hideToast">点击隐藏toast</button>
</view>
<text>{{exeRet}}</text>
</view>
...
...
pages/component/swiper/swiper.uvue
0 → 100644
浏览文件 @
ef39f808
<template>
<view>
<page-head title="swiper,可滑动视图"></page-head>
<view class="uni-margin-wrap">
<swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration">
<swiper-item>
<view class="swiper-item uni-bg-red">A</view>
</swiper-item>
<swiper-item>
<view class="swiper-item uni-bg-green">B</view>
</swiper-item>
<swiper-item>
<view class="swiper-item uni-bg-blue">C</view>
</swiper-item>
</swiper>
</view>
</view>
</template>
<script>
export default {
data() {
return {
background: ['color1', 'color2', 'color3'],
indicatorDots: true,
autoplay: true,
interval: 2000,
duration: 500
}
},
methods: {
}
}
</script>
<style>
.uni-margin-wrap {
width:690rpx;
width: 100%;;
}
.swiper {
height: 300rpx;
}
.swiper-item {
height: 300rpx;
line-height: 300rpx;
text-align: center;
}
</style>
pages/tabBar/API/API.uvue
浏览文件 @
ef39f808
...
...
@@ -218,14 +218,6 @@
url: "/platforms/app-plus/orientation/orientation",
},
//#endif
//#ifdef APP-ANDROID
{
name: "退出应用",
url: "quitApp",
enable: true
}
//#endif
] as Page[],
},
{
...
...
pages/tabBar/component/component.uvue
浏览文件 @
ef39f808
...
...
@@ -57,7 +57,7 @@
},
{
name: 'swiper',
enable:
fals
e
enable:
tru
e
},
// #ifndef MP-TOUTIAO || MP-LARK
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录