App.vue
1.31 KB
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
55
56
57
58
59
60
61
62
63
64
<script>
export default {
created () {
// 调用API从本地缓存中获取数据
const logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
console.log('app created and cache logs by setStorageSync')
}
}
</script>
<style>
@import "./assets/style/zanui.wxss";
.container::before {
position: fixed;
top: 0;
left: 0;
content: ' ';
width: 100%;
height: 1rpx;
background-color: #e2e2e2;
z-index: 5;
}
.doc-title {
position: relative;
padding: 15px 0;
margin: 10px 15px;
line-height: 25px;
font-size: 25px;
color: #666;
}
.doc-description {
margin: 14px 0;
padding: 0 15px;
font-size: 14px;
line-height: 20px;
color: #666;
}
/* this rule will be remove */
* {
transition: width 2s;
-moz-transition: width 2s;
-webkit-transition: width 2s;
-o-transition: width 2s;
}
/*.container {*/
/*height: 100%;*/
/*display: flex;*/
/*flex-direction: column;*/
/*align-items: center;*/
/*justify-content: space-between;*/
/*padding: 200rpx 0;*/
/*box-sizing: border-box;*/
/*}*/
/*!* this rule will be remove *!*/
/** {*/
/*transition: width 2s;*/
/*-moz-transition: width 2s;*/
/*-webkit-transition: width 2s;*/
/*-o-transition: width 2s;*/
/*}*/
</style>