| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <!--
- http://t-oss-mbh5.colormaprun.com/actMgt/
- https://oss-mbh5.colormaprun.com/actMgt/
- -->
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- this.$global.getWindowInfo()
-
- // uni.onWindowResize(res => {
- // // console.log('[APP onWindowResize]', res)
- // this.$global.getWindowInfo(res.size)
- // uni.$emit('windowResize')
- // });
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- console.log('App Hide')
- }
- }
- </script>
- <style>
- /*每个页面公共css */
- uni-page {
- background-color: #FFF;
- overflow: scroll;
- }
-
- .body {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
-
- .body-radius {
- border-radius: 50rpx;
- overflow: hidden; /* 确保边框圆角不会溢出 */
- }
-
- .content {
- width: 100vw;
- }
-
- .top {
- width: 100%;
- justify-content: space-between;
- }
-
- .main {
- width: 100%;
- flex-grow: 1;
- }
-
- .uni-width-100 {
- width: 100%;
- }
-
- .uni-row {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
-
- .uni-column {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
-
- .uni-jct {
- justify-content: flex-start;
- }
-
- .uni-jcc {
- justify-content: center;
- }
-
- .uni-jce {
- justify-content: flex-end;
- }
-
- .uni-jcsa {
- justify-content: space-around;
- }
-
- .uni-jcsb {
- justify-content: space-between;
- }
-
- .uni-jcse {
- justify-content: space-evenly;
- }
-
- .uni-ais {
- align-items: flex-start;
- }
-
- .uni-aie {
- align-items: flex-end;
- }
-
- .uni-aibl {
- align-items: baseline;
- }
-
- .uni-hidden {
- visibility: hidden;
- }
-
- .uni-nowrap {
- white-space: nowrap;
- }
-
- .uni-ovf-hidden {
- overflow: hidden;
- }
-
- .uni-ovf-ellipsis {
- text-overflow: ellipsis;
- }
-
- /deep/ .uni-easyinput__placeholder-class {
- font-size: 14px !important;
- color: #999;
- }
-
- /deep/ .e-select-input-placeholder {
- font-size: 14px !important;
- color: #999;
- }
-
- /deep/ .uni-date__x-input {
- font-size: 14px !important;
- color: #999;
- }
-
- /deep/ .file-title {
- font-size: 14px !important;
- color: #999 !important;
- }
- </style>
|