移动端UI 修改
4
App.vue
@@ -45,9 +45,9 @@ export default {
|
|||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
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;
|
background-size: cover;
|
||||||
// filter: opacity(50%);
|
//filter: opacity(50%);
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
width: 360px;
|
width: 360px;
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
"disableHostCheck" : true,
|
"disableHostCheck" : true,
|
||||||
"proxy" : {
|
"proxy" : {
|
||||||
"/api" : {
|
"/api" : {
|
||||||
"target" : "http://192.168.90.92:8888",
|
"target" : "http://192.168.0.31:8888",
|
||||||
"pathRewrite" : {
|
"pathRewrite" : {
|
||||||
"^/api" : ""
|
"^/api" : ""
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content background">
|
<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">
|
<view class="grid-box">
|
||||||
<uni-grid :column="3" @change="gridCheck" :showBorder="false" :highlight="false">
|
<uni-grid :column="3" @change="gridCheck" :showBorder="false" :highlight="false">
|
||||||
<uni-grid-item v-for="(item, index) in gridItemList" :index="index + 1">
|
<uni-grid-item v-for="(item, index) in gridItemList" :index="index + 1">
|
||||||
<view class="item">
|
<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>
|
<text class="text">{{ item.name }}</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item>
|
</uni-grid-item>
|
||||||
@@ -32,7 +32,8 @@ export default {
|
|||||||
{ name: '拆箱', icon: 'folder-add-filled' },
|
{ name: '拆箱', icon: 'folder-add-filled' },
|
||||||
{ name: '货物查看', icon: 'eye-filled' },
|
{ name: '货物查看', icon: 'eye-filled' },
|
||||||
{ name: '入库记录', icon: 'list' },
|
{ name: '入库记录', icon: 'list' },
|
||||||
{ name: '出库记录', icon: 'list' }
|
{ name: '出库记录', icon: 'list' },
|
||||||
|
{ name: '注销', icon: 'redo-filled' }
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -97,6 +98,12 @@ export default {
|
|||||||
// url: '/pages/returnWarehose/returnWarehose'
|
// url: '/pages/returnWarehose/returnWarehose'
|
||||||
// });
|
// });
|
||||||
break;
|
break;
|
||||||
|
case 10:
|
||||||
|
// 注销
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/login/login'
|
||||||
|
});
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -118,12 +125,8 @@ export default {
|
|||||||
}
|
}
|
||||||
.title-box {
|
.title-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 80px;
|
height: 150px;
|
||||||
margin-bottom: 10px;
|
|
||||||
font-size: 20px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
.grid-box {
|
.grid-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -137,6 +140,10 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.item {
|
||||||
|
background-color: rgba(128, 128, 128, 0.5);
|
||||||
|
}
|
||||||
.text {
|
.text {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<view class="normal-login-container">
|
<view class="normal-login-container">
|
||||||
<view class="logo-content align-center justify-center flex">
|
<view class="logo-content align-center justify-center flex">
|
||||||
<image style="width: 100rpx; height: 100rpx" :src="globalConfig.appInfo.logo" mode="widthFix"></image>
|
<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>
|
||||||
<view class="login-form-content">
|
<view class="login-form-content">
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
@@ -170,14 +170,20 @@ page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.normal-login-container {
|
.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%;
|
width: 100%;
|
||||||
|
|
||||||
|
background-size: cover;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
|
background-position: center;
|
||||||
|
|
||||||
|
height: 662px;
|
||||||
.logo-content {
|
.logo-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 15%;
|
padding-top: 15%;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 11 KiB |
BIN
static/images/background/background.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
static/images/background/login2.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
static/images/banner/banber.jpg
Normal file
|
After Width: | Height: | Size: 567 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 37 KiB |
@@ -18,9 +18,9 @@ import {
|
|||||||
let timeout = 10000
|
let timeout = 10000
|
||||||
const request = config => {
|
const request = config => {
|
||||||
// 浏览器测试用
|
// 浏览器测试用
|
||||||
// const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
|
const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
|
||||||
// 真机测试以及部署用
|
// 真机测试以及部署用
|
||||||
const storageBaseUrl = 'http://' + getBaseUrl();
|
//const storageBaseUrl = 'http://' + getBaseUrl();
|
||||||
// 是否需要设置 token
|
// 是否需要设置 token
|
||||||
const isToken = (config.headers || {}).isToken === false
|
const isToken = (config.headers || {}).isToken === false
|
||||||
config.header = config.header || {}
|
config.header = config.header || {}
|
||||||
|
|||||||