Commit f4c5f211 authored by 高宇's avatar 高宇

修改样式

parent 383d71b3
......@@ -3,7 +3,7 @@ ENV = 'production'
# 私有环境
# base api
#VUE_APP_BASE_API = 'http://zt.51newsoftware.com:10184'
#VUE_APP_BASE_API = 'http://49.232.167.247:20014'
# workFlow链接地址
#VUE_APP_WORKFLOW = 'http://zt.51newsoftware.com:10184/workFlow'
# internal链接地址
......@@ -21,7 +21,7 @@ ENV = 'production'
# 生产环境
# base api
VUE_APP_BASE_API = 'http://zt.cebitic.com:10184'
VUE_APP_BASE_API = 'http://49.232.167.247:20014'
# workFlow链接地址
VUE_APP_WORKFLOW = 'http://zt.cebitic.com:10184/workFlow'
# internal链接地址
......
......@@ -902,7 +902,7 @@ ENV = 'production'
# 生产环境
# base api
VUE_APP_BASE_API = 'http://zt.cebitic.com:10184'// 配置生产环境打包地址(后端的请求接口地址)
VUE_APP_BASE_API = 'http://49.232.167.247:20014'// 配置生产环境打包地址(后端的请求接口地址)
```
打包时运行:
......
......@@ -7,7 +7,7 @@
<link rel="icon" href="<%= BASE_URL %>liulanqi_logo.png">
<!-- <link rel="stylesheet" href="//at.alicdn.com/t/font_2011217_f70ptj9y4oc.css">-->
<title><%= webpackConfig.name %></title>
`` <script src="./vconsole.min.js"></script>
<script src="./vconsole.min.js"></script>
<script>new VConsole()</script>
</head>
<body>
......
......@@ -4,39 +4,39 @@ import Qs from 'qs'
// 登录方法
// 登录方法
export function login(username, password, code, uuid) {
const data = {
username,
password
// code,
// uuid
}
return request({
url: '/auth/login',
method: 'post',
params: data,
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
}
})
}
// export function login(username, password, code, uuid) {
// const data = {
// username,
// password,
// code,
// uuid
// password
// // code,
// // uuid
// }
// console.log('加密前数据', data)
// return request({
// url: '/auth/login',
// method: 'post',
// data: Qs.stringify({
// sign: encrypt(data)
// }),
// headers: {}
// params: data,
// headers: {
// 'Content-Type': 'application/x-www-form-urlencoded'
// }
// })
// }
export function login(username, password, code, uuid) {
const data = {
username,
password,
code,
uuid
}
console.log('加密前数据', data)
return request({
url: '/auth/login',
method: 'post',
data: Qs.stringify({
sign: encrypt(data)
}),
headers: {}
})
}
// 刷新token
export function refreshToken(params) {
return request({
......
......@@ -13,7 +13,7 @@
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@contextmenu.prevent.native="openMenu(tag,$event)"
>
{{ tag.title }}
<span class="title">{{ tag.title }}</span>
<span v-if="!isAffix(tag)" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
</router-link>
</scroll-pane>
......
......@@ -51,9 +51,9 @@
修改密码
</router-link>
</el-dropdown-item>
<el-dropdown-item @click.native="setting = true">
<span>布局设置</span>
</el-dropdown-item>
<!-- <el-dropdown-item @click.native="setting = true">-->
<!-- <span>布局设置</span>-->
<!-- </el-dropdown-item>-->
<el-dropdown-item divided @click.native="logout">
<span style="display:block;">退出</span>
</el-dropdown-item>
......
......@@ -381,6 +381,7 @@ label {
padding: 8px 15px;
}
.el-message-box {
width: 300px;
.el-message-box__content {
padding: 15px;
}
......
......@@ -26,6 +26,7 @@
margin-right: 15px;
}
&.active {
width: 138px;
background-color: #fff;
color: $color-theme;
border-color: transparent;
......@@ -66,12 +67,16 @@
}
.tags-view-wrapper {
.tags-view-item {
.title{
margin-left: 35px;
}
.el-icon-close {
float: right;
width: 16px;
height: 16px;
vertical-align: 2px;
border-radius: 50%;
text-align: center;
//text-align: center;
transition: all .3s cubic-bezier(.645, .045, .355, 1);
transform-origin: 100% 50%;
&:before {
......
......@@ -71,7 +71,7 @@
height: 16px;
vertical-align: 2px;
border-radius: 50%;
text-align: center;
//text-align: center;
transition: all .3s cubic-bezier(.645, .045, .355, 1);
transform-origin: 100% 50%;
&:before {
......
......@@ -150,7 +150,7 @@ export default {
}
},
created() {
this.getCode()
// this.getCode()
this.getCookie()
},
methods: {
......
......@@ -86,9 +86,10 @@ module.exports = {
// target: `http://192.168.1.31:8082/`,
// target: `http://192.168.1.12:8082/`, // 孙浩
// target: `http://192.168.1.41:8082/`,
// target: `http://49.232.167.247:20014/`, // 线上
target: `http://49.232.167.247:20014/`, // 线上
// target: `http://192.168.1.30:8082/`,
target: `http://localhost:8088/`,
// target: `http://localhost:8088/`,
// target: `http://localhost:8082/`,
// target: `http://49.232.167.247:20014/`,
// changeOrigin: true,
pathRewrite: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment