Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-app x
提交
75cd33b9
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看板
提交
75cd33b9
编写于
9月 04, 2023
作者:
Y
yurj26
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: remove invalid css
上级
a12c8953
变更
11
显示空白变更内容
内联
并排
Showing
11 changed file
with
517 addition
and
522 deletion
+517
-522
common/uni-uvue.css
common/uni-uvue.css
+2
-3
common/uni.css
common/uni.css
+5
-8
components/uni-collapse-item/uni-collapse-item.vue
components/uni-collapse-item/uni-collapse-item.vue
+0
-1
pages/component/input/input.uvue
pages/component/input/input.uvue
+2
-2
pages/component/swiper/swiper.uvue
pages/component/swiper/swiper.uvue
+0
-2
pages/component/view/view.uvue
pages/component/view/view.uvue
+0
-2
pages/tabBar/API.uvue
pages/tabBar/API.uvue
+504
-500
pages/tabBar/CSS.uvue
pages/tabBar/CSS.uvue
+1
-1
pages/tabBar/component.uvue
pages/tabBar/component.uvue
+1
-1
pages/tabBar/template.uvue
pages/tabBar/template.uvue
+1
-1
pages/template/long-list/long-list-page.uvue
pages/template/long-list/long-list-page.uvue
+1
-1
未找到文件。
common/uni-uvue.css
浏览文件 @
75cd33b9
...
...
@@ -40,9 +40,8 @@
height
:
80px
;
}
.uni-
hello-text
{
.uni-
text-box
{
margin-bottom
:
20px
;
color
:
#7A7E83
;
}
.hello-text
{
...
...
common/uni.css
浏览文件 @
75cd33b9
...
...
@@ -87,8 +87,8 @@
.uni-input
{
height
:
50
rpx
;
padding
:
15
rpx
25
rpx
;
line-height
:
50
rpx
;
font-size
:
28
rpx
;
/*
line-height: 50rpx;
font-size: 28rpx;
*/
background
:
#FFF
;
flex
:
1
;
box-sizing
:
content-box
;
...
...
@@ -116,17 +116,14 @@
/* 背景色 */
.uni-bg-red
{
background
:
#F76260
;
color
:
#FFF
;
}
.uni-bg-green
{
background
:
#09BB07
;
color
:
#FFF
;
}
.uni-bg-blue
{
background
:
#007AFF
;
color
:
#FFF
;
}
.uni-btn-v
{
...
...
@@ -154,6 +151,6 @@
.uni-textarea
{
padding
:
18
rpx
;
line-height
:
1.6
;
font-size
:
28
rpx
;
/*
line-height: 1.6;
font-size: 28rpx;
*/
}
components/uni-collapse-item/uni-collapse-item.vue
浏览文件 @
75cd33b9
...
...
@@ -87,7 +87,6 @@
.uni-collapse-item__title
{
flex-direction
:
row
;
align-items
:
center
;
line-height
:
22px
;
padding
:
12px
;
background-color
:
#fff
;
}
...
...
pages/component/input/input.uvue
浏览文件 @
75cd33b9
...
...
@@ -292,8 +292,8 @@
.uni-input {
height: 28px;
line-height: 28px;
font-size: 15px;
/*
line-height: 28px;
font-size: 15px;
*/
padding: 0px;
flex: 1;
background-color: #ffffff;
...
...
pages/component/swiper/swiper.uvue
浏览文件 @
75cd33b9
...
...
@@ -206,8 +206,6 @@
.swiper-item {
width: 100%;
height: 300rpx;
line-height: 300rpx;
text-align: center;
}
.swiper-item-Text {
...
...
pages/component/view/view.uvue
浏览文件 @
75cd33b9
...
...
@@ -135,8 +135,6 @@ export default {
.flex-item-V {
width: 100%;
height: 150rpx;
text-align: center;
line-height: 150rpx;
}
.text-box {
...
...
pages/tabBar/API.uvue
浏览文件 @
75cd33b9
...
...
@@ -6,16 +6,19 @@
<view class="uni-header-logo">
<image class="uni-header-image" src="/static/apiIndex.png"></image>
</view>
<view class="uni-hello-text
">
<view class="uni-text-box
">
<text class="hello-text">以下将演示uni-app接口能力,详细文档见:</text>
<u-link :href="'https://uniapp.dcloud.io/api/'" :text="'https://uniapp.dcloud.io/api/'" :inWhiteList="true"></u-link>
<u-link :href="'https://uniapp.dcloud.io/api/'" :text="'https://uniapp.dcloud.io/api/'"
:inWhiteList="true"></u-link>
</view>
<uni-collapse>
<template v-for="item in list" :key="item.id">
<uni-collapse-item :title="item.name" class="item">
<view class="uni-navigate-item" :hover-class="page.enable == false?'':'is--active'" v-for="(page, key) in item.pages" :key="key" @click="goDetailPage(page)">
<text class="uni-navigate-text" :class="page.enable == false ? 'text-disabled' : ''">{{ page.name }}</text>
<view class="uni-navigate-item" :hover-class="page.enable == false?'':'is--active'"
v-for="(page, key) in item.pages" :key="key" @click="goDetailPage(page)">
<text class="uni-navigate-text"
:class="page.enable == false ? 'text-disabled' : ''">{{ page.name }}</text>
<image :src="arrowRightIcon" class="uni-icon"></image>
</view>
</uni-collapse-item>
...
...
@@ -26,7 +29,8 @@
<!-- #ifdef APP -->
</scroll-view>
<!-- #endif -->
<view ref="pop" @click="hidePop()" style="width: 100%; height: 100%; position: absolute;align-items: center;justify-content: center; display: none;background-color: rgba(16, 16, 16, 0.5);">
<view ref="pop" @click="hidePop()"
style="width: 100%; height: 100%; position: absolute;align-items: center;justify-content: center; display: none;background-color: rgba(16, 16, 16, 0.5);">
<view style="width: 90%;background-color: white;" @click="stopClickPop">
<api-set-tabbar></api-set-tabbar>
</view>
...
...
@@ -75,7 +79,7 @@
{
name: '事件总线event-bus',
url: 'event-bus',
api:
["$on","$once","$off",
"$emit"]
api:
["$on", "$once", "$off",
"$emit"]
},
{
name: '获取启动参数',
...
...
@@ -95,7 +99,7 @@
{
name: '页面跳转',
url: 'navigator',
api:
["navigator","reLaunch","navigateBack","redirectTo",
"switchTab"]
api:
["navigator", "reLaunch", "navigateBack", "redirectTo",
"switchTab"]
},
/*
{
...
...
@@ -110,12 +114,12 @@
{
name: '设置TabBar',
url: 'set-tabbar',
api:
["showTabBar","hideTabBar","showTabBarRedDot","hideTabBarRedDot","setTabBarBadge","removeTabBarBadge","setTabBarStyle",
"setTabBarItem"]
api:
["showTabBar", "hideTabBar", "showTabBarRedDot", "hideTabBarRedDot", "setTabBarBadge", "removeTabBarBadge", "setTabBarStyle",
"setTabBarItem"]
},
{
name: '页面下拉刷新',
url: 'pull-down-refresh',
api:["stopPullDownRefresh"]
api:
["stopPullDownRefresh"]
},
{
name: '将页面滚动到指定位置',
...
...
@@ -147,12 +151,12 @@
{
name: 'socketTask',
url: 'websocket-socketTask',
api:
[""] //它不是uni.的api
api:
[""] //它不是uni.的api
},
{
name: '全局websocket',
url: 'websocket-global',
api:
["connectSocket","onSocketOpen","onSocketError","sendSocketMessage","onSocketMessage","closeSocket","onSocketClose"]
api:
["connectSocket", "onSocketOpen", "onSocketError", "sendSocketMessage", "onSocketMessage", "closeSocket", "onSocketClose"]
},
] as Page[],
},
...
...
@@ -179,7 +183,7 @@
{
name: '节点信息',
url: 'nodes-info',
api:["createSelectorQuery"]
api:
["createSelectorQuery"]
},
{
name: '显示操作菜单',
...
...
@@ -188,7 +192,7 @@
{
name: '显示模态弹窗',
url: 'modal',
api:["showModal"]
api:
["showModal"]
},
{
name: '显示加载提示框',
...
...
@@ -197,7 +201,7 @@
{
name: '显示消息提示框',
url: 'toast',
api:["showToast"]
api:
["showToast"]
},
{
name: '动态加载字体',
...
...
@@ -300,7 +304,7 @@
{
name: '图片选择和预览',
url: 'preview-image',
api: ["previewImage","closePreviewImage",
"chooseImage"]
api: ["previewImage", "closePreviewImage",
"chooseImage"]
},
{
name: "保存图片到相册",
...
...
@@ -372,7 +376,7 @@
{
name: 'storage(key-value存储)',
url: 'storage',
api:
["uni.getStorageInfo","uni.getStorageInfoSync","uni.getStorage","uni.getStorageSync","uni.setStorage","uni.setStorageSync","uni.removeStorage","uni.removeStorageSync","uni.clearStorage",
"uni.clearStorageSync"]
api:
["uni.getStorageInfo", "uni.getStorageInfoSync", "uni.getStorage", "uni.getStorageSync", "uni.setStorage", "uni.setStorageSync", "uni.removeStorage", "uni.removeStorageSync", "uni.clearStorage",
"uni.clearStorageSync"]
},
] as Page[],
},
...
...
@@ -495,12 +499,12 @@
})
},
showPop: function () {
(this.$refs["pop"] as INode).style.setProperty("display","flex")
(this.$refs["pop"] as INode).style.setProperty("display", "flex")
},
hidePop: function () {
(this.$refs["pop"] as INode).style.setProperty("display","none")
(this.$refs["pop"] as INode).style.setProperty("display", "none")
},
stopClickPop: function (e
:MouseEvent) {
stopClickPop: function (e
: MouseEvent) {
e.stopPropagation() //点击到pop的非灰色区域,拦截点击事件
}
},
...
...
pages/tabBar/CSS.uvue
浏览文件 @
75cd33b9
...
...
@@ -6,7 +6,7 @@
<view class="uni-header-logo">
<image class="uni-header-image" src="/static/cssIndex.png"></image>
</view>
<view class="uni-
hello-text
">
<view class="uni-
text-box
">
<text class="hello-text">uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:</text>
<u-link :href="'https://uniapp.dcloud.io/component/'" :text="'https://uniapp.dcloud.io/component/'"
:inWhiteList="true"></u-link>
...
...
pages/tabBar/component.uvue
浏览文件 @
75cd33b9
...
...
@@ -9,7 +9,7 @@
src="/static/componentIndex.png"
></image>
</view>
<view class="uni-
hello-text
">
<view class="uni-
text-box
">
<text class="hello-text"
>uni-app内置组件,展示样式仅供参考,文档详见:</text
>
...
...
pages/tabBar/template.uvue
浏览文件 @
75cd33b9
...
...
@@ -6,7 +6,7 @@
<view class="uni-header-logo">
<image class="uni-header-image" src="/static/templateIndex.png"></image>
</view>
<view class="uni-
hello-text
">
<view class="uni-
text-box
">
<text class="hello-text">以下是部分模板示例,更多模板见插件市场:</text>
<u-link
class="hello-link"
...
...
pages/template/long-list/long-list-page.uvue
浏览文件 @
75cd33b9
...
...
@@ -197,7 +197,7 @@
}
.description {
line-height: 14px;
/* line-height: 14px; */
}
.description-text {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录