1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <style lang="scss">
- /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
- @import "@/uni_modules/uview-ui/index.scss";
- //@import '@/assets/font/font.css';
-
- </style>
- <script>
-
- import './config/.env.js'
- import './assets/js/font.js'
- export default {
- onLaunch: function() {
- console.log('App Launch')
-
- },
-
- onShow: function() {
-
- console.log('App Show ---- App Show')
- },
- onHide: function() {
- console.log('App Hide -- App Hide -App Hide')
- }
- }
- </script>
- <style lang="scss">
-
- html, body {
- background-color:#F2F4F6;
- margin: 0;
- padding: 0;
- }
- // 导航
- .navbar-c{
- background-color: #fff;
- line-height: 88rpx;
- padding: 0 24rpx;
- display: flex;
- align-items: center;
- position: relative;
-
- .title{
- color: rgb(16,16,16);
- font-size: 36rpx;
- flex: 1;
- position: absolute;
- left: 0;
- right: 0;
- text-align: center;
- flex-shrink: 0;
-
- .img{
- width: 32rpx;
- height: 32rpx;
- vertical-align: middle;
- margin-left: 8rpx;
- }
- }
- .right{
- display: flex;
- align-items: center;
- margin-left: auto;
- .img{
- width: 32rpx;
- height: 32rpx;
- margin-right: 4rpx;
- }
- }
- }
- // 导航栏标题文字
- .u-title {
- font-size: 36rpx !important
- }
- /deep/.uicon-nav-back{
- color: #101010 !important;
- font-weight: bold !important;
- font-size: 36rpx !important
- }
- #__vconsole{
- z-index: 99999;
- position: absolute;
- }
- .slot{
- color: rgba(16,16,16,1);
- font-size: 32rpx;
- margin-right: 32rpx;
- }
- </style>
|