把.env.development和.env.production的配置服务路径单独拿出,做成静态资源
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
props: {
|
||||
isAsync:{ // 是否采用异步方式初始化树
|
||||
type:Boolean,
|
||||
required:true,
|
||||
required:false,
|
||||
default:true
|
||||
},
|
||||
value:{
|
||||
|
||||
@@ -384,7 +384,6 @@
|
||||
this.moveDisplay = 'none';
|
||||
});
|
||||
}
|
||||
|
||||
let picList = document.getElementById(this.containerId)?document.getElementById(this.containerId).getElementsByClassName('ant-upload-list-picture-card'):[];
|
||||
if(picList && picList.length>0){
|
||||
picList[0].addEventListener('mouseover',(ev)=>{
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
<span id="p-company">HEZHONGWEILAI</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="top-bg"><img src="~/@assets/mobileBg.png" alt=""></span>
|
||||
<span class="btm-bg"><img src="~/@assets/mobileHome.png" alt=""></span>
|
||||
</div>
|
||||
<div v-if="mobile" class="mobile">
|
||||
<div class="logo">
|
||||
<img src="~@/assets/logo.png" alt="">
|
||||
@@ -145,6 +149,26 @@
|
||||
}
|
||||
.container-mobile{
|
||||
/*移动端的logo样式*/
|
||||
.top-bg{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: -3.5rem;
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.btm-bg{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
max-width: 75%;
|
||||
overflow: hidden;
|
||||
img{
|
||||
margin-left: -5rem;
|
||||
max-width: 100%;
|
||||
margin-bottom: -3rem;
|
||||
}
|
||||
}
|
||||
background: #f0f2f5;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -153,27 +177,30 @@
|
||||
top: 6rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
.logo{
|
||||
max-width: 4rem;
|
||||
img{
|
||||
max-width: 100%;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
.company{
|
||||
margin-left: 0.8rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
span:first-child{
|
||||
color: #000;
|
||||
font-size: 1.6rem;
|
||||
font-weight: bold;
|
||||
letter-spacing: 0.1rem;
|
||||
letter-spacing: 0.3rem;
|
||||
}
|
||||
span:last-child{
|
||||
color: #000;
|
||||
font-size: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
line-height: 1.2rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13147,7 +13147,7 @@
|
||||
}
|
||||
|
||||
function d(e) {
|
||||
return "object" === typeof e && "string" === typeof e.name && "string" === typeof e.theme && ("object" ===
|
||||
return "object" === typeof e && "string" === typeof e.name && "string" === typeof e.theme && ("object" ===
|
||||
typeof e.icon || "function" === typeof e.icon)
|
||||
}
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
initWebSocket: function () {
|
||||
// WebSocket与普通的请求所用协议有所不同,ws等同于http,wss等同于https
|
||||
var userId = store.getters.userInfo.id;
|
||||
var url = window._CONFIG['domianURL'].replace("https://","wss://").replace("http://","ws://")+"/websocket/"+userId;
|
||||
var url = window._CONFIG['domianWebSocketURL'].replace("https://","wss://").replace("http://","ws://")+"/websocket/"+userId;
|
||||
//console.log(url);
|
||||
this.websock = new WebSocket(url);
|
||||
this.websock.onopen = this.websocketOnopen;
|
||||
|
||||
Reference in New Issue
Block a user