12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <script>
- export default {
- onLaunch: function() {
- //条件编译 解决plus为undefind的问题
- // #ifdef APP-PLUS
- plus.screen.lockOrientation('landscape-primary');//锁定横屏
- // #endif
- },
- onShow: function() {
- // console.log('App Show')
-
- },
- onHide: function() {
- // console.log('App Hide')
- },
-
- }
- </script>
- <style lang="scss">
- /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
- @import "@/uni_modules/uview-ui/index.scss";
- /*每个页面公共css */
- /* 隐藏所有页面的 navigationBar */
- .uni-app--showtopwindow uni-page-head {
- display: none;
- }
-
- page{
- background: #0A101C;
- }
- ::v-deep .uni-app--maxwidth{
- uni-toast{
- .uni-toast{
- transform: translate(calc(-50% + 100px),calc(-50% + 13px)) !important;
- }
- }
- }
- ::v-deep .uni-modal{
- background-color: #263042 !important;
- .uni-modal__title{
- color: white;
- }
- .uni-modal__ft:after {
- border-top: #fff solid 1px;
- }
- .uni-modal__btn_default{
- color: #54647A !important;
- }
- .uni-modal__btn_primary{
- color: #91FDB9 !important;
- }
- }
- </style>
|