提交 8a2704a6 编写于 作者: Y yurj26

chore: remove invalid css

上级 01083056
<script lang="uts">
import { state, setLifeCycleNum } from '@/store/index.uts'
import { state, setLifeCycleNum } from '@/store/index.uts'
let firstBackTime = 0
export default {
let firstBackTime = 0
export default {
onLaunch: function () {
// 自动化测试
setLifeCycleNum(state.lifeCycleNum + 1000)
......@@ -47,7 +47,7 @@ export default {
uni.exit()
}
},
onExit(){
onExit() {
console.log('App Exit')
},
methods: {
......@@ -56,46 +56,10 @@ export default {
console.log('App increasetLifeCycleNum')
}
}
}
}
</script>
<style>
/*每个页面公共css */
@import "./common/uni.css";
/* #ifdef H5 */
@media screen and (min-width: 768px) {
body {
overflow-y: scroll;
}
}
/* 顶栏通栏样式 */
/* .uni-top-window {
left: 0;
right: 0;
} */
uni-page-body {
background-color: #f5f5f5 !important;
min-height: 100% !important;
height: auto !important;
}
.uni-top-window uni-tabbar .uni-tabbar {
background-color: #fff !important;
}
.uni-app--showleftwindow .hideOnPc {
display: none !important;
}
.uni-row {
flex-direction: row;
}
.uni-column {
flex-direction: column;
}
/* #endif */
/*每个页面公共css */
@import "./common/uni.css";
</style>
\ No newline at end of file
/* #ifndef APP-PLUS-NVUE */
/* page {
min-height: 100%;
height: auto;
} */
/* #endif */
/* 解决头条小程序字体图标不显示问题,因为头条运行时自动插入了span标签,且有全局字体 */
/* #ifdef MP-TOUTIAO */
/* text :not(view) {
font-family: uniicons;
} */
/* #endif */
.uni-icon {
/* font-family: uniicons;
font-weight: normal; */
width: 14px;
height: 14px;
}
......@@ -74,6 +58,7 @@
align-items: center !important;
padding: 12px;
}
/*
.uni-panel-h:active {
background-color: #f8f8f8;
......@@ -123,9 +108,11 @@
.uni-navigate-item:active {
background-color: #f8f8f8;
}
.is--active {
background-color: #f8f8f8;
}
.uni-navigate-text {
color: #000000;
font-size: 14px;
......@@ -138,20 +125,3 @@
font-size: 14px;
font-weight: normal;
}
\ No newline at end of file
.arrow {
width: 8px;
height: 8px;
border-top: 2px solid #ccc;
border-left: 2px solid #ccc;
}
.arrow-right {
transform: rotate(135deg);
}
.arrow-up {
transform: rotate(45deg);
}
.arrow-down {
transform: rotate(-135deg);
}
......@@ -78,17 +78,13 @@
.uni-label {
width: 210rpx;
font-size: 28rpx;
/* word-wrap: break-word;
word-break: break-all;
text-indent:20rpx; */
}
.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;
......@@ -113,7 +109,6 @@
flex-direction: column;
}
/* 背景色 */
.uni-bg-red {
background: #F76260;
}
......@@ -144,13 +139,12 @@
justify-content: center;
}
/* textarea */
.uni-textarea-box {
background: #ffffff;
}
.uni-textarea {
padding: 18rpx;
/* line-height: 1.6;
font-size: 28rpx; */
line-height: 1.6;
font-size: 28rpx;
}
\ No newline at end of file
......@@ -9,9 +9,7 @@
<image class="img" :src="imageSrc" mode="center" />
</view>
<view v-else style="margin-top: 50px">
<view class="uni-hello-text">
点击按钮下载服务端示例图片(下载网络文件到本地临时目录)
</view>
<text class="uni-hello-text">点击按钮下载服务端示例图片(下载网络文件到本地临时目录)</text>
<view class="uni-btn-v">
<button type="primary" @tap="downloadImage">下载</button>
</view>
......
......@@ -2,7 +2,7 @@
<scroll-view>
<!-- 实际开发中,长列表应该使用list-view -->
<view class="uni-padding-wrap uni-common-mt">
<view class="text" v-for="(num,index) in data" :key="index">list - {{num}}</view>
<text class="text" v-for="(num,index) in data" :key="index">list - {{num}}</text>
<view class="uni-loadmore" v-if="showLoadMore">{{loadMoreText}}</view>
</view>
</scroll-view>
......
......@@ -12,8 +12,8 @@
class="image"
mode="widthFix"
></image>
<view v-else class="uni-hello-addfile" @click="chooseImage"
>+ 选择图片</view
<text v-else class="uni-hello-addfile" @click="chooseImage"
>+ 选择图片</text
>
</view>
</view>
......@@ -108,7 +108,6 @@ export default {
.uni-hello-addfile {
text-align: center;
line-height: 300rpx;
background: #fff;
padding: 50rpx;
margin-top: 10px;
......
......@@ -3,7 +3,7 @@
<page-head title="websocket通讯示例"></page-head>
<view class="uni-padding-wrap">
<view class="uni-btn-v">
<view class="websocket-msg">{{ showMsg }}</view>
<text class="websocket-msg">{{ showMsg }}</text>
<button class="uni-btn-v" type="primary" @click="connect">
连接websocket服务
</button>
......@@ -18,8 +18,8 @@
<button class="uni-btn-v" type="primary" @click="close">
断开websocket服务
</button>
<view class="websocket-tips"
>发送消息后会收到一条服务器返回的消息(与发送的消息内容一致)</view
<text class="websocket-tips"
>发送消息后会收到一条服务器返回的消息(与发送的消息内容一致)</text
>
</view>
</view>
......
......@@ -3,7 +3,7 @@
<page-head title="websocket通讯示例"></page-head>
<view class="uni-padding-wrap">
<view class="uni-btn-v">
<view class="websocket-msg">{{ showMsg }}</view>
<text class="websocket-msg">{{ showMsg }}</text>
<button class="uni-btn-v" type="primary" @click="connect">
连接websocket服务
</button>
......@@ -18,8 +18,8 @@
<button class="uni-btn-v" type="primary" @click="close">
断开websocket服务
</button>
<view class="websocket-tips"
>发送消息后会收到一条服务器返回的消息(与发送的消息内容一致)</view
<text class="websocket-tips"
>发送消息后会收到一条服务器返回的消息(与发送的消息内容一致)</text
>
</view>
</view>
......
......@@ -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;
......
......@@ -9,7 +9,6 @@
<view class="uni-text-box">
<text class="hello-text">以下是部分模板示例,更多模板见插件市场:</text>
<u-link
class="hello-link"
href="https://ext.dcloud.net.cn"
:text="'https://ext.dcloud.net.cn'"
:inWhiteList="true"
......
......@@ -206,7 +206,6 @@
margin: 0 25rpx;
margin-top: 50px;
border-radius: 10px;
color: #FFF;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
background-color: #FFF;
transition: margin-top 300ms;
......
......@@ -219,7 +219,6 @@
.play-btn {
width: 80rpx;
height: 80rpx;
color: #FFF;
}
.video-info {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册