移动端UI 修改

This commit is contained in:
qianhao.xu
2024-03-27 20:33:45 +08:00
parent 4265112a42
commit 569c0f54af
12 changed files with 29 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ export default {
.content {
display: flex;
flex-direction: column;
background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('static/images/background/background.jpg');
background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url('static/images/background/background.png');
background-size: cover;
//filter: opacity(50%);
font-size: 36px;

View File

@@ -68,7 +68,7 @@
"disableHostCheck" : true,
"proxy" : {
"/api" : {
"target" : "http://192.168.90.92:8888",
"target" : "http://192.168.0.31:8888",
"pathRewrite" : {
"^/api" : ""
}

View File

@@ -1,11 +1,11 @@
<template>
<view class="content background">
<view class="title-box">道安WMS-PDA扫码</view>
<view ><image src="@/static/images/banner/banber.jpg" class="title-box"></image></view>
<view class="grid-box">
<uni-grid :column="3" @change="gridCheck" :showBorder="false" :highlight="false">
<uni-grid-item v-for="(item, index) in gridItemList" :index="index + 1">
<view class="item">
<uni-icons :type="item.icon" :size="48" color="#777" />
<uni-icons :type="item.icon" :size="55" color="#0081ff" />
<text class="text">{{ item.name }}</text>
</view>
</uni-grid-item>
@@ -32,7 +32,8 @@ export default {
{ name: '拆箱', icon: 'folder-add-filled' },
{ name: '货物查看', icon: 'eye-filled' },
{ name: '入库记录', icon: 'list' },
{ name: '出库记录', icon: 'list' }
{ name: '出库记录', icon: 'list' },
{ name: '注销', icon: 'redo-filled' }
]
};
},
@@ -97,6 +98,12 @@ export default {
// url: '/pages/returnWarehose/returnWarehose'
// });
break;
case 10:
// 注销
uni.navigateTo({
url: '/pages/login/login'
});
break;
default:
break;
}
@@ -118,12 +125,8 @@ export default {
}
.title-box {
width: 100%;
height: 80px;
margin-bottom: 10px;
font-size: 20px;
display: flex;
align-items: center;
justify-content: center;
height: 150px;
}
.grid-box {
width: 100%;
@@ -137,6 +140,10 @@ export default {
align-items: center;
justify-content: center;
}
.item {
background-color: rgba(128, 128, 128, 0.5);
}
.text {
font-size: 24px;
}

View File

@@ -2,7 +2,7 @@
<view class="normal-login-container">
<view class="logo-content align-center justify-center flex">
<image style="width: 100rpx; height: 100rpx" :src="globalConfig.appInfo.logo" mode="widthFix"></image>
<text class="title">DOAN PDA 登录</text>
<text class="title" style="color: #0081ff;">涂装车间MOM-移动端</text>
</view>
<view class="login-form-content">
<view class="input-item flex align-center">
@@ -170,14 +170,20 @@ page {
}
.normal-login-container {
background-image:linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1)), url('@/static/images/background/login2.png');
width: 100%;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
height: 662px;
.logo-content {
width: 100%;
font-size: 21px;
text-align: center;
padding-top: 15%;
image {
border-radius: 4px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -18,9 +18,9 @@ import {
let timeout = 10000
const request = config => {
// 浏览器测试用
// const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
// 真机测试以及部署用
const storageBaseUrl = 'http://' + getBaseUrl();
//const storageBaseUrl = 'http://' + getBaseUrl();
// 是否需要设置 token
const isToken = (config.headers || {}).isToken === false
config.header = config.header || {}