入库功能完成
This commit is contained in:
19
App.vue
19
App.vue
@@ -7,6 +7,12 @@ export default {
|
||||
onLaunch: function () {
|
||||
this.initApp();
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
width: '--width:300px;',
|
||||
height: '--height:712px;'
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
// 初始化应用
|
||||
initApp() {
|
||||
@@ -23,7 +29,8 @@ export default {
|
||||
// console.log(_windowsWidth,_windowsHeight);
|
||||
this.globalData.config = config;
|
||||
// 设置页面初始大小
|
||||
|
||||
// this.'--width' = _windowsWidth + 'px;';
|
||||
// this.'--height' = (_windowsHeight - 50) + 'px;';
|
||||
},
|
||||
checkLogin() {
|
||||
if (!getToken()) {
|
||||
@@ -38,14 +45,16 @@ export default {
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-image: url('static/images/background/background.jpg');
|
||||
background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('static/images/background/background.jpg');
|
||||
background-size: cover;
|
||||
// filter: opacity(50%);
|
||||
font-size: 36px;
|
||||
font-weight: 700;
|
||||
width: 360px;
|
||||
height: 712px;
|
||||
height: 662px;
|
||||
}
|
||||
.main-box{
|
||||
width:100%;
|
||||
.main-box {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
@import '@/static/scss/index.scss';
|
||||
|
||||
Reference in New Issue
Block a user