12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <script>
- import { startPullNotice } from '@/utils/pullNotice.js'
- export default {
- globalData: {
- isLogin: false,
- },
- onLaunch() {
- // console.log('App Launch')
- },
- onShow: function() {
- // console.log('App Show')
- startPullNotice()
- },
- onHide: function() {
- // console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- /*每个页面公共css */
- @import "@/uni_modules/uview-ui/index.scss";
-
- .content{
- .title-box {
- position: relative;
- padding-bottom: 80rpx;
- width: 100%;
- height: 344rpx;
- color: white;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background:url(@/static/title.png) top center no-repeat;
- background-size: 100% 100%;
-
- .title{
- width: 100%;
- height: 50rpx;
- height: fit-content;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .icon-add{
- position: absolute;
- right: 0;
- margin-right: 40rpx;
- width: 40rpx;
- height: 40rpx;
- background: url(@/static/icon-add.png) top center no-repeat;
- background-size: 100% 100%;
- }
- }
-
- .container-box{
- position: relative;
- margin-top: -120rpx;
- padding: 40rpx 30rpx;
- width: 100%;
- height: fit-content;
- // display: flex;
- // flex-direction: column;
- // align-items: center;
- background: #f0f7ff;
- border-radius: 60rpx 60rpx 0 0;
- z-index: 2;
- }
- }
- </style>
|