Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes-pad
Commits
1706f442
Commit
1706f442
authored
Feb 05, 2024
by
528360026@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复横屏样式错乱问题
parent
f815c534
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
17 deletions
+27
-17
App.vue
App.vue
+15
-13
pages.json
pages.json
+6
-0
index.vue
pages/index/index.vue
+2
-2
index.vue
pages/mes/prodReport/index.vue
+1
-0
index.scss
uview-ui/index.scss
+2
-1
vue.config.js
vue.config.js
+1
-1
No files found.
App.vue
View file @
1706f442
<
script
>
export
default
{
onLaunch
:
function
()
{
// console.log('App Launch')
},
onShow
:
function
()
{
// console.log('App Show')
},
onHide
:
function
()
{
// console.log('App Hide')
}
}
export
default
{
onLaunch
:
function
()
{
// #ifdef APP-PLUS
plus
.
navigator
.
setFullscreen
(
true
);
plus
.
screen
.
lockOrientation
(
'landscape-primary'
);
// #endif
},
onShow
:
function
()
{
},
onHide
:
function
()
{
}
}
</
script
>
<
style
lang=
"scss"
>
/*每个页面公共css */
@import
"@/uview-ui/index.scss"
;
/*每个页面公共css */
@import
"@/uview-ui/index.scss"
;
</
style
>
pages.json
View file @
1706f442
...
...
@@ -28,6 +28,12 @@
"navigationBarBackgroundColor"
:
"#F8F8F8"
,
"enablePullDownRefresh"
:
true
,
"backgroundColor"
:
"#F8F8F8"
,
"rpxCalcMaxDeviceWidth"
:
750
,
//
rpx
计算所支持的最大设备宽度,单位
px,默认值为
960
"rpxCalcBaseDeviceWidth"
:
375
,
//
rpx
计算使用的基准设备宽度,设备实际宽度超出
rpx
计算所支持的最大设备宽度时将按基准宽度计算,单位
px,默认值为
375
"rpxCalcIncludeWidth"
:
750
,
//
rpx
计算特殊处理的值,始终按实际的设备宽度计算,单位
rpx,默认值为
750
"app-plus"
:
{
"titleNView"
:
false
}
...
...
pages/index/index.vue
View file @
1706f442
...
...
@@ -200,7 +200,7 @@ export default {
height
:
inherit
;
.header-logo
{
width
:
180
rpx
;
width
:
90%
;
margin
:
40
rpx
auto
;
display
:
block
;
}
...
...
@@ -270,7 +270,7 @@ img {
.setting-body
{
position
:
absolute
;
bottom
:
5
0
rpx
;
bottom
:
2
0
rpx
;
width
:
200
rpx
;
margin
:
0
auto
;
font-size
:
36
rpx
;
...
...
pages/mes/prodReport/index.vue
View file @
1706f442
...
...
@@ -731,6 +731,7 @@ export default {
.prod-body-left-task
{
height
:
calc
(
100%
-
80rpx
-
500rpx
);
min-height
:
400rpx
;
border
:
1px
solid
rgb
(
232
,
232
,
232
);
}
...
...
uview-ui/index.scss
View file @
1706f442
...
...
@@ -20,4 +20,5 @@
// H5特有的样式
/* #ifdef H5 */
@import
"./libs/css/style.h5.scss"
;
/* #endif */
\ No newline at end of file
/* #endif */
vue.config.js
View file @
1706f442
...
...
@@ -17,7 +17,7 @@ module.exports = {
devServer
:
{
proxy
:
{
'/api'
:
{
target
:
'http://
192.168.3.91
:8080/'
,
target
:
'http://
localhost
:8080/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api'
:
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment