提交 75cd33b9 编写于 作者: Y yurj26

chore: remove invalid css

上级 a12c8953
......@@ -40,9 +40,8 @@
height: 80px;
}
.uni-hello-text {
.uni-text-box {
margin-bottom: 20px;
color: #7A7E83;
}
.hello-text {
......
......@@ -87,8 +87,8 @@
.uni-input {
height: 50rpx;
padding: 15rpx 25rpx;
line-height: 50rpx;
font-size: 28rpx;
/* 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: 18rpx;
line-height: 1.6;
font-size: 28rpx;
/* line-height: 1.6;
font-size: 28rpx; */
}
......@@ -87,7 +87,6 @@
.uni-collapse-item__title {
flex-direction: row;
align-items: center;
line-height: 22px;
padding: 12px;
background-color: #fff;
}
......
......@@ -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;
......
......@@ -206,8 +206,6 @@
.swiper-item {
width: 100%;
height: 300rpx;
line-height: 300rpx;
text-align: center;
}
.swiper-item-Text {
......
......@@ -135,8 +135,6 @@ export default {
.flex-item-V {
width: 100%;
height: 150rpx;
text-align: center;
line-height: 150rpx;
}
.text-box {
......
......@@ -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的非灰色区域,拦截点击事件
}
},
......
......@@ -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>
......
......@@ -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
>
......
......@@ -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"
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册