入库功能完成

This commit is contained in:
赵正易
2024-03-15 17:56:22 +08:00
parent b58b954436
commit 0da532301b
15 changed files with 1116 additions and 273 deletions

19
App.vue
View File

@@ -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';