-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
54 lines (53 loc) · 1.04 KB
/
App.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<script setup>
import {Store} from '@/stores/counter.js'
import { onLaunch } from '@dcloudio/uni-app'
const store = Store()
onLaunch(()=> {
console.log('App Launch')
})
</script>
<style>
@import "/wxcomponents/vant/common/index.wxss";
@import '@/static/icon/iconfont.css';
/*每个页面公共css */
.icon{
font-size: 60rpx !important;
color: $uni-text-color;
}
li{
list-style: none;
}
image{
width: 100%;
}
.msg{
width: 400rpx;
height: 150rpx;
line-height: 150rpx;
padding: 20rpx;
font-size:45rpx;
text-align: center;
opacity: .8;
background-color: #ccc;
border-radius: 30rpx;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.loading{
text-align: center;
}
.omit{
/* display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden; */
white-space: nowrap;
/* 强制不换行 */
text-overflow: ellipsis;
/* 超过部分省略号代替 */
overflow: hidden;
/* 必须同时设置overflow:hidden才能生效 */
}
</style>